summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 9f7d1f8..3bdd994 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -818,14 +818,14 @@ parsenumber(co, s)
c.real = 0.;
PyFPE_START_PROTECT("atof", return 0)
c.imag = atof(s);
- PyFPE_END_PROTECT
+ PyFPE_END_PROTECT(c)
return newcomplexobject(c);
}
else {
#endif
PyFPE_START_PROTECT("atof", return 0)
dx = atof(s);
- PyFPE_END_PROTECT
+ PyFPE_END_PROTECT(dx)
return newfloatobject(dx);
}
}