]> git.saurik.com Git - bison.git/commit
* tests/regression.at (Unresolved SR Conflicts):
authorAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:13:59 +0000 (18:13 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:13:59 +0000 (18:13 +0000)
commitb365aa058967348e2161fe0e5c11d8943f13f4c2
tree1eece635603efbfc3eee814b95dc915734e5270e
parent30171f79ab0aaad06b88a66653789691c4ed4f2c
* tests/regression.at (Unresolved SR Conflicts):
(Solved SR Conflicts, Rule Line Numbers): Adjust to the changes
below.
* src/LR0.c (new_state): Recognize the final state by the fact it
is reached by eoftoken.
(insert_start_shifting_state, insert_eof_shifting_state)
(insert_accepting_state, augment_automaton): Remove, since now
these states are automatically computed from the initial state.
(generate_states): Adjust.
* src/print.c: When reporting a rule number to the user, substract
1, so that the axiom rule is rule 0, and the first user rule is 1.
* src/reduce.c: Likewise.
* src/print_graph.c (print_core): For the time being, just as for
the report, depend upon --trace-flags to dump the full set of
items.
* src/reader.c (readgram): Once the grammar read, insert the rule
0: `$axiom: START-SYMBOL $'.
* tests/set.at: Adjust: rule 0 is now displayed, and since the
number of the states has changed (the final state is no longer
necessarily the last), catch up.
* tests/regression.at: Partly catch up.
ChangeLog
tests/regression.at