]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add warning XXX that 09.9 isn't accepted.
authorGuido van Rossum <guido@python.org>
Tue, 10 Dec 1991 14:01:05 +0000 (14:01 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 10 Dec 1991 14:01:05 +0000 (14:01 +0000)
Parser/tokenizer.c

index 009c1937fc6a87d8de90d8cfd639ded8ee4b0cae..3bd9530ae93bea3c08abdc95c263a754031f2598 100644 (file)
@@ -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') {