Add missing OP_POWER operator to Variant

This commit is contained in:
A Thousand Ships
2024-01-06 20:54:57 +01:00
parent dd62b9685f
commit f037a697eb
2 changed files with 2 additions and 0 deletions

View File

@@ -2433,6 +2433,7 @@ def get_operator_id_name(op):
"unary-": "negate",
"unary+": "positive",
"%": "module",
"**": "power",
"<<": "shift_left",
">>": "shift_right",
"&": "bit_and",

View File

@@ -122,6 +122,7 @@ public:
OP_NEGATE,
OP_POSITIVE,
OP_MODULE,
OP_POWER,
// bitwise
OP_SHIFT_LEFT,
OP_SHIFT_RIGHT,