Print warnings to stderr and correct spelling

This commit is contained in:
Guido van Rossum 1992-09-03 20:45:24 +00:00
parent ba3690cd09
commit 888d205fff
1 changed files with 2 additions and 2 deletions

View File

@ -49,14 +49,14 @@ addaccelerators(g)
dfa *d;
int i;
#ifdef DEBUG
printf("Adding parser accellerators ...\n");
fprintf(stderr, "Adding parser accelerators ...\n");
#endif
d = g->g_dfa;
for (i = g->g_ndfas; --i >= 0; d++)
fixdfa(g, d);
g->g_accel = 1;
#ifdef DEBUG
printf("Done.\n");
fprintf(stderr, "Done.\n");
#endif
}