Restore yylval initialization

Forward port commit b04b7d340f to do the
initialization in the original file, not in the generated one.

Change-Id: I070d9668c75be20c014835514db49d1a6518d590
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Michael Brasser <michael.brasser@live.com>
This commit is contained in:
Simon Hausmann 2017-08-18 11:25:50 +02:00
parent cf1dcc857a
commit 4c2ec88932
2 changed files with 2 additions and 0 deletions

View File

@ -451,6 +451,7 @@ Parser::Parser(Engine *engine):
location_stack(0),
string_stack(0),
program(0),
yylval(0),
first_token(0),
last_token(0)
{

View File

@ -92,6 +92,7 @@ Parser::Parser(Engine *engine):
location_stack(0),
string_stack(0),
program(0),
yylval(0),
first_token(0),
last_token(0)
{