aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-22 13:26:43 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-22 13:26:43 -0500
commit58b3b84bd99cbba5ec7cc2ae05d720b7f80374c2 (patch)
tree15016461dbf46f96bfa24aca078f4bf75aff68c4 /parse.c
parentf9df7afb8d6fb74f2d113c5f6ceed07fdd96daca (diff)
Fix up some update operators
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.c b/parse.c
index 9418cc71..51e5536c 100644
--- a/parse.c
+++ b/parse.c
@@ -1317,6 +1317,7 @@ PARSER(parse_update) {
else if (match(&pos, "-=")) op = BINOP_MINUS;
else if (match(&pos, "*=")) op = BINOP_MULT;
else if (match(&pos, "/=")) op = BINOP_DIVIDE;
+ else if (match(&pos, "^=")) op = BINOP_POWER;
else if (match(&pos, "and=")) op = BINOP_AND;
else if (match(&pos, "or=")) op = BINOP_OR;
else if (match(&pos, "xor=")) op = BINOP_XOR;