lang: lex: replace call to isnumber() with isdigit()
This commit is contained in:
@@ -1022,7 +1022,7 @@ static enum ivy_status pump_tokens(struct ivy_lexer *lex)
|
|||||||
return read_ident(lex);
|
return read_ident(lex);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isnumber(c)) {
|
if (isdigit(c)) {
|
||||||
return read_number(lex);
|
return read_number(lex);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user