Fixed the parsing of OQL error messages

SVN:trunk[1390]
This commit is contained in:
Denis Flaven
2011-07-30 17:25:49 +00:00
parent 308d2626a9
commit ca8ea8dd02

View File

@@ -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 class OQLLexerException extends OQLException
{ {
@@ -597,11 +597,11 @@ class OQLLexer extends OQLLexerRaw
return max(0, $this->count - strlen($this->value)); return max(0, $this->count - strlen($this->value));
} }
function yylex() function yylex()
{ {
try try
{ {
return parent::yylex(); return parent::yylex();
} }
catch (Exception $e) catch (Exception $e)
{ {