From e3a204fe47b3a923201c4d7f6dff17e6097ddf52 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 5 May 1991 20:05:35 +0000 Subject: Added long integer support. --- Python/compile.c | 4 ++++ 1 file changed, 4 insertions(+) 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') { -- cgit v0.12