commit | 93d69a7948d3ecebcfd8fd98d0909af56ef4993f | [log] [tgz] |
---|---|---|
author | Fredrik Lundh <fredrik@pythonware.com> | Sun Dec 18 15:44:21 2005 +0000 |
committer | Fredrik Lundh <fredrik@pythonware.com> | Sun Dec 18 15:44:21 2005 +0000 |
tree | ffd758b81b5f4be00a5fe542f64c5054a7d10f7c | |
parent | 0149e3a0903be8d47d1d6da0fd9ff3767c517085 [diff] [blame] |
fixed compilation with an ordinary C89 compiler
diff --git a/Python/compile.c b/Python/compile.c index 60b4933..3ada52b 100644 --- a/Python/compile.c +++ b/Python/compile.c
@@ -296,8 +296,7 @@ PyNode_Compile(struct _node *n, const char *filename) { PyCodeObject *co = NULL; - PyArena *arena; - arena = PyArena_New(); + PyArena *arena = PyArena_New(); mod_ty mod = PyAST_FromNode(n, NULL, filename, arena); if (mod) co = PyAST_Compile(mod, filename, NULL, arena);