* 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:
Akim Demaille
2001-11-19 10:08:20 +00:00
parent de326cc0de
commit f004bf6ac4
5 changed files with 34 additions and 29 deletions

View File

@@ -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_ */