diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2020-06-03 00:04:04 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2020-06-03 00:04:15 -0400 |
commit | 25c978730bd6d09091ae0f148766f6833e6e1400 (patch) | |
tree | b44575ee478ca7b3d103ac5bd804c852c62f03be /modules/gdscript/gdscript_tokenizer.cpp | |
parent | e5ae89775a375106eaad93e2fd1607748c0fa005 (diff) | |
download | redot-engine-25c978730bd6d09091ae0f148766f6833e6e1400.tar.gz |
Rename String bin_to_int64 to bin_to_int
And also change String static to_int(const char *) to return int64_t
Diffstat (limited to 'modules/gdscript/gdscript_tokenizer.cpp')
-rw-r--r-- | modules/gdscript/gdscript_tokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_tokenizer.cpp b/modules/gdscript/gdscript_tokenizer.cpp index f87b6367a4..82def3f877 100644 --- a/modules/gdscript/gdscript_tokenizer.cpp +++ b/modules/gdscript/gdscript_tokenizer.cpp @@ -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(); |