Kaydet (Commit) 888d205f authored tarafından Guido van Rossum's avatar Guido van Rossum

Print warnings to stderr and correct spelling

üst ba3690cd
...@@ -49,14 +49,14 @@ addaccelerators(g) ...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment