X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/300f275f23b65c09f69a437c635c48ddd126f21a..c87d4863f6de617e0ed35dc566c59d5b4a072101:/ChangeLog?ds=sidebyside diff --git a/ChangeLog b/ChangeLog index f67485eb..936909ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,37 @@ +2001-11-19 Akim Demaille + + * src/closure.c, src/derives.c, src/nullable.c: Adjust various + trace messages. + * src/LR0.c: Likewise. + (allocate_itemsets): Use arrays instead of pointers to clarify. + +2001-11-19 Akim Demaille + + * src/getargs.c (statistics_flag): Replace with... + (trace_flag): New. + (longopts): Accept --trace instead of --statistics. + * src/getargs.h, src/options.c: Adjust. + * src/LR0.c, src/closure.c, src/derives.c, src/nullable.c, + * src/reduce.c: Use trace_flags instead of the CPP conditional TRACE. + +2001-11-19 Akim Demaille + + * src/LR0.c (new_itemsets, get_state): Use more arrays and less + pointers to clarify the code. + (save_reductions, save_shifts): Factor common parts of alternatives. + +2001-11-19 Akim Demaille + + * src/LR0.c (new_state, get_state): Complete TRACE code. + * src/closure.c: Include `reader.h' to get `tags', needed by the + trace code. + Rename the conditional DEBUG as TRACE. + Output consistently TRACEs to stderr, not stdout. + * src/derives.c: Likewise. + * src/reduce.c: (inaccessable_symbols): Using if is better style + than goto. + Use `#if TRACE' instead of `#if 0' for tracing code. + 2001-11-19 Akim Demaille * src/system.h (LIST_FREE, shortcpy): New. @@ -5,7 +39,7 @@ * src/output.c (free_itemsets, free_reductions, free_shifts): Remove, replaced by LIST_FREE. - + 2001-11-19 Akim Demaille * src/state.h (CORE_ALLOC, SHIFTS_ALLOC, ERRS_ALLOC) @@ -13,7 +47,7 @@ * src/LR0.c, src/conflicts.c: Use them to de-obfuscate memory allocation. - + 2001-11-19 Akim Demaille * src/LR0.c (new_state): Complete trace code. @@ -33,7 +67,7 @@ (print_actions): Don't output the actions as part of the nodes, since that's the job of the edges. (print_state): Don't output by hand: fill the node description, - and ask for its output. + and ask for its output. 2001-11-19 Akim Demaille @@ -47,7 +81,7 @@ * src/reader.c (record_rule_lines, rline, rline_allocated): Remove. * src/output.c: Adjust. - + 2001-11-19 Akim Demaille * src/gram.h (rprec, rprecsym, rassoc): Remove, now part of... @@ -63,7 +97,7 @@ * src/lalr.c, src/nullable.c, src/output.c, src/print.c, * src/reader.c, src/reduce.c: Adjust. - + 2001-11-19 Akim Demaille * src/reader.c (symbols_output): New, extracted from... @@ -91,7 +125,7 @@ * src/lalr.c (initialize_LA): Only initialize LA. Let... (set_state_table): handle the `lookaheads' members. - + 2001-11-19 Akim Demaille * src/lalr.h (lookaheads): Removed array, which contents is now @@ -116,7 +150,7 @@ * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: Adjust. - + 2001-11-19 Akim Demaille * src/lalr.h (state_t): New.