]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
making goto a keyword
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 20:56:21 +0000 (21:56 +0100)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sun, 25 Nov 2012 20:56:21 +0000 (21:56 +0100)
lexer.c

diff --git a/lexer.c b/lexer.c
index 3660190946f4b4bfd5b273a0e7a71395e78a17b2..09a070d15450ee2614c82f04621153e2ad2412fe 100644 (file)
--- a/lexer.c
+++ b/lexer.c
@@ -47,7 +47,8 @@ static const char *keywords_fg[] = {
     "switch", "case", "default",
     "struct", "union",
     "break", "continue",
-    "typedef"
+    "typedef",
+    "goto"
 };
 static size_t num_keywords_fg = sizeof(keywords_fg) / sizeof(keywords_fg[0]);