+2002-06-17 Akim Demaille <akim@epita.fr>
+
+ * src/symlist.h, src/symlist.c (symbol_list_length): New.
+ * src/scan-gram.l (handle_dollar, handle_at): Compute the
+ rule_length only when needed.
+ * src/output.c (actions_output, token_definitions_output): Output
+ the full M4 block.
+ * src/symtab.c: Don't access directly to the symbol tag, use
+ symbol_tag_get.
+ * src/parse-gram.y: Use symbol_list_free.
+
+
+2002-06-17 Akim Demaille <akim@epita.fr>
+
+ * src/reader.h, src/reader.c (symbol_list, symbol_list_new)
+ (symbol_list_prepend, get_type_name): Move to...
+ * src/symlist.h, src/symlist.c (symbol_list_t, symbol_list_new)
+ (symbol_list_prepend, symbol_list_n_type_name_get): here.
+ Adjust all callers.
+ (symbol_list_free): New.
+ * src/scan-gram.l (handle_dollar): Takes a location.
+ * tests/input.at (Invalid $n): Adjust.
+
+
+2002-06-17 Akim Demaille <akim@epita.fr>
+
+ * src/reader.h, src/reader.c (symbol_list_new): Export it.
+ (symbol_list_prepend): New.
+ * src/parse-gram.y (%union): `list' is a new member.
+ (symbols.1): New, replaces...
+ (terms_to_prec.1, nterms_to_type.1): these.
+ * src/symtab.h, src/symtab.c (symbol_type_set, symbol_precedence_set)
+ Take a location as additional argument.
+ Adjust all callers.
+
+2002-06-15 Akim Demaille <akim@epita.fr>
+
+ * src/parse-gram.y: Move %token in the declaration section so that
+ we don't depend upon CVS Bison.
+
2002-06-15 Akim Demaille <akim@epita.fr>
* src/state.h, src/state.c (state_rule_lookaheads_print): New.
* src/print.c (print_core): Use it.
-
2002-06-15 Akim Demaille <akim@epita.fr>
* src/conflicts.c (log_resolution): Accept the rule involved in
(set_conflicts): Adjust.
* src/lalr.c, src/lalr.h, src/state.h: Comment changes.
-
2002-06-15 Akim Demaille <akim@epita.fr>
* src/state.h (state_t): Replace the `lookaheadsp' member, a
(states_lookaheads_count, states_lookaheads_initialize): these.
(lalr): Adjust.
-
2002-06-15 Akim Demaille <akim@epita.fr>
* src/gram.h, src/gram.c (grammar_rules_partial_print): New, eved
* tests/reduce.at (Useless Rules, Reduced Automaton)
(Underivable Rules): Adjust.
-
2002-06-15 Akim Demaille <akim@epita.fr>
Copy BYacc's nice way to report the grammar.
(rule_print): Use grammar_rhs_print.
* src/print.c (print_grammar): Use grammar_rules_print.
-
2002-06-15 Akim Demaille <akim@epita.fr>
Complete and rationalize `useless thing' warnings.
* tests/conflicts.at (Unresolved SR Conflicts)
(Solved SR Conflicts): Adjust.
-
2002-06-15 Akim Demaille <akim@epita.fr>
Let symbols have a location.
* tests/regression.at (Web2c Report, Rule Line Numbers): Adjust
the line numbers.
-
2002-06-14 Akim Demaille <akim@epita.fr>
Grammar declarations may be found in the grammar section.