X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=ast.h;h=c759a48e95cd2d8098759dec9c5c03835fe9d5e9;hb=69efb404bf42f10ff34dba401b9d601cb330df43;hp=9b7e5587f9cd6e11912cd439b9be72e4c290490a;hpb=988b4b49606724ef4275a25d8ea95fdc2792ee51;p=xonotic%2Fgmqcc.git diff --git a/ast.h b/ast.h index 9b7e558..c759a48 100644 --- a/ast.h +++ b/ast.h @@ -155,9 +155,10 @@ struct ast_expression_common #define AST_FLAG_INCLUDE_DEF (1<<5) #define AST_FLAG_IS_VARARG (1<<6) #define AST_FLAG_ALIAS (1<<7) +#define AST_FLAG_ERASEABLE (1<<8) /* An array declared as [] * so that the size is taken from the initializer */ -#define AST_FLAG_ARRAY_INIT (1<<8) +#define AST_FLAG_ARRAY_INIT (1<<9) #define AST_FLAG_TYPE_MASK (AST_FLAG_VARIADIC | AST_FLAG_NORETURN) /* Value @@ -207,6 +208,9 @@ struct ast_value_s /* ONLY for arrays in progs version up to 6 */ ast_value *setter; ast_value *getter; + + + bool intrinsic; /* true if associated with intrinsic */ }; ast_value* ast_value_new(lex_ctx_t ctx, const char *name, int qctype);