GDScript signal lines marked as safe

Fix: #33927
This commit is contained in:
Thakee Nathees 2020-10-01 17:01:11 +05:30
parent 85f7d056ab
commit a69c3cace2
1 changed files with 1 additions and 0 deletions

View File

@ -4109,6 +4109,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
//arguments
} break;
case GDScriptTokenizer::TK_PR_SIGNAL: {
_mark_line_as_safe(tokenizer->get_token_line());
tokenizer->advance();
if (!tokenizer->is_token_literal()) {