diff --git a/lang/lex.c b/lang/lex.c index 697b455..f7ae876 100644 --- a/lang/lex.c +++ b/lang/lex.c @@ -1022,7 +1022,7 @@ static enum ivy_status pump_tokens(struct ivy_lexer *lex) return read_ident(lex); } - if (isnumber(c)) { + if (isdigit(c)) { return read_number(lex); }