Merge pull request #1349 from AThousandShips/op_fix
Add missing `OP_POWER` operator to `Variant`pull/1358/head
commit
edf1637c2c
|
@ -2433,6 +2433,7 @@ def get_operator_id_name(op):
|
||||||
"unary-": "negate",
|
"unary-": "negate",
|
||||||
"unary+": "positive",
|
"unary+": "positive",
|
||||||
"%": "module",
|
"%": "module",
|
||||||
|
"**": "power",
|
||||||
"<<": "shift_left",
|
"<<": "shift_left",
|
||||||
">>": "shift_right",
|
">>": "shift_right",
|
||||||
"&": "bit_and",
|
"&": "bit_and",
|
||||||
|
|
|
@ -122,6 +122,7 @@ public:
|
||||||
OP_NEGATE,
|
OP_NEGATE,
|
||||||
OP_POSITIVE,
|
OP_POSITIVE,
|
||||||
OP_MODULE,
|
OP_MODULE,
|
||||||
|
OP_POWER,
|
||||||
// bitwise
|
// bitwise
|
||||||
OP_SHIFT_LEFT,
|
OP_SHIFT_LEFT,
|
||||||
OP_SHIFT_RIGHT,
|
OP_SHIFT_RIGHT,
|
||||||
|
|
Loading…
Reference in New Issue