* src/closure.c, src/derives.c, src/nullable.c: Adjust various

trace messages.
* src/LR0.c: Likewise.
(allocate_itemsets): Use arrays instead of pointers to clarify.
This commit is contained in:
Akim Demaille
2001-11-19 09:25:36 +00:00
parent 3b2925a060
commit 64fabbb49f
5 changed files with 61 additions and 44 deletions

View File

@@ -40,17 +40,16 @@ print_derives (void)
int i;
short *sp;
fputs ("\n\n\nDERIVES\n\n", stderr);
fputs ("DERIVES\n", stderr);
for (i = ntokens; i < nsyms; i++)
{
fprintf (stderr, "%s derives", tags[i]);
fprintf (stderr, "\t%s derives\n", tags[i]);
for (sp = derives[i]; *sp > 0; sp++)
fprintf (stderr, " %d", *sp);
putc ('\n', stderr);
fprintf (stderr, "\t\t%d (%s)\n", *sp, tags[*sp]);
}
putc ('\n', stderr);
fputs ("\n\n", stderr);
}