This commit is contained in:
Krzosa Karol
2022-04-30 12:28:34 +02:00
parent a5a3acf3ef
commit 3a9b748fed
15 changed files with 296 additions and 746 deletions

2
expr.c
View File

@@ -54,7 +54,7 @@ expr_index(Parser *p, Token *token, Expr *atom, Expr *index){
}
function Expr *
expr_cast(Parser *p, Token *token, Type *type, Expr *exp){
expr_cast(Parser *p, Token *token, AST_Node *type, Expr *exp){
Expr *expr = expr_new(p, EK_Cast, token);
expr->cast.type = type;
expr->cast.expr = exp;