mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 07:13:02 +00:00
* src/state.h (state_t): Rename lookaheads as lookaheadsp.
nlookaheads is a new member. Adjust all users. * src/lalr.h (nlookaheads): Remove this orphan declaration. * src/lalr.c (initialize_lookaheads): Set nlookaheads for each state.
This commit is contained in:
@@ -189,7 +189,9 @@ typedef struct state_s
|
||||
char consistent;
|
||||
|
||||
/* Used in LALR, not LR(0). */
|
||||
short lookaheads;
|
||||
/* Pseudo pointer into LA. */
|
||||
short lookaheadsp;
|
||||
int nlookaheads;
|
||||
|
||||
/* Its items. */
|
||||
short nitems;
|
||||
|
||||
Reference in New Issue
Block a user