Skip to content

Commit 12b1656

Browse files
author
christian.heimes
committed
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 ........ git-svn-id: http://svn.python.org/projects/python/branches/py3k@61961 6015fed2-1504-0410-9fe1-9d1591cc4771
1 parent 16333ad commit 12b1656

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Python/pythonrun.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1586,8 +1586,7 @@ PyParser_ASTFromString(const char *s, const char *filename, int start,
15861586
{
15871587
mod_ty mod;
15881588
perrdetail err;
1589-
int iflags;
1590-
iflags = PARSER_FLAGS(flags);
1589+
int iflags = PARSER_FLAGS(flags);
15911590

15921591
node *n = PyParser_ParseStringFlagsFilenameEx(s, filename,
15931592
&_PyParser_Grammar, start, &err,
@@ -1614,9 +1613,8 @@ PyParser_ASTFromFile(FILE *fp, const char *filename, const char* enc,
16141613
{
16151614
mod_ty mod;
16161615
perrdetail err;
1617-
int iflags;
1616+
int iflags = PARSER_FLAGS(flags);
16181617

1619-
iflags = PARSER_FLAGS(flags);
16201618
node *n = PyParser_ParseFileFlagsEx(fp, filename, enc,
16211619
&_PyParser_Grammar,
16221620
start, ps1, ps2, &err, &iflags);

0 commit comments

Comments
 (0)