summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-03-14 04:32:50 (GMT)
committerGuido van Rossum <guido@python.org>1997-03-14 04:32:50 (GMT)
commit45b83915f8d5974045d374c981531d9b98570df1 (patch)
treef7212bc9be87ae8c5464633e0701cbf9a2f15b15 /Python/compile.c
parent1aeb1047baa41af14e720f74f30d288417f1122e (diff)
downloadcpython-45b83915f8d5974045d374c981531d9b98570df1.zip
cpython-45b83915f8d5974045d374c981531d9b98570df1.tar.gz
cpython-45b83915f8d5974045d374c981531d9b98570df1.tar.bz2
New form of PyFPE_END_PROTECT macro.
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);
}
}