summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gdscript/gdscript_parser.h')
-rw-r--r--modules/gdscript/gdscript_parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript_parser.h b/modules/gdscript/gdscript_parser.h
index 2650f619f8..48f256b4c6 100644
--- a/modules/gdscript/gdscript_parser.h
+++ b/modules/gdscript/gdscript_parser.h
@@ -56,6 +56,7 @@ public:
bool has_type;
bool is_constant;
bool is_meta_type; // Whether the value can be used as a type
+ bool infer_type;
Variant::Type builtin_type;
StringName native_type;
@@ -93,6 +94,7 @@ public:
has_type(false),
is_constant(false),
is_meta_type(false),
+ infer_type(false),
builtin_type(Variant::NIL),
class_type(NULL) {}
};