Fix parsing of 4. in Expression

(cherry picked from commit 905e8a39bf)
This commit is contained in:
Haoyu Qiu 2024-09-11 21:57:14 +08:00 committed by lawnjelly
parent 5b8b9adb35
commit cc39cf3e29
4 changed files with 186 additions and 1 deletions

View file

@ -1103,7 +1103,9 @@ Error Expression::_get_token(Token &r_token) {
is_first_char = false;
}
str_ofs--;
if (c != 0) {
str_ofs--;
}
r_token.type = TK_CONSTANT;