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