X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ast.h;h=1c4574a57182143982355403ae03c96ab1dcb566;hb=b30368f026e4e1bf27e5beb943d693dbd2268457;hp=a0fa14defca70bfadeeee0224bf5936d6f6249b4;hpb=1dce501b7058000e19421af246ec14fd98aceab9;p=xonotic%2Fgmqcc.git diff --git a/ast.h b/ast.h index a0fa14d..1c4574a 100644 --- a/ast.h +++ b/ast.h @@ -153,6 +153,9 @@ struct ast_expression_common #define AST_FLAG_INCLUDE_DEF (1<<5) #define AST_FLAG_IS_VARARG (1<<6) #define AST_FLAG_ALIAS (1<<7) +/* An array declared as [] + * so that the size is taken from the initializer */ +#define AST_FLAG_ARRAY_INIT (1<<8) #define AST_FLAG_TYPE_MASK (AST_FLAG_VARIADIC | AST_FLAG_NORETURN) /* Value @@ -180,11 +183,6 @@ struct ast_value_s const char *argcounter; - /* - int vtype; - ast_value *next; - */ - int cvq; /* const/var qualifier */ bool isfield; /* this declares a field */ bool isimm; /* an immediate, not just const */