]> www.git.momoyon.org Git - lang.git/commitdiff
[main.c] WIP: last TODO main
authormomoyon <momoyon@momoyon.org>
Sun, 18 May 2025 12:26:27 +0000 (17:26 +0500)
committermomoyon <momoyon@momoyon.org>
Sun, 18 May 2025 12:26:27 +0000 (17:26 +0500)
main.c

diff --git a/main.c b/main.c
index ae50bde4dff53d4c12194f5d3b0f1da473362d14..94759260601c5dde5ef6e997bf4b38a073833411 100644 (file)
--- 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 ( "++" | "--" ) ;