diff options
Diffstat (limited to 'src/ast.c')
-rw-r--r-- | src/ast.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -171,7 +171,7 @@ void scope_resolve(Scope *self, AstCompilerContext *context) { Ast **ast; Ast **ast_end; - ast = buffer_start(&self->ast_objects); + ast = buffer_begin(&self->ast_objects); ast_end = buffer_end(&self->ast_objects); context->scope = self; for(; ast != ast_end; ++ast) { @@ -339,7 +339,7 @@ static void funccall_resolve(Ast *self, AstCompilerContext *context) { throw(AST_ERR); } - ast = buffer_start(&func_call->args); + ast = buffer_begin(&func_call->args); ast_end = buffer_end(&func_call->args); for(; ast != ast_end; ++ast) { ast_resolve(*ast, context); |