From 3a932128246bccd4a9c3fc3ae056341e1b1068e0 Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 26 Mar 2008 23:25:24 +0000 Subject: Merged revisions 61958-61959 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r61958 | amaury.forgeotdarc | 2008-03-27 00:07:43 +0100 (Thu, 27 Mar 2008) | 2 lines C89 compliance: Microsoft compilers want variable declarations at the top ........ --- Python/pythonrun.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 08091b7..74e3430 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1586,8 +1586,7 @@ PyParser_ASTFromString(const char *s, const char *filename, int start, { mod_ty mod; perrdetail err; - int iflags; - iflags = PARSER_FLAGS(flags); + int iflags = PARSER_FLAGS(flags); node *n = PyParser_ParseStringFlagsFilenameEx(s, filename, &_PyParser_Grammar, start, &err, @@ -1614,9 +1613,8 @@ PyParser_ASTFromFile(FILE *fp, const char *filename, const char* enc, { mod_ty mod; perrdetail err; - int iflags; + int iflags = PARSER_FLAGS(flags); - iflags = PARSER_FLAGS(flags); node *n = PyParser_ParseFileFlagsEx(fp, filename, enc, &_PyParser_Grammar, start, ps1, ps2, &err, &iflags); -- cgit v0.12