mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 21: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:
@@ -1688,7 +1688,7 @@ packgram (void)
|
||||
{
|
||||
bucket *ruleprec = p->ruleprec;
|
||||
rules[ruleno].lhs = p->sym->value;
|
||||
rules[ruleno].rhs = itemno;
|
||||
rules[ruleno].rhs = ritem + itemno;
|
||||
rules[ruleno].line = p->line;
|
||||
rules[ruleno].useful = TRUE;
|
||||
rules[ruleno].action = p->action;
|
||||
|
||||
Reference in New Issue
Block a user