X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/bba97eb2c13a632c9a23306a834de312df16e4e0..366eea36d3a9aaccf80a78c2fcd8c3cd6b563e25:/src/derives.c diff --git a/src/derives.c b/src/derives.c index 078c7284..d78d5563 100644 --- a/src/derives.c +++ b/src/derives.c @@ -42,7 +42,7 @@ print_derives (void) fprintf (stderr, "\t%s derives\n", symbols[i]->tag); for (sp = derives[i]; *sp > 0; sp++) { - short *rhsp; + item_number_t *rhsp; fprintf (stderr, "\t\t%d:", *sp); for (rhsp = rules[*sp].rhs; *rhsp >= 0; ++rhsp) fprintf (stderr, " %s", symbols[*rhsp]->tag); @@ -69,7 +69,7 @@ set_derives (void) p = delts; for (i = nrules; i > 0; i--) { - int lhs = rules[i].lhs->number; + symbol_number_t lhs = rules[i].lhs->number; p->next = dset[lhs]; p->value = i; dset[lhs] = p;