mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Add warning XXX that 09.9 isn't accepted.
This commit is contained in:
parent
7177657bf2
commit
943094566a
1 changed files with 2 additions and 0 deletions
|
|
@ -510,6 +510,8 @@ tok_get(tok, p_start, p_end)
|
||||||
} while (isxdigit(c));
|
} while (isxdigit(c));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
/* XXX This is broken! E.g.,
|
||||||
|
09.9 should be accepted as float! */
|
||||||
/* Octal; c is first char of it */
|
/* Octal; c is first char of it */
|
||||||
/* There's no 'isoctdigit' macro, sigh */
|
/* There's no 'isoctdigit' macro, sigh */
|
||||||
while ('0' <= c && c < '8') {
|
while ('0' <= c && c < '8') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue