* src/state.h, src/state.c (state_rule_lookaheads_print): New.

* src/print.c (print_core): Use it.
This commit is contained in:
Akim Demaille
2002-06-15 18:24:25 +00:00
parent 9801d40c50
commit 10e5b8bd0a
4 changed files with 46 additions and 22 deletions

View File

@@ -199,4 +199,10 @@ typedef struct state_s
(state_t *) xcalloc ((unsigned) (sizeof (state_t) \
+ (Nitems - 1) * sizeof (item_number_t)), 1)
/* Print on OUT all the lookaheads such that this STATE wants to
reduce this RULE. */
void state_rule_lookaheads_print PARAMS ((state_t *state, rule_t *rule,
FILE *out));
#endif /* !STATE_H_ */