pass keyword inside a class implemented
(cherry picked from commit 63ce1fc438
)
This commit is contained in:
parent
f3149817ff
commit
7111aa0688
|
@ -5288,6 +5288,10 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
|||
}
|
||||
} break;
|
||||
|
||||
case GDScriptTokenizer::TK_CF_PASS: {
|
||||
tokenizer->advance();
|
||||
} break;
|
||||
|
||||
default: {
|
||||
|
||||
_set_error(String() + "Unexpected token: " + tokenizer->get_token_name(tokenizer->get_token()) + ":" + tokenizer->get_token_identifier());
|
||||
|
|
Loading…
Reference in New Issue