commit | e3a204fe47b3a923201c4d7f6dff17e6097ddf52 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun May 05 20:05:35 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun May 05 20:05:35 1991 +0000 |
tree | 04f4d4d9b0f93967e03f3e47cbdbd612697bc2a0 | |
parent | faf9c960a2bd8fe452a4fc8b84c91c6d60799133 [diff] |
Added long integer support.
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 @@ } 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') {