]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lex.c
Some new types, and lexer changes
[xonotic/gmqcc.git] / lex.c
diff --git a/lex.c b/lex.c
index 1cb8d0c9cff314953b3978530ee35f5ebbdc578c..e94252de83f23803ac30b08edaea9d45d78d2d56 100644 (file)
--- a/lex.c
+++ b/lex.c
 static const char *const lex_keywords[] = {
        "do",    "else",     "if",     "while",
        "break", "continue", "return", "goto",
-       "for"
+       "for",
+       
+       /* types */
+       "int",
+       "bool",
+       "void",
+       "string",
+       "float",
+       "vector",
+       "entity"
 };
 
 struct lex_file *lex_open(const char *name) {