shithub: scc

Download patch

ref: 12e814ef8e1192fd7071d075c2b152f080ab39aa
parent: 660288e9ac9bb504280b5051a3e1d83bce617765
author: Roberto E. Vargas Caballero <[email protected]>
date: Fri Jul 17 18:55:39 EDT 2015

Set end of array mark in ikeywords()

Without this element this was working due to a
casuality.

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