scc

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

commit 12e814ef8e1192fd7071d075c2b152f080ab39aa
parent 660288e9ac9bb504280b5051a3e1d83bce617765
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 17 Jul 2015 22:55:39 +0200

Set end of array mark in ikeywords()

Without this element this was working due to a
casuality.

Diffstat:
Mcc1/symbol.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/cc1/symbol.c b/cc1/symbol.c @@ -238,7 +238,8 @@ ikeywords(void) {"endif", ENDIF, ENDIF}, {"undef", UNDEF, UNDEF}, {"pragma", PRAGMA, PRAGMA}, - {"error", ERROR, ERROR} + {"error", ERROR, ERROR}, + {NULL, 0, 0} }, *list[] = { keywords, cppclauses,