bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 04/10] java: push: do not reset the error counter


From: Akim Demaille
Subject: [PATCH 04/10] java: push: do not reset the error counter
Date: Mon, 24 Jun 2013 10:50:01 +0200

* 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 d226ce3..1598823 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);
-- 
1.8.2.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]