]> git.saurik.com Git - bison.git/commit - data/lalr1.java
java: fix parser stack popping bug.
authorAngelo Borsotti <angelo.borsotti@gmail.com>
Mon, 7 Mar 2011 03:19:18 +0000 (22:19 -0500)
committerJoel E. Denny <jdenny@clemson.edu>
Mon, 7 Mar 2011 04:26:04 +0000 (23:26 -0500)
commit3f8ffd15eea8c3da460f8d40c80dd02cb1204a5a
tree415eca4b838c7ba0c74fb5a82645407d7a3f3057
parent15e46f2df4623a5a4b2c2f50a1be20947a7e3099
java: fix parser stack popping bug.

Reported at
<http://lists.gnu.org/archive/html/bug-bison/2011-02/msg00005.html>.
* THANKS (Angelo Borsotti): Add.
* data/lalr1.java (YYParser::YYStack::pop): Fix off-by-one error
in clearing the value stack.  Previously, the top element of the
stack wasn't cleared and so the value was not garbage collected.
(cherry picked from commit 6f75992be50b83a084f955f63e5c35ccc8705f08)

Conflicts:

data/lalr1.java
ChangeLog
THANKS
data/lalr1.java