From 0e92dc7b8cd05748755c3c5e77b3066571e0e73b Mon Sep 17 00:00:00 2001 From: HolonProduction Date: Mon, 4 Aug 2025 17:28:45 +0200 Subject: [PATCH] GDScript: Don't stop annotation argument parsing at file end --- modules/gdscript/gdscript_parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 53c8a634392..cb9de0053ca 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -1785,7 +1785,7 @@ GDScriptParser::AnnotationNode *GDScriptParser::parse_annotation(uint32_t p_vali } argument_index++; - } while (match(GDScriptTokenizer::Token::COMMA) && !is_at_end()); + } while (match(GDScriptTokenizer::Token::COMMA)); pop_multiline(); consume(GDScriptTokenizer::Token::PARENTHESIS_CLOSE, R"*(Expected ")" after annotation arguments.)*");