mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 23:03:04 +00:00
* src/gram.h (rule_t): `lhs' is now a pointer to the symbol's
bucket. Adjust all dependencies. * src/reduce.c (nonterminals_reduce): Don't forget to renumber the `number' of the buckets too. * src/gram.h: Include `symtab.h'. (associativity): Move to... * src/symtab.h: here. No longer include `gram.h'.
This commit is contained in:
@@ -300,7 +300,7 @@ output_rule_data (void)
|
||||
{
|
||||
short *values = XCALLOC (short, nrules + 1);
|
||||
for (i = 1; i < nrules + 1; ++i)
|
||||
values[i] = rules[i].lhs;
|
||||
values[i] = rules[i].lhs->number;
|
||||
output_table_data (&format_obstack, values,
|
||||
0, 1, nrules + 1);
|
||||
muscle_insert ("r1", obstack_finish (&format_obstack));
|
||||
|
||||
Reference in New Issue
Block a user