Skip to content

Commit 9ee9efa

Browse files
authored
make pgen.c C89 compliant again (GH-7870)
1 parent 482fac7 commit 9ee9efa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Parser/pgen.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ newnfagrammar(void)
120120
static void
121121
freenfagrammar(nfagrammar *gr)
122122
{
123-
for (int i = 0; i < gr->gr_nnfas; i++) {
123+
int i;
124+
for (i = 0; i < gr->gr_nnfas; i++) {
124125
PyObject_FREE(gr->gr_nfa[i]->nf_state);
125126
}
126127
PyObject_FREE(gr->gr_nfa);

0 commit comments

Comments
 (0)