summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_function.h
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2018-08-26 13:31:23 -0300
committerGeorge Marques <george@gmarqu.es>2018-08-26 13:31:23 -0300
commit4b974a36b77da55d331243bf42fa7ddc8fd9a33d (patch)
tree4dae938cf06fb2bc237f7f9786b22306afc8b97a /modules/gdscript/gdscript_function.h
parent653b4829f1bee9e6bfae9d353b6e1145cea0aece (diff)
downloadredot-engine-4b974a36b77da55d331243bf42fa7ddc8fd9a33d.tar.gz
GDScript: Allow `is` operator to test built-in types
Diffstat (limited to 'modules/gdscript/gdscript_function.h')
-rw-r--r--modules/gdscript/gdscript_function.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_function.h b/modules/gdscript/gdscript_function.h
index 3ce84290fd..633cca35d3 100644
--- a/modules/gdscript/gdscript_function.h
+++ b/modules/gdscript/gdscript_function.h
@@ -136,6 +136,7 @@ public:
enum Opcode {
OPCODE_OPERATOR,
OPCODE_EXTENDS_TEST,
+ OPCODE_IS_BUILTIN,
OPCODE_SET,
OPCODE_GET,
OPCODE_SET_NAMED,