diff options
author | Guido van Rossum <guido@python.org> | 1991-05-05 20:05:35 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-05-05 20:05:35 (GMT) |
commit | e3a204fe47b3a923201c4d7f6dff17e6097ddf52 (patch) | |
tree | 04f4d4d9b0f93967e03f3e47cbdbd612697bc2a0 /Python/compile.c | |
parent | faf9c960a2bd8fe452a4fc8b84c91c6d60799133 (diff) | |
download | cpython-e3a204fe47b3a923201c4d7f6dff17e6097ddf52.zip cpython-e3a204fe47b3a923201c4d7f6dff17e6097ddf52.tar.gz cpython-e3a204fe47b3a923201c4d7f6dff17e6097ddf52.tar.bz2 |
Added long integer support.
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c index 59cdc0c..5e6a18e 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -364,6 +364,10 @@ parsenumber(s) } return newintobject(x); } + if (*end == 'l' || *end == 'L') { + extern object *long_scan(); + return long_scan(s, 0); + } errno = 0; xx = strtod(s, &end); if (*end == '\0') { |