Rename internal is_ascii_char to is_ascii_alphabet_char

This commit is contained in:
Aaron Franke
2024-04-20 02:36:41 -07:00
parent 4a0160241f
commit b1f5e9fe3a
7 changed files with 10 additions and 10 deletions

View File

@@ -489,11 +489,11 @@ Error VariantParser::get_token(Stream *p_stream, Token &r_token, int &line, Stri
r_token.value = num.as_int();
}
return OK;
} else if (is_ascii_char(cchar) || is_underscore(cchar)) {
} else if (is_ascii_alphabet_char(cchar) || is_underscore(cchar)) {
StringBuffer<> id;
bool first = true;
while (is_ascii_char(cchar) || is_underscore(cchar) || (!first && is_digit(cchar))) {
while (is_ascii_alphabet_char(cchar) || is_underscore(cchar) || (!first && is_digit(cchar))) {
id += cchar;
cchar = p_stream->get_char();
first = false;