From: momoyon Date: Sun, 11 May 2025 06:26:31 +0000 (+0500) Subject: [main.c] Add new TODO X-Git-Url: https://www.git.momoyon.org/?a=commitdiff_plain;h=902f835fff38230a91a4437632cb02d44e7a0a9a;p=lang.git [main.c] Add new TODO --- 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') {