From 88a9cf87148c3c2ebf4cd85d79477d8f77e98572 Mon Sep 17 00:00:00 2001 From: momoyon Date: Tue, 20 May 2025 19:10:24 +0500 Subject: [PATCH] [main.c] WIP: Bruh idk how to fix the parsing of access to have funcalls! --- main.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) { -- 2.39.5