mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 08:23:29 +00:00
Add GDScript slave keyword deprecation warning.
This commit is contained in:
parent
1e9b46d687
commit
c0e4d7efca
3 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue