1 |
2001-12-27 Akim Demaille <akim@epita.fr> |
2001-12-27 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
All the hacks using a final pseudo state are now useless. |
4 |
|
|
5 |
|
* src/LR0.c (set_state_table): state_table holds exactly nstates. |
6 |
|
* src/lalr.c (nLA): New. |
7 |
|
(initialize_LA, compute_lookaheads, initialize_lookaheads): Use it |
8 |
|
instead of lookaheadsp from the pseudo state (nstate + 1). |
9 |
|
|
10 |
|
2001-12-27 Akim Demaille <akim@epita.fr> |
11 |
|
|
12 |
* src/output.c (action_row, token_actions): Use a state_t instead |
* src/output.c (action_row, token_actions): Use a state_t instead |
13 |
of a integer, and nlookaheads instead of the following state's |
of a integer, and nlookaheads instead of the following state's |
14 |
lookaheadsp. |
lookaheadsp. |