Expression: Fix parsing integers as 32-bit
(cherry picked from commit ceba2b6761
)
This commit is contained in:
parent
e13324a889
commit
105b7468b1
1 changed files with 1 additions and 1 deletions
|
@ -1174,7 +1174,7 @@ Error Expression::_get_token(Token &r_token) {
|
||||||
if (is_float)
|
if (is_float)
|
||||||
r_token.value = num.to_double();
|
r_token.value = num.to_double();
|
||||||
else
|
else
|
||||||
r_token.value = num.to_int();
|
r_token.value = num.to_int64();
|
||||||
return OK;
|
return OK;
|
||||||
|
|
||||||
} else if ((cchar >= 'A' && cchar <= 'Z') || (cchar >= 'a' && cchar <= 'z') || cchar == '_') {
|
} else if ((cchar >= 'A' && cchar <= 'Z') || (cchar >= 'a' && cchar <= 'z') || cchar == '_') {
|
||||||
|
|
Loading…
Reference in a new issue