]> git.saurik.com Git - bison.git/blobdiff - data/lalr1.java
Merge remote-tracking branch 'origin/maint'
[bison.git] / data / lalr1.java
index 57ff9932f93086a152d23edc34287424747df61f..a40d6c272a6ee2374acf437b9c6f83c1a4698825 100644 (file)
@@ -686,7 +686,7 @@ m4_popdef([b4_at_dollar])])dnl
               }
 
             /* Pop the current state because it cannot handle the error token.  */
               }
 
             /* Pop the current state because it cannot handle the error token.  */
-            if (yystack.height == 1)
+            if (yystack.height == 0)
               return false;
 
             ]b4_locations_if([yyerrloc = yystack.locationAt (0);])[
               return false;
 
             ]b4_locations_if([yyerrloc = yystack.locationAt (0);])[