Skip to content

Commit a8e6309

Browse files
committed
Postfix for CORE-6466 about regression in CORE-5447.
Thanks to Vlad to have noticed the breakage.
1 parent 031eb4a commit a8e6309

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

src/dsql/Parser.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,15 @@ Parser::Parser(thread_db* tdbb, MemoryPool& pool, DsqlCompilerScratch* aScratch,
122122
yylexp = 0;
123123
yylexemes = 0;
124124

125+
yyposn.firstLine = 1;
126+
yyposn.firstColumn = 1;
127+
yyposn.lastLine = 1;
128+
yyposn.lastColumn = 1;
129+
yyposn.firstPos = string;
130+
yyposn.leadingFirstPos = string;
131+
yyposn.lastPos = string + length;
132+
yyposn.trailingLastPos = string + length;
133+
125134
lex.start = string;
126135
lex.line_start = lex.last_token = lex.ptr = lex.leadingPtr = string;
127136
lex.end = string + length;

0 commit comments

Comments
 (0)