* 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

@@ -104,8 +104,8 @@ print_actions (int state, const char *node_name, struct obstack *node_obstack)
static char buff[10];
edge_t edge;
shiftp = shift_table[state];
redp = reduction_table[state];
shiftp = state_table[state].shift_table;
redp = state_table[state].reduction_table;
errp = err_table[state];
if (!shiftp && !redp)