- rule_number_t *rp;
- fprintf (stderr, "\t%s derives\n", symbols[i]->tag);
- for (rp = derives[i]; *rp > 0; rp++)
- {
- fprintf (stderr, "\t\t%3d ", *rp - 1);
- rule_rhs_print (&rules[*rp], stderr);
- }
+ rule **rp;
+ fprintf (stderr, " %s derives\n", symbols[i]->tag);
+ for (rp = derives[i - ntokens]; *rp; ++rp)
+ {
+ fprintf (stderr, " %3d ", (*rp)->user_number);
+ rule_rhs_print (*rp, stderr);
+ fprintf (stderr, "\n");
+ }