From ca8ea8dd025ae2ef9174ab21185cd57565c65ce5 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Sat, 30 Jul 2011 17:25:49 +0000 Subject: [PATCH] Fixed the parsing of OQL error messages SVN:trunk[1390] --- core/oql/oql-lexer.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/oql/oql-lexer.php b/core/oql/oql-lexer.php index 78bf2e052..d9fda9bae 100644 --- a/core/oql/oql-lexer.php +++ b/core/oql/oql-lexer.php @@ -580,7 +580,7 @@ class OQLLexerRaw } -define('UNEXPECTED_INPUT_AT_LINE', 'Unexpected input at line'); +define('UNEXPECTED_INPUT_AT_LINE', 'Unexpected input at line '); class OQLLexerException extends OQLException { @@ -597,11 +597,11 @@ class OQLLexer extends OQLLexerRaw return max(0, $this->count - strlen($this->value)); } - function yylex() - { - try - { - return parent::yylex(); + function yylex() + { + try + { + return parent::yylex(); } catch (Exception $e) {