1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-07 12:30:27 +00:00

Fix parsing of 4. in Expression

This commit is contained in:
Haoyu Qiu
2024-09-11 21:57:14 +08:00
parent 32ddd4f4e0
commit 905e8a39bf
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;