* 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 09:10:47 +00:00
parent d80a86e0b5
commit 9043475828
5 changed files with 34 additions and 29 deletions

View File

@@ -540,8 +540,8 @@ action_row (int state)
{
/* loop over all the rules available here which require
lookahead */
m = lookaheads[state];
n = lookaheads[state + 1];
m = state_table[state].lookaheads;
n = state_table[state + 1].lookaheads;
for (i = n - 1; i >= m; i--)
{
@@ -1120,7 +1120,6 @@ output_actions (void)
token_actions ();
free_shifts ();
free_reductions ();
XFREE (lookaheads);
XFREE (LA);
XFREE (LAruleno);