diff --git a/grammar.js b/grammar.js index 6d830e1c..c7797bf8 100644 --- a/grammar.js +++ b/grammar.js @@ -24,8 +24,8 @@ const PREC = { not: 12, compare: 13, bitwise_or: 14, - bitwise_and: 15, - xor: 16, + xor: 15, + bitwise_and: 16, shift: 17, plus: 18, times: 19, diff --git a/src/grammar.json b/src/grammar.json index ee72fe78..491f7353 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -3844,7 +3844,7 @@ }, { "type": "PREC_LEFT", - "value": 15, + "value": 16, "content": { "type": "SEQ", "members": [ @@ -3877,7 +3877,7 @@ }, { "type": "PREC_LEFT", - "value": 16, + "value": 15, "content": { "type": "SEQ", "members": [ diff --git a/src/parser.c b/src/parser.c index 2dfc1f34..988ac6ae 100644 --- a/src/parser.c +++ b/src/parser.c @@ -83994,7 +83994,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [68491] = 13, + [68491] = 12, ACTIONS(2102), 1, anon_sym_DOT, ACTIONS(2104), 1, @@ -84003,8 +84003,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2116), 1, anon_sym_LBRACK, - ACTIONS(2128), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -84028,7 +84026,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 19, + ACTIONS(2417), 20, sym__newline, anon_sym_SEMI, anon_sym_from, @@ -84042,13 +84040,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [68558] = 5, + [68556] = 5, ACTIONS(753), 1, sym_string_start, ACTIONS(3), 2, @@ -84094,7 +84093,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [68609] = 5, + [68607] = 5, ACTIONS(684), 1, sym_string_start, ACTIONS(3), 2, @@ -84140,7 +84139,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [68660] = 5, + [68658] = 5, ACTIONS(2463), 1, sym_string_start, ACTIONS(3), 2, @@ -84186,7 +84185,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [68711] = 12, + [68709] = 13, ACTIONS(2102), 1, anon_sym_DOT, ACTIONS(2104), 1, @@ -84195,6 +84194,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2116), 1, anon_sym_LBRACK, + ACTIONS(2126), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -84218,7 +84219,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 20, + ACTIONS(2417), 19, sym__newline, anon_sym_SEMI, anon_sym_from, @@ -84231,7 +84232,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -84802,7 +84802,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [69460] = 13, + [69460] = 12, ACTIONS(2290), 1, anon_sym_DOT, ACTIONS(2292), 1, @@ -84811,8 +84811,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2302), 1, anon_sym_LBRACK, - ACTIONS(2312), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -84836,7 +84834,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 18, + ACTIONS(2417), 19, anon_sym_COMMA, anon_sym_as, anon_sym_if, @@ -84848,6 +84846,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, @@ -84855,7 +84854,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [69526] = 4, + [69524] = 4, ACTIONS(272), 1, anon_sym_COLON_EQ, ACTIONS(3), 2, @@ -84899,7 +84898,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [69574] = 5, + [69572] = 5, ACTIONS(777), 1, sym_string_start, ACTIONS(3), 2, @@ -84944,7 +84943,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [69624] = 12, + [69622] = 13, ACTIONS(2290), 1, anon_sym_DOT, ACTIONS(2292), 1, @@ -84953,6 +84952,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2302), 1, anon_sym_LBRACK, + ACTIONS(2310), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -84976,7 +84977,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 19, + ACTIONS(2417), 18, anon_sym_COMMA, anon_sym_as, anon_sym_if, @@ -84987,7 +84988,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -85092,7 +85092,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [69800] = 13, + [69800] = 12, ACTIONS(2262), 1, anon_sym_DOT, ACTIONS(2264), 1, @@ -85101,8 +85101,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2274), 1, anon_sym_LBRACK, - ACTIONS(2284), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -85126,7 +85124,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_as, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 18, + ACTIONS(2417), 19, anon_sym_COMMA, anon_sym_if, anon_sym_COLON, @@ -85139,13 +85137,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [69866] = 8, + [69864] = 8, ACTIONS(2290), 1, anon_sym_DOT, ACTIONS(2292), 1, @@ -85193,7 +85192,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [69922] = 12, + [69920] = 13, ACTIONS(2262), 1, anon_sym_DOT, ACTIONS(2264), 1, @@ -85202,6 +85201,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2274), 1, anon_sym_LBRACK, + ACTIONS(2282), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -85225,7 +85226,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_as, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 19, + ACTIONS(2417), 18, anon_sym_COMMA, anon_sym_if, anon_sym_COLON, @@ -85237,7 +85238,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -86646,7 +86646,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [71588] = 13, + [71588] = 12, ACTIONS(2134), 1, anon_sym_DOT, ACTIONS(2136), 1, @@ -86655,8 +86655,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2146), 1, anon_sym_LBRACK, - ACTIONS(2156), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -86680,7 +86678,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_as, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 18, + ACTIONS(2417), 19, anon_sym_COMMA, anon_sym_if, anon_sym_COLON, @@ -86693,13 +86691,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [71654] = 15, + [71652] = 15, ACTIONS(2290), 1, anon_sym_DOT, ACTIONS(2292), 1, @@ -86754,7 +86753,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [71724] = 14, + [71722] = 14, ACTIONS(2262), 1, anon_sym_DOT, ACTIONS(2264), 1, @@ -86808,7 +86807,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [71792] = 8, + [71790] = 8, ACTIONS(2290), 1, anon_sym_DOT, ACTIONS(2292), 1, @@ -86856,7 +86855,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [71848] = 10, + [71846] = 10, ACTIONS(2290), 1, anon_sym_DOT, ACTIONS(2292), 1, @@ -86906,7 +86905,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_GT_EQ, anon_sym_LT_GT, sym_type_conversion, - [71908] = 12, + [71906] = 13, ACTIONS(2134), 1, anon_sym_DOT, ACTIONS(2136), 1, @@ -86915,6 +86914,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2146), 1, anon_sym_LBRACK, + ACTIONS(2154), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -86938,7 +86939,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_as, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 19, + ACTIONS(2417), 18, anon_sym_COMMA, anon_sym_if, anon_sym_COLON, @@ -86950,7 +86951,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -87486,7 +87486,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [72597] = 13, + [72597] = 12, ACTIONS(2350), 1, anon_sym_DOT, ACTIONS(2352), 1, @@ -87495,8 +87495,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2362), 1, anon_sym_LBRACK, - ACTIONS(2372), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -87520,7 +87518,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 17, + ACTIONS(2417), 18, anon_sym_COMMA, anon_sym_as, anon_sym_if, @@ -87532,13 +87530,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [72662] = 8, + [72660] = 8, ACTIONS(2382), 1, anon_sym_DOT, ACTIONS(2384), 1, @@ -87585,7 +87584,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [72717] = 12, + [72715] = 13, ACTIONS(2350), 1, anon_sym_DOT, ACTIONS(2352), 1, @@ -87594,6 +87593,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2362), 1, anon_sym_LBRACK, + ACTIONS(2370), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -87617,7 +87618,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 18, + ACTIONS(2417), 17, anon_sym_COMMA, anon_sym_as, anon_sym_if, @@ -87628,7 +87629,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -88109,7 +88109,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [73336] = 13, + [73336] = 12, ACTIONS(2382), 1, anon_sym_DOT, ACTIONS(2384), 1, @@ -88118,8 +88118,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2394), 1, anon_sym_LBRACK, - ACTIONS(2404), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -88143,7 +88141,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 17, + ACTIONS(2417), 18, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_as, @@ -88155,13 +88153,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [73401] = 12, + [73399] = 13, ACTIONS(2382), 1, anon_sym_DOT, ACTIONS(2384), 1, @@ -88170,6 +88169,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2394), 1, anon_sym_LBRACK, + ACTIONS(2402), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -88193,7 +88194,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_EQ, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 18, + ACTIONS(2417), 17, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_as, @@ -88204,7 +88205,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -90709,7 +90709,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [76235] = 13, + [76235] = 12, ACTIONS(2318), 1, anon_sym_DOT, ACTIONS(2320), 1, @@ -90718,8 +90718,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2330), 1, anon_sym_LBRACK, - ACTIONS(2340), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -90743,7 +90741,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_as, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 17, + ACTIONS(2417), 18, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_if, @@ -90755,13 +90753,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [76300] = 8, + [76298] = 8, ACTIONS(2350), 1, anon_sym_DOT, ACTIONS(2352), 1, @@ -90808,7 +90807,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [76355] = 12, + [76353] = 13, ACTIONS(2318), 1, anon_sym_DOT, ACTIONS(2320), 1, @@ -90817,6 +90816,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2330), 1, anon_sym_LBRACK, + ACTIONS(2338), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -90840,7 +90841,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_as, anon_sym_LT, anon_sym_GT, - ACTIONS(2417), 18, + ACTIONS(2417), 17, anon_sym_RPAREN, anon_sym_COMMA, anon_sym_if, @@ -90851,7 +90852,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -92391,7 +92391,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [78136] = 13, + [78136] = 12, ACTIONS(2428), 1, anon_sym_DOT, ACTIONS(2430), 1, @@ -92400,8 +92400,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2440), 1, anon_sym_LBRACK, - ACTIONS(2450), 1, - anon_sym_CARET, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -92424,7 +92422,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, anon_sym_PERCENT, anon_sym_SLASH_SLASH, - ACTIONS(2417), 17, + ACTIONS(2417), 18, anon_sym_COMMA, anon_sym_as, anon_sym_if, @@ -92436,13 +92434,14 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_and, anon_sym_or, anon_sym_AMP, + anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, anon_sym_EQ_EQ, anon_sym_BANG_EQ, anon_sym_GT_EQ, anon_sym_LT_GT, - [78200] = 12, + [78198] = 13, ACTIONS(2428), 1, anon_sym_DOT, ACTIONS(2430), 1, @@ -92451,6 +92450,8 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_STAR_STAR, ACTIONS(2440), 1, anon_sym_LBRACK, + ACTIONS(2448), 1, + anon_sym_AMP, ACTIONS(3), 2, sym_comment, sym_line_continuation, @@ -92473,7 +92474,7 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_AT, anon_sym_PERCENT, anon_sym_SLASH_SLASH, - ACTIONS(2417), 18, + ACTIONS(2417), 17, anon_sym_COMMA, anon_sym_as, anon_sym_if, @@ -92484,7 +92485,6 @@ static const uint16_t ts_small_parse_table[] = { anon_sym_not, anon_sym_and, anon_sym_or, - anon_sym_AMP, anon_sym_CARET, anon_sym_is, anon_sym_LT_EQ, @@ -125556,10 +125556,10 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(977)] = 68383, [SMALL_STATE(978)] = 68440, [SMALL_STATE(979)] = 68491, - [SMALL_STATE(980)] = 68558, - [SMALL_STATE(981)] = 68609, - [SMALL_STATE(982)] = 68660, - [SMALL_STATE(983)] = 68711, + [SMALL_STATE(980)] = 68556, + [SMALL_STATE(981)] = 68607, + [SMALL_STATE(982)] = 68658, + [SMALL_STATE(983)] = 68709, [SMALL_STATE(984)] = 68776, [SMALL_STATE(985)] = 68833, [SMALL_STATE(986)] = 68896, @@ -125572,14 +125572,14 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(993)] = 69340, [SMALL_STATE(994)] = 69390, [SMALL_STATE(995)] = 69460, - [SMALL_STATE(996)] = 69526, - [SMALL_STATE(997)] = 69574, - [SMALL_STATE(998)] = 69624, + [SMALL_STATE(996)] = 69524, + [SMALL_STATE(997)] = 69572, + [SMALL_STATE(998)] = 69622, [SMALL_STATE(999)] = 69688, [SMALL_STATE(1000)] = 69744, [SMALL_STATE(1001)] = 69800, - [SMALL_STATE(1002)] = 69866, - [SMALL_STATE(1003)] = 69922, + [SMALL_STATE(1002)] = 69864, + [SMALL_STATE(1003)] = 69920, [SMALL_STATE(1004)] = 69986, [SMALL_STATE(1005)] = 70066, [SMALL_STATE(1006)] = 70122, @@ -125611,11 +125611,11 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(1032)] = 71476, [SMALL_STATE(1033)] = 71538, [SMALL_STATE(1034)] = 71588, - [SMALL_STATE(1035)] = 71654, - [SMALL_STATE(1036)] = 71724, - [SMALL_STATE(1037)] = 71792, - [SMALL_STATE(1038)] = 71848, - [SMALL_STATE(1039)] = 71908, + [SMALL_STATE(1035)] = 71652, + [SMALL_STATE(1036)] = 71722, + [SMALL_STATE(1037)] = 71790, + [SMALL_STATE(1038)] = 71846, + [SMALL_STATE(1039)] = 71906, [SMALL_STATE(1040)] = 71972, [SMALL_STATE(1041)] = 72040, [SMALL_STATE(1042)] = 72090, @@ -125628,8 +125628,8 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(1049)] = 72471, [SMALL_STATE(1050)] = 72530, [SMALL_STATE(1051)] = 72597, - [SMALL_STATE(1052)] = 72662, - [SMALL_STATE(1053)] = 72717, + [SMALL_STATE(1052)] = 72660, + [SMALL_STATE(1053)] = 72715, [SMALL_STATE(1054)] = 72780, [SMALL_STATE(1055)] = 72835, [SMALL_STATE(1056)] = 72880, @@ -125641,7 +125641,7 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(1062)] = 73210, [SMALL_STATE(1063)] = 73269, [SMALL_STATE(1064)] = 73336, - [SMALL_STATE(1065)] = 73401, + [SMALL_STATE(1065)] = 73399, [SMALL_STATE(1066)] = 73464, [SMALL_STATE(1067)] = 73509, [SMALL_STATE(1068)] = 73554, @@ -125700,8 +125700,8 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(1121)] = 76113, [SMALL_STATE(1122)] = 76180, [SMALL_STATE(1123)] = 76235, - [SMALL_STATE(1124)] = 76300, - [SMALL_STATE(1125)] = 76355, + [SMALL_STATE(1124)] = 76298, + [SMALL_STATE(1125)] = 76353, [SMALL_STATE(1126)] = 76418, [SMALL_STATE(1127)] = 76463, [SMALL_STATE(1128)] = 76518, @@ -125738,7 +125738,7 @@ static const uint32_t ts_small_parse_table_map[] = { [SMALL_STATE(1159)] = 78012, [SMALL_STATE(1160)] = 78070, [SMALL_STATE(1161)] = 78136, - [SMALL_STATE(1162)] = 78200, + [SMALL_STATE(1162)] = 78198, [SMALL_STATE(1163)] = 78262, [SMALL_STATE(1164)] = 78310, [SMALL_STATE(1165)] = 78358, diff --git a/test/corpus/expressions.txt b/test/corpus/expressions.txt index 9fc5d6fc..662f577d 100644 --- a/test/corpus/expressions.txt +++ b/test/corpus/expressions.txt @@ -487,11 +487,11 @@ a << b | c >> d & e ^ f (identifier)) (binary_operator (binary_operator - (identifier) + (binary_operator + (identifier) + (identifier)) (identifier)) - (binary_operator - (identifier) - (identifier))))) + (identifier)))) ================================================================================ Boolean operators