From feeee638af60c6ff9bf766d258b730042348533b Mon Sep 17 00:00:00 2001 From: momoyon Date: Sun, 18 May 2025 17:26:27 +0500 Subject: [PATCH] [main.c] WIP: last TODO --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ae50bde..9475926 100644 --- a/main.c +++ b/main.c @@ -38,7 +38,7 @@ static bool DEBUG_PRINT = false; // comp.lit -> Skipped... // // TODO: These all IDENT need to be ast, but if i do that, how can i parse them? // I will need to call parse() the first thing and check the next token... Which i cant really do right now that easily -// access -> IDENT "." ( access | IDENT ) ; +// access -> ( IDENT | funcalls ) "." ( access | IDENT ) ; // subscript -> IDENT "[" ast "]" ; // funcalls -> IDENT "(" ( ast "," )* ")" | IDENT "(" ast ")" ; // suffix -> IDENT ( "++" | "--" ) ; -- 2.39.5