mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-27 06:02:22 +00:00
ast_member's are now kept, since they are used like variables: multiple times
This commit is contained in:
parent
ff1506983b
commit
304cf173cd
1 changed files with 1 additions and 0 deletions
1
ast.c
1
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;
|
||||
|
|
Loading…
Reference in a new issue