Add GDScript slave keyword deprecation warning.
This commit is contained in:
1 parent
1e9b46d687
commit
c0e4d7efca
3 files changed
+7
No files matched your search
@@ -4443,6 +4443,7 @@ void GDScriptParser::_parse_class(ClassNode *p_class) {
|
||||
continue;
|
||||
} break;
|
||||
case GDScriptTokenizer::TK_PR_SLAVE:
|
||||
_add_warning(GDScriptWarning::DEPRECATED_KEYWORD, tokenizer->get_token_line(), "slave", "puppet");
|
||||
case GDScriptTokenizer::TK_PR_PUPPET: {
|
||||
|
||||
//may be fallthrough from export, ignore if so
|
||||
|
||||
Reference in new issue
Block a user