]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
initialize ast_block->collect properly
authorWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:25:21 +0000 (16:25 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Sat, 18 Aug 2012 14:25:21 +0000 (16:25 +0200)
ast.c

diff --git a/ast.c b/ast.c
index 22c835f06eed6e90f0e04128965bb220d7e9217b..755d0d7ab36abe1d54020d2114b87a81396312ac 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -557,6 +557,7 @@ ast_block* ast_block_new(lex_ctx ctx)
 
     MEM_VECTOR_INIT(self, locals);
     MEM_VECTOR_INIT(self, exprs);
+    MEM_VECTOR_INIT(self, collect);
 
     return self;
 }