From: ahmedsamyh Date: Mon, 3 Mar 2025 13:14:01 +0000 (+0500) Subject: [main.c] Add TODO. X-Git-Url: https://www.git.momoyon.org/?a=commitdiff_plain;h=9b75bdf970abd808a51ea5a2d4444cd0b874636e;p=lang.git [main.c] Add TODO. --- diff --git a/main.c b/main.c index 14e3e57..4ec99f7 100644 --- a/main.c +++ b/main.c @@ -315,6 +315,7 @@ int not_number_predicate(int ch) { return !isdigit(ch); } +// TODO: Has a bug where 'int8' Gets parsed as 'int' and '8' void consume_ident(Lexer *l, String_view *ident_sv_out, Location *loc_out) { // Identifiers can start with [a-z][A-Z]_ and contain [0-9] after the first char ASSERT(isalpha(current_char(l)) || current_char(l) == '_', "Called consume_identifier() at the wrong character!");