diff options
author | Thakee Nathees <thakeenathees@gmail.com> | 2020-03-03 19:37:59 +0530 |
---|---|---|
committer | Thakee Nathees <thakeenathees@gmail.com> | 2020-03-05 16:19:06 +0530 |
commit | 63ce1fc438695e6e3e8dc6735a298ae68cdf6250 (patch) | |
tree | 4c44ecf9c14c527e22354e3bcd81b8a3deb45586 /modules | |
parent | 0e25f54755a5e37fe64e328b7cd3ce4058245f09 (diff) |
pass keyword inside a class implemented
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gdscript/gdscript_parser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.cpp b/modules/gdscript/gdscript_parser.cpp index 0382944efd..9ee1863963 100644 --- a/modules/gdscript/gdscript_parser.cpp +++ b/modules/gdscript/gdscript_parser.cpp @@ -5227,6 +5227,10 @@ void GDScriptParser::_parse_class(ClassNode *p_class) { } } break; + case GDScriptTokenizer::TK_CF_PASS: { + tokenizer->advance(); + } break; + default: { _set_error(String() + "Unexpected token: " + tokenizer->get_token_name(tokenizer->get_token()) + ":" + tokenizer->get_token_identifier()); |