]> git.saurik.com Git - bison.git/blobdiff - ChangeLog
Pessimize the code to simplify it: from now on, all the states
[bison.git] / ChangeLog
index 316fd5b95eb484763ed0dc93506042c6c7b0d37f..f77d7f246b9f6f60a82360ebc26e0825eca13cc3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2001-12-05  Akim Demaille  <akim@epita.fr>
+
+       Pessimize the code to simplify it: from now on, all the states
+       have a valid SHIFTS, which NSHIFTS is possibly 0.
+
+       * src/LR0.c (shifts_new): Be global and move to..
+       * src/state.c, src/state.h: here.
+       * src/conflicts, src/lalr.c, src/output.c, src/print.c,
+       * src/print_graph: Adjust.
+
+       
+2001-12-05  Akim Demaille  <akim@epita.fr>
+
+       * src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New.
+       * src/conflicts.c: Use it.
+       Restore a few missing `if (!SHIFT_IS_DISABLED)' which were
+       incorrectly ``simplified''.
+
+       
 2001-12-05  Akim Demaille  <akim@epita.fr>
 
        * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate
 2001-12-05  Akim Demaille  <akim@epita.fr>
 
        * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate