1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Fix shader crash when the comma used in for loop as a trailing

(cherry picked from commit d74749fd60)
This commit is contained in:
Chaosus
2024-08-10 11:07:53 +03:00
committed by Rémi Verschelde
parent a7d79f9e6c
commit 3dc376ec0b
2 changed files with 18 additions and 0 deletions

View File

@@ -1037,6 +1037,7 @@ private:
Token _make_token(TokenType p_type, const StringName &p_text = StringName());
Token _get_token();
bool _lookup_next(Token &r_tk);
Token _peek();
ShaderNode *shader = nullptr;