]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - lexer.h
Lexer: [[ and ]] are now TOKEN_ATTRIBUTE_{OPEN,CLOSE}
[xonotic/gmqcc.git] / lexer.h
diff --git a/lexer.h b/lexer.h
index e419794eda9f867e150e9f26064cd3ef849c9ec6..e5493734881d6240d3796b4b7a5f41332b46a79d 100644 (file)
--- a/lexer.h
+++ b/lexer.h
@@ -73,6 +73,9 @@ enum {
 
     TOKEN_DOTS, /* 3 dots, ... */
 
+    TOKEN_ATTRIBUTE_OPEN,  /* [[ */
+    TOKEN_ATTRIBUTE_CLOSE, /* ]] */
+
     TOKEN_STRINGCONST, /* not the typename but an actual "string" */
     TOKEN_CHARCONST,
     TOKEN_VECTORCONST,