From 902f835fff38230a91a4437632cb02d44e7a0a9a Mon Sep 17 00:00:00 2001 From: momoyon Date: Sun, 11 May 2025 11:26:31 +0500 Subject: [PATCH] [main.c] Add new TODO --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 2c67c93..cbe8002 100644 --- 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') { -- 2.39.5