[hackers] [scc] Set end of array mark in ikeywords() || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Sat, 18 Jul 2015 07:32:10 +0200 (CEST)

commit 12e814ef8e1192fd7071d075c2b152f080ab39aa
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Jul 17 22:55:39 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Jul 17 23:14:53 2015 +0200

    Set end of array mark in ikeywords()
    
    Without this element this was working due to a
    casuality.

diff --git a/cc1/symbol.c b/cc1/symbol.c
index 01d8053..6e4fdb7 100644
--- a/cc1/symbol.c
+++ b/cc1/symbol.c
_AT_@ -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,
Received on Sat Jul 18 2015 - 07:32:10 CEST

This archive was generated by hypermail 2.3.0 : Sat Jul 18 2015 - 07:36:24 CEST