Commit 9ee9efa9 authored by Benjamin Peterson's avatar Benjamin Peterson Committed by GitHub

make pgen.c C89 compliant again (GH-7870)

parent 482fac74
......@@ -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);
......
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