1 |
2001-12-05 Akim Demaille <akim@epita.fr> |
2001-12-05 Akim Demaille <akim@epita.fr> |
2 |
|
|
3 |
|
Pessimize the code to simplify it: from now on, all the states |
4 |
|
have a valid SHIFTS, which NSHIFTS is possibly 0. |
5 |
|
|
6 |
|
* src/LR0.c (shifts_new): Be global and move to.. |
7 |
|
* src/state.c, src/state.h: here. |
8 |
|
* src/conflicts, src/lalr.c, src/output.c, src/print.c, |
9 |
|
* src/print_graph: Adjust. |
10 |
|
|
11 |
|
|
12 |
|
2001-12-05 Akim Demaille <akim@epita.fr> |
13 |
|
|
14 |
* src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New. |
* src/state.h (SHIFT_DISABLE, SHIFT_IS_DISABLED): New. |
15 |
* src/conflicts.c: Use it. |
* src/conflicts.c: Use it. |
16 |
Restore a few missing `if (!SHIFT_IS_DISABLED)' which were |
Restore a few missing `if (!SHIFT_IS_DISABLED)' which were |