index
:
tinycc
main
Tiny C Compiler by Fabrice Bellard Git mirror of the final release by Bellard, discarding all changes after. The repository at https://repo.or.cz/tinycc.git has become untrustworthy. Also the tcc sources have become tainted with AI slop.
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
tcc.c
2
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");
}