scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit e06db230d208ddcbd42b0dbcd79ab24c81d2c1b5
parent 07426bb20d43eaaf7c931656e3b9cf72e9239360
Author: Quentin Rameau <quinq@fifth.space>
Date:   Tue, 12 Sep 2017 13:31:35 +0200

[libc] Fix ctype array size

Diffstat:
Mlib/c/src/ctype.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/c/src/ctype.c b/lib/c/src/ctype.c @@ -3,7 +3,7 @@ #undef ctype /* __ctype is shifted by one to match EOF */ -unsigned char __ctype[256] = { +unsigned char __ctype[257] = { 0, /* EOF */ _C,_C,_C,_C,_C,_C,_C,_C, /* 0-7 */ _C,_C|_S,_C|_S,_C|_S,_C|_S,_C|_S,_C,_C, /* 8-15 */