- printf (_("%s derives"), tags[i]);
- for (sp = derives[i]; *sp > 0; sp++)
- {
- printf (" %d", *sp);
- }
- putchar ('\n');
+ 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");
+ }