]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
* src/bison.simple (YYSTYPE, YYLTYPE): Move their definitions
[bison.git] / ChangeLog
index bfc68eddac3e41809869d006ec3dae162be38cb3..07c98156b8f076f80793d96e453082c09b016c35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,30 @@
+2001-11-30  Akim Demaille  <akim@epita.fr>
+
+       * src/bison.simple (YYSTYPE, YYLTYPE): Move their definitions
+       before their first uses.
+       (YYBISON, YYPURE): Move to the top of the output.
+
+2001-11-30  Akim Demaille  <akim@epita.fr>
+
+       * tests/reduce.at (Useless Nonterminals): Fix.
+
+2001-11-30  Akim Demaille  <akim@epita.fr>
+
+       * src/bison.simple (YYSTACK_FREE): Use `do {;} while (0)' as empty
+       if body instead of `;' to pacify GCC's warnings.
+
+2001-11-30  Akim Demaille  <akim@epita.fr>
+
+       Instead of mapping the LHS of unused rules to -1, keep the LHS
+       valid, but flag the rules as invalid.
+
+       * src/gram.h (rule_t): `useful' is a new member.
+       * src/print.c (print_grammar): Adjust.
+       * src/derives.c (set_derives): Likewise.
+       * src/reader.c (packgram, reduce_output): Likewise.
+       * src/reduce.c (reduce_grammar_tables): Likewise.
+       * tests/reduce.at (Underivable Rules, Useless Rules): New.
+
 2001-11-30  Akim Demaille  <akim@epita.fr>
 
        * src/reduce.c (reduce_output): Formatting changes.