From 1d678854a43d4156e28f47942fcd69adfa04ca96 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Fri, 21 Jun 2013 11:17:05 +0200 Subject: [PATCH 1/1] 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. --- data/lalr1.java | 1 - 1 file changed, 1 deletion(-) diff --git a/data/lalr1.java b/data/lalr1.java index d226ce3c..15988239 100644 --- a/data/lalr1.java +++ b/data/lalr1.java @@ -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); -- 2.45.2