mirror of https://github.com/python/cpython
Print warnings to stderr and correct spelling
This commit is contained in:
parent
ba3690cd09
commit
888d205fff
|
@ -49,14 +49,14 @@ addaccelerators(g)
|
||||||
dfa *d;
|
dfa *d;
|
||||||
int i;
|
int i;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("Adding parser accellerators ...\n");
|
fprintf(stderr, "Adding parser accelerators ...\n");
|
||||||
#endif
|
#endif
|
||||||
d = g->g_dfa;
|
d = g->g_dfa;
|
||||||
for (i = g->g_ndfas; --i >= 0; d++)
|
for (i = g->g_ndfas; --i >= 0; d++)
|
||||||
fixdfa(g, d);
|
fixdfa(g, d);
|
||||||
g->g_accel = 1;
|
g->g_accel = 1;
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("Done.\n");
|
fprintf(stderr, "Done.\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue