summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-12-10 14:01:05 (GMT)
committerGuido van Rossum <guido@python.org>1991-12-10 14:01:05 (GMT)
commit943094566a61c0218f3c5bf2e71b8ed37a381350 (patch)
tree9810800a27ac0f8de401bb083d2dba40d2e21a88 /Parser
parent7177657bf2dae89cff8c7d4b2b636ee4287ad6f5 (diff)
downloadcpython-943094566a61c0218f3c5bf2e71b8ed37a381350.zip
cpython-943094566a61c0218f3c5bf2e71b8ed37a381350.tar.gz
cpython-943094566a61c0218f3c5bf2e71b8ed37a381350.tar.bz2
Add warning XXX that 09.9 isn't accepted.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 009c193..3bd9530 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') {