mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 00:03:03 +00:00
* 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:
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user