diff options
author | Guido van Rossum <guido@python.org> | 1997-03-14 04:32:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-03-14 04:32:50 (GMT) |
commit | 45b83915f8d5974045d374c981531d9b98570df1 (patch) | |
tree | f7212bc9be87ae8c5464633e0701cbf9a2f15b15 /Python/marshal.c | |
parent | 1aeb1047baa41af14e720f74f30d288417f1122e (diff) | |
download | cpython-45b83915f8d5974045d374c981531d9b98570df1.zip cpython-45b83915f8d5974045d374c981531d9b98570df1.tar.gz cpython-45b83915f8d5974045d374c981531d9b98570df1.tar.bz2 |
New form of PyFPE_END_PROTECT macro.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r-- | Python/marshal.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index f4634f0..22d0242 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -422,7 +422,7 @@ r_object(p) buf[n] = '\0'; PyFPE_START_PROTECT("atof", return 0) dx = atof(buf); - PyFPE_END_PROTECT + PyFPE_END_PROTECT(dx) return newfloatobject(dx); } @@ -441,7 +441,7 @@ r_object(p) buf[n] = '\0'; PyFPE_START_PROTECT("atof", return 0) c.real = atof(buf); - PyFPE_END_PROTECT + PyFPE_END_PROTECT(c) n = r_byte(p); if (r_string(buf, (int)n, p) != n) { err_setstr(EOFError, @@ -451,7 +451,7 @@ r_object(p) buf[n] = '\0'; PyFPE_START_PROTECT("atof", return 0) c.imag = atof(buf); - PyFPE_END_PROTECT + PyFPE_END_PROTECT(c) return newcomplexobject(c); } #endif |