X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/6687da3425189eb988f527931cec4d4cfb5fd32e..2a6b66c5fd063c8868f239a78ecfb11c899fd22c:/data/lalr1.java diff --git a/data/lalr1.java b/data/lalr1.java index 99524917..1cfaef38 100644 --- a/data/lalr1.java +++ b/data/lalr1.java @@ -502,12 +502,10 @@ b4_lexer_if([[ yyerrstatus_ = 0; ]m4_ifdef([b4_initial_action], [ -m4_pushdef([b4_at_dollar], [yylloc])dnl -m4_pushdef([b4_dollar_dollar], [yylval])dnl +b4_dollar_pushdef([yylval], [], [yylloc])dnl /* User initialization code. */ b4_user_initial_action -m4_popdef([b4_dollar_dollar])dnl -m4_popdef([b4_at_dollar])])dnl +b4_dollar_popdef])[]dnl [ /* Initialize the stack. */ yystack.push (yystate, yylval]b4_locations_if([, yylloc])[); @@ -728,11 +726,6 @@ m4_popdef([b4_at_dollar])])dnl if (yyErrorVerbose) { /* There are many possibilities here to consider: - - Assume YYFAIL is not used. It's too flawed to consider. - See - - for details. YYERROR is fine as it does not invoke this - function. - If this state is a consistent state with a default action, then the only way this function was invoked is if the default action is an error action. In that case, don't