mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-15 15:23:02 +00:00
* src/lalr.h (lookaheads): Removed array, which contents is now
member of... (state_t): this structure. * src/output.c, src/lalr.c, src/print_graph.c, src/conflicts.c: Adjust.
This commit is contained in:
@@ -83,6 +83,8 @@ typedef struct state_s
|
||||
/* Nonzero if no lookahead is needed to decide what to do in state
|
||||
S. */
|
||||
char consistent;
|
||||
|
||||
short lookaheads;
|
||||
} state_t;
|
||||
|
||||
/* All the decorated states, indexed by the state number. Warning:
|
||||
@@ -91,9 +93,7 @@ typedef struct state_s
|
||||
extern state_t *state_table;
|
||||
|
||||
extern int tokensetsize;
|
||||
extern short *lookaheads;
|
||||
|
||||
|
||||
|
||||
|
||||
/* The number of lookaheads. */
|
||||
extern size_t nlookaheads;
|
||||
#endif /* !LALR_H_ */
|
||||
|
||||
Reference in New Issue
Block a user