* src/lalr.h (consistent): 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 10:08:02 +00:00
parent 90b4416b5b
commit de326cc0de
7 changed files with 20 additions and 16 deletions

View File

@@ -49,12 +49,6 @@ extern short *goto_map;
extern short *from_state;
extern short *to_state;
/* CONSISTENT[S] is nonzero if no lookahead is needed to decide what
to do in state S. */
extern char *consistent;
/* LARULENO is a vector which records the rules that need lookahead in
various states. The elements of LARULENO that apply to state S are
those from LOOKAHEADS[S] through LOOKAHEADS[S+1]-1. Each element
@@ -85,6 +79,10 @@ typedef struct state_s
shifts *shift_table;
reductions *reduction_table;
/* Nonzero if no lookahead is needed to decide what to do in state
S. */
char consistent;
} state_t;
/* All the decorated states, indexed by the state number. Warning: