You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename is_valid_integer() to is_valid_int()
Method from `String`
This commit is contained in:
@@ -631,7 +631,7 @@ ShaderLanguage::Token ShaderLanguage::_get_token() {
|
||||
if (!_is_number(last_char)) {
|
||||
return _make_token(TK_ERROR, "Invalid (integer) numeric constant");
|
||||
}
|
||||
if (!str.is_valid_integer()) {
|
||||
if (!str.is_valid_int()) {
|
||||
return _make_token(TK_ERROR, "Invalid numeric constant");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user