]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - ast.c
Error when the assignop for an assignment is invalid, eg. when trying to assign arrays
[xonotic/gmqcc.git] / ast.c
diff --git a/ast.c b/ast.c
index bdb9408e9d60a59988b178625b32896958338b6d..46f05392501e6d73888dcac66fa83089a05b5225 100644 (file)
--- a/ast.c
+++ b/ast.c
@@ -73,6 +73,7 @@ static void ast_expression_init(ast_expression *self,
     self->expression.outr     = NULL;
     self->expression.variadic = false;
     self->expression.params   = NULL;
+    self->expression.count    = 0;
 }
 
 static void ast_expression_delete(ast_expression *self)