diff --git a/tcc.c b/tcc.c index 9da82607..ceca30f7 100644 --- a/tcc.c +++ b/tcc.c @@ -3660,6 +3660,8 @@ void parse_number(const char *p) else tokc.ull = n; } + if (ch) + error("invalid number\n"); }