Merge 80aa23e7eb
into 1aa3c8419b
This commit is contained in:
commit
17dce33baf
|
@ -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);
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
#GDTEST_OK
|
||||
|
||||
pass;var x;@export;@onready;;;var y : float;pass
|
||||
|
||||
func test():
|
||||
pass
|
|
@ -0,0 +1 @@
|
|||
GDTEST_OK
|
Loading…
Reference in a new issue