Add typedefs in codegen, globals is working

This commit is contained in:
Krzosa Karol
2022-05-27 15:00:45 +02:00
parent 46abf8c1a6
commit 8875b61970
6 changed files with 92 additions and 122 deletions

View File

@@ -288,6 +288,7 @@ null_denotation(Token *token){
case TK_OpenBracket: {
Ast_Array *result = ast_array(token, parse_expr());
token_expect(TK_CloseBracket);
result->base = parse_expr();
return result;
}break;
case TK_Keyword: {