From: Akim Demaille Date: Fri, 21 Jun 2013 09:17:05 +0000 (+0200) Subject: java: push: do not reset the error counter X-Git-Tag: v2.7.91~5 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/1d678854a43d4156e28f47942fcd69adfa04ca96?hp=28c4075b58130c1b98747ca61876f5c7660b2397 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. --- 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);