All the hacks using a final pseudo state are now useless.
authorAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:05:30 +0000 (18:05 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 27 Dec 2001 18:05:30 +0000 (18:05 +0000)
commitd200e455d069992b6a491a0fbf1cb39a10c6937b
treeb752a61b4ed93ee68bc97e7af255634b3e6d8049
parentf9507c28ae7d2e01067085a477e02e87509b3fbe
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).
ChangeLog
src/LR0.c
src/lalr.c