* src/lalr.h (reduction_table, shift_table): Removed arrays, which

contents is now members 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:12 +00:00
parent 93337ac41c
commit cfc3acf242
7 changed files with 46 additions and 54 deletions

View File

@@ -82,6 +82,9 @@ typedef struct state_s
/* Its accessing symbol. */
short accessing_symbol;
shifts *shift_table;
reductions *reduction_table;
} state_t;
/* All the decorated states, indexed by the state number. Warning:
@@ -91,8 +94,7 @@ extern state_t *state_table;
extern int tokensetsize;
extern short *lookaheads;
extern shifts **shift_table;
extern reductions **reduction_table;