]> de.git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
typedef is now a keyword
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 13:29:59 +0000 (14:29 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 13:29:59 +0000 (14:29 +0100)
lexer.c

diff --git a/lexer.c b/lexer.c
index 80016288476d56433d4158eac175ad62f239d152..d39a0e5633a1a0392cfebdb00ec9e72de9052387 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -46,7 +46,8 @@ static size_t num_keywords_qc = sizeof(keywords_qc) / sizeof(keywords_qc[0]);
 static const char *keywords_fg[] = {
     "switch", "case", "default",
     "struct", "union",
-    "break", "continue"
+    "break", "continue",
+    "typedef"
 };
 static size_t num_keywords_fg = sizeof(keywords_fg) / sizeof(keywords_fg[0]);