From: Wolfgang (Blub) Bumiller Date: Sat, 18 Aug 2012 14:38:50 +0000 (+0200) Subject: ast_member's are now kept, since they are used like variables: multiple times X-Git-Tag: 0.1-rc1~203 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=304cf173cd059ca8aca60d77e894ad19a5a477fc;p=xonotic%2Fgmqcc.git ast_member's are now kept, since they are used like variables: multiple times --- diff --git a/ast.c b/ast.c index 6ba79db..8f65b81 100644 --- a/ast.c +++ b/ast.c @@ -388,6 +388,7 @@ ast_member* ast_member_new(lex_ctx ctx, ast_expression *owner, unsigned int fiel } ast_expression_init((ast_expression*)self, (ast_expression_codegen*)&ast_member_codegen); + self->expression.node.keep = true; /* keep */ if (owner->expression.vtype == TYPE_VECTOR) { self->expression.vtype = TYPE_FLOAT;