[Python-checkins] cpython: C89 compliance
benjamin.peterson
python-checkins at python.org
Sat Mar 16 23:39:55 CET 2013
http://hg.python.org/cpython/rev/0e253370863f
changeset: 82709:0e253370863f
parent: 82687:46cadd3955d0
user: Benjamin Peterson <benjamin at python.org>
date: Sat Mar 16 15:38:28 2013 -0700
summary:
C89 compliance
files:
Python/future.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Python/future.c b/Python/future.c
--- a/Python/future.c
+++ b/Python/future.c
@@ -59,6 +59,7 @@
future_parse(PyFutureFeatures *ff, mod_ty mod, const char *filename)
{
int i, done = 0, prev_line = 0;
+ stmt_ty first;
if (!(mod->kind == Module_kind || mod->kind == Interactive_kind))
return 1;
@@ -75,7 +76,7 @@
*/
i = 0;
- stmt_ty first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
+ first = (stmt_ty)asdl_seq_GET(mod->v.Module.body, i);
if (first->kind == Expr_kind && first->v.Expr.value->kind == Str_kind)
i++;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list