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:
parent
e5ae89775a
commit
25c978730b
3 changed files with 8 additions and 8 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue