X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fidentifier.c;h=c6718a5e35d36a14ff7998a73efe7a6462b46a88;hb=5d9d2b2ae7d49240f3438e4f3c40ac1f276e31fb;hp=4f38e84fc0b798c5794f8760bd5238bfd86d36f5;hpb=8eac4df36306cd357bba29ffbfaddc537fc0be47;p=pspp-builds.git diff --git a/src/data/identifier.c b/src/data/identifier.c index 4f38e84f..c6718a5e 100644 --- a/src/data/identifier.c +++ b/src/data/identifier.c @@ -31,7 +31,7 @@ /* Table of keywords. */ -const char *keywords[T_N_KEYWORDS + 1] = +const char *const keywords[T_N_KEYWORDS + 1] = { "AND", "OR", "NOT", "EQ", "GE", "GT", "LE", "LT", "NE", @@ -117,7 +117,7 @@ lex_id_match (const char *kw, const char *tok) int lex_id_to_token (const char *id, size_t len) { - const char **kwp; + const char *const *kwp; if (len < 2 || len > 4) return T_ID;