fixed compilation with an ordinary C89 compiler

This commit is contained in:
Fredrik Lundh 2005-12-18 15:44:21 +00:00
parent 0149e3a090
commit 93d69a7948
2 changed files with 3 additions and 4 deletions

View file

@ -296,8 +296,7 @@ PyCodeObject *
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);