Merge pull request #22146 from KoderaSoftwareUnlimited/fix-22143
Fix #22143
This commit is contained in:
commit
e522baf0b7
|
@ -4443,7 +4443,9 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
||||||
continue;
|
continue;
|
||||||
} break;
|
} break;
|
||||||
case GDScriptTokenizer::TK_PR_SLAVE:
|
case GDScriptTokenizer::TK_PR_SLAVE:
|
||||||
|
#ifdef DEBUG_ENABLED
|
||||||
_add_warning(GDScriptWarning::DEPRECATED_KEYWORD, tokenizer->get_token_line(), "slave", "puppet");
|
_add_warning(GDScriptWarning::DEPRECATED_KEYWORD, tokenizer->get_token_line(), "slave", "puppet");
|
||||||
|
#endif
|
||||||
case GDScriptTokenizer::TK_PR_PUPPET: {
|
case GDScriptTokenizer::TK_PR_PUPPET: {
|
||||||
|
|
||||||
//may be fallthrough from export, ignore if so
|
//may be fallthrough from export, ignore if so
|
||||||
|
|
Loading…
Reference in New Issue