java: push: do not reset the error counter

* data/lalr1.java (parse): here, when in push-pull is in "both" mode.
This breaks the test suite, for instance
make check TESTSUITEFLAGS='-d 388 BISON_USE_PUSH_FOR_PULL=1'.
More generally make maintainer-push-check.
This commit is contained in:
Akim Demaille
2013-06-21 11:17:05 +02:00
parent 28c4075b58
commit 1d678854a4

View File

@@ -899,7 +899,6 @@ b4_both_if([[
]b4_locations_if([dnl
b4_location_type yyloc = new b4_location_type (yylexer.getStartPos (),
yylexer.getEndPos ());])[
this.yyerrstatus_ = 0;
]b4_locations_if([status = push_parse(token,lval,yyloc);],[
status = push_parse(token,lval);])[
} while (status == YYMORE);