-
-
-void
-print_firsts (void)
-{
- register int i;
- register int j;
- register unsigned *rowp;
-
- printf ("\n\n\nFIRSTS\n\n");
-
- for (i = ntokens; i < nsyms; i++)
- {
- printf ("\n\n%s firsts\n\n", tags[i]);
-
- rowp = firsts + ((i - ntokens) * varsetsize);
-
- for (j = 0; j < nvars; j++)
- if (BITISSET (rowp, j))
- printf (" %s\n", tags[j + ntokens]);
- }
-}
-
-
-void
-print_fderives (void)
-{
- register int i;
- register int j;
- register unsigned *rp;
-
- printf ("\n\n\nFDERIVES\n");
-
- for (i = ntokens; i < nsyms; i++)
- {
- printf ("\n\n%s derives\n\n", tags[i]);
- rp = fderives + i * rulesetsize;
-
- for (j = 0; j <= nrules; j++)
- if (BITISSET (rp, j))
- printf (" %d\n", j);
- }
-
- fflush(stdout);
-}
-
-#endif