If there are some characters after TCC parses a number, it is an error. This bug was reported on list: http://www.mail-archive.com/tinycc-devel@nongnu.org/msg02014.html
Unified · Split
| @@ -3660,6 +3660,8 @@ void parse_number(const char *p) · 3659 unmodified lines | |||
| 3660 | else | 3660 | else |
| 3661 | tokc.ull = n; | 3661 | tokc.ull = n; |
| 3662 | } | 3662 | } |
| 3663 | if (ch) | ||
| 3664 | error("invalid number\n"); | ||
| 3663 | } | 3665 | } |
| 3664 | 3666 | ||
| 3665 | 3667 | ||