lalr1.cc: always initialize yylval.

* data/lalr1.cc: here.
This commit is contained in:
Akim Demaille
2012-11-01 15:38:25 +01:00
parent 8aaa0c2f86
commit 41a4806a82

View File

@@ -520,7 +520,8 @@ do { \
int yyerrstatus_ = 0;
/// Semantic value of the lookahead.
semantic_type yylval;
static semantic_type yyval_default;
semantic_type yylval = yyval_default;
/// Location of the lookahead.
location_type yylloc;
/// The locations where the error started and ended.