commit 50b7741056e189dfd78e10fa08c540270cc77782
parent a1b342cd3ccc71c40abffb48cc1c5003081074ee
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");