mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Merge pull request #109304 from HolonProduction/parse-annoation-early-end-stop
GDScript: Don't stop annotation argument parsing at file end
This commit is contained in:
commit
fc245d69d2
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