aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-09-09 09:50:33 +0000
committer_ov4 <ov4@ov4.org>2026-09-09 09:50:33 +0000
commit88274ecae045df69903c4efddc9b24a87ffe31e2 (patch)
tree20f2f3cb4cf18126bcc3a9dbdd35f8e1ce3664d2
parentf08e3897dec601e9ccfa6524c851f508332baaf2 (diff)
fix pivot prio
-rw-r--r--include/lexer/symbol_property.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/lexer/symbol_property.h b/include/lexer/symbol_property.h
index caff263..5fc0bd6 100644
--- a/include/lexer/symbol_property.h
+++ b/include/lexer/symbol_property.h
@@ -34,7 +34,7 @@ unordered_map<string, T_property> symbol_property = {
{")", {.continuable = false, .enum_type = RIGHT_BRACKET}},
// operator
- {"&", {.operand_number = 1, .continuable = true, .pivot_priority = 1000, .left = EXIST, .right = NOT_EXIST, .enum_type = ASYNC}},
+ {"&", {.operand_number = 1, .continuable = true, .pivot_priority = 2000, .left = EXIST, .right = NOT_EXIST, .enum_type = ASYNC}},
{"|", {.operand_number = 1, .continuable = true, .pivot_priority = 100, .left = EXIST, .right = EXIST, .enum_type = PIPE}},
{"&&", {.operand_number = 1, .continuable = true, .pivot_priority = 1000, .left = EXIST, .right = EXIST, .enum_type = LOGIC_AND}},
{"||", {.operand_number = 1, .continuable = true, .pivot_priority = 1000, .left = EXIST, .right = EXIST, .enum_type = LOGIC_OR}},