diff Python/compile.c @ 226:7e83115edb6a legacy-trunk

Added long integer support.
author Guido van Rossum <guido@python.org>
date Sun, 05 May 1991 20:05:35 +0000
parents ceb36ec6198d
children fd816ed17e35
line wrap: on
line diff
--- a/Python/compile.c	Sun May 05 20:04:55 1991 +0000
+++ b/Python/compile.c	Sun May 05 20:05:35 1991 +0000
@@ -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') {