]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
gitignore: add gmqcc, gmqpak, qmcvm, testsuite, pak.
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
old mode 100755 (executable)
new mode 100644 (file)
index 9f080dc..24ac39a
--- a/lexer.h
+++ b/lexer.h
@@ -87,7 +87,11 @@ enum {
     TOKEN_WHITE,
     TOKEN_EOL,
 
-    TOKEN_EOF,
+    /* if we add additional tokens before this, the exposed API
+     * should not be broken anyway, but EOF/ERROR/... should
+     * still be at the bottom
+     */
+    TOKEN_EOF = 1024,
 
     /* We use '< TOKEN_ERROR', so TOKEN_FATAL must come after it and any
      * other error related tokens as well