diff options
author | Akim Demaille <akim@lrde.epita.fr> | 2013-06-21 11:17:05 +0200 |
---|---|---|
committer | Akim Demaille <akim@lrde.epita.fr> | 2013-06-21 11:17:05 +0200 |
commit | 1d678854a43d4156e28f47942fcd69adfa04ca96 (patch) | |
tree | 1e7f32db0e2be70b405b0a82d021ae5dac46c3b3 | |
parent | 28c4075b58130c1b98747ca61876f5c7660b2397 (diff) | |
download | bison-1d678854a43d4156e28f47942fcd69adfa04ca96.tar.gz |
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.
-rw-r--r-- | data/lalr1.java | 1 |
1 files changed, 0 insertions, 1 deletions
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); |