]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
Rely on the state stack to display reduction traces.
[bison.git] / ChangeLog
index e5e9e9f36dcbf2ed05d7a89d83551fe86e9dde03..43dca2debfc900ffa3a79a5bdd97526c596e062c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,15 @@
+2008-11-09  Akim Demaille  <demaille@gostai.com>
+
+       Rely on the state stack to display reduction traces.
+       To display rhs symbols before a reduction, we used information about the rule
+       reduced, which required the tables yyrhs and yyprhs.  Now use rely only on the
+       state stack to get the same information.
+       
+       * data/lalr1.cc (b4_rhs_data, b4_rhs_state): New.
+       Use them.
+       (parser::yyrhs_, parser::yyprhs_): Remove.
+       (parser::yy_reduce_print_): Use the state stack.
+
 2008-11-09  Akim Demaille  <demaille@gostai.com>
 
        Fuse yyval and yyloc into yylhs.