diff options
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9,7 +9,7 @@ Ast ast_none() { int funcdecl_init(FunctionDecl *self, ScopedAllocator *allocator) { self->name = create_buffer_view_null(); - return buffer_init(&self->body, allocator, sizeof(Ast) * 4); + return buffer_init(&self->body, allocator); } int funcdecl_add_to_body(FunctionDecl *self, Ast ast) { |