@@ -7894,29 +7894,29 @@ yp_binding_powers_t yp_binding_powers[YP_TOKEN_MAXIMUM] = {
7894
7894
[YP_TOKEN_AMPERSAND_AMPERSAND] = LEFT_ASSOCIATIVE(YP_BINDING_POWER_LOGICAL_AND),
7895
7895
7896
7896
// != !~ == === =~ <=>
7897
- [YP_TOKEN_BANG_EQUAL] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7898
- [YP_TOKEN_BANG_TILDE] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7899
- [YP_TOKEN_EQUAL_EQUAL] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7900
- [YP_TOKEN_EQUAL_EQUAL_EQUAL] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7901
- [YP_TOKEN_EQUAL_TILDE] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7902
- [YP_TOKEN_LESS_EQUAL_GREATER] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7897
+ [YP_TOKEN_BANG_EQUAL] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7898
+ [YP_TOKEN_BANG_TILDE] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7899
+ [YP_TOKEN_EQUAL_EQUAL] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7900
+ [YP_TOKEN_EQUAL_EQUAL_EQUAL] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7901
+ [YP_TOKEN_EQUAL_TILDE] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7902
+ [YP_TOKEN_LESS_EQUAL_GREATER] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_EQUALITY),
7903
7903
7904
7904
// > >= < <=
7905
- [YP_TOKEN_GREATER] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7906
- [YP_TOKEN_GREATER_EQUAL] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7907
- [YP_TOKEN_LESS] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7908
- [YP_TOKEN_LESS_EQUAL] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7905
+ [YP_TOKEN_GREATER] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7906
+ [YP_TOKEN_GREATER_EQUAL] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7907
+ [YP_TOKEN_LESS] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7908
+ [YP_TOKEN_LESS_EQUAL] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_COMPARISON),
7909
7909
7910
7910
// ^ |
7911
- [YP_TOKEN_CARET] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_BITWISE_OR),
7912
- [YP_TOKEN_PIPE] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_BITWISE_OR),
7911
+ [YP_TOKEN_CARET] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_BITWISE_OR),
7912
+ [YP_TOKEN_PIPE] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_BITWISE_OR),
7913
7913
7914
7914
// &
7915
- [YP_TOKEN_AMPERSAND] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_BITWISE_AND),
7915
+ [YP_TOKEN_AMPERSAND] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_BITWISE_AND),
7916
7916
7917
7917
// >> <<
7918
- [YP_TOKEN_GREATER_GREATER] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_SHIFT),
7919
- [YP_TOKEN_LESS_LESS] = RIGHT_ASSOCIATIVE (YP_BINDING_POWER_SHIFT),
7918
+ [YP_TOKEN_GREATER_GREATER] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_SHIFT),
7919
+ [YP_TOKEN_LESS_LESS] = LEFT_ASSOCIATIVE (YP_BINDING_POWER_SHIFT),
7920
7920
7921
7921
// - +
7922
7922
[YP_TOKEN_MINUS] = LEFT_ASSOCIATIVE(YP_BINDING_POWER_TERM),
0 commit comments