]> www.git.momoyon.org Git - lang.git/commitdiff
[main.c] Add new TODO
authormomoyon <momoyon@momoyon.org>
Sun, 11 May 2025 06:26:31 +0000 (11:26 +0500)
committermomoyon <momoyon@momoyon.org>
Sun, 11 May 2025 06:26:31 +0000 (11:26 +0500)
main.c

diff --git a/main.c b/main.c
index 2c67c93290a3c7fb9435ec3bb4d2636214cbcf45..cbe800240644a24674aa88943c6fae8a1bcf64f0 100644 (file)
--- a/main.c
+++ b/main.c
@@ -250,7 +250,6 @@ void consume_single_char(Lexer *l, String_view *sv_out, Location *loc_out);
 void consume_number(Lexer *l, String_view *sv_out, Location *loc_out);
 void consume_comment(Lexer *l, String_view *sv_out, Location *loc_out);
 void left_trim(Lexer *l);
-bool next_token(Lexer *l, Token *t_out);
 void free_lexer(Lexer *l);
 
 ///
@@ -1214,6 +1213,7 @@ void consume_comment(Lexer *l, String_view *sv_out, Location *loc_out) {
     }
 }
 
+// TODO: Somehow remove '\r's because that is causing the col of EOF to be one off...
 void left_trim(Lexer *l) {
     while (!eof(l) && isspace(current_char(l))) {
         if (current_char(l) == '\n') {