summaryrefslogtreecommitdiff
path: root/modules/gdscript/gdscript_byte_codegen.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-11-26 21:19:31 +0100
committerGitHub <noreply@github.com>2020-11-26 21:19:31 +0100
commited2f84735b0fe6b75c823716426d62e6b80e7ae3 (patch)
tree58f7ce1e6a308b357e5bdeda44e2da259a58ee85 /modules/gdscript/gdscript_byte_codegen.h
parente5ff2d0ffd2edd61f51f95054880c5b943c3c855 (diff)
parent0cb185927c1021f07c8c2111fc73b7f712ea393f (diff)
Merge pull request #43895 from vnen/gdscript-operators-fix
GDScript: Improve handling of operators
Diffstat (limited to 'modules/gdscript/gdscript_byte_codegen.h')
-rw-r--r--modules/gdscript/gdscript_byte_codegen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/gdscript/gdscript_byte_codegen.h b/modules/gdscript/gdscript_byte_codegen.h
index 0173b7f820..34d2bb6098 100644
--- a/modules/gdscript/gdscript_byte_codegen.h
+++ b/modules/gdscript/gdscript_byte_codegen.h
@@ -377,7 +377,8 @@ public:
#endif
virtual void set_initial_line(int p_line) override;
- virtual void write_operator(const Address &p_target, Variant::Operator p_operator, const Address &p_left_operand, const Address &p_right_operand) override;
+ virtual void write_unary_operator(const Address &p_target, Variant::Operator p_operator, const Address &p_left_operand) override;
+ virtual void write_binary_operator(const Address &p_target, Variant::Operator p_operator, const Address &p_left_operand, const Address &p_right_operand) override;
virtual void write_type_test(const Address &p_target, const Address &p_source, const Address &p_type) override;
virtual void write_type_test_builtin(const Address &p_target, const Address &p_source, Variant::Type p_type) override;
virtual void write_and_left_operand(const Address &p_left_operand) override;