commit 49aed5a4c73098ed769563a1013cea334c7c6209
parent 9f947ff3f1e8e418d43e9f201d2f293d3187a3a0
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 1 Nov 2021 09:31:32 +0100
cc1: Add a FIXME comment
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/cmd/cc/cc1/lex.c b/src/cmd/cc/cc1/lex.c
@@ -508,6 +508,7 @@ escape(void)
return ' ';
}
errno = 0;
+ /* FIXME: We don't check that there is an actual number */
c = strtoul(input->p, &input->p, base);
if (errno || c > 255)
warn("character constant out of range");