]> git.saurik.com Git - bison.git/commit - src/LR0.c
Pessimize the code to simplify it: from now on, all the states
authorAkim Demaille <akim@epita.fr>
Wed, 5 Dec 2001 09:34:55 +0000 (09:34 +0000)
committerAkim Demaille <akim@epita.fr>
Wed, 5 Dec 2001 09:34:55 +0000 (09:34 +0000)
commitd954473deedae21f333fc4a10b3b1649179ff2e0
tree701e5721c4f1ce7976c18468a9b732e07a0cb286
parent9839bbe557af2c1c3a8160a157d713fb2fc9145a
Pessimize the code to simplify it: from now on, all the states
have a valid SHIFTS, which NSHIFTS is possibly 0.
* src/LR0.c (shifts_new): Be global and move to..
* src/state.c, src/state.h: here.
* src/conflicts, src/lalr.c, src/output.c, src/print.c,
* src/print_graph: Adjust.
ChangeLog
src/LR0.c
src/Makefile.am
src/conflicts.c
src/lalr.c
src/output.c
src/print.c
src/print_graph.c
src/state.h