X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/1d678854a43d4156e28f47942fcd69adfa04ca96..e4678430c2506c577c05e92437b187fe9daf0b7f:/data/lalr1.java diff --git a/data/lalr1.java b/data/lalr1.java index 15988239..d137ed81 100644 --- a/data/lalr1.java +++ b/data/lalr1.java @@ -419,7 +419,7 @@ b4_lexer_if([[ /** * Returned by a Bison action in order to request a new token. */ - public static final int YYMORE = 4;])[ + public static final int YYPUSH_MORE = 4;])[ /** * Returned by a Bison action in order to start error recovery without @@ -564,7 +564,7 @@ b4_define_state])[ * @@param yylexval current lval ]b4_locations_if([ * @@param yylexloc current position])[ * - * @@return YYACCEPT, YYABORT, YYMORE + * @@return YYACCEPT, YYABORT, YYPUSH_MORE */ public int push_parse (int yylextoken, b4_yystype yylexval[]b4_locations_if([, b4_location_type yylexloc])) b4_maybe_throws([b4_list2([b4_lex_throws], [b4_throws])])])[ @@ -632,7 +632,7 @@ b4_dollar_popdef[]dnl { ]b4_push_if([[ if (!push_token_consumed) - return YYMORE; + return YYPUSH_MORE; yycdebug ("Reading a token: "); yychar = yylextoken; yylval = yylexval;]b4_locations_if([ @@ -870,7 +870,7 @@ b4_dollar_popdef[]dnl * @@param yylexval current lval * @@param yyylexpos current position * - * @@return YYACCEPT, YYABORT, YYMORE + * @@return YYACCEPT, YYABORT, YYPUSH_MORE */ public int push_parse (int yylextoken, b4_yystype yylexval, b4_position_type yylexpos) b4_maybe_throws([b4_list2([b4_lex_throws], [b4_throws])]) @@ -901,7 +901,7 @@ b4_both_if([[ yylexer.getEndPos ());])[ ]b4_locations_if([status = push_parse(token,lval,yyloc);],[ status = push_parse(token,lval);])[ - } while (status == YYMORE); + } while (status == YYPUSH_MORE); return (status == YYACCEPT); } ]])[