From 88274ecae045df69903c4efddc9b24a87ffe31e2 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Wed, 9 Sep 2026 09:50:33 +0000 Subject: fix pivot prio --- include/lexer/symbol_property.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 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}}, -- cgit v1.3.1-4-g156e