mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Backported fix for CORE-4198 - Incorrect "token unknown" error when the SQL string ends with a hex number literal.
This commit is contained in:
parent
da92ae7ed3
commit
75c8163a4e
@ -5942,7 +5942,7 @@ int Parser::yylexAux()
|
||||
|
||||
for (;;)
|
||||
{
|
||||
if (lex.ptr >= lex.end) // Unexpected EOS
|
||||
if (charlen == 0 && lex.ptr >= lex.end) // Unexpected EOS
|
||||
{
|
||||
hexerror = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user