From 943094566a61c0218f3c5bf2e71b8ed37a381350 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 10 Dec 1991 14:01:05 +0000 Subject: [PATCH] Add warning XXX that 09.9 isn't accepted. --- Parser/tokenizer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 009c1937fc6..3bd9530ae93 100644 --- a/Parser/tokenizer.c +++ b/Parser/tokenizer.c @@ -510,6 +510,8 @@ tok_get(tok, p_start, p_end) } while (isxdigit(c)); } else { + /* XXX This is broken! E.g., + 09.9 should be accepted as float! */ /* Octal; c is first char of it */ /* There's no 'isoctdigit' macro, sigh */ while ('0' <= c && c < '8') {