summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gd_compiler.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-05-27 11:30:30 +0200
committerGitHub <noreply@github.com>2017-05-27 11:30:30 +0200
commit6a088335163be87d53ece476281d9baa3fcba0a4 (patch)
tree7aa37f034a976f44f5ecc68c42b2429d48a97429 /modules/gdscript/gd_compiler.cpp
parent168d8a57dac98ae82ff16a5c89fce63d84efc3ca (diff)
parent015d36d18bb3f9fe21452a470aac2c3a3597b92f (diff)
downloadredot-engine-6a088335163be87d53ece476281d9baa3fcba0a4.tar.gz
Merge pull request #8933 from Hinsbart/is_keyword
GDScript: Use "is" keyword for type checking.
Diffstat (limited to 'modules/gdscript/gd_compiler.cpp')
-rw-r--r--modules/gdscript/gd_compiler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gdscript/gd_compiler.cpp b/modules/gdscript/gd_compiler.cpp
index 12b43d6060..d4ede4cb17 100644
--- a/modules/gdscript/gd_compiler.cpp
+++ b/modules/gdscript/gd_compiler.cpp
@@ -1014,7 +1014,7 @@ int GDCompiler::_parse_expression(CodeGen &codegen, const GDParser::Node *p_expr
}
} break;
- case GDParser::OperatorNode::OP_EXTENDS: {
+ case GDParser::OperatorNode::OP_IS: {
ERR_FAIL_COND_V(on->arguments.size() != 2, false);