]> git.saurik.com Git - bison.git/blobdiff - data/lalr1.java
NEWS: update.
[bison.git] / data / lalr1.java
index f7f2ba365b8798e3e4331e1d2dbb0cede3487b96..b5884c4028c6ccfe1457151a2fc09bae122498fa 100644 (file)
@@ -642,7 +642,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);])[