diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-16 20:31:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-16 20:31:39 +0200 |
commit | e522baf0b78ae475685e890059afd7f402b21541 (patch) | |
tree | aef455bea8c76c6d0fe6604a90b534fe177042de | |
parent | 5614692a1a82ef0ce6fa1d268903ff38787bd728 (diff) | |
parent | 47bf26c40d7d832482dcb9048590c7997ab4d8f4 (diff) |
Merge pull request #22146 from KoderaSoftwareUnlimited/fix-22143
Fix #22143
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 89e102a858..81652c3d37 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -4443,7 +4443,9 @@ void GDScriptParser::_parse_class(ClassNode *p_class) { continue; } break; case GDScriptTokenizer::TK_PR_SLAVE: +#ifdef DEBUG_ENABLED _add_warning(GDScriptWarning::DEPRECATED_KEYWORD, tokenizer->get_token_line(), "slave", "puppet"); +#endif case GDScriptTokenizer::TK_PR_PUPPET: { //may be fallthrough from export, ignore if so |