make pgen.c C89 compliant again (GH-7870)
This commit is contained in:
parent
482fac7499
commit
9ee9efa9fd
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue