mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-22 23:48:14 +00:00
java: fix parser tracing bug.
* NEWS (2.5): Document.
* data/lalr1.java (YYParser::YYStack::print): Don't skip top
element.
(cherry picked from commit f0e2c228a0)
This commit is contained in:
1 parent
1a33f4f608
commit
02803d55cd
3 files changed
+10
-1
No files matched your search
+1
-1
@@ -326,7 +326,7 @@ b4_lexer_if([[
|
||||
{
|
||||
out.print ("Stack now");
|
||||
|
||||
for (int i = 0; i < height; i++)
|
||||
for (int i = 0; i <= height; i++)
|
||||
{
|
||||
out.print (' ');
|
||||
out.print (stateStack[i]);
|
||||
|
||||
Reference in new issue
Block a user