diff --git a/lang/lex.c b/lang/lex.c index a4d2566..3aaf2de 100644 --- a/lang/lex.c +++ b/lang/lex.c @@ -874,6 +874,7 @@ static enum ivy_status read_number(struct ivy_lexer *lex) char s[] = {c, 0}; b_string_append_cstr(str, s); advance(lex); + token_len++; } if (token_len == 1 && base == 7) {