8000 [3.6] Compile and run on Linux on Python 3.3-3.6 · python/typed_ast@b37529e · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Jul 5, 2023. It is now read-only.

Commit b37529e

Browse files
committed
[3.6] Compile and run on Linux on Python 3.3-3.6
1 parent 99b5770 commit b37529e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ast3/Parser/grammar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ newgrammar(int start)
3131
void
3232
freegrammar(grammar *g)
3333
{
34-
int i;
34+
int i, j;
3535
for (i = 0; i < g->g_ndfas; i++) {
3636
free(g->g_dfa[i].d_name);
37-
for (int j = 0; j < g->g_dfa[i].d_nstates; j++)
37+
for (j = 0; j < g->g_dfa[i].d_nstates; j++)
3838
PyObject_FREE(g->g_dfa[i].d_state[j].s_arc);
3939
PyObject_FREE(g->g_dfa[i].d_state);
4040
}

0 commit comments

Comments
 (0)
0