mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/closure.c, src/derives.c, src/gram.h, src/lalr.c,
* src/nullable.c, src/output.c, src/print.c, src/print_graph.c, * src/reader.c, src/reduce.c: Let rule_t.rhs point directly to the RHS, instead of being an index in RITEMS.
This commit is contained in:
@@ -80,7 +80,7 @@ print_core (state_t *state, struct obstack *node_obstack)
|
||||
obstack_fgrow1 (node_obstack, " %s -> ",
|
||||
escape (symbols[rules[rule].lhs]->tag));
|
||||
|
||||
for (sp = ritem + rules[rule].rhs; sp < sp1; sp++)
|
||||
for (sp = rules[rule].rhs; sp < sp1; sp++)
|
||||
obstack_fgrow1 (node_obstack, "%s ", escape (symbols[*sp]->tag));
|
||||
|
||||
obstack_1grow (node_obstack, '.');
|
||||
|
||||
Reference in New Issue
Block a user