- printf ("\n\n%s derives\n\n", tags[i]);
- rp = fderives + i * rulesetsize;
+ fprintf (stderr, "\t%s derives\n",
+ quotearg_style (escape_quoting_style, symbols[i]->tag));
+ for (j = 0; j < nrules + 1; j++)
+ if (bitset_test (FDERIVES (i), j))
+ {
+ item_number_t *rhsp;
+ fprintf (stderr, "\t\t%d:", j - 1);
+ for (rhsp = rules[j].rhs; *rhsp >= 0; ++rhsp)
+ fprintf (stderr, " %s",
+ quotearg_style (escape_quoting_style,
+ symbols[*rhsp]->tag));
+ fputc ('\n', stderr);
+ }
+ }
+ fprintf (stderr, "\n\n");
+}
+
+/*--------------------------------------------------------.
+| Display the MATRIX array of SIZE bitsets of size SIZE. |
+`--------------------------------------------------------*/