diff options
author | Christian Heimes <christian@cheimes.de> | 2008-03-26 23:25:24 +0000 |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-03-26 23:25:24 +0000 |
commit | f5107f61bba0bd1c3b070181121af667c84f60b7 (patch) | |
tree | 7de10d821d4779dc8535d8711b48b6df962f9a9d /Python/pythonrun.c | |
parent | d50279a5881b5f3bcc32a0b95c67a1e08543d459 (diff) | |
download | cpython-f5107f61bba0bd1c3b070181121af667c84f60b7.tar.gz |
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
........
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 08091b7939..74e3430e97 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); |