diff --git a/Parser/pgen.c b/Parser/pgen.c index 5968a498a7b..6b2cdeca2cc 100644 --- a/Parser/pgen.c +++ b/Parser/pgen.c @@ -120,7 +120,8 @@ newnfagrammar(void) static void freenfagrammar(nfagrammar *gr) { - for (int i = 0; i < gr->gr_nnfas; i++) { + int i; + for (i = 0; i < gr->gr_nnfas; i++) { PyObject_FREE(gr->gr_nfa[i]->nf_state); } PyObject_FREE(gr->gr_nfa);