From 45c64fa627f205f49ac7afb51ad3d6e851b62f86 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 24 Jun 2013 09:32:22 +0200 Subject: java: rename YYMORE as YYPUSH_MORE for consistency with C http://lists.gnu.org/archive/html/bison-patches/2013-06/msg00008.html * data/lalr1.java, doc/bison.texi, tests/javapush.at: s/YYMORE/YYPUSH_MORE. --- tests/javapush.at | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/javapush.at') diff --git a/tests/javapush.at b/tests/javapush.at index 306b37d4..2f710533 100644 --- a/tests/javapush.at +++ b/tests/javapush.at @@ -83,7 +83,7 @@ m4_define([AT_TRIVIAL_COMMON],[ } static String[[]] teststatename - = new String[[]]{"YYACCEPT","YYABORT","YYERROR","UNKNOWN","YYMORE"}; + = new String[[]]{"YYACCEPT","YYABORT","YYERROR","UNKNOWN","YYPUSH_MORE"}; static void check(int teststate, int expected, String msg) { @@ -110,16 +110,16 @@ m4_define([AT_TRIVIAL_PARSER],[ setup(); teststate = parser.push_parse('a', null); - check(teststate,YYParser.YYMORE,"push_parse('a', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('a', null)"); setup(); teststate = parser.push_parse('a', null); - check(teststate,YYParser.YYMORE,"push_parse('a', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('a', null)"); teststate = parser.push_parse('b', null); - check(teststate,YYParser.YYMORE,"push_parse('b', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('b', null)"); teststate = parser.push_parse('c', null); - check(teststate,YYParser.YYMORE,"push_parse('c', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('c', null)"); teststate = parser.push_parse('\0', null); check(teststate,YYParser.YYACCEPT,"push_parse('\\0', null)"); @@ -147,11 +147,11 @@ m4_define([AT_TRIVIAL_PARSER_INITIAL_ACTION],[ setup(); teststate = parser.push_parse('a', null); - check(teststate,YYParser.YYMORE,"push_parse('a', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('a', null)"); teststate = parser.push_parse('b', null); - check(teststate,YYParser.YYMORE,"push_parse('b', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('b', null)"); teststate = parser.push_parse('c', null); - check(teststate,YYParser.YYMORE,"push_parse('c', null)"); + check(teststate,YYParser.YYPUSH_MORE,"push_parse('c', null)"); teststate = parser.push_parse('\0', null); check(teststate,YYParser.YYACCEPT,"push_parse('\\0', null)"); -- cgit v1.2.1