Skip to content

Commit 32e7474

Browse files
committed
Postfix for CORE-6466 about regression in CORE-5447.
Thanks to Vlad to have noticed the breakage.
1 parent b109285 commit 32e7474

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
@@ -100,6 +100,15 @@ Parser::Parser(MemoryPool& pool, DsqlCompilerScratch* aScratch, USHORT aClientDi
100100
yylexp = 0;
101101
yylexemes = 0;
102102

103+
yyposn.firstLine = 1;
104+
yyposn.firstColumn = 1;
105+
yyposn.lastLine = 1;
106+
yyposn.lastColumn = 1;
107+
yyposn.firstPos = string;
108+
yyposn.leadingFirstPos = string;
109+
yyposn.lastPos = string + length;
110+
yyposn.trailingLastPos = string + length;
111+
103112
lex.start = string;
104113
lex.line_start = lex.last_token = lex.ptr = lex.leadingPtr = string;
105114
lex.end = string + length;

0 commit comments

Comments
 (0)