mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Print warnings to stderr and correct spelling
This commit is contained in:
parent
ba3690cd09
commit
888d205fff
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user