Add warning XXX that 09.9 isn't accepted.

This commit is contained in:
Guido van Rossum 1991-12-10 14:01:05 +00:00
parent 7177657bf2
commit 943094566a
1 changed files with 2 additions and 0 deletions

View 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') {