mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Fixed the parsing of OQL error messages
SVN:trunk[1390]
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user