[Python-3000-checkins] r61961 - in python/branches/py3k: Python/pythonrun.c

christian.heimes python-3000-checkins at python.org
Thu Mar 27 00:25:24 CET 2008


Author: christian.heimes
Date: Thu Mar 27 00:25:24 2008
New Revision: 61961

Modified:
   python/branches/py3k/   (props changed)
   python/branches/py3k/Python/pythonrun.c
Log:
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
........


Modified: python/branches/py3k/Python/pythonrun.c
==============================================================================
--- python/branches/py3k/Python/pythonrun.c	(original)
+++ python/branches/py3k/Python/pythonrun.c	Thu Mar 27 00:25:24 2008
@@ -1586,8 +1586,7 @@
 {
 	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 @@
 {
 	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);


More information about the Python-3000-checkins mailing list