X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=ast.h;h=004243fd7717fdf4ceea6343b7fe4ba06ae88200;hb=41881823b728fa73edac9df45f2239c83f5fa9ca;hp=acf00c0a5c1d5e596035f6a53baaf1033ebb75d7;hpb=6acd159c9c8d7494921cad70a557a89e28af42af;p=xonotic%2Fgmqcc.git diff --git a/ast.h b/ast.h index acf00c0..004243f 100644 --- 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 */