mirror of
https://github.com/godotengine/godot.git
synced 2025-11-02 22:51:08 +00:00
GDScript: Don't stop annotation argument parsing at file end
This commit is contained in:
parent
2d113cc224
commit
0e92dc7b8c
1 changed files with 1 additions and 1 deletions
|
|
@ -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.)*");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue