8
0
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:
asfernandes 2013-08-29 16:01:30 +00:00
parent da92ae7ed3
commit 75c8163a4e

View File

@ -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;