X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9887c18aca3cedcf003ffb150af5f597f4bf3956..841822701aa1ed9cebbf65844a31f0b34bd789cc:/ChangeLog diff --git a/ChangeLog b/ChangeLog index 954f35e0..18fba633 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,96 @@ +2001-12-05 Akim Demaille + + * src/closure.c (print_firsts, print_fderives): De-obfuscate. + + +2001-12-05 Akim Demaille + + * src/closure.c (set_firsts): De-obfuscate. + +2001-12-05 Akim Demaille + + * src/output.c (action_row): De-obfuscate + using the good o' techniques: arrays not pointers, variable + locality, BITISSET, RESETBIT etc. + + +2001-12-05 Akim Demaille + + 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 + + * 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 + + * src/conflicts.c (flush_shift, resolve_sr_conflict): De-obfuscate + using the good o' techniques: arrays not pointers, variable + locality, BITISSET, RESETBIT etc. + +2001-12-05 Akim Demaille + + * src/state.h (SHIFT_SYMBOL): New. + * src/conflicts.c: Use it to deobfuscate. + +2001-12-05 Akim Demaille + + * src/conflicts.c (count_sr_conflicts, count_rr_conflicts) + (print_reductions): De-obfuscate using the good o' techniques: + arrays not pointers, variable locality, BITISSET. + +2001-12-05 Akim Demaille + + * src/conflicts.c (print_reductions): Arrays, not pointers. + Use BITISSET. + +2001-12-05 Akim Demaille + + * src/conflicts.c (print_reductions): Pessimize, but clarify. + +2001-12-05 Akim Demaille + + * src/conflicts.c (print_reductions): Improve variable locality. + +2001-12-05 Akim Demaille + + * src/conflicts.c (print_reductions): Pessimize, but clarify. + +2001-12-05 Akim Demaille + + * src/conflicts.c (print_reductions): Improve variable locality. + +2001-12-05 Akim Demaille + + * src/state.h (SHIFT_IS_ERROR, SHIFT_IS_GOTO, SHIFT_IS_SHIFT): New. + * src/lalr.c: Use them. + +2001-12-05 Akim Demaille + + * src/LR0.c (augment_automaton): Formatting changes. + Better variable locality. + +2001-12-05 Akim Demaille + + * src/lalr.c (matrix_print): New. + (transpose): Use it. + Use arrays instead of pointers. + +2001-12-05 Akim Demaille + + * src/lalr.c (maxrhs): Move to... + * src/gram.c, src/gram.h (ritem_longest_rhs): here. + * src/lalr.c (build_relations): Adjust. + 2001-12-05 Akim Demaille * src/lalr.c (transpose): Free the memory allocated to the @@ -30,7 +123,6 @@ the handling of squeue. `symbol >= 0' is wrong now, use `rule_table[ruleno].useful'. - 2001-12-05 Akim Demaille Because useless nonterminals are now kept alive (instead of being @@ -53,14 +145,12 @@ (free_storage): Use `free', not `XFREE', for pointers that cannot be null. - 2001-12-05 Akim Demaille * 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 * src/gram.c, src/gram.h (ritem_print): New. @@ -79,7 +169,7 @@ and may generate better code on some machines. (yystpcpy): Use prototype if __STDC__ is defined, not just if __cplusplus is defined. - + 2001-11-30 Akim Demaille * configure.in (WARNING_CFLAGS): Add -Werror when possible.