* src/closure.c (print_closure): Improve.

(closure): Use it for printing input and output.
This commit is contained in:
Akim Demaille
2001-12-05 09:40:47 +00:00
parent 03ec521cc5
commit 23cbcc6c19
3 changed files with 23 additions and 13 deletions

View File

@@ -583,6 +583,9 @@ generate_states (void)
while (this_state)
{
if (trace_flag)
fprintf (stderr, "Processing state %d (reached by %s)\n",
this_state->number, tags[this_state->accessing_symbol]);
/* Set up ruleset and itemset for the transitions out of this
state. ruleset gets a 1 bit for each rule that could reduce
now. itemset gets a vector of all the items that could be