X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=ast.h;h=3938f2a15404e7c63e3ef722bf2168dfec72f2bd;hp=3486d650ce7bc9c1c81b683482533aee418446c9;hb=987f765c201bd81a84fb20d8858de70a2f4e47ae;hpb=b345b4e21b89844b80cd9093327f483798d1ac4c diff --git a/ast.h b/ast.h index 3486d65..3938f2a 100644 --- a/ast.h +++ b/ast.h @@ -174,13 +174,13 @@ struct ast_expression { * is like creating a 'float foo', foo serving as the type's name. */ union basic_value_t { - qcfloat_t vfloat; - int vint; - vec3_t vvec; - const char *vstring; - int ventity; + qcfloat_t vfloat; + int vint; + vec3_t vvec; + const char *vstring; + int ventity; ast_function *vfunc; - ast_value *vfield; + ast_value *vfield; }; struct ast_value @@ -202,7 +202,7 @@ struct ast_value * of constants when an initializer list * was provided. */ - basic_value_t *initlist; + std::vector initlist; /* usecount for the parser */ size_t uses;