summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-08 15:23:55 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-08 15:23:55 (GMT)
commitac1fc95c3ca2dd51b63152991b742496838c5e01 (patch)
tree46f95efa797472b114dc81a44554a3b4899eac04 /Python
parent2861f4ec6e6ed170490c302543faea5702426e81 (diff)
downloadcpython-ac1fc95c3ca2dd51b63152991b742496838c5e01.zip
cpython-ac1fc95c3ca2dd51b63152991b742496838c5e01.tar.gz
cpython-ac1fc95c3ca2dd51b63152991b742496838c5e01.tar.bz2
Fixed for WITHOUT_COMPLEX compilation (Jack)
Diffstat (limited to 'Python')
-rw-r--r--Python/compile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 7fbd2e9..80b7371 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -844,8 +844,9 @@ parsenumber(co, s)
PyFPE_END_PROTECT(c)
return PyComplex_FromCComplex(c);
}
- else {
+ else
#endif
+ {
PyFPE_START_PROTECT("atof", return 0)
dx = atof(s);
PyFPE_END_PROTECT(dx)