mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/LR0.c (generate_states): Use nritems, not nitems, nor using
the 0-sentinel. * src/gram.c (ritem_longest_rhs): Likewise. * src/reduce.c (nonterminals_reduce): Likewise. * src/print_graph.c (print_graph): Likewise. * src/output.c (output_rule_data): Likewise. * src/nullable.c (set_nullable): Likewise.
This commit is contained in:
@@ -199,7 +199,7 @@ print_graph (void)
|
||||
output_graph (&graph, fgraph);
|
||||
|
||||
/* Output nodes and edges. */
|
||||
new_closure (nitems);
|
||||
new_closure (nritems);
|
||||
for (i = 0; i < nstates; i++)
|
||||
print_state (state_table[i]);
|
||||
free_closure ();
|
||||
|
||||
Reference in New Issue
Block a user