+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ Memory leak.
+
+ * src/LR0.c (new_itemsets): Don't allocate `shift_symbol' here,
+ since it allocates it for each state, although only one is needed.
+ (allocate_storage): Do it here.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/options.h, src/options.c (create_long_option_table): Rename
+ as...
+ (long_option_table_new): this, with a clearer prototype.
+ (percent_table): Remove, unused,
+ * src/getargs.c (getargs): Adjust.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/LR0.c, src/conflicts.c, src/lalr.c, src/lalr.h, src/output.c
+ * src/print.c, src/print_graph.c, src/state.h: Rename state_table
+ as states.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/lalr.c (build_relations): Rename `states' as `states1'.
+ Sorry, I don't understand exactly what it is, no better name...
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/closure.c, src/conflicts.c, src/derives.c, src/gram.c
+ * src/gram.h, src/lalr.c, src/nullable.c, src/output.c, src/print.c
+ * src/print_graph.c, src/reader.c, src/reduce.c: Rename rule_table
+ as rules.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/gram.c (rprec, rprecsym, rassoc): Remove, unused since long
+ ago.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/reader.c, src/reader.h (user_toknums): Remove.
+ Adjust all users to use symbols[i]->user_token_number.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/gram.c, src/gram.h (sprec, sassoc): Remove.
+ Adjust all users to use symbols[i]->prec or ->assoc.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/reader.c, src/reader.h (tags): Remove.
+ Adjust all users to use symbols[i]->tag.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/gram.h, src/gram.c (symbols): New, similar to state_table
+ and rule_table.
+ * src/reader.c (packsymbols): Fill this table.
+ Drop sprec.
+ * src/conflicts.c (resolve_sr_conflict): Adjust.
+ * src/reduce.c (reduce_grammar): Adjust: just sort symbols, a
+ single table.
+ Use symbols[i]->tag instead of tags[i].
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * tests/calc.at (_AT_DATA_CALC_Y): Also use %union.
+ In addition, put a comment in there, to replace...
+ * tests/regression.at (%union and C comments): Remove.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * tests/regression.at (Web2c Actions): Blindly move the actual
+ output as expected output. The contents *seem* right to me, but I
+ can't pretend reading perfectly parser tables... Nonetheless, all
+ the other tests pass correctly, the table look OK, even though the
+ presence of `$axiom' is to be noted: AFAICS it is useless (but
+ harmless).
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/reader.c (readgram): Don't add the rule 0 if there were no
+ rules read. In other words, add it _after_ having performed
+ grammar sanity checks.
+ Fixes the `tests/regression.at (Invalid input: 1)' Failure.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * tests/regression.at (Web2c Report): Catch up: the rule 0 is now
+ visible, and some states have now a different number.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/reader.c (readgram): Bind the initial rule's lineno to that
+ of the first rule.
+ * tests/regression.at (Rule Line Numbers, Unresolved SR Conflicts):
+ (Solved SR Conflicts): Adjust rule 0's line number.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ Fix the `GAWK Grammar' failure.
+
+ * src/LR0.c (final_state): Initialize to -1 so that we do compute
+ the reductions of the first state which was mistakenly confused
+ with the final state because precisely final_state was initialized
+ to 0.
+ * tests/sets.at (Nullable): Adjust: state 0 does have lookaheads,
+ now noticed by Bison.
+ * tests/regression.at (Rule Line Numbers): Adjust: state 0 does
+ have a reduction on $default.
+
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/gram.c (ritem_print): Be sure to subtract 1 when displaying
+ rule line numbers.
+ * src/closure.c (print_closure): Likewise.
+ * src/derives.c (print_derives): Likewise.
+ * tests/sets.at (Nullable): Adjust: the rule numbers are correct
+ now.
+
+2001-12-29 Akim Demaille <akim@epita.fr>
+
+ * src/lalr.c (lookaheads_print): New.
+ (lalr): Call it when --trace-flag.
+ * tests/sets.at (Nullable): Adjust: when tracing, the lookaheads
+ are dumped.
+
+
2001-12-29 Akim Demaille <akim@epita.fr>
* src/derives.c (print_derives): Be sure to use `>= 0', not `> 0',