Backup, Decl,Type parsing enum,structs etc.

This commit is contained in:
Krzosa Karol
2022-04-29 23:28:41 +02:00
parent 9cbbb4d616
commit a5a3acf3ef
12 changed files with 407 additions and 45 deletions

1
expr.c
View File

@@ -2,7 +2,6 @@
function Expr *
expr_new(Parser *p, Expr_Kind kind, Token *token){
Expr *expr = arena_push_struct(&p->main_arena, Expr);
memory_zero(expr, sizeof(Expr));
expr->kind = kind;
expr->token = token;
return expr;