mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
Now that states have a complete set of members, the linked list of
shifts is useless: just fill directly the state's shifts member. * src/state.h (shifts): Remove the `next' member. * src/LR0.c (first_state, last_state): Remove. Adjust the callers. (augment_automaton): Don't look for the shifts that must be added a shift on EOF: it is those of the state we looked for! But now, since shifts are attached, it is no longer needed to looking merely by its id: its number.
This commit is contained in:
14
ChangeLog
14
ChangeLog
@@ -1,3 +1,17 @@
|
||||
2001-12-10 Akim Demaille <akim@epita.fr>
|
||||
|
||||
Now that states have a complete set of members, the linked list of
|
||||
shifts is useless: just fill directly the state's shifts member.
|
||||
|
||||
* src/state.h (shifts): Remove the `next' member.
|
||||
* src/LR0.c (first_state, last_state): Remove.
|
||||
Adjust the callers.
|
||||
(augment_automaton): Don't look for the shifts that must be added
|
||||
a shift on EOF: it is those of the state we looked for! But now,
|
||||
since shifts are attached, it is no longer needed to looking
|
||||
merely by its id: its number.
|
||||
|
||||
|
||||
2001-12-10 Akim Demaille <akim@epita.fr>
|
||||
|
||||
* src/LR0.c (augment_automaton): Better variable locality.
|
||||
|
||||
Reference in New Issue
Block a user