Add missing `OP_POWER` operator to `Variant`

(cherry picked from commit f037a697eb)
pull/1372/head
A Thousand Ships 2024-01-06 20:54:57 +01:00 committed by David Snopek
parent 62eed50524
commit c0b2d85ffc
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,