Compiling global, work on AST_LAMBDA_EXPR

This commit is contained in:
Krzosa Karol
2022-06-10 22:06:35 +02:00
parent 480313b5fe
commit 37e56a0914
6 changed files with 121 additions and 125 deletions

View File

@@ -321,7 +321,7 @@ parse_lambda(Token *token){
Ast_Expr *ret = parse_optional_type();
Ast_Scope *scope = token_is(OPEN_SCOPE) ? parse_stmt_scope() : 0;
Ast_Lambda *result = ast_lambda(token, params, has_var_args, ret, scope);
Ast_Lambda *result = ast_lambda(token, params, ret, scope);
return result;
}