mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-17 08:13:02 +00:00
style: factor printing of rules
* src/gram.h, src/gram.c (rule_print): New. Use it.
This commit is contained in:
@@ -376,7 +376,7 @@ generate_states (void)
|
||||
closure (s->items, s->nitems);
|
||||
/* Record the reductions allowed out of this state. */
|
||||
save_reductions (s);
|
||||
/* Find the itemsets of the states that shifts can reach. */
|
||||
/* Find the itemsets of the states that shifts/gotos can reach. */
|
||||
new_itemsets (s);
|
||||
/* Find or create the core structures for those states. */
|
||||
append_states (s);
|
||||
|
||||
Reference in New Issue
Block a user