mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
All the hacks using a final pseudo state are now useless.
* src/LR0.c (set_state_table): state_table holds exactly nstates. * src/lalr.c (nLA): New. (initialize_LA, compute_lookaheads, initialize_lookaheads): Use it instead of lookaheadsp from the pseudo state (nstate + 1).
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2001-12-27 Akim Demaille <akim@epita.fr>
|
||||
|
||||
All the hacks using a final pseudo state are now useless.
|
||||
|
||||
* src/LR0.c (set_state_table): state_table holds exactly nstates.
|
||||
* src/lalr.c (nLA): New.
|
||||
(initialize_LA, compute_lookaheads, initialize_lookaheads): Use it
|
||||
instead of lookaheadsp from the pseudo state (nstate + 1).
|
||||
|
||||
2001-12-27 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/output.c (action_row, token_actions): Use a state_t instead
|
||||
|
||||
Reference in New Issue
Block a user