* src/LR0.c (state_list_t, state_list_append): New.
authorAkim Demaille <akim@epita.fr>
Sun, 30 Jun 2002 17:30:29 +0000 (17:30 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 30 Jun 2002 17:30:29 +0000 (17:30 +0000)
commit32e1e0a4865d64946a5497aff057d7be28c1cc3d
treeacd07129c4f221f397a81ce0da3d217b27cd1067
parente5fb6710321bf3b412e34028ba0b934ab123970b
* src/LR0.c (state_list_t, state_list_append): New.
(first_state, last_state): Now symbol_list_t.
(this_state): Remove.
(new_itemsets, append_states, save_reductions): Take a state_t as
argument.
(set_states, generate_states): Adjust.
(save_shifts): Remove, replaced by...
* src/state.h, src/state.c (state_shifts_set): New.
(shifts): Rename as...
(shifts_t): this.
Adjust all dependencies.
* src/state.h (state_t): Remove the `next' member.
ChangeLog
src/LR0.c
src/conflicts.c
src/lalr.c
src/output.c
src/print.c
src/print_graph.c
src/reader.c
src/state.c
src/state.h
src/symlist.h