]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.h
Add whitespace to ternary-fte template so it matches (expected behaviour)
[xonotic/gmqcc.git] / ast.h
diff --git a/ast.h b/ast.h
index acf00c0a5c1d5e596035f6a53baaf1033ebb75d7..004243fd7717fdf4ceea6343b7fe4ba06ae88200 100644 (file)
--- a/ast.h
+++ b/ast.h
@@ -159,7 +159,8 @@ struct ast_value_s
     ast_value  *next;
     */
 
-    bool cvq; /* const/var qualifier */
+    bool cvq;     /* const/var qualifier */
+    bool isfield; /* this declares a field */
     bool hasvalue;
     union {
         double        vfloat;
@@ -168,6 +169,7 @@ struct ast_value_s
         const char   *vstring;
         int           ventity;
         ast_function *vfunc;
+        ast_value    *vfield;
     } constval;
 
     /* usecount for the parser */