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

GDScript: Don't stop annotation argument parsing at file end

This commit is contained in:
HolonProduction
2025-08-04 17:28:45 +02:00
parent 2d113cc224
commit 0e92dc7b8c

View File

@@ -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.)*");