]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
* src/nullable.c (set_nullable): Deobfuscate the handling of
[bison.git] / ChangeLog
index 3ee041929a52a28d716fc02bc98dfef5b75045cb..6cd76086f395625485a9232839de442dac48ff25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,26 @@
+2001-12-05  Akim Demaille  <akim@epita.fr>
+
+       * src/nullable.c (set_nullable): Deobfuscate the handling of
+       ritem.
+       `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'.
+
+       
+2001-12-05  Akim Demaille  <akim@epita.fr>
+
+       * src/gram.c, src/gram.h (ritem_print): New.
+       * src/gram.c (dummy): Remove, now there is actual code in gram.c.
+       (This useless function was defined only to work around VMS linkers
+       that can't handle compilation units with variables only).
+       * src/reduce.c (dump_grammar): Use it to trace the construction of
+       ritem.
+
 2001-12-04  Paul Eggert  <eggert@twinsun.com>
 
-       * src/bison.simple (YYPOINTER): New macro.
-       (YYSTACK_RELOCATE): Use it to avoid a GCC warning.
+       * src/bison.simple (union yyalloc): Change member names
+       to be the same as the stack names.
+       (yyparse): yyptr is now union yyalloc *, not char *.
+       (YYSTACK_RELOCATE): Likewise.  This avoids a GCC warning,
+       and may generate better code on some machines.
        (yystpcpy): Use prototype if __STDC__ is defined, not just
        if __cplusplus is defined.