You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Rename String bin_to_int64 to bin_to_int
And also change String static to_int(const char *) to return int64_t
This commit is contained in:
@@ -955,7 +955,7 @@ void GDScriptTokenizerText::_advance() {
|
||||
int64_t val = str.hex_to_int();
|
||||
_make_constant(val);
|
||||
} else if (bin_found) {
|
||||
int64_t val = str.bin_to_int64();
|
||||
int64_t val = str.bin_to_int();
|
||||
_make_constant(val);
|
||||
} else if (period_found || exponent_found) {
|
||||
double val = str.to_double();
|
||||
|
||||
Reference in New Issue
Block a user