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