Kaydet (Commit) 7b4c8e48 authored tarafından Jeremy Hylton's avatar Jeremy Hylton

I trust the parser accelators are getting added :-).

üst 45228ca8
...@@ -25,16 +25,10 @@ PyGrammar_AddAccelerators(grammar *g) ...@@ -25,16 +25,10 @@ PyGrammar_AddAccelerators(grammar *g)
{ {
dfa *d; dfa *d;
int i; int i;
#ifdef Py_DEBUG
fprintf(stderr, "Adding parser accelerators ...\n");
#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 Py_DEBUG
fprintf(stderr, "Done.\n");
#endif
} }
void void
......
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