summaryrefslogtreecommitdiff
path: root/tests/javapush.at
diff options
context:
space:
mode:
authorAkim Demaille <akim@lrde.epita.fr>2013-06-24 09:32:22 +0200
committerAkim Demaille <akim@lrde.epita.fr>2013-06-24 09:37:18 +0200
commit45c64fa627f205f49ac7afb51ad3d6e851b62f86 (patch)
tree0802f2c75de6f83127f96686961ef1fe3728fbf1 /tests/javapush.at
parent58b465ae5f7fb39e025540d02455f580749ccbdb (diff)
downloadbison-45c64fa627f205f49ac7afb51ad3d6e851b62f86.tar.gz
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.
Diffstat (limited to 'tests/javapush.at')
-rw-r--r--tests/javapush.at16
1 files changed, 8 insertions, 8 deletions
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)");