]> git.saurik.com Git - bison.git/commit
* src/LR0.c (new_state): Display `nstates' as the name of the
authorAkim Demaille <akim@epita.fr>
Sun, 7 Apr 2002 17:40:16 +0000 (17:40 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 7 Apr 2002 17:40:16 +0000 (17:40 +0000)
commit643a5994714b21dfde1a44a52ccffd0a300e5131
treee7f1185fbbfcabcd9b7af200e1a454e2d95bb6b5
parentb4c4ccc2b3b546a665f65a619af0a60e0dbacf50
* src/LR0.c (new_state): Display `nstates' as the name of the
newly created state.
Adjust to initialize first_state and last_state if needed.
Be sure to distinguish the initial from the final state.
(new_states): Create the itemset of the initial state, and use
new_state.
* src/closure.c (closure): Now that the initial state has its
items properly set, there is no need for a special case when
creating `ruleset'.
As a result, now the rule 0, reducing to $axiom, is visible in the
outputs.  Adjust the test suite.
* tests/conflicts.at (Solved SR Conflicts)
(Unresolved SR Conflicts): Adjust.
* tests/regression.at (Web2c Report, Rule Line Numbers): Idem.
* tests/conflicts.at (S/R in initial): New.
ChangeLog
NEWS
src/LR0.c
src/closure.c
tests/Makefile.am
tests/conflicts.at
tests/regression.at