From: momoyon Date: Tue, 20 May 2025 14:10:24 +0000 (+0500) Subject: [main.c] WIP: Bruh idk how to fix the parsing of access to have funcalls! X-Git-Url: https://www.git.momoyon.org/?a=commitdiff_plain;h=88a9cf87148c3c2ebf4cd85d79477d8f77e98572;p=lang.git [main.c] WIP: Bruh idk how to fix the parsing of access to have funcalls! --- diff --git a/main.c b/main.c index 9475926..825edec 100644 --- a/main.c +++ b/main.c @@ -995,6 +995,13 @@ AST *parse_funcall(Arena *arena, Parser *p) { Token next = parser_peek(p); if (next.type == TK_RIGHT_PAREN) { parser_advance(p); // Skip ) + // if (parser_peek(p).type == TK_DOT) { + // AST *access_ast = (AST *)arena_alloc(arena, sizeof(AST)); + // access_ast->loc = parser_peek(p).loc; + // access_ast->kind = AST_ACCESS; + // access_ast->access = (Access_AST *)arena_alloc(arena, sizeof(Access_AST)); + // access_ast->access-> + // } return ast; } else { while (true) {