+2011-03-06 Joel E. Denny <joeldenny@joeldenny.org>
+
+ java: fix parser tracing bug.
+ * NEWS (2.5): Document.
+ * data/lalr1.java (YYParser::YYStack::print): Don't skip top
+ element.
+
2011-03-06 Joel E. Denny <joeldenny@joeldenny.org>
java: finish fixing parser stack popping bug.
*** The top element of each of the value stack and location stack is now
cleared when popped so that it can be garbage collected.
+*** Parser traces now print the top element of the stack.
+
* Changes in version 2.4.3 (2010-08-05):
** Bison now obeys -Werror and --warnings=error for warnings about
{
out.print ("Stack now");
- for (int i = 0; i < height; i++)
+ for (int i = 0; i <= height; i++)
{
out.print (' ');
out.print (stateStack[i]);