This commit is contained in:
Pawel Lampe 2021-11-11 06:04:32 -06:00 committed by GitHub
commit 17dce33baf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -1418,6 +1418,8 @@ GDScriptParser::AnnotationNode *GDScriptParser::parse_annotation(uint32_t p_vali
}
match(GDScriptTokenizer::Token::NEWLINE); // Newline after annotation is optional.
while (match(GDScriptTokenizer::Token::SEMICOLON))
; // Semicolons after annotation are optional.
if (valid) {
valid = validate_annotation_arguments(annotation);

View file

@ -0,0 +1,6 @@
#GDTEST_OK
pass;var x;@export;@onready;;;var y : float;pass
func test():
pass