* 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:
Akim Demaille
2001-12-17 17:32:59 +00:00
parent 331dbc1bb7
commit 3877f72ba2
6 changed files with 37 additions and 24 deletions

View File

@@ -74,6 +74,4 @@ extern state_t **state_table;
extern int tokensetsize;
/* The number of lookaheads. */
extern size_t nlookaheads;
#endif /* !LALR_H_ */