diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-06-22 21:51:44 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-22 21:51:44 -0700 |
commit | 9ee9efa9fd1cd12511780cc3da1bb2a5d1b3511a (patch) | |
tree | 089807d2562ac99f950fbdaa6816537d6d9767ac | |
parent | 482fac74999028af4764645a1f28dd4289b2f255 (diff) | |
download | cpython-git-9ee9efa9fd1cd12511780cc3da1bb2a5d1b3511a.tar.gz |
make pgen.c C89 compliant again (GH-7870)
-rw-r--r-- | Parser/pgen.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Parser/pgen.c b/Parser/pgen.c index 5968a498a7..6b2cdeca2c 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); |