]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
ast_call needs to set its func member
authorWolfgang Bumiller <wolfgang.linux@bumiller.com>
Wed, 4 Jul 2012 12:41:39 +0000 (14:41 +0200)
committerWolfgang Bumiller <wolfgang.linux@bumiller.com>
Wed, 4 Jul 2012 12:41:39 +0000 (14:41 +0200)
ast.c

diff --git a/ast.c b/ast.c
index 39ddd6e4efe223f8ff8def1465ae337130f43b10..4a546415b3d6e71977921af404a340d71e94c00f 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -316,6 +316,8 @@ ast_call* ast_call_new(lex_ctx ctx,
 
     MEM_VECTOR_INIT(self, params);
 
+    self->func = funcexpr;
+
     return self;
 }
 MEM_VEC_FUNCTIONS(ast_call, ast_expression*, params)