X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/9757c359efc607b6d9e4675447a7b1afd873bc6e..1e0bab92768860bfecd95f01227df9b1c25da2cb:/ChangeLog diff --git a/ChangeLog b/ChangeLog index ab0b47da..2b0c8ceb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,45 @@ +2002-06-17 Akim Demaille + + * 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 + + * src/parse-gram.y: Move %token in the declaration section so that + we don't depend upon CVS Bison. + +2002-06-15 Akim Demaille + + * src/state.h, src/state.c (state_rule_lookaheads_print): New. + * src/print.c (print_core): Use it. + +2002-06-15 Akim Demaille + + * src/conflicts.c (log_resolution): Accept the rule involved in + the sr conflicts instead of the lookahead number that points to + that rule. + (flush_reduce): Accept the current lookahead vector as argument, + instead of the index in LA. + (resolve_sr_conflict): Accept the current number of lookahead + bitset to consider for the STATE, instead of the index in LA. + (set_conflicts): Adjust. + * src/lalr.c, src/lalr.h, src/state.h: Comment changes. + +2002-06-15 Akim Demaille + + * src/state.h (state_t): Replace the `lookaheadsp' member, a + short, with `lookaheads' (bitsetv), `lookaheads_rule' (rule_t**). + Adjust all dependencies. + * src/lalr.c (initialize_lookaheads): Split into... + (states_lookaheads_count, states_lookaheads_initialize): these. + (lalr): Adjust. + 2002-06-15 Akim Demaille * src/gram.h, src/gram.c (grammar_rules_partial_print): New, eved @@ -7,7 +49,6 @@ * tests/reduce.at (Useless Rules, Reduced Automaton) (Underivable Rules): Adjust. - 2002-06-15 Akim Demaille Copy BYacc's nice way to report the grammar. @@ -18,7 +59,6 @@ (rule_print): Use grammar_rhs_print. * src/print.c (print_grammar): Use grammar_rules_print. - 2002-06-15 Akim Demaille Complete and rationalize `useless thing' warnings. @@ -38,7 +78,6 @@ * tests/conflicts.at (Unresolved SR Conflicts) (Solved SR Conflicts): Adjust. - 2002-06-15 Akim Demaille Let symbols have a location. @@ -72,7 +111,6 @@ * tests/regression.at (Web2c Report, Rule Line Numbers): Adjust the line numbers. - 2002-06-14 Akim Demaille Grammar declarations may be found in the grammar section.