aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tcc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcc.c b/tcc.c
index 9da8260..ceca30f 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");
}