Closer to old state
This commit is contained in:
@@ -581,7 +581,7 @@ parse_decl(B32 is_global){
|
||||
Ast_Expr *expr = parse_expr();
|
||||
result = ast_const(tname, tname->intern_val, expr);
|
||||
|
||||
if(expr->kind == AST_LAMBDA){
|
||||
if(expr->kind == AST_LAMBDA_EXPR){
|
||||
auto a = (Ast_Lambda *)expr;
|
||||
if(a->scope){
|
||||
result->kind = AST_LAMBDA;
|
||||
|
||||
Reference in New Issue
Block a user