]> git.saurik.com Git - bison.git/blobdiff - data/lalr1.cc
Merge branch 'branch-2.6' into maint
[bison.git] / data / lalr1.cc
index 46e58ae26fab6188a05e7fc5b7cd17d52a9766f1..e45b2e1f860cf48ff9c66be677b5f20001008240 100644 (file)
@@ -512,17 +512,18 @@ do {                                      \
     int yychar = yyempty_;
     int yytoken = 0;
 
-    /* State.  */
+    // State.
     int yyn;
     int yylen = 0;
     int yystate = 0;
 
-    /* Error handling.  */
+    // Error handling.
     int yynerrs_ = 0;
     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.