Pratt parsing, basic ast, decl parse const

This commit is contained in:
Krzosa Karol
2022-05-13 16:04:39 +02:00
parent 9c22a379ea
commit 2689aa9ba1
7 changed files with 586 additions and 125 deletions

View File

@@ -245,7 +245,7 @@ parse_expr_atom(Parser *p){
result = expr_identifier(p->arena, token);
}
}
else if(token_match(p, TK_Int)){
else if(token_match(p, TK_Integer)){
result = expr_int(p->arena, token);
}
else if(token_is(p, TK_OpenBrace)){