diff --git a/corpus/expressions.txt b/corpus/expressions.txt index 9f556dc..0fc3c9c 100644 --- a/corpus/expressions.txt +++ b/corpus/expressions.txt @@ -136,3 +136,21 @@ find "`dirname $file`" -name "$base"'*' (word) (string (simple_expansion (variable_name))) (raw_string))) + +========================================= +Arrays and array expansions +========================================= + +a=() +b=(1 2 3) + +echo ${a[@]} +echo ${#b[@]} + +--- + +(program + (environment_variable_assignment (variable_name) (array)) + (environment_variable_assignment (variable_name) (array (word) (word) (word))) + (command (command_name) (expansion (variable_name))) + (command (command_name) (expansion (variable_name)))) diff --git a/grammar.js b/grammar.js index f6cd90b..93c2a77 100644 --- a/grammar.js +++ b/grammar.js @@ -14,7 +14,8 @@ module.exports = grammar({ $._heredoc_middle, $._heredoc_end, $.file_descriptor, - $._empty_value + $._empty_value, + '#' ], extras: $ => [ @@ -241,11 +242,15 @@ module.exports = grammar({ expansion: $ => seq( '${', - $._variable_name, - optional(seq( - choice(':', ':?', '=', ':-'), - $._expression - )), + choice( + $._variable_name, + seq('#', $._variable_name), + seq( + $._variable_name, + choice(':', ':?', '=', ':-'), + $._expression + ) + ), '}' ), diff --git a/src/grammar.json b/src/grammar.json index 83fec45..2b4bf14 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -847,16 +847,33 @@ "type": "STRING", "value": "${" }, - { - "type": "SYMBOL", - "name": "_variable_name" - }, { "type": "CHOICE", "members": [ + { + "type": "SYMBOL", + "name": "_variable_name" + }, { "type": "SEQ", "members": [ + { + "type": "STRING", + "value": "#" + }, + { + "type": "SYMBOL", + "name": "_variable_name" + } + ] + }, + { + "type": "SEQ", + "members": [ + { + "type": "SYMBOL", + "name": "_variable_name" + }, { "type": "CHOICE", "members": [ @@ -883,9 +900,6 @@ "name": "_expression" } ] - }, - { - "type": "BLANK" } ] }, @@ -1111,6 +1125,10 @@ { "type": "SYMBOL", "name": "_empty_value" + }, + { + "type": "STRING", + "value": "#" } ], "inline": [ diff --git a/src/parser.c b/src/parser.c index 9d57053..2f9dbdd 100644 --- a/src/parser.c +++ b/src/parser.c @@ -4,10 +4,10 @@ #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #define LANGUAGE_VERSION 3 -#define STATE_COUNT 1172 +#define STATE_COUNT 1262 #define SYMBOL_COUNT 106 #define TOKEN_COUNT 69 -#define EXTERNAL_TOKEN_COUNT 6 +#define EXTERNAL_TOKEN_COUNT 7 #define MAX_RENAME_SEQUENCE_LENGTH 5 enum { @@ -60,17 +60,17 @@ enum { sym_raw_string = 47, anon_sym_DOLLAR = 48, anon_sym_DOLLAR_LBRACE = 49, - anon_sym_COLON_QMARK = 50, - anon_sym_COLON_DASH = 51, - anon_sym_DOLLAR_LPAREN = 52, - anon_sym_BQUOTE = 53, - sym_leading_word = 54, - sym_word = 55, - sym_comment = 56, - sym_simple_variable_name = 57, - anon_sym_STAR = 58, - anon_sym_AT = 59, - anon_sym_POUND = 60, + anon_sym_POUND = 50, + anon_sym_COLON_QMARK = 51, + anon_sym_COLON_DASH = 52, + anon_sym_DOLLAR_LPAREN = 53, + anon_sym_BQUOTE = 54, + sym_leading_word = 55, + sym_word = 56, + sym_comment = 57, + sym_simple_variable_name = 58, + anon_sym_STAR = 59, + anon_sym_AT = 60, anon_sym_QMARK = 61, anon_sym_DASH = 62, anon_sym_BANG = 63, @@ -172,6 +172,7 @@ static const char *ts_symbol_names[] = { [sym_raw_string] = "raw_string", [anon_sym_DOLLAR] = "$", [anon_sym_DOLLAR_LBRACE] = "${", + [anon_sym_POUND] = "#", [anon_sym_COLON_QMARK] = ":?", [anon_sym_COLON_DASH] = ":-", [anon_sym_DOLLAR_LPAREN] = "$(", @@ -182,7 +183,6 @@ static const char *ts_symbol_names[] = { [sym_simple_variable_name] = "simple_variable_name", [anon_sym_STAR] = "*", [anon_sym_AT] = "@", - [anon_sym_POUND] = "#", [anon_sym_QMARK] = "?", [anon_sym_DASH] = "-", [anon_sym_BANG] = "!", @@ -534,6 +534,12 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, + [anon_sym_POUND] = { + .visible = true, + .named = false, + .structural = true, + .extra = false, + }, [anon_sym_COLON_QMARK] = { .visible = true, .named = false, @@ -594,12 +600,6 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, - [anon_sym_POUND] = { - .visible = true, - .named = false, - .structural = true, - .extra = false, - }, [anon_sym_QMARK] = { .visible = true, .named = false, @@ -872,7 +872,7 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { }, }; -static TSSymbol ts_rename_sequences[13][MAX_RENAME_SEQUENCE_LENGTH] = { +static TSSymbol ts_rename_sequences[14][MAX_RENAME_SEQUENCE_LENGTH] = { [1] = { [0] = rename_sym_command_name, }, @@ -904,9 +904,12 @@ static TSSymbol ts_rename_sequences[13][MAX_RENAME_SEQUENCE_LENGTH] = { [1] = rename_sym_command_name, }, [11] = { - [1] = rename_sym_command_name, + [2] = rename_sym_variable_name, }, [12] = { + [1] = rename_sym_command_name, + }, + [13] = { [1] = rename_sym_variable_name, }, }; @@ -4437,14 +4440,30 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { SKIP(277); END_STATE(); case 282: + if (lookahead == '!') + ADVANCE(205); if (lookahead == '#') - ADVANCE(5); + ADVANCE(4); + if (lookahead == '$') + ADVANCE(206); + if (lookahead == '*') + ADVANCE(207); + if (lookahead == '-') + ADVANCE(208); + if (lookahead == '0') + ADVANCE(209); if (lookahead == ':') ADVANCE(278); if (lookahead == '=') ADVANCE(17); + if (lookahead == '?') + ADVANCE(210); + if (lookahead == '@') + ADVANCE(211); if (lookahead == '\\') SKIP(283); + if (lookahead == '_') + ADVANCE(213); if (lookahead == '}') ADVANCE(72); if (lookahead == '\t' || @@ -4452,12 +4471,42 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\r' || lookahead == ' ') SKIP(282); + if (lookahead != 0 && + (lookahead < ' ' || lookahead > '$') && + (lookahead < '(' || lookahead > '*') && + lookahead != ':' && + lookahead != ';' && + lookahead != '_' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); END_STATE(); case 283: if (lookahead == '\n') SKIP(282); END_STATE(); case 284: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '\\') + SKIP(285); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(284); + END_STATE(); + case 285: + if (lookahead == '\n') + SKIP(284); + END_STATE(); + case 286: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4475,7 +4524,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(129); if (lookahead == '\\') - SKIP(285); + SKIP(287); if (lookahead == ']') ADVANCE(216); if (lookahead == '`') @@ -4486,7 +4535,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(284); + SKIP(286); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -4494,33 +4543,33 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '{') ADVANCE(120); END_STATE(); - case 285: + case 287: if (lookahead == '\n') - SKIP(284); + SKIP(286); END_STATE(); - case 286: + case 288: if (lookahead == '#') ADVANCE(5); if (lookahead == '$') - ADVANCE(287); + ADVANCE(289); if (lookahead == '\\') - SKIP(288); + SKIP(290); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(286); + SKIP(288); END_STATE(); - case 287: + case 289: ACCEPT_TOKEN(anon_sym_DOLLAR); if (lookahead == '{') ADVANCE(125); END_STATE(); - case 288: + case 290: if (lookahead == '\n') - SKIP(286); + SKIP(288); END_STATE(); - case 289: + case 291: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -4528,7 +4577,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ')') ADVANCE(9); if (lookahead == '\\') - SKIP(290); + SKIP(292); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -4537,13 +4586,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(289); + SKIP(291); END_STATE(); - case 290: + case 292: if (lookahead == '\n') - SKIP(289); + SKIP(291); END_STATE(); - case 291: + case 293: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4563,7 +4612,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(292); + SKIP(294); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -4572,40 +4621,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(291); + SKIP(293); if (lookahead != 0 && lookahead != ';' && lookahead != '<' && (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 292: - if (lookahead == '\n') - SKIP(291); - END_STATE(); - case 293: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(233); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(294); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(293); - END_STATE(); case 294: if (lookahead == '\n') SKIP(293); @@ -4631,21 +4653,48 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(297); + SKIP(295); END_STATE(); case 296: if (lookahead == '\n') SKIP(295); END_STATE(); case 297: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(233); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(298); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(299); + END_STATE(); + case 298: + if (lookahead == '\n') + SKIP(297); + END_STATE(); + case 299: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(297); + ADVANCE(299); END_STATE(); - case 298: + case 300: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -4659,28 +4708,28 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(299); + SKIP(301); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(300); + ADVANCE(302); END_STATE(); - case 299: + case 301: if (lookahead == '\n') - SKIP(298); + SKIP(300); END_STATE(); - case 300: + case 302: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(300); + ADVANCE(302); END_STATE(); - case 301: + case 303: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4698,7 +4747,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(302); + SKIP(304); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -4707,7 +4756,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(301); + SKIP(303); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -4715,11 +4764,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 302: + case 304: if (lookahead == '\n') - SKIP(301); + SKIP(303); END_STATE(); - case 303: + case 305: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -4731,7 +4780,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(304); + SKIP(306); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -4740,38 +4789,38 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(305); + ADVANCE(307); END_STATE(); - case 304: + case 306: if (lookahead == '\n') - SKIP(303); + SKIP(305); END_STATE(); - case 305: + case 307: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(305); + ADVANCE(307); END_STATE(); - case 306: + case 308: if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(307); + SKIP(309); if (lookahead == '{') ADVANCE(69); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(306); + SKIP(308); END_STATE(); - case 307: + case 309: if (lookahead == '\n') - SKIP(306); + SKIP(308); END_STATE(); - case 308: + case 310: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4793,7 +4842,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '[') ADVANCE(89); if (lookahead == '\\') - SKIP(309); + SKIP(311); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') @@ -4808,62 +4857,62 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(308); + SKIP(310); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 309: - if (lookahead == '\n') - SKIP(308); - END_STATE(); - case 310: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(311); - if (lookahead == 'e') - ADVANCE(312); - if (lookahead == 'f') - ADVANCE(313); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(310); - END_STATE(); case 311: if (lookahead == '\n') SKIP(310); END_STATE(); case 312: - if (lookahead == 'l') - ADVANCE(38); - END_STATE(); - case 313: - if (lookahead == 'i') - ADVANCE(47); - END_STATE(); - case 314: if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(315); + SKIP(313); + if (lookahead == 'e') + ADVANCE(314); if (lookahead == 'f') - ADVANCE(313); + ADVANCE(315); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(314); + SKIP(312); + END_STATE(); + case 313: + if (lookahead == '\n') + SKIP(312); + END_STATE(); + case 314: + if (lookahead == 'l') + ADVANCE(38); END_STATE(); case 315: - if (lookahead == '\n') - SKIP(314); + if (lookahead == 'i') + ADVANCE(47); END_STATE(); case 316: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') + SKIP(317); + if (lookahead == 'f') + ADVANCE(315); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(316); + END_STATE(); + case 317: + if (lookahead == '\n') + SKIP(316); + END_STATE(); + case 318: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4879,16 +4928,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(129); if (lookahead == '\\') - SKIP(317); + SKIP(319); if (lookahead == '`') ADVANCE(28); if (lookahead == 'e') - ADVANCE(318); + ADVANCE(320); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(316); + SKIP(318); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -4897,58 +4946,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 317: - if (lookahead == '\n') - SKIP(316); - END_STATE(); - case 318: - ACCEPT_TOKEN(sym_word); - if (lookahead == 's') - ADVANCE(319); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '&' && - lookahead != '(' && - lookahead != ')' && - lookahead != ';' && - lookahead != '<' && - lookahead != '>' && - lookahead != '\\' && - lookahead != '`' && - lookahead != '{' && - lookahead != '}') - ADVANCE(120); - END_STATE(); case 319: - ACCEPT_TOKEN(sym_word); - if (lookahead == 'a') - ADVANCE(320); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '&' && - lookahead != '(' && - lookahead != ')' && - lookahead != ';' && - lookahead != '<' && - lookahead != '>' && - lookahead != '\\' && - lookahead != '`' && - lookahead != 'a' && - lookahead != '{' && - lookahead != '}') - ADVANCE(120); + if (lookahead == '\n') + SKIP(318); END_STATE(); case 320: ACCEPT_TOKEN(sym_word); - if (lookahead == 'c') + if (lookahead == 's') ADVANCE(321); if (lookahead != 0 && lookahead != '\t' && @@ -4969,6 +4973,51 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(120); END_STATE(); case 321: + ACCEPT_TOKEN(sym_word); + if (lookahead == 'a') + ADVANCE(322); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '&' && + lookahead != '(' && + lookahead != ')' && + lookahead != ';' && + lookahead != '<' && + lookahead != '>' && + lookahead != '\\' && + lookahead != '`' && + lookahead != 'a' && + lookahead != '{' && + lookahead != '}') + ADVANCE(120); + END_STATE(); + case 322: + ACCEPT_TOKEN(sym_word); + if (lookahead == 'c') + ADVANCE(323); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '&' && + lookahead != '(' && + lookahead != ')' && + lookahead != ';' && + lookahead != '<' && + lookahead != '>' && + lookahead != '\\' && + lookahead != '`' && + lookahead != '{' && + lookahead != '}') + ADVANCE(120); + END_STATE(); + case 323: ACCEPT_TOKEN(anon_sym_esac); if (lookahead != 0 && lookahead != '\t' && @@ -4988,7 +5037,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 322: + case 324: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') + SKIP(325); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(324); + END_STATE(); + case 325: + if (lookahead == '\n') + SKIP(324); + END_STATE(); + case 326: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4998,31 +5064,31 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '&') ADVANCE(77); if (lookahead == '\'') - ADVANCE(323); + ADVANCE(327); if (lookahead == '(') ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ':') - ADVANCE(326); + ADVANCE(330); if (lookahead == '<') ADVANCE(84); if (lookahead == '>') ADVANCE(86); if (lookahead == '[') - ADVANCE(327); + ADVANCE(331); if (lookahead == '\\') - SKIP(329); + SKIP(333); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') - ADVANCE(330); - if (lookahead == 'f') ADVANCE(334); + if (lookahead == 'f') + ADVANCE(338); if (lookahead == 'i') - ADVANCE(344); + ADVANCE(348); if (lookahead == 'w') - ADVANCE(346); + ADVANCE(350); if (lookahead == '=' || lookahead == '|') ADVANCE(120); @@ -5030,16 +5096,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(322); + SKIP(326); if (lookahead != 0 && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 323: + case 327: ACCEPT_TOKEN(sym_leading_word); if (lookahead == '\'') - ADVANCE(324); + ADVANCE(328); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5062,9 +5128,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('{' <= lookahead && lookahead <= '}')) ADVANCE(82); if (lookahead != 0) - ADVANCE(323); + ADVANCE(327); END_STATE(); - case 324: + case 328: ACCEPT_TOKEN(sym_raw_string); if (lookahead == ':' || lookahead == '=' || @@ -5086,9 +5152,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 325: + case 329: ACCEPT_TOKEN(sym_leading_word); if (lookahead == ':' || lookahead == '=' || @@ -5110,9 +5176,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 326: + case 330: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead != 0 && lookahead != '\t' && @@ -5132,10 +5198,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 327: + case 331: ACCEPT_TOKEN(anon_sym_LBRACK); if (lookahead == '[') - ADVANCE(328); + ADVANCE(332); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5157,9 +5223,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 328: + case 332: ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); if (lookahead == ':' || lookahead == '=' || @@ -5181,16 +5247,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 329: + case 333: if (lookahead == '\n') - SKIP(322); + SKIP(326); END_STATE(); - case 330: + case 334: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'a') - ADVANCE(331); + ADVANCE(335); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5212,115 +5278,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`' && lookahead != 'a' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 331: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 's') - ADVANCE(332); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 332: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(333); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 333: - ACCEPT_TOKEN(anon_sym_case); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 334: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'o') - ADVANCE(335); - if (lookahead == 'u') - ADVANCE(337); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 335: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'r') + if (lookahead == 's') ADVANCE(336); if (lookahead == ':' || lookahead == '=' || @@ -5342,10 +5304,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 336: - ACCEPT_TOKEN(anon_sym_for); + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(337); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5366,12 +5330,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 337: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') - ADVANCE(338); + ACCEPT_TOKEN(anon_sym_case); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5392,63 +5354,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 338: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'c') + if (lookahead == 'o') ADVANCE(339); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 339: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 't') - ADVANCE(340); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 340: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') + if (lookahead == 'u') ADVANCE(341); if (lookahead == ':' || lookahead == '=' || @@ -5470,11 +5382,61 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); + END_STATE(); + case 339: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'r') + ADVANCE(340); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 340: + ACCEPT_TOKEN(anon_sym_for); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); END_STATE(); case 341: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'o') + if (lookahead == 'n') ADVANCE(342); if (lookahead == ':' || lookahead == '=' || @@ -5496,11 +5458,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 342: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') + if (lookahead == 'c') ADVANCE(343); if (lookahead == ':' || lookahead == '=' || @@ -5522,10 +5484,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 343: - ACCEPT_TOKEN(anon_sym_function); + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 't') + ADVANCE(344); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5546,11 +5510,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 344: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') + if (lookahead == 'i') ADVANCE(345); if (lookahead == ':' || lookahead == '=' || @@ -5572,10 +5536,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 345: - ACCEPT_TOKEN(anon_sym_if); + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'o') + ADVANCE(346); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5596,11 +5562,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 346: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'h') + if (lookahead == 'n') ADVANCE(347); if (lookahead == ':' || lookahead == '=' || @@ -5622,12 +5588,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 347: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') - ADVANCE(348); + ACCEPT_TOKEN(anon_sym_function); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5648,11 +5612,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 348: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'l') + if (lookahead == 'f') ADVANCE(349); if (lookahead == ':' || lookahead == '=' || @@ -5674,12 +5638,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 349: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(350); + ACCEPT_TOKEN(anon_sym_if); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -5700,9 +5662,113 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 350: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'h') + ADVANCE(351); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 351: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'i') + ADVANCE(352); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 352: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'l') + ADVANCE(353); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 353: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(354); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 354: ACCEPT_TOKEN(anon_sym_while); if (lookahead == ':' || lookahead == '=' || @@ -5724,9 +5790,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 351: + case 355: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -5748,7 +5814,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '[') ADVANCE(89); if (lookahead == '\\') - SKIP(352); + SKIP(356); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') @@ -5765,35 +5831,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(351); + SKIP(355); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 352: + case 356: if (lookahead == '\n') - SKIP(351); + SKIP(355); END_STATE(); - case 353: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(354); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(353); - END_STATE(); - case 354: - if (lookahead == '\n') - SKIP(353); - END_STATE(); - case 355: + case 357: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -5817,7 +5866,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '[') ADVANCE(89); if (lookahead == '\\') - SKIP(356); + SKIP(358); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') @@ -5832,18 +5881,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(355); + SKIP(357); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 356: + case 358: if (lookahead == '\n') - SKIP(355); + SKIP(357); END_STATE(); - case 357: + case 359: if (lookahead == '\n') ADVANCE(175); if (lookahead == '\"') @@ -5853,7 +5902,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '$') ADVANCE(74); if (lookahead == '&') - ADVANCE(358); + ADVANCE(360); if (lookahead == '\'') ADVANCE(80); if (lookahead == '(') @@ -5869,7 +5918,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '[') ADVANCE(89); if (lookahead == '\\') - SKIP(359); + SKIP(361); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') @@ -5883,14 +5932,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(357); + SKIP(359); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 358: + case 360: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '>') ADVANCE(78); @@ -5912,11 +5961,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 359: + case 361: if (lookahead == '\n') - SKIP(357); + SKIP(359); END_STATE(); - case 360: + case 362: if (lookahead == '\n') ADVANCE(175); if (lookahead == '#') @@ -5928,7 +5977,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ';') ADVANCE(140); if (lookahead == '\\') - SKIP(361); + SKIP(363); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -5936,129 +5985,129 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(360); + SKIP(362); END_STATE(); - case 361: + case 363: if (lookahead == '\n') - SKIP(360); + SKIP(362); END_STATE(); - case 362: + case 364: if (lookahead == '\n') - ADVANCE(363); + ADVANCE(365); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(149); if (lookahead == '$') - ADVANCE(421); + ADVANCE(423); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '[') - ADVANCE(387); - if (lookahead == '\\') ADVANCE(389); - if (lookahead == ']') + if (lookahead == '\\') ADVANCE(391); + if (lookahead == ']') + ADVANCE(393); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') - ADVANCE(393); + ADVANCE(395); if (lookahead == 'f') - ADVANCE(397); + ADVANCE(399); if (lookahead == 'i') - ADVANCE(407); + ADVANCE(409); if (lookahead == 'w') - ADVANCE(410); + ADVANCE(412); if (lookahead == '{') - ADVANCE(415); + ADVANCE(417); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(420); + ADVANCE(422); if (lookahead != 0) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 363: + case 365: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(363); + ADVANCE(365); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '[') - ADVANCE(387); - if (lookahead == '\\') ADVANCE(389); - if (lookahead == ']') + if (lookahead == '\\') ADVANCE(391); - if (lookahead == 'c') + if (lookahead == ']') ADVANCE(393); + if (lookahead == 'c') + ADVANCE(395); if (lookahead == 'f') - ADVANCE(397); + ADVANCE(399); if (lookahead == 'i') - ADVANCE(407); + ADVANCE(409); if (lookahead == 'w') - ADVANCE(410); + ADVANCE(412); if (lookahead == '{') - ADVANCE(415); + ADVANCE(417); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(420); + ADVANCE(422); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 364: + case 366: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '$') ADVANCE(76); if (lookahead == '&') - ADVANCE(365); - if (lookahead == '>') ADVANCE(367); + if (lookahead == '>') + ADVANCE(369); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6075,9 +6124,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 365: + case 367: ACCEPT_TOKEN(anon_sym_AMP_AMP); if (lookahead == '$') ADVANCE(76); @@ -6097,9 +6146,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 366: + case 368: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); @@ -6119,14 +6168,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 367: + case 369: ACCEPT_TOKEN(anon_sym_AMP_GT); if (lookahead == '$') ADVANCE(76); if (lookahead == '>') - ADVANCE(368); + ADVANCE(370); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6143,9 +6192,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 368: + case 370: ACCEPT_TOKEN(anon_sym_AMP_GT_GT); if (lookahead == '$') ADVANCE(76); @@ -6165,25 +6214,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 369: + case 371: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(80); if (lookahead == '\'') - ADVANCE(370); + ADVANCE(372); if (lookahead == '\"' || lookahead == '`') ADVANCE(82); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(372); + ADVANCE(374); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(374); + ADVANCE(376); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6194,22 +6243,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(373); + ADVANCE(375); if (lookahead != 0) - ADVANCE(369); + ADVANCE(371); END_STATE(); - case 370: + case 372: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6224,9 +6273,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 371: + case 373: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || @@ -6246,14 +6295,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 372: + case 374: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(80); if (lookahead == '\'') - ADVANCE(366); + ADVANCE(368); if (lookahead == '\"' || lookahead == '`') ADVANCE(82); @@ -6269,11 +6318,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(373); + ADVANCE(375); if (lookahead != 0) - ADVANCE(372); + ADVANCE(374); END_STATE(); - case 373: + case 375: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\'') ADVANCE(150); @@ -6282,12 +6331,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '`') ADVANCE(82); if (lookahead != 0) - ADVANCE(373); + ADVANCE(375); END_STATE(); - case 374: + case 376: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\'') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\"' || lookahead == '$' || lookahead == '`') @@ -6304,11 +6353,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\\' || lookahead == '{' || lookahead == '}') - ADVANCE(373); + ADVANCE(375); if (lookahead != 0) - ADVANCE(374); + ADVANCE(376); END_STATE(); - case 375: + case 377: ACCEPT_TOKEN(anon_sym_LPAREN); if (lookahead != 0 && lookahead != '\"' && @@ -6316,7 +6365,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`') ADVANCE(150); END_STATE(); - case 376: + case 378: ACCEPT_TOKEN(anon_sym_RPAREN); if (lookahead != 0 && lookahead != '\"' && @@ -6324,7 +6373,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`') ADVANCE(150); END_STATE(); - case 377: + case 379: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead == '\t' || lookahead == '\n' || @@ -6344,19 +6393,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 378: + case 380: ACCEPT_TOKEN(anon_sym_SEMI); if (lookahead == ';') - ADVANCE(379); + ADVANCE(381); if (lookahead != 0 && lookahead != '\"' && lookahead != '$' && lookahead != '`') ADVANCE(150); END_STATE(); - case 379: + case 381: ACCEPT_TOKEN(anon_sym_SEMI_SEMI); if (lookahead != 0 && lookahead != '\"' && @@ -6364,14 +6413,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`') ADVANCE(150); END_STATE(); - case 380: + case 382: ACCEPT_TOKEN(anon_sym_LT); if (lookahead == '$') ADVANCE(76); if (lookahead == '&') - ADVANCE(381); + ADVANCE(383); if (lookahead == '<') - ADVANCE(382); + ADVANCE(384); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6386,9 +6435,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 381: + case 383: ACCEPT_TOKEN(anon_sym_LT_AMP); if (lookahead == '$') ADVANCE(76); @@ -6408,14 +6457,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 382: + case 384: ACCEPT_TOKEN(anon_sym_LT_LT); if (lookahead == '$') ADVANCE(76); if (lookahead == '-') - ADVANCE(383); + ADVANCE(385); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6432,9 +6481,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 383: + case 385: ACCEPT_TOKEN(anon_sym_LT_LT_DASH); if (lookahead == '$') ADVANCE(76); @@ -6454,16 +6503,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 384: + case 386: ACCEPT_TOKEN(anon_sym_GT); if (lookahead == '$') ADVANCE(76); if (lookahead == '&') - ADVANCE(385); + ADVANCE(387); if (lookahead == '>') - ADVANCE(386); + ADVANCE(388); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6480,9 +6529,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 385: + case 387: ACCEPT_TOKEN(anon_sym_GT_AMP); if (lookahead == '$') ADVANCE(76); @@ -6502,9 +6551,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 386: + case 388: ACCEPT_TOKEN(anon_sym_GT_GT); if (lookahead == '$') ADVANCE(76); @@ -6524,22 +6573,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(366); + ADVANCE(368); END_STATE(); - case 387: + case 389: ACCEPT_TOKEN(anon_sym_LBRACK); if (lookahead == '$') ADVANCE(76); if (lookahead == '[') - ADVANCE(388); + ADVANCE(390); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6554,20 +6603,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 388: + case 390: ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6582,85 +6631,85 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 389: + case 391: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(390); + ADVANCE(392); if (lookahead != 0 && lookahead != '\"' && lookahead != '$' && lookahead != '`') ADVANCE(150); END_STATE(); - case 390: + case 392: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(363); + ADVANCE(365); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '[') - ADVANCE(387); - if (lookahead == '\\') ADVANCE(389); - if (lookahead == ']') + if (lookahead == '\\') ADVANCE(391); - if (lookahead == 'c') + if (lookahead == ']') ADVANCE(393); + if (lookahead == 'c') + ADVANCE(395); if (lookahead == 'f') - ADVANCE(397); + ADVANCE(399); if (lookahead == 'i') - ADVANCE(407); + ADVANCE(409); if (lookahead == 'w') - ADVANCE(410); + ADVANCE(412); if (lookahead == '{') - ADVANCE(415); + ADVANCE(417); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(420); + ADVANCE(422); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 391: + case 393: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead == '$') ADVANCE(76); if (lookahead == ']') - ADVANCE(392); + ADVANCE(394); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6675,20 +6724,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 392: + case 394: ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6703,22 +6752,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 393: + case 395: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'a') - ADVANCE(394); + ADVANCE(396); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6734,22 +6783,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '\"' || lookahead > '$') && lookahead != '`' && lookahead != 'a') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 394: + case 396: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 's') - ADVANCE(395); + ADVANCE(397); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6764,22 +6813,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 395: + case 397: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'e') - ADVANCE(396); + ADVANCE(398); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6794,20 +6843,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 396: + case 398: ACCEPT_TOKEN(anon_sym_case); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6822,24 +6871,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 397: + case 399: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'o') - ADVANCE(398); - if (lookahead == 'u') ADVANCE(400); + if (lookahead == 'u') + ADVANCE(402); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6854,22 +6903,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 398: + case 400: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'r') - ADVANCE(399); + ADVANCE(401); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6884,20 +6933,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 399: + case 401: ACCEPT_TOKEN(anon_sym_for); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -6912,82 +6961,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); - END_STATE(); - case 400: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'n') - ADVANCE(401); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(366); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(371); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$') && - lookahead != '`') - ADVANCE(370); - END_STATE(); - case 401: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'c') - ADVANCE(402); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(366); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(371); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$') && - lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 402: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); - if (lookahead == 't') + if (lookahead == 'n') ADVANCE(403); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7002,22 +6991,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 403: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); - if (lookahead == 'i') + if (lookahead == 'c') ADVANCE(404); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7032,22 +7021,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 404: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); - if (lookahead == 'o') + if (lookahead == 't') ADVANCE(405); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7062,22 +7051,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 405: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); - if (lookahead == 'n') + if (lookahead == 'i') ADVANCE(406); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7092,20 +7081,80 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 406: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'o') + ADVANCE(407); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(368); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(373); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 407: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'n') + ADVANCE(408); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(368); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(373); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 408: ACCEPT_TOKEN(anon_sym_function); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7120,24 +7169,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 407: + case 409: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'f') - ADVANCE(408); + ADVANCE(410); if (lookahead == 'n') - ADVANCE(409); + ADVANCE(411); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7152,20 +7201,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 408: + case 410: ACCEPT_TOKEN(anon_sym_if); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7180,20 +7229,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 409: + case 411: ACCEPT_TOKEN(anon_sym_in); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7208,82 +7257,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); - END_STATE(); - case 410: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'h') - ADVANCE(411); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(366); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(371); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$') && - lookahead != '`') - ADVANCE(370); - END_STATE(); - case 411: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'i') - ADVANCE(412); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(366); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(371); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$') && - lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 412: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); - if (lookahead == 'l') + if (lookahead == 'h') ADVANCE(413); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7298,22 +7287,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 413: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); - if (lookahead == 'e') + if (lookahead == 'i') ADVANCE(414); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7328,20 +7317,80 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); case 414: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'l') + ADVANCE(415); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(368); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(373); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 415: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'e') + ADVANCE(416); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(368); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(373); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 416: ACCEPT_TOKEN(anon_sym_while); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7356,9 +7405,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 415: + case 417: ACCEPT_TOKEN(anon_sym_LBRACE); if (lookahead != 0 && lookahead != '\"' && @@ -7366,12 +7415,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`') ADVANCE(150); END_STATE(); - case 416: + case 418: ACCEPT_TOKEN(anon_sym_PIPE); if (lookahead == '&') - ADVANCE(417); + ADVANCE(419); if (lookahead == '|') - ADVANCE(418); + ADVANCE(420); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7388,9 +7437,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 417: + case 419: ACCEPT_TOKEN(anon_sym_PIPE_AMP); if (lookahead != 0 && lookahead != '\"' && @@ -7398,7 +7447,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`') ADVANCE(150); END_STATE(); - case 418: + case 420: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); if (lookahead == '\t' || lookahead == '\n' || @@ -7418,9 +7467,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 419: + case 421: ACCEPT_TOKEN(anon_sym_RBRACE); if (lookahead != 0 && lookahead != '\"' && @@ -7428,60 +7477,60 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`') ADVANCE(150); END_STATE(); - case 420: + case 422: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(363); + ADVANCE(365); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '[') - ADVANCE(387); - if (lookahead == '\\') ADVANCE(389); - if (lookahead == ']') + if (lookahead == '\\') ADVANCE(391); - if (lookahead == 'c') + if (lookahead == ']') ADVANCE(393); + if (lookahead == 'c') + ADVANCE(395); if (lookahead == 'f') - ADVANCE(397); + ADVANCE(399); if (lookahead == 'i') - ADVANCE(407); + ADVANCE(409); if (lookahead == 'w') - ADVANCE(410); + ADVANCE(412); if (lookahead == '{') - ADVANCE(415); + ADVANCE(417); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(420); + ADVANCE(422); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 421: + case 423: ACCEPT_TOKEN(anon_sym_DOLLAR); if (lookahead == '(') ADVANCE(75); @@ -7504,168 +7553,168 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 422: + case 424: if (lookahead == '\n') - ADVANCE(423); + ADVANCE(425); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(149); if (lookahead == '$') - ADVANCE(421); + ADVANCE(423); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(424); + ADVANCE(426); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); if (lookahead == '`') ADVANCE(28); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(425); + ADVANCE(427); if (lookahead != 0) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 423: + case 425: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(423); + ADVANCE(425); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(424); - if (lookahead == ']') - ADVANCE(391); - if (lookahead == 'i') ADVANCE(426); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == 'i') + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(425); + ADVANCE(427); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 424: + case 426: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(425); + ADVANCE(427); if (lookahead != 0 && lookahead != '\"' && lookahead != '$' && lookahead != '`') ADVANCE(150); END_STATE(); - case 425: + case 427: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(423); + ADVANCE(425); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(424); - if (lookahead == ']') - ADVANCE(391); - if (lookahead == 'i') ADVANCE(426); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == 'i') + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(425); + ADVANCE(427); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 426: + case 428: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'n') - ADVANCE(409); + ADVANCE(411); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -7680,11 +7729,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 427: + case 429: if (lookahead == '\n') - ADVANCE(428); + ADVANCE(430); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -7706,7 +7755,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(430); + SKIP(432); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -7714,365 +7763,365 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(429); + ADVANCE(431); if (lookahead != 0 && (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 428: + case 430: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(428); + ADVANCE(430); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(429); - END_STATE(); - case 429: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(428); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(429); - END_STATE(); - case 430: - if (lookahead == '\n') - SKIP(427); + ADVANCE(431); END_STATE(); case 431: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(432); + ADVANCE(430); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(431); + END_STATE(); + case 432: + if (lookahead == '\n') + SKIP(429); + END_STATE(); + case 433: + if (lookahead == '\n') + ADVANCE(434); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(149); if (lookahead == '$') - ADVANCE(421); + ADVANCE(423); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(433); + ADVANCE(435); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); if (lookahead == '`') ADVANCE(28); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(435); + ADVANCE(437); if (lookahead != 0) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 432: + case 434: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(432); + ADVANCE(434); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(433); + ADVANCE(435); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(435); + ADVANCE(437); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 433: + case 435: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(434); + ADVANCE(436); if (lookahead != 0 && lookahead != '\"' && lookahead != '$' && lookahead != '`') ADVANCE(150); END_STATE(); - case 434: + case 436: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(432); + ADVANCE(434); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(433); + ADVANCE(435); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(435); + ADVANCE(437); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 435: + case 437: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(432); + ADVANCE(434); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); if (lookahead == '\\') - ADVANCE(433); + ADVANCE(435); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(435); + ADVANCE(437); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 436: + case 438: if (lookahead == '\n') - ADVANCE(437); + ADVANCE(439); if (lookahead == '!') - ADVANCE(438); + ADVANCE(440); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') - ADVANCE(439); - if (lookahead == '$') - ADVANCE(421); - if (lookahead == '&') - ADVANCE(364); - if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == '*') - ADVANCE(440); - if (lookahead == '-') ADVANCE(441); - if (lookahead == '0') - ADVANCE(442); - if (lookahead == ':') - ADVANCE(444); - if (lookahead == ';') + if (lookahead == '$') + ADVANCE(423); + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') ADVANCE(378); - if (lookahead == '<') + if (lookahead == '*') + ADVANCE(442); + if (lookahead == '-') + ADVANCE(443); + if (lookahead == '0') + ADVANCE(444); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); if (lookahead == '=') - ADVANCE(447); - if (lookahead == '>') - ADVANCE(384); - if (lookahead == '?') - ADVANCE(448); - if (lookahead == '@') ADVANCE(449); - if (lookahead == '\\') + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '?') ADVANCE(450); - if (lookahead == ']') - ADVANCE(391); - if (lookahead == '_') + if (lookahead == '@') + ADVANCE(451); + if (lookahead == '\\') ADVANCE(452); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == '_') + ADVANCE(454); if (lookahead == '`') ADVANCE(28); if (lookahead == 'i') - ADVANCE(453); + ADVANCE(455); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(451); + ADVANCE(453); if (('1' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 437: + case 439: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(437); - if (lookahead == '!') - ADVANCE(438); - if (lookahead == '#') ADVANCE(439); - if (lookahead == '&') - ADVANCE(364); - if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == '*') + if (lookahead == '!') ADVANCE(440); - if (lookahead == '-') + if (lookahead == '#') ADVANCE(441); - if (lookahead == '0') - ADVANCE(442); - if (lookahead == ':') - ADVANCE(444); - if (lookahead == ';') + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') ADVANCE(378); - if (lookahead == '<') + if (lookahead == '*') + ADVANCE(442); + if (lookahead == '-') + ADVANCE(443); + if (lookahead == '0') + ADVANCE(444); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); if (lookahead == '=') - ADVANCE(447); - if (lookahead == '>') - ADVANCE(384); - if (lookahead == '?') - ADVANCE(448); - if (lookahead == '@') ADVANCE(449); - if (lookahead == '\\') + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '?') ADVANCE(450); - if (lookahead == ']') - ADVANCE(391); - if (lookahead == '_') + if (lookahead == '@') + ADVANCE(451); + if (lookahead == '\\') ADVANCE(452); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == '_') + ADVANCE(454); if (lookahead == 'i') - ADVANCE(453); + ADVANCE(455); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(451); + ADVANCE(453); if (('1' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < ' ' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 438: + case 440: ACCEPT_TOKEN(anon_sym_BANG); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8087,9 +8136,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 439: + case 441: ACCEPT_TOKEN(anon_sym_POUND); if (lookahead == '\n') ADVANCE(150); @@ -8100,18 +8149,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0) ADVANCE(149); END_STATE(); - case 440: + case 442: ACCEPT_TOKEN(anon_sym_STAR); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8126,20 +8175,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 441: + case 443: ACCEPT_TOKEN(anon_sym_DASH); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8154,20 +8203,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 442: + case 444: ACCEPT_TOKEN(anon_sym_0); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8183,24 +8232,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 443: + case 445: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8216,18 +8265,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 444: + case 446: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead == '-') - ADVANCE(445); + ADVANCE(447); if (lookahead == '?') - ADVANCE(446); + ADVANCE(448); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8246,9 +8295,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 445: + case 447: ACCEPT_TOKEN(anon_sym_COLON_DASH); if (lookahead == '\t' || lookahead == '\n' || @@ -8268,9 +8317,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 446: + case 448: ACCEPT_TOKEN(anon_sym_COLON_QMARK); if (lookahead == '\t' || lookahead == '\n' || @@ -8290,9 +8339,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 447: + case 449: ACCEPT_TOKEN(anon_sym_EQ); if (lookahead == '\t' || lookahead == '\n' || @@ -8312,20 +8361,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(371); + ADVANCE(373); END_STATE(); - case 448: + case 450: ACCEPT_TOKEN(anon_sym_QMARK); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8340,20 +8389,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 449: + case 451: ACCEPT_TOKEN(anon_sym_AT); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8368,92 +8417,92 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 450: + case 452: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(451); + ADVANCE(453); if (lookahead != 0 && lookahead != '\"' && lookahead != '$' && lookahead != '`') ADVANCE(150); END_STATE(); - case 451: + case 453: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(437); - if (lookahead == '!') - ADVANCE(438); - if (lookahead == '#') ADVANCE(439); - if (lookahead == '&') - ADVANCE(364); - if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == '*') + if (lookahead == '!') ADVANCE(440); - if (lookahead == '-') + if (lookahead == '#') ADVANCE(441); - if (lookahead == '0') - ADVANCE(442); - if (lookahead == ':') - ADVANCE(444); - if (lookahead == ';') + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') ADVANCE(378); - if (lookahead == '<') + if (lookahead == '*') + ADVANCE(442); + if (lookahead == '-') + ADVANCE(443); + if (lookahead == '0') + ADVANCE(444); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); if (lookahead == '=') - ADVANCE(447); - if (lookahead == '>') - ADVANCE(384); - if (lookahead == '?') - ADVANCE(448); - if (lookahead == '@') ADVANCE(449); - if (lookahead == '\\') + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '?') ADVANCE(450); - if (lookahead == ']') - ADVANCE(391); - if (lookahead == '_') + if (lookahead == '@') + ADVANCE(451); + if (lookahead == '\\') ADVANCE(452); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == '_') + ADVANCE(454); if (lookahead == 'i') - ADVANCE(453); + ADVANCE(455); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(451); + ADVANCE(453); if (('1' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < ' ' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 452: + case 454: ACCEPT_TOKEN(anon_sym__); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8469,26 +8518,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 453: + case 455: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '$') ADVANCE(76); if (lookahead == 'n') - ADVANCE(454); + ADVANCE(456); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8504,24 +8553,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 454: + case 456: ACCEPT_TOKEN(anon_sym_in); if (lookahead == '$') ADVANCE(76); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(366); + ADVANCE(368); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(371); + ADVANCE(373); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -8537,386 +8586,634 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(443); + ADVANCE(445); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && (lookahead < '_' || lookahead > '}')) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 455: + case 457: if (lookahead == '\n') - ADVANCE(456); + ADVANCE(458); + if (lookahead == '!') + ADVANCE(440); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') - ADVANCE(149); + ADVANCE(441); if (lookahead == '$') - ADVANCE(421); + ADVANCE(423); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == '*') + ADVANCE(442); + if (lookahead == '-') + ADVANCE(443); + if (lookahead == '0') + ADVANCE(459); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(449); if (lookahead == '>') - ADVANCE(384); - if (lookahead == '[') - ADVANCE(387); + ADVANCE(386); + if (lookahead == '?') + ADVANCE(450); + if (lookahead == '@') + ADVANCE(451); if (lookahead == '\\') - ADVANCE(457); + ADVANCE(460); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); + if (lookahead == '_') + ADVANCE(462); if (lookahead == '`') ADVANCE(28); - if (lookahead == 'c') - ADVANCE(393); - if (lookahead == 'f') - ADVANCE(397); if (lookahead == 'i') - ADVANCE(407); - if (lookahead == 'w') - ADVANCE(410); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(459); + ADVANCE(461); if (lookahead != 0) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 456: + case 458: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(456); + ADVANCE(458); + if (lookahead == '!') + ADVANCE(440); if (lookahead == '#') - ADVANCE(149); + ADVANCE(441); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == '*') + ADVANCE(442); + if (lookahead == '-') + ADVANCE(443); + if (lookahead == '0') + ADVANCE(459); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(449); if (lookahead == '>') - ADVANCE(384); - if (lookahead == '[') - ADVANCE(387); + ADVANCE(386); + if (lookahead == '?') + ADVANCE(450); + if (lookahead == '@') + ADVANCE(451); if (lookahead == '\\') - ADVANCE(457); + ADVANCE(460); if (lookahead == ']') - ADVANCE(391); - if (lookahead == 'c') ADVANCE(393); - if (lookahead == 'f') - ADVANCE(397); + if (lookahead == '_') + ADVANCE(462); if (lookahead == 'i') - ADVANCE(407); - if (lookahead == 'w') - ADVANCE(410); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(459); + ADVANCE(461); + if (lookahead != 0 && + (lookahead < ' ' || lookahead > '$') && + lookahead != '_' && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 459: + ACCEPT_TOKEN(anon_sym_0); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(368); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(373); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 457: + case 460: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(461); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 461: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') ADVANCE(458); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$' && - lookahead != '`') - ADVANCE(150); - END_STATE(); - case 458: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(456); + if (lookahead == '!') + ADVANCE(440); if (lookahead == '#') - ADVANCE(149); + ADVANCE(441); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == '*') + ADVANCE(442); + if (lookahead == '-') + ADVANCE(443); + if (lookahead == '0') + ADVANCE(459); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(449); if (lookahead == '>') - ADVANCE(384); - if (lookahead == '[') - ADVANCE(387); + ADVANCE(386); + if (lookahead == '?') + ADVANCE(450); + if (lookahead == '@') + ADVANCE(451); if (lookahead == '\\') - ADVANCE(457); + ADVANCE(460); if (lookahead == ']') - ADVANCE(391); - if (lookahead == 'c') ADVANCE(393); - if (lookahead == 'f') - ADVANCE(397); + if (lookahead == '_') + ADVANCE(462); if (lookahead == 'i') - ADVANCE(407); - if (lookahead == 'w') - ADVANCE(410); + ADVANCE(428); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(459); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$') && - lookahead != '`') - ADVANCE(370); - END_STATE(); - case 459: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(456); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(364); - if (lookahead == '\'') - ADVANCE(369); - if (lookahead == '(') - ADVANCE(375); - if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(377); - if (lookahead == ';') - ADVANCE(378); - if (lookahead == '<') - ADVANCE(380); - if (lookahead == '=') - ADVANCE(371); - if (lookahead == '>') - ADVANCE(384); - if (lookahead == '[') - ADVANCE(387); - if (lookahead == '\\') - ADVANCE(457); - if (lookahead == ']') - ADVANCE(391); - if (lookahead == 'c') - ADVANCE(393); - if (lookahead == 'f') - ADVANCE(397); - if (lookahead == 'i') - ADVANCE(407); - if (lookahead == 'w') - ADVANCE(410); - if (lookahead == '{') - ADVANCE(150); - if (lookahead == '|') - ADVANCE(416); - if (lookahead == '}') - ADVANCE(419); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(459); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$') && - lookahead != '`') - ADVANCE(370); - END_STATE(); - case 460: - if (lookahead == '\n') ADVANCE(461); + if (lookahead != 0 && + (lookahead < ' ' || lookahead > '$') && + lookahead != '_' && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 462: + ACCEPT_TOKEN(anon_sym__); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(368); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(373); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 463: + if (lookahead == '\n') + ADVANCE(464); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(149); if (lookahead == '$') - ADVANCE(421); + ADVANCE(423); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); + ADVANCE(371); if (lookahead == '(') - ADVANCE(375); + ADVANCE(377); if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(444); - if (lookahead == ';') ADVANCE(378); - if (lookahead == '<') + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); if (lookahead == '=') - ADVANCE(447); + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); + if (lookahead == '[') + ADVANCE(389); if (lookahead == '\\') - ADVANCE(462); + ADVANCE(465); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); if (lookahead == '`') ADVANCE(28); + if (lookahead == 'c') + ADVANCE(395); + if (lookahead == 'f') + ADVANCE(399); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(409); + if (lookahead == 'w') + ADVANCE(412); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(463); + ADVANCE(467); if (lookahead != 0) - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 461: + case 464: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(461); + ADVANCE(464); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); + ADVANCE(371); if (lookahead == '(') - ADVANCE(375); + ADVANCE(377); if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(444); - if (lookahead == ';') ADVANCE(378); - if (lookahead == '<') + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); if (lookahead == '=') - ADVANCE(447); + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); + if (lookahead == '[') + ADVANCE(389); if (lookahead == '\\') - ADVANCE(462); + ADVANCE(465); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); + if (lookahead == 'c') + ADVANCE(395); + if (lookahead == 'f') + ADVANCE(399); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(409); + if (lookahead == 'w') + ADVANCE(412); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(463); + ADVANCE(467); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 462: + case 465: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(463); + ADVANCE(466); if (lookahead != 0 && lookahead != '\"' && lookahead != '$' && lookahead != '`') ADVANCE(150); END_STATE(); - case 463: + case 466: ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(461); + ADVANCE(464); if (lookahead == '#') ADVANCE(149); if (lookahead == '&') - ADVANCE(364); + ADVANCE(366); if (lookahead == '\'') - ADVANCE(369); + ADVANCE(371); if (lookahead == '(') - ADVANCE(375); + ADVANCE(377); if (lookahead == ')') - ADVANCE(376); - if (lookahead == ':') - ADVANCE(444); - if (lookahead == ';') ADVANCE(378); - if (lookahead == '<') + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); if (lookahead == '=') - ADVANCE(447); + ADVANCE(373); if (lookahead == '>') - ADVANCE(384); + ADVANCE(386); + if (lookahead == '[') + ADVANCE(389); if (lookahead == '\\') - ADVANCE(462); + ADVANCE(465); if (lookahead == ']') - ADVANCE(391); + ADVANCE(393); + if (lookahead == 'c') + ADVANCE(395); + if (lookahead == 'f') + ADVANCE(399); if (lookahead == 'i') - ADVANCE(426); + ADVANCE(409); + if (lookahead == 'w') + ADVANCE(412); if (lookahead == '{') ADVANCE(150); if (lookahead == '|') - ADVANCE(416); + ADVANCE(418); if (lookahead == '}') - ADVANCE(419); + ADVANCE(421); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(463); + ADVANCE(467); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '`') - ADVANCE(370); + ADVANCE(372); END_STATE(); - case 464: + case 467: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(464); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(379); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(373); + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '[') + ADVANCE(389); + if (lookahead == '\\') + ADVANCE(465); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == 'c') + ADVANCE(395); + if (lookahead == 'f') + ADVANCE(399); + if (lookahead == 'i') + ADVANCE(409); + if (lookahead == 'w') + ADVANCE(412); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(418); + if (lookahead == '}') + ADVANCE(421); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(467); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 468: + if (lookahead == '\n') + ADVANCE(469); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '$') + ADVANCE(423); + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(449); + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '\\') + ADVANCE(470); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(428); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(418); + if (lookahead == '}') + ADVANCE(421); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(471); + if (lookahead != 0) + ADVANCE(372); + END_STATE(); + case 469: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(469); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(449); + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '\\') + ADVANCE(470); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == 'i') + ADVANCE(428); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(418); + if (lookahead == '}') + ADVANCE(421); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(471); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 470: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(471); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 471: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(469); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(366); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '(') + ADVANCE(377); + if (lookahead == ')') + ADVANCE(378); + if (lookahead == ':') + ADVANCE(446); + if (lookahead == ';') + ADVANCE(380); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '=') + ADVANCE(449); + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '\\') + ADVANCE(470); + if (lookahead == ']') + ADVANCE(393); + if (lookahead == 'i') + ADVANCE(428); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(418); + if (lookahead == '}') + ADVANCE(421); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(471); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(372); + END_STATE(); + case 472: if (lookahead == 0) ADVANCE(1); if (lookahead == '\"') @@ -8924,17 +9221,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(5); if (lookahead == '$') - ADVANCE(421); + ADVANCE(423); if (lookahead == '&') ADVANCE(77); if (lookahead == '\'') - ADVANCE(323); + ADVANCE(327); if (lookahead == '(') ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ':') - ADVANCE(326); + ADVANCE(330); if (lookahead == ';') ADVANCE(160); if (lookahead == '<') @@ -8942,25 +9239,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(86); if (lookahead == '[') - ADVANCE(327); + ADVANCE(331); if (lookahead == '\\') - SKIP(465); + SKIP(473); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') - ADVANCE(330); + ADVANCE(334); if (lookahead == 'd') - ADVANCE(466); + ADVANCE(474); if (lookahead == 'e') - ADVANCE(470); + ADVANCE(478); if (lookahead == 'f') - ADVANCE(479); + ADVANCE(487); if (lookahead == 'i') - ADVANCE(481); + ADVANCE(489); if (lookahead == 't') - ADVANCE(483); + ADVANCE(491); if (lookahead == 'w') - ADVANCE(346); + ADVANCE(350); if (lookahead == '}') ADVANCE(72); if (lookahead == '=' || @@ -8970,225 +9267,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(464); + SKIP(472); if ((lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 465: - if (lookahead == '\n') - SKIP(464); - END_STATE(); - case 466: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'o') - ADVANCE(467); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 467: - ACCEPT_TOKEN(anon_sym_do); - if (lookahead == 'n') - ADVANCE(468); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 468: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(469); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 469: - ACCEPT_TOKEN(anon_sym_done); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 470: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'l') - ADVANCE(471); - if (lookahead == 's') - ADVANCE(476); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 471: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') - ADVANCE(472); - if (lookahead == 's') - ADVANCE(474); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 472: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') - ADVANCE(473); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 473: - ACCEPT_TOKEN(anon_sym_elif); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + if (lookahead == '\n') + SKIP(472); END_STATE(); case 474: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') + if (lookahead == 'o') ADVANCE(475); if (lookahead == ':' || lookahead == '=' || @@ -9210,10 +9299,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 475: - ACCEPT_TOKEN(anon_sym_else); + ACCEPT_TOKEN(anon_sym_do); + if (lookahead == 'n') + ADVANCE(476); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -9234,11 +9325,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 476: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'a') + if (lookahead == 'e') ADVANCE(477); if (lookahead == ':' || lookahead == '=' || @@ -9259,14 +9350,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && lookahead != '`' && - lookahead != 'a' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 477: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'c') - ADVANCE(478); + ACCEPT_TOKEN(anon_sym_done); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -9287,141 +9375,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); case 478: - ACCEPT_TOKEN(anon_sym_esac); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 479: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') - ADVANCE(480); - if (lookahead == 'o') - ADVANCE(335); - if (lookahead == 'u') - ADVANCE(337); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 480: - ACCEPT_TOKEN(anon_sym_fi); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 481: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') - ADVANCE(345); - if (lookahead == 'n') - ADVANCE(482); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 482: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 483: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'h') + if (lookahead == 'l') + ADVANCE(479); + if (lookahead == 's') ADVANCE(484); if (lookahead == ':' || lookahead == '=' || @@ -9443,384 +9403,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 484: + case 479: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(485); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 485: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') - ADVANCE(486); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 486: - ACCEPT_TOKEN(anon_sym_then); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 487: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(488); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(487); - END_STATE(); - case 488: - if (lookahead == '\n') - SKIP(487); - END_STATE(); - case 489: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(490); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(489); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 490: - if (lookahead == '\n') - SKIP(489); - END_STATE(); - case 491: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(492); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(495); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(491); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 492: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '&') - ADVANCE(85); - if (lookahead == '<') - ADVANCE(493); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '=') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 493: - ACCEPT_TOKEN(anon_sym_LT_LT); - if (lookahead == '-') - ADVANCE(494); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 494: - ACCEPT_TOKEN(anon_sym_LT_LT_DASH); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 495: - if (lookahead == '\n') - SKIP(491); - END_STATE(); - case 496: - if (lookahead == '\n') - ADVANCE(497); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(421); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == '\'') - ADVANCE(323); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(326); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(492); - if (lookahead == '=') - ADVANCE(120); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(499); - if (lookahead == ']') - ADVANCE(500); - if (lookahead == '`') - ADVANCE(28); if (lookahead == 'i') - ADVANCE(502); - if (lookahead == '|') - ADVANCE(226); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(498); - if (lookahead != 0 && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 497: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(497); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(498); - END_STATE(); - case 498: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(497); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(498); - END_STATE(); - case 499: - if (lookahead == '\n') - SKIP(496); - END_STATE(); - case 500: - ACCEPT_TOKEN(anon_sym_RBRACK); - if (lookahead == ']') - ADVANCE(501); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != ']' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 501: - ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 502: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') + ADVANCE(480); + if (lookahead == 's') ADVANCE(482); if (lookahead == ':' || lookahead == '=' || @@ -9842,416 +9431,424 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(325); + ADVANCE(329); END_STATE(); - case 503: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(421); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == '\'') - ADVANCE(323); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(326); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(492); - if (lookahead == '=') + case 480: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(481); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') ADVANCE(120); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(504); - if (lookahead == ']') - ADVANCE(500); - if (lookahead == '`') - ADVANCE(28); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 481: + ACCEPT_TOKEN(anon_sym_elif); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 482: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(483); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 483: + ACCEPT_TOKEN(anon_sym_else); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 484: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'a') + ADVANCE(485); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + lookahead != 'a' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 485: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'c') + ADVANCE(486); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 486: + ACCEPT_TOKEN(anon_sym_esac); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 487: + ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(502); - if (lookahead == '|') - ADVANCE(226); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(503); - if (lookahead != 0 && - (lookahead < '{' || lookahead > '}')) - ADVANCE(325); - END_STATE(); - case 504: - if (lookahead == '\n') - SKIP(503); - END_STATE(); - case 505: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(506); - if (lookahead == ']') - ADVANCE(216); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(226); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(505); - if (lookahead != 0 && - (lookahead < '{' || lookahead > '}')) + ADVANCE(488); + if (lookahead == 'o') + ADVANCE(339); + if (lookahead == 'u') + ADVANCE(341); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); END_STATE(); - case 506: - if (lookahead == '\n') - SKIP(505); + case 488: + ACCEPT_TOKEN(anon_sym_fi); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); END_STATE(); - case 507: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(421); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == '\'') - ADVANCE(323); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(326); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') + case 489: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(349); + if (lookahead == 'n') + ADVANCE(490); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 490: + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 491: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'h') ADVANCE(492); - if (lookahead == '=') + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') ADVANCE(120); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(508); - if (lookahead == ']') - ADVANCE(500); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'i') - ADVANCE(502); - if (lookahead == '{') - ADVANCE(69); - if (lookahead == '|') - ADVANCE(226); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(507); - if (lookahead != 0) - ADVANCE(325); - END_STATE(); - case 508: - if (lookahead == '\n') - SKIP(507); - END_STATE(); - case 509: - if (lookahead == '\n') - ADVANCE(510); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(512); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(511); - END_STATE(); - case 510: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(510); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(511); - END_STATE(); - case 511: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(510); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(511); - END_STATE(); - case 512: - if (lookahead == '\n') - SKIP(509); - END_STATE(); - case 513: - if (lookahead == '\n') - ADVANCE(514); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(516); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(515); - END_STATE(); - case 514: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(514); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(515); - END_STATE(); - case 515: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(514); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(515); - END_STATE(); - case 516: - if (lookahead == '\n') - SKIP(513); - END_STATE(); - case 517: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(176); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '\\') - SKIP(518); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(517); - END_STATE(); - case 518: - if (lookahead == '\n') - SKIP(517); - END_STATE(); - case 519: - if (lookahead == '\n') - ADVANCE(520); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(522); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(521); - END_STATE(); - case 520: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(520); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(521); - END_STATE(); - case 521: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(520); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(521); - END_STATE(); - case 522: - if (lookahead == '\n') - SKIP(519); - END_STATE(); - case 523: - if (lookahead == '\n') - ADVANCE(524); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(526); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(525); - END_STATE(); - case 524: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(524); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(525); - END_STATE(); - case 525: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(524); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(525); - END_STATE(); - case 526: - if (lookahead == '\n') - SKIP(523); - END_STATE(); - case 527: - if (lookahead == '\n') - ADVANCE(175); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(528); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(226); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(527); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 492: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(493); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); END_STATE(); - case 528: + case 493: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(494); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 494: + ACCEPT_TOKEN(anon_sym_then); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 495: if (lookahead == '\n') - SKIP(527); + ADVANCE(175); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(496); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(495); END_STATE(); - case 529: + case 496: + if (lookahead == '\n') + SKIP(495); + END_STATE(); + case 497: if (lookahead == '\n') ADVANCE(175); if (lookahead == '\"') @@ -10275,26 +9872,588 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(86); if (lookahead == '\\') - SKIP(530); + SKIP(498); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') ADVANCE(146); - if (lookahead == '}') - ADVANCE(72); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(529); + SKIP(497); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); + case 498: + if (lookahead == '\n') + SKIP(497); + END_STATE(); + case 499: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(500); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(503); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(499); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 500: + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '&') + ADVANCE(85); + if (lookahead == '<') + ADVANCE(501); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '=') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 501: + ACCEPT_TOKEN(anon_sym_LT_LT); + if (lookahead == '-') + ADVANCE(502); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 502: + ACCEPT_TOKEN(anon_sym_LT_LT_DASH); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 503: + if (lookahead == '\n') + SKIP(499); + END_STATE(); + case 504: + if (lookahead == '\n') + ADVANCE(505); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(423); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(327); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(330); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(500); + if (lookahead == '=') + ADVANCE(120); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(507); + if (lookahead == ']') + ADVANCE(508); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(510); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(506); + if (lookahead != 0 && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 505: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(505); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(506); + END_STATE(); + case 506: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(505); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(506); + END_STATE(); + case 507: + if (lookahead == '\n') + SKIP(504); + END_STATE(); + case 508: + ACCEPT_TOKEN(anon_sym_RBRACK); + if (lookahead == ']') + ADVANCE(509); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != ']' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 509: + ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 510: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(490); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 511: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(423); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(327); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(330); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(500); + if (lookahead == '=') + ADVANCE(120); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(512); + if (lookahead == ']') + ADVANCE(508); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(510); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(511); + if (lookahead != 0 && + (lookahead < '{' || lookahead > '}')) + ADVANCE(329); + END_STATE(); + case 512: + if (lookahead == '\n') + SKIP(511); + END_STATE(); + case 513: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(124); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == '\'') + ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(514); + if (lookahead == ']') + ADVANCE(216); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(513); + if (lookahead != 0 && + (lookahead < '{' || lookahead > '}')) + ADVANCE(120); + END_STATE(); + case 514: + if (lookahead == '\n') + SKIP(513); + END_STATE(); + case 515: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(423); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(327); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(330); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(500); + if (lookahead == '=') + ADVANCE(120); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(516); + if (lookahead == ']') + ADVANCE(508); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(510); + if (lookahead == '{') + ADVANCE(69); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(515); + if (lookahead != 0) + ADVANCE(329); + END_STATE(); + case 516: + if (lookahead == '\n') + SKIP(515); + END_STATE(); + case 517: + if (lookahead == '\n') + ADVANCE(518); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(520); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(519); + END_STATE(); + case 518: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(518); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(519); + END_STATE(); + case 519: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(518); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(519); + END_STATE(); + case 520: + if (lookahead == '\n') + SKIP(517); + END_STATE(); + case 521: + if (lookahead == '\n') + ADVANCE(522); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(524); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(523); + END_STATE(); + case 522: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(522); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(523); + END_STATE(); + case 523: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(522); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(523); + END_STATE(); + case 524: + if (lookahead == '\n') + SKIP(521); + END_STATE(); + case 525: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(176); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '\\') + SKIP(526); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(525); + END_STATE(); + case 526: + if (lookahead == '\n') + SKIP(525); + END_STATE(); + case 527: + if (lookahead == '\n') + ADVANCE(528); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(530); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(529); + END_STATE(); + case 528: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(528); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(529); + END_STATE(); + case 529: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(528); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(529); + END_STATE(); case 530: if (lookahead == '\n') - SKIP(529); + SKIP(527); END_STATE(); case 531: if (lookahead == '\n') @@ -10303,6 +10462,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(5); if (lookahead == '&') ADVANCE(138); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ';') @@ -10349,10 +10510,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 535: if (lookahead == '\n') ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); if (lookahead == '#') ADVANCE(5); + if (lookahead == '$') + ADVANCE(124); if (lookahead == '&') ADVANCE(138); + if (lookahead == '\'') + ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ';') @@ -10363,12 +10532,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(18); if (lookahead == '\\') SKIP(536); + if (lookahead == '`') + ADVANCE(28); if (lookahead == '|') - ADVANCE(146); + ADVANCE(226); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') SKIP(535); + if (lookahead != 0 && + (lookahead < '{' || lookahead > '}')) + ADVANCE(120); END_STATE(); case 536: if (lookahead == '\n') @@ -10376,7 +10550,52 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 537: if (lookahead == '\n') - ADVANCE(538); + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(538); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(537); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 538: + if (lookahead == '\n') + SKIP(537); + END_STATE(); + case 539: + if (lookahead == '\n') + ADVANCE(540); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -10392,35 +10611,113 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(540); + SKIP(542); + if (lookahead == '`') + ADVANCE(28); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(539); - END_STATE(); - case 538: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(538); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(539); - END_STATE(); - case 539: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(538); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(539); + ADVANCE(541); END_STATE(); case 540: + ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - SKIP(537); + ADVANCE(540); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(541); + END_STATE(); + case 541: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(540); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(541); + END_STATE(); + case 542: + if (lookahead == '\n') + SKIP(539); + END_STATE(); + case 543: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(544); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(543); + END_STATE(); + case 544: + if (lookahead == '\n') + SKIP(543); + END_STATE(); + case 545: + if (lookahead == '\n') + ADVANCE(546); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(548); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(547); + END_STATE(); + case 546: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(546); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(547); + END_STATE(); + case 547: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(546); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(547); + END_STATE(); + case 548: + if (lookahead == '\n') + SKIP(545); END_STATE(); default: return false; @@ -10462,8 +10759,8 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [31] = {.lex_state = 195}, [32] = {.lex_state = 148}, [33] = {.lex_state = 197}, - [34] = {.lex_state = 199}, - [35] = {.lex_state = 204}, + [34] = {.lex_state = 199, .external_lex_state = 3}, + [35] = {.lex_state = 204, .external_lex_state = 3}, [36] = {.lex_state = 121, .external_lex_state = 2}, [37] = {.lex_state = 121, .external_lex_state = 2}, [38] = {.lex_state = 195}, @@ -10473,8 +10770,8 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [42] = {.lex_state = 195}, [43] = {.lex_state = 148}, [44] = {.lex_state = 214}, - [45] = {.lex_state = 199}, - [46] = {.lex_state = 204}, + [45] = {.lex_state = 199, .external_lex_state = 3}, + [46] = {.lex_state = 204, .external_lex_state = 3}, [47] = {.lex_state = 121, .external_lex_state = 2}, [48] = {.lex_state = 121, .external_lex_state = 2}, [49] = {.lex_state = 218}, @@ -10482,21 +10779,21 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [51] = {.lex_state = 113}, [52] = {.lex_state = 224, .external_lex_state = 2}, [53] = {.lex_state = 123}, - [54] = {.lex_state = 228, .external_lex_state = 3}, + [54] = {.lex_state = 228, .external_lex_state = 4}, [55] = {.lex_state = 230, .external_lex_state = 2}, [56] = {.lex_state = 230, .external_lex_state = 2}, [57] = {.lex_state = 193}, [58] = {.lex_state = 195}, [59] = {.lex_state = 148}, [60] = {.lex_state = 182, .external_lex_state = 2}, - [61] = {.lex_state = 199}, - [62] = {.lex_state = 204}, + [61] = {.lex_state = 199, .external_lex_state = 3}, + [62] = {.lex_state = 204, .external_lex_state = 3}, [63] = {.lex_state = 121, .external_lex_state = 2}, [64] = {.lex_state = 121, .external_lex_state = 2}, [65] = {.lex_state = 135, .external_lex_state = 2}, [66] = {.lex_state = 148}, - [67] = {.lex_state = 199}, - [68] = {.lex_state = 204}, + [67] = {.lex_state = 199, .external_lex_state = 3}, + [68] = {.lex_state = 204, .external_lex_state = 3}, [69] = {.lex_state = 121, .external_lex_state = 2}, [70] = {.lex_state = 121, .external_lex_state = 2}, [71] = {.lex_state = 148}, @@ -10523,7 +10820,7 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [92] = {.lex_state = 182, .external_lex_state = 2}, [93] = {.lex_state = 255}, [94] = {.lex_state = 224, .external_lex_state = 2}, - [95] = {.lex_state = 123, .external_lex_state = 4}, + [95] = {.lex_state = 123, .external_lex_state = 5}, [96] = {.lex_state = 230, .external_lex_state = 2}, [97] = {.lex_state = 257, .external_lex_state = 2}, [98] = {.lex_state = 121, .external_lex_state = 2}, @@ -10550,1056 +10847,1146 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [119] = {.lex_state = 197}, [120] = {.lex_state = 197}, [121] = {.lex_state = 277}, - [122] = {.lex_state = 282}, - [123] = {.lex_state = 282}, - [124] = {.lex_state = 239}, - [125] = {.lex_state = 242, .external_lex_state = 2}, - [126] = {.lex_state = 251}, - [127] = {.lex_state = 253, .external_lex_state = 2}, - [128] = {.lex_state = 255}, - [129] = {.lex_state = 174}, - [130] = {.lex_state = 284}, - [131] = {.lex_state = 193}, - [132] = {.lex_state = 121, .external_lex_state = 2}, - [133] = {.lex_state = 284}, - [134] = {.lex_state = 148}, - [135] = {.lex_state = 214}, - [136] = {.lex_state = 284}, - [137] = {.lex_state = 284}, - [138] = {.lex_state = 282}, - [139] = {.lex_state = 282}, - [140] = {.lex_state = 239}, - [141] = {.lex_state = 242, .external_lex_state = 2}, - [142] = {.lex_state = 251}, - [143] = {.lex_state = 253, .external_lex_state = 2}, - [144] = {.lex_state = 174}, - [145] = {.lex_state = 214}, - [146] = {.lex_state = 123}, - [147] = {.lex_state = 193}, + [122] = {.lex_state = 282, .external_lex_state = 3}, + [123] = {.lex_state = 284}, + [124] = {.lex_state = 284}, + [125] = {.lex_state = 239}, + [126] = {.lex_state = 242, .external_lex_state = 2}, + [127] = {.lex_state = 251}, + [128] = {.lex_state = 253, .external_lex_state = 2}, + [129] = {.lex_state = 255}, + [130] = {.lex_state = 174}, + [131] = {.lex_state = 286}, + [132] = {.lex_state = 193}, + [133] = {.lex_state = 121, .external_lex_state = 2}, + [134] = {.lex_state = 286}, + [135] = {.lex_state = 148}, + [136] = {.lex_state = 214}, + [137] = {.lex_state = 286}, + [138] = {.lex_state = 286}, + [139] = {.lex_state = 282, .external_lex_state = 3}, + [140] = {.lex_state = 284}, + [141] = {.lex_state = 284}, + [142] = {.lex_state = 239}, + [143] = {.lex_state = 242, .external_lex_state = 2}, + [144] = {.lex_state = 251}, + [145] = {.lex_state = 253, .external_lex_state = 2}, + [146] = {.lex_state = 174}, + [147] = {.lex_state = 214}, [148] = {.lex_state = 123}, - [149] = {.lex_state = 148}, - [150] = {.lex_state = 224, .external_lex_state = 2}, - [151] = {.lex_state = 199}, - [152] = {.lex_state = 204}, - [153] = {.lex_state = 121, .external_lex_state = 2}, - [154] = {.lex_state = 121, .external_lex_state = 2}, - [155] = {.lex_state = 224, .external_lex_state = 2}, - [156] = {.lex_state = 230, .external_lex_state = 2}, - [157] = {.lex_state = 193}, - [158] = {.lex_state = 195}, - [159] = {.lex_state = 148}, - [160] = {.lex_state = 230, .external_lex_state = 2}, - [161] = {.lex_state = 199}, - [162] = {.lex_state = 204}, - [163] = {.lex_state = 121, .external_lex_state = 2}, - [164] = {.lex_state = 121, .external_lex_state = 2}, - [165] = {.lex_state = 230, .external_lex_state = 2}, - [166] = {.lex_state = 286, .external_lex_state = 5}, + [149] = {.lex_state = 193}, + [150] = {.lex_state = 123}, + [151] = {.lex_state = 148}, + [152] = {.lex_state = 224, .external_lex_state = 2}, + [153] = {.lex_state = 199, .external_lex_state = 3}, + [154] = {.lex_state = 204, .external_lex_state = 3}, + [155] = {.lex_state = 121, .external_lex_state = 2}, + [156] = {.lex_state = 121, .external_lex_state = 2}, + [157] = {.lex_state = 224, .external_lex_state = 2}, + [158] = {.lex_state = 230, .external_lex_state = 2}, + [159] = {.lex_state = 193}, + [160] = {.lex_state = 195}, + [161] = {.lex_state = 148}, + [162] = {.lex_state = 230, .external_lex_state = 2}, + [163] = {.lex_state = 199, .external_lex_state = 3}, + [164] = {.lex_state = 204, .external_lex_state = 3}, + [165] = {.lex_state = 121, .external_lex_state = 2}, + [166] = {.lex_state = 121, .external_lex_state = 2}, [167] = {.lex_state = 230, .external_lex_state = 2}, - [168] = {.lex_state = 230, .external_lex_state = 2}, - [169] = {.lex_state = 242, .external_lex_state = 2}, - [170] = {.lex_state = 193}, - [171] = {.lex_state = 121, .external_lex_state = 2}, - [172] = {.lex_state = 242, .external_lex_state = 2}, - [173] = {.lex_state = 148}, + [168] = {.lex_state = 288, .external_lex_state = 6}, + [169] = {.lex_state = 230, .external_lex_state = 2}, + [170] = {.lex_state = 230, .external_lex_state = 2}, + [171] = {.lex_state = 242, .external_lex_state = 2}, + [172] = {.lex_state = 193}, + [173] = {.lex_state = 121, .external_lex_state = 2}, [174] = {.lex_state = 242, .external_lex_state = 2}, - [175] = {.lex_state = 242, .external_lex_state = 2}, + [175] = {.lex_state = 148}, [176] = {.lex_state = 242, .external_lex_state = 2}, - [177] = {.lex_state = 282}, - [178] = {.lex_state = 282}, - [179] = {.lex_state = 239}, - [180] = {.lex_state = 242, .external_lex_state = 2}, - [181] = {.lex_state = 251}, - [182] = {.lex_state = 253, .external_lex_state = 2}, - [183] = {.lex_state = 148}, - [184] = {.lex_state = 148}, - [185] = {.lex_state = 148}, - [186] = {.lex_state = 282}, - [187] = {.lex_state = 282}, - [188] = {.lex_state = 239}, - [189] = {.lex_state = 242, .external_lex_state = 2}, - [190] = {.lex_state = 251}, - [191] = {.lex_state = 253, .external_lex_state = 2}, - [192] = {.lex_state = 135, .external_lex_state = 2}, - [193] = {.lex_state = 148}, - [194] = {.lex_state = 184}, - [195] = {.lex_state = 187}, - [196] = {.lex_state = 191}, - [197] = {.lex_state = 197}, - [198] = {.lex_state = 195}, - [199] = {.lex_state = 289}, - [200] = {.lex_state = 133, .external_lex_state = 2}, - [201] = {.lex_state = 218}, - [202] = {.lex_state = 221}, - [203] = {.lex_state = 113}, - [204] = {.lex_state = 291, .external_lex_state = 2}, - [205] = {.lex_state = 123}, - [206] = {.lex_state = 228, .external_lex_state = 3}, - [207] = {.lex_state = 293, .external_lex_state = 2}, + [177] = {.lex_state = 242, .external_lex_state = 2}, + [178] = {.lex_state = 242, .external_lex_state = 2}, + [179] = {.lex_state = 282, .external_lex_state = 3}, + [180] = {.lex_state = 284}, + [181] = {.lex_state = 284}, + [182] = {.lex_state = 239}, + [183] = {.lex_state = 242, .external_lex_state = 2}, + [184] = {.lex_state = 251}, + [185] = {.lex_state = 253, .external_lex_state = 2}, + [186] = {.lex_state = 148}, + [187] = {.lex_state = 148}, + [188] = {.lex_state = 148}, + [189] = {.lex_state = 282, .external_lex_state = 3}, + [190] = {.lex_state = 284}, + [191] = {.lex_state = 284}, + [192] = {.lex_state = 239}, + [193] = {.lex_state = 242, .external_lex_state = 2}, + [194] = {.lex_state = 251}, + [195] = {.lex_state = 253, .external_lex_state = 2}, + [196] = {.lex_state = 135, .external_lex_state = 2}, + [197] = {.lex_state = 148}, + [198] = {.lex_state = 184}, + [199] = {.lex_state = 187}, + [200] = {.lex_state = 191}, + [201] = {.lex_state = 197}, + [202] = {.lex_state = 195}, + [203] = {.lex_state = 291}, + [204] = {.lex_state = 133, .external_lex_state = 2}, + [205] = {.lex_state = 218}, + [206] = {.lex_state = 221}, + [207] = {.lex_state = 113}, [208] = {.lex_state = 293, .external_lex_state = 2}, - [209] = {.lex_state = 295, .external_lex_state = 2}, - [210] = {.lex_state = 148}, - [211] = {.lex_state = 239}, - [212] = {.lex_state = 242, .external_lex_state = 2}, - [213] = {.lex_state = 251}, - [214] = {.lex_state = 253, .external_lex_state = 2}, - [215] = {.lex_state = 255}, - [216] = {.lex_state = 291, .external_lex_state = 2}, - [217] = {.lex_state = 123, .external_lex_state = 4}, - [218] = {.lex_state = 293, .external_lex_state = 2}, - [219] = {.lex_state = 135, .external_lex_state = 2}, - [220] = {.lex_state = 121, .external_lex_state = 2}, - [221] = {.lex_state = 121, .external_lex_state = 2}, - [222] = {.lex_state = 232, .external_lex_state = 2}, - [223] = {.lex_state = 298, .external_lex_state = 2}, - [224] = {.lex_state = 301, .external_lex_state = 2}, - [225] = {.lex_state = 301, .external_lex_state = 2}, - [226] = {.lex_state = 121, .external_lex_state = 2}, - [227] = {.lex_state = 121, .external_lex_state = 2}, - [228] = {.lex_state = 245, .external_lex_state = 2}, + [209] = {.lex_state = 123}, + [210] = {.lex_state = 228, .external_lex_state = 4}, + [211] = {.lex_state = 295, .external_lex_state = 2}, + [212] = {.lex_state = 295, .external_lex_state = 2}, + [213] = {.lex_state = 297, .external_lex_state = 2}, + [214] = {.lex_state = 148}, + [215] = {.lex_state = 239}, + [216] = {.lex_state = 242, .external_lex_state = 2}, + [217] = {.lex_state = 251}, + [218] = {.lex_state = 253, .external_lex_state = 2}, + [219] = {.lex_state = 255}, + [220] = {.lex_state = 293, .external_lex_state = 2}, + [221] = {.lex_state = 123, .external_lex_state = 5}, + [222] = {.lex_state = 295, .external_lex_state = 2}, + [223] = {.lex_state = 135, .external_lex_state = 2}, + [224] = {.lex_state = 121, .external_lex_state = 2}, + [225] = {.lex_state = 121, .external_lex_state = 2}, + [226] = {.lex_state = 232, .external_lex_state = 2}, + [227] = {.lex_state = 300, .external_lex_state = 2}, + [228] = {.lex_state = 303, .external_lex_state = 2}, [229] = {.lex_state = 303, .external_lex_state = 2}, - [230] = {.lex_state = 306}, - [231] = {.lex_state = 224, .external_lex_state = 2}, - [232] = {.lex_state = 230, .external_lex_state = 2}, - [233] = {.lex_state = 178, .external_lex_state = 2}, - [234] = {.lex_state = 193}, - [235] = {.lex_state = 195}, - [236] = {.lex_state = 148}, - [237] = {.lex_state = 199}, - [238] = {.lex_state = 204}, - [239] = {.lex_state = 121, .external_lex_state = 2}, - [240] = {.lex_state = 121, .external_lex_state = 2}, - [241] = {.lex_state = 174}, - [242] = {.lex_state = 178, .external_lex_state = 2}, - [243] = {.lex_state = 174}, - [244] = {.lex_state = 178, .external_lex_state = 2}, - [245] = {.lex_state = 224, .external_lex_state = 2}, - [246] = {.lex_state = 224, .external_lex_state = 2}, - [247] = {.lex_state = 230, .external_lex_state = 2}, - [248] = {.lex_state = 187}, - [249] = {.lex_state = 174}, - [250] = {.lex_state = 269, .external_lex_state = 2}, - [251] = {.lex_state = 174}, - [252] = {.lex_state = 121, .external_lex_state = 2}, - [253] = {.lex_state = 308, .external_lex_state = 2}, - [254] = {.lex_state = 310}, - [255] = {.lex_state = 314}, - [256] = {.lex_state = 273, .external_lex_state = 2}, - [257] = {.lex_state = 310}, - [258] = {.lex_state = 197}, - [259] = {.lex_state = 193}, - [260] = {.lex_state = 239}, - [261] = {.lex_state = 242, .external_lex_state = 2}, + [230] = {.lex_state = 121, .external_lex_state = 2}, + [231] = {.lex_state = 121, .external_lex_state = 2}, + [232] = {.lex_state = 245, .external_lex_state = 2}, + [233] = {.lex_state = 305, .external_lex_state = 2}, + [234] = {.lex_state = 308}, + [235] = {.lex_state = 224, .external_lex_state = 2}, + [236] = {.lex_state = 230, .external_lex_state = 2}, + [237] = {.lex_state = 178, .external_lex_state = 2}, + [238] = {.lex_state = 193}, + [239] = {.lex_state = 195}, + [240] = {.lex_state = 148}, + [241] = {.lex_state = 199, .external_lex_state = 3}, + [242] = {.lex_state = 204, .external_lex_state = 3}, + [243] = {.lex_state = 121, .external_lex_state = 2}, + [244] = {.lex_state = 121, .external_lex_state = 2}, + [245] = {.lex_state = 174}, + [246] = {.lex_state = 178, .external_lex_state = 2}, + [247] = {.lex_state = 174}, + [248] = {.lex_state = 178, .external_lex_state = 2}, + [249] = {.lex_state = 224, .external_lex_state = 2}, + [250] = {.lex_state = 224, .external_lex_state = 2}, + [251] = {.lex_state = 230, .external_lex_state = 2}, + [252] = {.lex_state = 187}, + [253] = {.lex_state = 174}, + [254] = {.lex_state = 269, .external_lex_state = 2}, + [255] = {.lex_state = 174}, + [256] = {.lex_state = 121, .external_lex_state = 2}, + [257] = {.lex_state = 310, .external_lex_state = 2}, + [258] = {.lex_state = 312}, + [259] = {.lex_state = 316}, + [260] = {.lex_state = 273, .external_lex_state = 2}, + [261] = {.lex_state = 312}, [262] = {.lex_state = 197}, - [263] = {.lex_state = 316}, - [264] = {.lex_state = 275}, - [265] = {.lex_state = 197}, - [266] = {.lex_state = 123}, - [267] = {.lex_state = 197}, - [268] = {.lex_state = 123}, - [269] = {.lex_state = 197}, - [270] = {.lex_state = 306}, - [271] = {.lex_state = 284}, - [272] = {.lex_state = 239}, - [273] = {.lex_state = 242, .external_lex_state = 2}, - [274] = {.lex_state = 284}, - [275] = {.lex_state = 284}, - [276] = {.lex_state = 123}, - [277] = {.lex_state = 284}, - [278] = {.lex_state = 123}, - [279] = {.lex_state = 284}, - [280] = {.lex_state = 230, .external_lex_state = 2}, - [281] = {.lex_state = 224, .external_lex_state = 2}, - [282] = {.lex_state = 193}, - [283] = {.lex_state = 322, .external_lex_state = 2}, - [284] = {.lex_state = 224, .external_lex_state = 2}, - [285] = {.lex_state = 148}, - [286] = {.lex_state = 224, .external_lex_state = 2}, - [287] = {.lex_state = 224, .external_lex_state = 2}, - [288] = {.lex_state = 224, .external_lex_state = 2}, - [289] = {.lex_state = 282}, - [290] = {.lex_state = 282}, - [291] = {.lex_state = 239}, - [292] = {.lex_state = 242, .external_lex_state = 2}, - [293] = {.lex_state = 251}, - [294] = {.lex_state = 253, .external_lex_state = 2}, + [263] = {.lex_state = 193}, + [264] = {.lex_state = 239}, + [265] = {.lex_state = 242, .external_lex_state = 2}, + [266] = {.lex_state = 197}, + [267] = {.lex_state = 318}, + [268] = {.lex_state = 275}, + [269] = {.lex_state = 324}, + [270] = {.lex_state = 324}, + [271] = {.lex_state = 197}, + [272] = {.lex_state = 123}, + [273] = {.lex_state = 197}, + [274] = {.lex_state = 123}, + [275] = {.lex_state = 197}, + [276] = {.lex_state = 308}, + [277] = {.lex_state = 286}, + [278] = {.lex_state = 239}, + [279] = {.lex_state = 242, .external_lex_state = 2}, + [280] = {.lex_state = 286}, + [281] = {.lex_state = 324}, + [282] = {.lex_state = 324}, + [283] = {.lex_state = 286}, + [284] = {.lex_state = 123}, + [285] = {.lex_state = 286}, + [286] = {.lex_state = 123}, + [287] = {.lex_state = 286}, + [288] = {.lex_state = 230, .external_lex_state = 2}, + [289] = {.lex_state = 224, .external_lex_state = 2}, + [290] = {.lex_state = 193}, + [291] = {.lex_state = 326, .external_lex_state = 2}, + [292] = {.lex_state = 224, .external_lex_state = 2}, + [293] = {.lex_state = 148}, + [294] = {.lex_state = 224, .external_lex_state = 2}, [295] = {.lex_state = 224, .external_lex_state = 2}, - [296] = {.lex_state = 230, .external_lex_state = 2}, - [297] = {.lex_state = 230, .external_lex_state = 2}, - [298] = {.lex_state = 193}, - [299] = {.lex_state = 121, .external_lex_state = 2}, - [300] = {.lex_state = 230, .external_lex_state = 2}, - [301] = {.lex_state = 148}, - [302] = {.lex_state = 230, .external_lex_state = 2}, - [303] = {.lex_state = 230, .external_lex_state = 2}, - [304] = {.lex_state = 230, .external_lex_state = 2}, - [305] = {.lex_state = 282}, - [306] = {.lex_state = 282}, - [307] = {.lex_state = 239}, - [308] = {.lex_state = 242, .external_lex_state = 2}, - [309] = {.lex_state = 251}, - [310] = {.lex_state = 253, .external_lex_state = 2}, - [311] = {.lex_state = 286, .external_lex_state = 5}, + [296] = {.lex_state = 224, .external_lex_state = 2}, + [297] = {.lex_state = 282, .external_lex_state = 3}, + [298] = {.lex_state = 284}, + [299] = {.lex_state = 284}, + [300] = {.lex_state = 239}, + [301] = {.lex_state = 242, .external_lex_state = 2}, + [302] = {.lex_state = 251}, + [303] = {.lex_state = 253, .external_lex_state = 2}, + [304] = {.lex_state = 224, .external_lex_state = 2}, + [305] = {.lex_state = 230, .external_lex_state = 2}, + [306] = {.lex_state = 230, .external_lex_state = 2}, + [307] = {.lex_state = 193}, + [308] = {.lex_state = 121, .external_lex_state = 2}, + [309] = {.lex_state = 230, .external_lex_state = 2}, + [310] = {.lex_state = 148}, + [311] = {.lex_state = 230, .external_lex_state = 2}, [312] = {.lex_state = 230, .external_lex_state = 2}, - [313] = {.lex_state = 199}, - [314] = {.lex_state = 204}, - [315] = {.lex_state = 286, .external_lex_state = 5}, - [316] = {.lex_state = 242, .external_lex_state = 2}, + [313] = {.lex_state = 230, .external_lex_state = 2}, + [314] = {.lex_state = 282, .external_lex_state = 3}, + [315] = {.lex_state = 284}, + [316] = {.lex_state = 284}, [317] = {.lex_state = 239}, [318] = {.lex_state = 242, .external_lex_state = 2}, - [319] = {.lex_state = 242, .external_lex_state = 2}, - [320] = {.lex_state = 242, .external_lex_state = 2}, - [321] = {.lex_state = 123}, - [322] = {.lex_state = 242, .external_lex_state = 2}, - [323] = {.lex_state = 123}, - [324] = {.lex_state = 242, .external_lex_state = 2}, - [325] = {.lex_state = 148}, - [326] = {.lex_state = 123}, - [327] = {.lex_state = 148}, - [328] = {.lex_state = 123}, - [329] = {.lex_state = 148}, - [330] = {.lex_state = 121, .external_lex_state = 2}, - [331] = {.lex_state = 269, .external_lex_state = 2}, - [332] = {.lex_state = 289}, - [333] = {.lex_state = 273, .external_lex_state = 2}, - [334] = {.lex_state = 275}, - [335] = {.lex_state = 184}, - [336] = {.lex_state = 255}, - [337] = {.lex_state = 289}, - [338] = {.lex_state = 289}, - [339] = {.lex_state = 123}, - [340] = {.lex_state = 193}, - [341] = {.lex_state = 123}, - [342] = {.lex_state = 148}, - [343] = {.lex_state = 291, .external_lex_state = 2}, - [344] = {.lex_state = 199}, - [345] = {.lex_state = 204}, - [346] = {.lex_state = 121, .external_lex_state = 2}, - [347] = {.lex_state = 121, .external_lex_state = 2}, - [348] = {.lex_state = 291, .external_lex_state = 2}, - [349] = {.lex_state = 293, .external_lex_state = 2}, - [350] = {.lex_state = 193}, - [351] = {.lex_state = 195}, - [352] = {.lex_state = 148}, - [353] = {.lex_state = 293, .external_lex_state = 2}, - [354] = {.lex_state = 199}, - [355] = {.lex_state = 204}, - [356] = {.lex_state = 121, .external_lex_state = 2}, - [357] = {.lex_state = 121, .external_lex_state = 2}, - [358] = {.lex_state = 293, .external_lex_state = 2}, - [359] = {.lex_state = 286, .external_lex_state = 5}, - [360] = {.lex_state = 293, .external_lex_state = 2}, - [361] = {.lex_state = 293, .external_lex_state = 2}, - [362] = {.lex_state = 295, .external_lex_state = 2}, + [319] = {.lex_state = 251}, + [320] = {.lex_state = 253, .external_lex_state = 2}, + [321] = {.lex_state = 288, .external_lex_state = 6}, + [322] = {.lex_state = 230, .external_lex_state = 2}, + [323] = {.lex_state = 199, .external_lex_state = 3}, + [324] = {.lex_state = 204, .external_lex_state = 3}, + [325] = {.lex_state = 288, .external_lex_state = 6}, + [326] = {.lex_state = 242, .external_lex_state = 2}, + [327] = {.lex_state = 239}, + [328] = {.lex_state = 242, .external_lex_state = 2}, + [329] = {.lex_state = 242, .external_lex_state = 2}, + [330] = {.lex_state = 324}, + [331] = {.lex_state = 324}, + [332] = {.lex_state = 242, .external_lex_state = 2}, + [333] = {.lex_state = 123}, + [334] = {.lex_state = 242, .external_lex_state = 2}, + [335] = {.lex_state = 123}, + [336] = {.lex_state = 242, .external_lex_state = 2}, + [337] = {.lex_state = 324}, + [338] = {.lex_state = 324}, + [339] = {.lex_state = 148}, + [340] = {.lex_state = 123}, + [341] = {.lex_state = 148}, + [342] = {.lex_state = 123}, + [343] = {.lex_state = 148}, + [344] = {.lex_state = 121, .external_lex_state = 2}, + [345] = {.lex_state = 269, .external_lex_state = 2}, + [346] = {.lex_state = 291}, + [347] = {.lex_state = 273, .external_lex_state = 2}, + [348] = {.lex_state = 275}, + [349] = {.lex_state = 184}, + [350] = {.lex_state = 255}, + [351] = {.lex_state = 291}, + [352] = {.lex_state = 291}, + [353] = {.lex_state = 123}, + [354] = {.lex_state = 193}, + [355] = {.lex_state = 123}, + [356] = {.lex_state = 148}, + [357] = {.lex_state = 293, .external_lex_state = 2}, + [358] = {.lex_state = 199, .external_lex_state = 3}, + [359] = {.lex_state = 204, .external_lex_state = 3}, + [360] = {.lex_state = 121, .external_lex_state = 2}, + [361] = {.lex_state = 121, .external_lex_state = 2}, + [362] = {.lex_state = 293, .external_lex_state = 2}, [363] = {.lex_state = 295, .external_lex_state = 2}, - [364] = {.lex_state = 306}, - [365] = {.lex_state = 291, .external_lex_state = 2}, - [366] = {.lex_state = 293, .external_lex_state = 2}, - [367] = {.lex_state = 242, .external_lex_state = 2}, - [368] = {.lex_state = 289}, - [369] = {.lex_state = 242, .external_lex_state = 2}, - [370] = {.lex_state = 239}, - [371] = {.lex_state = 242, .external_lex_state = 2}, - [372] = {.lex_state = 291, .external_lex_state = 2}, - [373] = {.lex_state = 291, .external_lex_state = 2}, - [374] = {.lex_state = 293, .external_lex_state = 2}, - [375] = {.lex_state = 301, .external_lex_state = 2}, - [376] = {.lex_state = 301, .external_lex_state = 2}, - [377] = {.lex_state = 253, .external_lex_state = 2}, - [378] = {.lex_state = 251}, - [379] = {.lex_state = 253, .external_lex_state = 2}, - [380] = {.lex_state = 301, .external_lex_state = 2}, - [381] = {.lex_state = 301, .external_lex_state = 2}, - [382] = {.lex_state = 351, .external_lex_state = 2}, - [383] = {.lex_state = 174}, - [384] = {.lex_state = 230, .external_lex_state = 2}, - [385] = {.lex_state = 178, .external_lex_state = 2}, - [386] = {.lex_state = 193}, - [387] = {.lex_state = 121, .external_lex_state = 2}, - [388] = {.lex_state = 178, .external_lex_state = 2}, - [389] = {.lex_state = 148}, - [390] = {.lex_state = 178, .external_lex_state = 2}, - [391] = {.lex_state = 178, .external_lex_state = 2}, - [392] = {.lex_state = 178, .external_lex_state = 2}, - [393] = {.lex_state = 282}, - [394] = {.lex_state = 282}, - [395] = {.lex_state = 239}, - [396] = {.lex_state = 242, .external_lex_state = 2}, - [397] = {.lex_state = 251}, - [398] = {.lex_state = 253, .external_lex_state = 2}, - [399] = {.lex_state = 224, .external_lex_state = 2}, - [400] = {.lex_state = 224, .external_lex_state = 2}, - [401] = {.lex_state = 230, .external_lex_state = 2}, - [402] = {.lex_state = 174}, - [403] = {.lex_state = 174}, - [404] = {.lex_state = 191}, - [405] = {.lex_state = 308, .external_lex_state = 2}, - [406] = {.lex_state = 174}, - [407] = {.lex_state = 314}, - [408] = {.lex_state = 310}, - [409] = {.lex_state = 310}, - [410] = {.lex_state = 197}, - [411] = {.lex_state = 174}, - [412] = {.lex_state = 255}, - [413] = {.lex_state = 199}, - [414] = {.lex_state = 316}, - [415] = {.lex_state = 316}, - [416] = {.lex_state = 316}, - [417] = {.lex_state = 353}, - [418] = {.lex_state = 353}, - [419] = {.lex_state = 174}, - [420] = {.lex_state = 284}, - [421] = {.lex_state = 353}, - [422] = {.lex_state = 353}, - [423] = {.lex_state = 224, .external_lex_state = 2}, - [424] = {.lex_state = 239}, - [425] = {.lex_state = 242, .external_lex_state = 2}, - [426] = {.lex_state = 224, .external_lex_state = 2}, - [427] = {.lex_state = 224, .external_lex_state = 2}, - [428] = {.lex_state = 123}, - [429] = {.lex_state = 224, .external_lex_state = 2}, - [430] = {.lex_state = 123}, - [431] = {.lex_state = 224, .external_lex_state = 2}, - [432] = {.lex_state = 230, .external_lex_state = 2}, - [433] = {.lex_state = 239}, - [434] = {.lex_state = 242, .external_lex_state = 2}, - [435] = {.lex_state = 230, .external_lex_state = 2}, - [436] = {.lex_state = 230, .external_lex_state = 2}, - [437] = {.lex_state = 123}, - [438] = {.lex_state = 230, .external_lex_state = 2}, - [439] = {.lex_state = 123}, - [440] = {.lex_state = 230, .external_lex_state = 2}, - [441] = {.lex_state = 286, .external_lex_state = 5}, - [442] = {.lex_state = 286, .external_lex_state = 5}, - [443] = {.lex_state = 286, .external_lex_state = 5}, - [444] = {.lex_state = 282}, - [445] = {.lex_state = 282}, - [446] = {.lex_state = 286, .external_lex_state = 5}, - [447] = {.lex_state = 230, .external_lex_state = 2}, - [448] = {.lex_state = 242, .external_lex_state = 2}, - [449] = {.lex_state = 353}, - [450] = {.lex_state = 353}, - [451] = {.lex_state = 353}, - [452] = {.lex_state = 353}, - [453] = {.lex_state = 187}, - [454] = {.lex_state = 289}, - [455] = {.lex_state = 269, .external_lex_state = 2}, - [456] = {.lex_state = 289}, - [457] = {.lex_state = 314}, - [458] = {.lex_state = 273, .external_lex_state = 2}, - [459] = {.lex_state = 310}, - [460] = {.lex_state = 316}, - [461] = {.lex_state = 275}, - [462] = {.lex_state = 306}, - [463] = {.lex_state = 293, .external_lex_state = 2}, - [464] = {.lex_state = 291, .external_lex_state = 2}, - [465] = {.lex_state = 193}, - [466] = {.lex_state = 322, .external_lex_state = 2}, - [467] = {.lex_state = 291, .external_lex_state = 2}, - [468] = {.lex_state = 148}, - [469] = {.lex_state = 291, .external_lex_state = 2}, - [470] = {.lex_state = 291, .external_lex_state = 2}, - [471] = {.lex_state = 291, .external_lex_state = 2}, - [472] = {.lex_state = 282}, - [473] = {.lex_state = 282}, - [474] = {.lex_state = 239}, - [475] = {.lex_state = 242, .external_lex_state = 2}, - [476] = {.lex_state = 251}, - [477] = {.lex_state = 253, .external_lex_state = 2}, - [478] = {.lex_state = 291, .external_lex_state = 2}, - [479] = {.lex_state = 293, .external_lex_state = 2}, - [480] = {.lex_state = 293, .external_lex_state = 2}, - [481] = {.lex_state = 193}, - [482] = {.lex_state = 121, .external_lex_state = 2}, - [483] = {.lex_state = 293, .external_lex_state = 2}, - [484] = {.lex_state = 148}, - [485] = {.lex_state = 293, .external_lex_state = 2}, - [486] = {.lex_state = 293, .external_lex_state = 2}, - [487] = {.lex_state = 293, .external_lex_state = 2}, - [488] = {.lex_state = 282}, - [489] = {.lex_state = 282}, - [490] = {.lex_state = 239}, - [491] = {.lex_state = 242, .external_lex_state = 2}, - [492] = {.lex_state = 251}, - [493] = {.lex_state = 253, .external_lex_state = 2}, - [494] = {.lex_state = 293, .external_lex_state = 2}, - [495] = {.lex_state = 286, .external_lex_state = 5}, - [496] = {.lex_state = 351, .external_lex_state = 2}, - [497] = {.lex_state = 289}, + [364] = {.lex_state = 193}, + [365] = {.lex_state = 195}, + [366] = {.lex_state = 148}, + [367] = {.lex_state = 295, .external_lex_state = 2}, + [368] = {.lex_state = 199, .external_lex_state = 3}, + [369] = {.lex_state = 204, .external_lex_state = 3}, + [370] = {.lex_state = 121, .external_lex_state = 2}, + [371] = {.lex_state = 121, .external_lex_state = 2}, + [372] = {.lex_state = 295, .external_lex_state = 2}, + [373] = {.lex_state = 288, .external_lex_state = 6}, + [374] = {.lex_state = 295, .external_lex_state = 2}, + [375] = {.lex_state = 295, .external_lex_state = 2}, + [376] = {.lex_state = 297, .external_lex_state = 2}, + [377] = {.lex_state = 297, .external_lex_state = 2}, + [378] = {.lex_state = 308}, + [379] = {.lex_state = 293, .external_lex_state = 2}, + [380] = {.lex_state = 295, .external_lex_state = 2}, + [381] = {.lex_state = 242, .external_lex_state = 2}, + [382] = {.lex_state = 291}, + [383] = {.lex_state = 242, .external_lex_state = 2}, + [384] = {.lex_state = 239}, + [385] = {.lex_state = 242, .external_lex_state = 2}, + [386] = {.lex_state = 293, .external_lex_state = 2}, + [387] = {.lex_state = 293, .external_lex_state = 2}, + [388] = {.lex_state = 295, .external_lex_state = 2}, + [389] = {.lex_state = 303, .external_lex_state = 2}, + [390] = {.lex_state = 303, .external_lex_state = 2}, + [391] = {.lex_state = 253, .external_lex_state = 2}, + [392] = {.lex_state = 251}, + [393] = {.lex_state = 253, .external_lex_state = 2}, + [394] = {.lex_state = 303, .external_lex_state = 2}, + [395] = {.lex_state = 303, .external_lex_state = 2}, + [396] = {.lex_state = 355, .external_lex_state = 2}, + [397] = {.lex_state = 174}, + [398] = {.lex_state = 230, .external_lex_state = 2}, + [399] = {.lex_state = 178, .external_lex_state = 2}, + [400] = {.lex_state = 193}, + [401] = {.lex_state = 121, .external_lex_state = 2}, + [402] = {.lex_state = 178, .external_lex_state = 2}, + [403] = {.lex_state = 148}, + [404] = {.lex_state = 178, .external_lex_state = 2}, + [405] = {.lex_state = 178, .external_lex_state = 2}, + [406] = {.lex_state = 178, .external_lex_state = 2}, + [407] = {.lex_state = 282, .external_lex_state = 3}, + [408] = {.lex_state = 284}, + [409] = {.lex_state = 284}, + [410] = {.lex_state = 239}, + [411] = {.lex_state = 242, .external_lex_state = 2}, + [412] = {.lex_state = 251}, + [413] = {.lex_state = 253, .external_lex_state = 2}, + [414] = {.lex_state = 224, .external_lex_state = 2}, + [415] = {.lex_state = 224, .external_lex_state = 2}, + [416] = {.lex_state = 230, .external_lex_state = 2}, + [417] = {.lex_state = 174}, + [418] = {.lex_state = 174}, + [419] = {.lex_state = 191}, + [420] = {.lex_state = 310, .external_lex_state = 2}, + [421] = {.lex_state = 174}, + [422] = {.lex_state = 316}, + [423] = {.lex_state = 312}, + [424] = {.lex_state = 312}, + [425] = {.lex_state = 197}, + [426] = {.lex_state = 174}, + [427] = {.lex_state = 255}, + [428] = {.lex_state = 199, .external_lex_state = 3}, + [429] = {.lex_state = 318}, + [430] = {.lex_state = 318}, + [431] = {.lex_state = 318}, + [432] = {.lex_state = 197}, + [433] = {.lex_state = 197}, + [434] = {.lex_state = 324}, + [435] = {.lex_state = 324}, + [436] = {.lex_state = 174}, + [437] = {.lex_state = 286}, + [438] = {.lex_state = 286}, + [439] = {.lex_state = 286}, + [440] = {.lex_state = 324}, + [441] = {.lex_state = 324}, + [442] = {.lex_state = 224, .external_lex_state = 2}, + [443] = {.lex_state = 239}, + [444] = {.lex_state = 242, .external_lex_state = 2}, + [445] = {.lex_state = 224, .external_lex_state = 2}, + [446] = {.lex_state = 324}, + [447] = {.lex_state = 324}, + [448] = {.lex_state = 224, .external_lex_state = 2}, + [449] = {.lex_state = 123}, + [450] = {.lex_state = 224, .external_lex_state = 2}, + [451] = {.lex_state = 123}, + [452] = {.lex_state = 224, .external_lex_state = 2}, + [453] = {.lex_state = 230, .external_lex_state = 2}, + [454] = {.lex_state = 239}, + [455] = {.lex_state = 242, .external_lex_state = 2}, + [456] = {.lex_state = 230, .external_lex_state = 2}, + [457] = {.lex_state = 324}, + [458] = {.lex_state = 324}, + [459] = {.lex_state = 230, .external_lex_state = 2}, + [460] = {.lex_state = 123}, + [461] = {.lex_state = 230, .external_lex_state = 2}, + [462] = {.lex_state = 123}, + [463] = {.lex_state = 230, .external_lex_state = 2}, + [464] = {.lex_state = 288, .external_lex_state = 6}, + [465] = {.lex_state = 288, .external_lex_state = 6}, + [466] = {.lex_state = 288, .external_lex_state = 6}, + [467] = {.lex_state = 282, .external_lex_state = 3}, + [468] = {.lex_state = 284}, + [469] = {.lex_state = 284}, + [470] = {.lex_state = 288, .external_lex_state = 6}, + [471] = {.lex_state = 230, .external_lex_state = 2}, + [472] = {.lex_state = 242, .external_lex_state = 2}, + [473] = {.lex_state = 242, .external_lex_state = 2}, + [474] = {.lex_state = 242, .external_lex_state = 2}, + [475] = {.lex_state = 324}, + [476] = {.lex_state = 324}, + [477] = {.lex_state = 148}, + [478] = {.lex_state = 148}, + [479] = {.lex_state = 324}, + [480] = {.lex_state = 324}, + [481] = {.lex_state = 187}, + [482] = {.lex_state = 291}, + [483] = {.lex_state = 269, .external_lex_state = 2}, + [484] = {.lex_state = 291}, + [485] = {.lex_state = 316}, + [486] = {.lex_state = 273, .external_lex_state = 2}, + [487] = {.lex_state = 312}, + [488] = {.lex_state = 318}, + [489] = {.lex_state = 275}, + [490] = {.lex_state = 308}, + [491] = {.lex_state = 295, .external_lex_state = 2}, + [492] = {.lex_state = 293, .external_lex_state = 2}, + [493] = {.lex_state = 193}, + [494] = {.lex_state = 326, .external_lex_state = 2}, + [495] = {.lex_state = 293, .external_lex_state = 2}, + [496] = {.lex_state = 148}, + [497] = {.lex_state = 293, .external_lex_state = 2}, [498] = {.lex_state = 293, .external_lex_state = 2}, - [499] = {.lex_state = 291, .external_lex_state = 2}, - [500] = {.lex_state = 291, .external_lex_state = 2}, - [501] = {.lex_state = 293, .external_lex_state = 2}, - [502] = {.lex_state = 301, .external_lex_state = 2}, - [503] = {.lex_state = 301, .external_lex_state = 2}, - [504] = {.lex_state = 174}, - [505] = {.lex_state = 351, .external_lex_state = 2}, - [506] = {.lex_state = 178, .external_lex_state = 2}, - [507] = {.lex_state = 239}, - [508] = {.lex_state = 242, .external_lex_state = 2}, - [509] = {.lex_state = 178, .external_lex_state = 2}, - [510] = {.lex_state = 178, .external_lex_state = 2}, - [511] = {.lex_state = 123}, - [512] = {.lex_state = 178, .external_lex_state = 2}, - [513] = {.lex_state = 123}, - [514] = {.lex_state = 178, .external_lex_state = 2}, - [515] = {.lex_state = 230, .external_lex_state = 2}, - [516] = {.lex_state = 230, .external_lex_state = 2}, - [517] = {.lex_state = 273, .external_lex_state = 2}, - [518] = {.lex_state = 174}, - [519] = {.lex_state = 314}, - [520] = {.lex_state = 355, .external_lex_state = 2}, - [521] = {.lex_state = 174}, - [522] = {.lex_state = 316}, - [523] = {.lex_state = 316}, - [524] = {.lex_state = 197}, - [525] = {.lex_state = 197}, - [526] = {.lex_state = 284}, - [527] = {.lex_state = 284}, - [528] = {.lex_state = 224, .external_lex_state = 2}, - [529] = {.lex_state = 353}, - [530] = {.lex_state = 353}, - [531] = {.lex_state = 230, .external_lex_state = 2}, - [532] = {.lex_state = 353}, - [533] = {.lex_state = 353}, - [534] = {.lex_state = 286, .external_lex_state = 5}, - [535] = {.lex_state = 123}, - [536] = {.lex_state = 286, .external_lex_state = 5}, - [537] = {.lex_state = 123}, + [499] = {.lex_state = 293, .external_lex_state = 2}, + [500] = {.lex_state = 282, .external_lex_state = 3}, + [501] = {.lex_state = 284}, + [502] = {.lex_state = 284}, + [503] = {.lex_state = 239}, + [504] = {.lex_state = 242, .external_lex_state = 2}, + [505] = {.lex_state = 251}, + [506] = {.lex_state = 253, .external_lex_state = 2}, + [507] = {.lex_state = 293, .external_lex_state = 2}, + [508] = {.lex_state = 295, .external_lex_state = 2}, + [509] = {.lex_state = 295, .external_lex_state = 2}, + [510] = {.lex_state = 193}, + [511] = {.lex_state = 121, .external_lex_state = 2}, + [512] = {.lex_state = 295, .external_lex_state = 2}, + [513] = {.lex_state = 148}, + [514] = {.lex_state = 295, .external_lex_state = 2}, + [515] = {.lex_state = 295, .external_lex_state = 2}, + [516] = {.lex_state = 295, .external_lex_state = 2}, + [517] = {.lex_state = 282, .external_lex_state = 3}, + [518] = {.lex_state = 284}, + [519] = {.lex_state = 284}, + [520] = {.lex_state = 239}, + [521] = {.lex_state = 242, .external_lex_state = 2}, + [522] = {.lex_state = 251}, + [523] = {.lex_state = 253, .external_lex_state = 2}, + [524] = {.lex_state = 295, .external_lex_state = 2}, + [525] = {.lex_state = 288, .external_lex_state = 6}, + [526] = {.lex_state = 355, .external_lex_state = 2}, + [527] = {.lex_state = 291}, + [528] = {.lex_state = 295, .external_lex_state = 2}, + [529] = {.lex_state = 293, .external_lex_state = 2}, + [530] = {.lex_state = 293, .external_lex_state = 2}, + [531] = {.lex_state = 295, .external_lex_state = 2}, + [532] = {.lex_state = 303, .external_lex_state = 2}, + [533] = {.lex_state = 303, .external_lex_state = 2}, + [534] = {.lex_state = 174}, + [535] = {.lex_state = 355, .external_lex_state = 2}, + [536] = {.lex_state = 178, .external_lex_state = 2}, + [537] = {.lex_state = 239}, [538] = {.lex_state = 242, .external_lex_state = 2}, - [539] = {.lex_state = 242, .external_lex_state = 2}, - [540] = {.lex_state = 148}, - [541] = {.lex_state = 148}, - [542] = {.lex_state = 289}, - [543] = {.lex_state = 289}, - [544] = {.lex_state = 289}, - [545] = {.lex_state = 314}, - [546] = {.lex_state = 310}, - [547] = {.lex_state = 289}, - [548] = {.lex_state = 316}, - [549] = {.lex_state = 316}, - [550] = {.lex_state = 289}, - [551] = {.lex_state = 291, .external_lex_state = 2}, - [552] = {.lex_state = 239}, - [553] = {.lex_state = 242, .external_lex_state = 2}, - [554] = {.lex_state = 291, .external_lex_state = 2}, - [555] = {.lex_state = 291, .external_lex_state = 2}, - [556] = {.lex_state = 123}, - [557] = {.lex_state = 291, .external_lex_state = 2}, - [558] = {.lex_state = 123}, - [559] = {.lex_state = 291, .external_lex_state = 2}, - [560] = {.lex_state = 293, .external_lex_state = 2}, - [561] = {.lex_state = 239}, - [562] = {.lex_state = 242, .external_lex_state = 2}, - [563] = {.lex_state = 293, .external_lex_state = 2}, - [564] = {.lex_state = 293, .external_lex_state = 2}, - [565] = {.lex_state = 123}, - [566] = {.lex_state = 293, .external_lex_state = 2}, - [567] = {.lex_state = 123}, - [568] = {.lex_state = 293, .external_lex_state = 2}, - [569] = {.lex_state = 293, .external_lex_state = 2}, - [570] = {.lex_state = 289}, - [571] = {.lex_state = 351, .external_lex_state = 2}, - [572] = {.lex_state = 293, .external_lex_state = 2}, - [573] = {.lex_state = 293, .external_lex_state = 2}, - [574] = {.lex_state = 174}, - [575] = {.lex_state = 178, .external_lex_state = 2}, - [576] = {.lex_state = 353}, - [577] = {.lex_state = 353}, - [578] = {.lex_state = 273, .external_lex_state = 2}, - [579] = {.lex_state = 174}, - [580] = {.lex_state = 316}, - [581] = {.lex_state = 355, .external_lex_state = 2}, - [582] = {.lex_state = 174}, - [583] = {.lex_state = 224, .external_lex_state = 2}, - [584] = {.lex_state = 224, .external_lex_state = 2}, - [585] = {.lex_state = 230, .external_lex_state = 2}, - [586] = {.lex_state = 230, .external_lex_state = 2}, - [587] = {.lex_state = 353}, - [588] = {.lex_state = 353}, - [589] = {.lex_state = 289}, - [590] = {.lex_state = 314}, - [591] = {.lex_state = 289}, - [592] = {.lex_state = 316}, - [593] = {.lex_state = 291, .external_lex_state = 2}, - [594] = {.lex_state = 353}, - [595] = {.lex_state = 353}, - [596] = {.lex_state = 293, .external_lex_state = 2}, - [597] = {.lex_state = 353}, - [598] = {.lex_state = 353}, - [599] = {.lex_state = 289}, - [600] = {.lex_state = 178, .external_lex_state = 2}, - [601] = {.lex_state = 178, .external_lex_state = 2}, - [602] = {.lex_state = 316}, - [603] = {.lex_state = 286, .external_lex_state = 5}, - [604] = {.lex_state = 286, .external_lex_state = 5}, - [605] = {.lex_state = 289}, - [606] = {.lex_state = 289}, - [607] = {.lex_state = 291, .external_lex_state = 2}, - [608] = {.lex_state = 291, .external_lex_state = 2}, - [609] = {.lex_state = 293, .external_lex_state = 2}, - [610] = {.lex_state = 293, .external_lex_state = 2}, - [611] = {.lex_state = 118}, - [612] = {.lex_state = 357, .external_lex_state = 2}, - [613] = {.lex_state = 121, .external_lex_state = 2}, - [614] = {.lex_state = 269, .external_lex_state = 2}, - [615] = {.lex_state = 360}, - [616] = {.lex_state = 121, .external_lex_state = 2}, - [617] = {.lex_state = 273, .external_lex_state = 2}, - [618] = {.lex_state = 360}, - [619] = {.lex_state = 123}, - [620] = {.lex_state = 360}, - [621] = {.lex_state = 362, .external_lex_state = 2}, - [622] = {.lex_state = 131}, - [623] = {.lex_state = 322, .external_lex_state = 2}, - [624] = {.lex_state = 351, .external_lex_state = 2}, - [625] = {.lex_state = 422, .external_lex_state = 6}, - [626] = {.lex_state = 121, .external_lex_state = 2}, - [627] = {.lex_state = 121, .external_lex_state = 2}, - [628] = {.lex_state = 123}, - [629] = {.lex_state = 360}, - [630] = {.lex_state = 427, .external_lex_state = 2}, - [631] = {.lex_state = 123, .external_lex_state = 4}, - [632] = {.lex_state = 123}, - [633] = {.lex_state = 123}, - [634] = {.lex_state = 431, .external_lex_state = 2}, - [635] = {.lex_state = 436, .external_lex_state = 6}, - [636] = {.lex_state = 455, .external_lex_state = 2}, - [637] = {.lex_state = 460, .external_lex_state = 6}, - [638] = {.lex_state = 464, .external_lex_state = 2}, - [639] = {.lex_state = 487, .external_lex_state = 2}, - [640] = {.lex_state = 286, .external_lex_state = 5}, - [641] = {.lex_state = 286, .external_lex_state = 5}, - [642] = {.lex_state = 487, .external_lex_state = 2}, - [643] = {.lex_state = 113}, - [644] = {.lex_state = 489, .external_lex_state = 2}, - [645] = {.lex_state = 257, .external_lex_state = 2}, - [646] = {.lex_state = 360}, - [647] = {.lex_state = 360}, - [648] = {.lex_state = 310}, - [649] = {.lex_state = 314}, - [650] = {.lex_state = 316}, - [651] = {.lex_state = 360}, - [652] = {.lex_state = 489, .external_lex_state = 2}, - [653] = {.lex_state = 491, .external_lex_state = 2}, - [654] = {.lex_state = 487, .external_lex_state = 2}, - [655] = {.lex_state = 487, .external_lex_state = 2}, - [656] = {.lex_state = 496, .external_lex_state = 2}, - [657] = {.lex_state = 503, .external_lex_state = 2}, - [658] = {.lex_state = 422, .external_lex_state = 6}, - [659] = {.lex_state = 431, .external_lex_state = 2}, - [660] = {.lex_state = 460, .external_lex_state = 6}, - [661] = {.lex_state = 159, .external_lex_state = 2}, - [662] = {.lex_state = 310}, - [663] = {.lex_state = 316}, - [664] = {.lex_state = 505, .external_lex_state = 2}, - [665] = {.lex_state = 182, .external_lex_state = 2}, - [666] = {.lex_state = 487, .external_lex_state = 2}, - [667] = {.lex_state = 286, .external_lex_state = 5}, - [668] = {.lex_state = 148}, - [669] = {.lex_state = 193}, - [670] = {.lex_state = 184}, - [671] = {.lex_state = 316}, - [672] = {.lex_state = 187}, - [673] = {.lex_state = 187}, - [674] = {.lex_state = 360}, - [675] = {.lex_state = 269, .external_lex_state = 2}, - [676] = {.lex_state = 191}, - [677] = {.lex_state = 360}, - [678] = {.lex_state = 314}, - [679] = {.lex_state = 273, .external_lex_state = 2}, - [680] = {.lex_state = 310}, - [681] = {.lex_state = 197}, - [682] = {.lex_state = 195}, - [683] = {.lex_state = 118}, - [684] = {.lex_state = 121, .external_lex_state = 2}, - [685] = {.lex_state = 121, .external_lex_state = 2}, - [686] = {.lex_state = 123}, - [687] = {.lex_state = 507, .external_lex_state = 2}, - [688] = {.lex_state = 131}, - [689] = {.lex_state = 133, .external_lex_state = 2}, - [690] = {.lex_state = 123}, - [691] = {.lex_state = 123}, - [692] = {.lex_state = 509, .external_lex_state = 2}, - [693] = {.lex_state = 148}, - [694] = {.lex_state = 121, .external_lex_state = 2}, - [695] = {.lex_state = 121, .external_lex_state = 2}, - [696] = {.lex_state = 513, .external_lex_state = 2}, - [697] = {.lex_state = 517}, - [698] = {.lex_state = 489, .external_lex_state = 2}, - [699] = {.lex_state = 133, .external_lex_state = 2}, - [700] = {.lex_state = 182, .external_lex_state = 2}, - [701] = {.lex_state = 360}, - [702] = {.lex_state = 351, .external_lex_state = 2}, - [703] = {.lex_state = 133, .external_lex_state = 2}, - [704] = {.lex_state = 123}, - [705] = {.lex_state = 519, .external_lex_state = 2}, - [706] = {.lex_state = 148}, - [707] = {.lex_state = 121, .external_lex_state = 2}, - [708] = {.lex_state = 121, .external_lex_state = 2}, - [709] = {.lex_state = 523, .external_lex_state = 2}, - [710] = {.lex_state = 360}, - [711] = {.lex_state = 489, .external_lex_state = 2}, - [712] = {.lex_state = 360}, - [713] = {.lex_state = 489, .external_lex_state = 2}, - [714] = {.lex_state = 218}, - [715] = {.lex_state = 113}, - [716] = {.lex_state = 527, .external_lex_state = 2}, - [717] = {.lex_state = 123}, - [718] = {.lex_state = 123}, - [719] = {.lex_state = 228, .external_lex_state = 3}, - [720] = {.lex_state = 353}, - [721] = {.lex_state = 487, .external_lex_state = 2}, - [722] = {.lex_state = 487, .external_lex_state = 2}, - [723] = {.lex_state = 193}, - [724] = {.lex_state = 195}, - [725] = {.lex_state = 148}, - [726] = {.lex_state = 529, .external_lex_state = 2}, - [727] = {.lex_state = 199}, - [728] = {.lex_state = 204}, - [729] = {.lex_state = 121, .external_lex_state = 2}, - [730] = {.lex_state = 121, .external_lex_state = 2}, - [731] = {.lex_state = 322, .external_lex_state = 2}, - [732] = {.lex_state = 195}, - [733] = {.lex_state = 148}, - [734] = {.lex_state = 491, .external_lex_state = 2}, - [735] = {.lex_state = 199}, - [736] = {.lex_state = 204}, - [737] = {.lex_state = 121, .external_lex_state = 2}, - [738] = {.lex_state = 121, .external_lex_state = 2}, - [739] = {.lex_state = 193}, - [740] = {.lex_state = 496, .external_lex_state = 2}, - [741] = {.lex_state = 422, .external_lex_state = 6}, - [742] = {.lex_state = 422, .external_lex_state = 6}, - [743] = {.lex_state = 422, .external_lex_state = 6}, - [744] = {.lex_state = 251}, - [745] = {.lex_state = 253, .external_lex_state = 2}, - [746] = {.lex_state = 275}, - [747] = {.lex_state = 360}, - [748] = {.lex_state = 487, .external_lex_state = 2}, - [749] = {.lex_state = 123}, - [750] = {.lex_state = 431, .external_lex_state = 2}, - [751] = {.lex_state = 431, .external_lex_state = 2}, - [752] = {.lex_state = 360}, - [753] = {.lex_state = 275}, - [754] = {.lex_state = 184}, - [755] = {.lex_state = 422, .external_lex_state = 6}, - [756] = {.lex_state = 422, .external_lex_state = 6}, - [757] = {.lex_state = 123}, - [758] = {.lex_state = 360}, - [759] = {.lex_state = 360}, - [760] = {.lex_state = 360}, - [761] = {.lex_state = 360}, - [762] = {.lex_state = 314}, - [763] = {.lex_state = 310}, - [764] = {.lex_state = 360}, - [765] = {.lex_state = 314}, - [766] = {.lex_state = 360}, - [767] = {.lex_state = 193}, + [539] = {.lex_state = 178, .external_lex_state = 2}, + [540] = {.lex_state = 324}, + [541] = {.lex_state = 324}, + [542] = {.lex_state = 178, .external_lex_state = 2}, + [543] = {.lex_state = 123}, + [544] = {.lex_state = 178, .external_lex_state = 2}, + [545] = {.lex_state = 123}, + [546] = {.lex_state = 178, .external_lex_state = 2}, + [547] = {.lex_state = 230, .external_lex_state = 2}, + [548] = {.lex_state = 230, .external_lex_state = 2}, + [549] = {.lex_state = 273, .external_lex_state = 2}, + [550] = {.lex_state = 174}, + [551] = {.lex_state = 316}, + [552] = {.lex_state = 357, .external_lex_state = 2}, + [553] = {.lex_state = 174}, + [554] = {.lex_state = 318}, + [555] = {.lex_state = 318}, + [556] = {.lex_state = 197}, + [557] = {.lex_state = 197}, + [558] = {.lex_state = 286}, + [559] = {.lex_state = 286}, + [560] = {.lex_state = 224, .external_lex_state = 2}, + [561] = {.lex_state = 224, .external_lex_state = 2}, + [562] = {.lex_state = 224, .external_lex_state = 2}, + [563] = {.lex_state = 324}, + [564] = {.lex_state = 324}, + [565] = {.lex_state = 230, .external_lex_state = 2}, + [566] = {.lex_state = 230, .external_lex_state = 2}, + [567] = {.lex_state = 230, .external_lex_state = 2}, + [568] = {.lex_state = 324}, + [569] = {.lex_state = 324}, + [570] = {.lex_state = 324}, + [571] = {.lex_state = 324}, + [572] = {.lex_state = 288, .external_lex_state = 6}, + [573] = {.lex_state = 123}, + [574] = {.lex_state = 288, .external_lex_state = 6}, + [575] = {.lex_state = 123}, + [576] = {.lex_state = 242, .external_lex_state = 2}, + [577] = {.lex_state = 242, .external_lex_state = 2}, + [578] = {.lex_state = 148}, + [579] = {.lex_state = 148}, + [580] = {.lex_state = 291}, + [581] = {.lex_state = 291}, + [582] = {.lex_state = 291}, + [583] = {.lex_state = 316}, + [584] = {.lex_state = 312}, + [585] = {.lex_state = 291}, + [586] = {.lex_state = 318}, + [587] = {.lex_state = 318}, + [588] = {.lex_state = 291}, + [589] = {.lex_state = 293, .external_lex_state = 2}, + [590] = {.lex_state = 239}, + [591] = {.lex_state = 242, .external_lex_state = 2}, + [592] = {.lex_state = 293, .external_lex_state = 2}, + [593] = {.lex_state = 324}, + [594] = {.lex_state = 324}, + [595] = {.lex_state = 293, .external_lex_state = 2}, + [596] = {.lex_state = 123}, + [597] = {.lex_state = 293, .external_lex_state = 2}, + [598] = {.lex_state = 123}, + [599] = {.lex_state = 293, .external_lex_state = 2}, + [600] = {.lex_state = 295, .external_lex_state = 2}, + [601] = {.lex_state = 239}, + [602] = {.lex_state = 242, .external_lex_state = 2}, + [603] = {.lex_state = 295, .external_lex_state = 2}, + [604] = {.lex_state = 324}, + [605] = {.lex_state = 324}, + [606] = {.lex_state = 295, .external_lex_state = 2}, + [607] = {.lex_state = 123}, + [608] = {.lex_state = 295, .external_lex_state = 2}, + [609] = {.lex_state = 123}, + [610] = {.lex_state = 295, .external_lex_state = 2}, + [611] = {.lex_state = 295, .external_lex_state = 2}, + [612] = {.lex_state = 291}, + [613] = {.lex_state = 355, .external_lex_state = 2}, + [614] = {.lex_state = 295, .external_lex_state = 2}, + [615] = {.lex_state = 295, .external_lex_state = 2}, + [616] = {.lex_state = 174}, + [617] = {.lex_state = 178, .external_lex_state = 2}, + [618] = {.lex_state = 178, .external_lex_state = 2}, + [619] = {.lex_state = 178, .external_lex_state = 2}, + [620] = {.lex_state = 324}, + [621] = {.lex_state = 324}, + [622] = {.lex_state = 273, .external_lex_state = 2}, + [623] = {.lex_state = 174}, + [624] = {.lex_state = 318}, + [625] = {.lex_state = 357, .external_lex_state = 2}, + [626] = {.lex_state = 174}, + [627] = {.lex_state = 224, .external_lex_state = 2}, + [628] = {.lex_state = 224, .external_lex_state = 2}, + [629] = {.lex_state = 230, .external_lex_state = 2}, + [630] = {.lex_state = 230, .external_lex_state = 2}, + [631] = {.lex_state = 288, .external_lex_state = 6}, + [632] = {.lex_state = 288, .external_lex_state = 6}, + [633] = {.lex_state = 324}, + [634] = {.lex_state = 324}, + [635] = {.lex_state = 291}, + [636] = {.lex_state = 316}, + [637] = {.lex_state = 291}, + [638] = {.lex_state = 318}, + [639] = {.lex_state = 293, .external_lex_state = 2}, + [640] = {.lex_state = 293, .external_lex_state = 2}, + [641] = {.lex_state = 293, .external_lex_state = 2}, + [642] = {.lex_state = 324}, + [643] = {.lex_state = 324}, + [644] = {.lex_state = 295, .external_lex_state = 2}, + [645] = {.lex_state = 295, .external_lex_state = 2}, + [646] = {.lex_state = 295, .external_lex_state = 2}, + [647] = {.lex_state = 324}, + [648] = {.lex_state = 324}, + [649] = {.lex_state = 291}, + [650] = {.lex_state = 178, .external_lex_state = 2}, + [651] = {.lex_state = 178, .external_lex_state = 2}, + [652] = {.lex_state = 318}, + [653] = {.lex_state = 288, .external_lex_state = 6}, + [654] = {.lex_state = 288, .external_lex_state = 6}, + [655] = {.lex_state = 291}, + [656] = {.lex_state = 291}, + [657] = {.lex_state = 293, .external_lex_state = 2}, + [658] = {.lex_state = 293, .external_lex_state = 2}, + [659] = {.lex_state = 295, .external_lex_state = 2}, + [660] = {.lex_state = 295, .external_lex_state = 2}, + [661] = {.lex_state = 118}, + [662] = {.lex_state = 359, .external_lex_state = 2}, + [663] = {.lex_state = 121, .external_lex_state = 2}, + [664] = {.lex_state = 269, .external_lex_state = 2}, + [665] = {.lex_state = 362}, + [666] = {.lex_state = 121, .external_lex_state = 2}, + [667] = {.lex_state = 273, .external_lex_state = 2}, + [668] = {.lex_state = 362}, + [669] = {.lex_state = 123}, + [670] = {.lex_state = 362}, + [671] = {.lex_state = 364, .external_lex_state = 2}, + [672] = {.lex_state = 131}, + [673] = {.lex_state = 326, .external_lex_state = 2}, + [674] = {.lex_state = 355, .external_lex_state = 2}, + [675] = {.lex_state = 424, .external_lex_state = 7}, + [676] = {.lex_state = 121, .external_lex_state = 2}, + [677] = {.lex_state = 121, .external_lex_state = 2}, + [678] = {.lex_state = 123}, + [679] = {.lex_state = 362}, + [680] = {.lex_state = 429, .external_lex_state = 2}, + [681] = {.lex_state = 123, .external_lex_state = 5}, + [682] = {.lex_state = 123}, + [683] = {.lex_state = 123}, + [684] = {.lex_state = 433, .external_lex_state = 2}, + [685] = {.lex_state = 438, .external_lex_state = 8}, + [686] = {.lex_state = 457, .external_lex_state = 8}, + [687] = {.lex_state = 463, .external_lex_state = 2}, + [688] = {.lex_state = 468, .external_lex_state = 7}, + [689] = {.lex_state = 472, .external_lex_state = 2}, + [690] = {.lex_state = 495, .external_lex_state = 2}, + [691] = {.lex_state = 288, .external_lex_state = 6}, + [692] = {.lex_state = 288, .external_lex_state = 6}, + [693] = {.lex_state = 495, .external_lex_state = 2}, + [694] = {.lex_state = 113}, + [695] = {.lex_state = 497, .external_lex_state = 2}, + [696] = {.lex_state = 257, .external_lex_state = 2}, + [697] = {.lex_state = 362}, + [698] = {.lex_state = 362}, + [699] = {.lex_state = 312}, + [700] = {.lex_state = 316}, + [701] = {.lex_state = 318}, + [702] = {.lex_state = 362}, + [703] = {.lex_state = 497, .external_lex_state = 2}, + [704] = {.lex_state = 499, .external_lex_state = 2}, + [705] = {.lex_state = 495, .external_lex_state = 2}, + [706] = {.lex_state = 495, .external_lex_state = 2}, + [707] = {.lex_state = 504, .external_lex_state = 2}, + [708] = {.lex_state = 511, .external_lex_state = 2}, + [709] = {.lex_state = 424, .external_lex_state = 7}, + [710] = {.lex_state = 433, .external_lex_state = 2}, + [711] = {.lex_state = 468, .external_lex_state = 7}, + [712] = {.lex_state = 159, .external_lex_state = 2}, + [713] = {.lex_state = 312}, + [714] = {.lex_state = 318}, + [715] = {.lex_state = 513, .external_lex_state = 2}, + [716] = {.lex_state = 182, .external_lex_state = 2}, + [717] = {.lex_state = 495, .external_lex_state = 2}, + [718] = {.lex_state = 288, .external_lex_state = 6}, + [719] = {.lex_state = 148}, + [720] = {.lex_state = 193}, + [721] = {.lex_state = 184}, + [722] = {.lex_state = 318}, + [723] = {.lex_state = 187}, + [724] = {.lex_state = 187}, + [725] = {.lex_state = 362}, + [726] = {.lex_state = 269, .external_lex_state = 2}, + [727] = {.lex_state = 191}, + [728] = {.lex_state = 362}, + [729] = {.lex_state = 316}, + [730] = {.lex_state = 273, .external_lex_state = 2}, + [731] = {.lex_state = 312}, + [732] = {.lex_state = 197}, + [733] = {.lex_state = 195}, + [734] = {.lex_state = 118}, + [735] = {.lex_state = 121, .external_lex_state = 2}, + [736] = {.lex_state = 121, .external_lex_state = 2}, + [737] = {.lex_state = 123}, + [738] = {.lex_state = 515, .external_lex_state = 2}, + [739] = {.lex_state = 131}, + [740] = {.lex_state = 133, .external_lex_state = 2}, + [741] = {.lex_state = 123}, + [742] = {.lex_state = 123}, + [743] = {.lex_state = 517, .external_lex_state = 2}, + [744] = {.lex_state = 148}, + [745] = {.lex_state = 121, .external_lex_state = 2}, + [746] = {.lex_state = 121, .external_lex_state = 2}, + [747] = {.lex_state = 521, .external_lex_state = 2}, + [748] = {.lex_state = 525}, + [749] = {.lex_state = 497, .external_lex_state = 2}, + [750] = {.lex_state = 133, .external_lex_state = 2}, + [751] = {.lex_state = 182, .external_lex_state = 2}, + [752] = {.lex_state = 362}, + [753] = {.lex_state = 355, .external_lex_state = 2}, + [754] = {.lex_state = 133, .external_lex_state = 2}, + [755] = {.lex_state = 123}, + [756] = {.lex_state = 527, .external_lex_state = 2}, + [757] = {.lex_state = 148}, + [758] = {.lex_state = 121, .external_lex_state = 2}, + [759] = {.lex_state = 121, .external_lex_state = 2}, + [760] = {.lex_state = 531, .external_lex_state = 2}, + [761] = {.lex_state = 362}, + [762] = {.lex_state = 497, .external_lex_state = 2}, + [763] = {.lex_state = 362}, + [764] = {.lex_state = 497, .external_lex_state = 2}, + [765] = {.lex_state = 218}, + [766] = {.lex_state = 113}, + [767] = {.lex_state = 535, .external_lex_state = 2}, [768] = {.lex_state = 123}, - [769] = {.lex_state = 148}, - [770] = {.lex_state = 505, .external_lex_state = 2}, - [771] = {.lex_state = 199}, - [772] = {.lex_state = 204}, - [773] = {.lex_state = 121, .external_lex_state = 2}, - [774] = {.lex_state = 121, .external_lex_state = 2}, - [775] = {.lex_state = 487, .external_lex_state = 2}, - [776] = {.lex_state = 519, .external_lex_state = 2}, - [777] = {.lex_state = 531, .external_lex_state = 2}, - [778] = {.lex_state = 487, .external_lex_state = 2}, - [779] = {.lex_state = 487, .external_lex_state = 2}, - [780] = {.lex_state = 496, .external_lex_state = 2}, - [781] = {.lex_state = 503, .external_lex_state = 2}, - [782] = {.lex_state = 121, .external_lex_state = 2}, - [783] = {.lex_state = 360}, - [784] = {.lex_state = 360}, - [785] = {.lex_state = 273, .external_lex_state = 2}, - [786] = {.lex_state = 255}, - [787] = {.lex_state = 184}, - [788] = {.lex_state = 187}, - [789] = {.lex_state = 191}, - [790] = {.lex_state = 197}, - [791] = {.lex_state = 195}, - [792] = {.lex_state = 517}, - [793] = {.lex_state = 133, .external_lex_state = 2}, - [794] = {.lex_state = 218}, - [795] = {.lex_state = 221}, - [796] = {.lex_state = 113}, - [797] = {.lex_state = 527, .external_lex_state = 2}, - [798] = {.lex_state = 123}, - [799] = {.lex_state = 228, .external_lex_state = 3}, - [800] = {.lex_state = 535, .external_lex_state = 2}, - [801] = {.lex_state = 535, .external_lex_state = 2}, - [802] = {.lex_state = 509, .external_lex_state = 2}, - [803] = {.lex_state = 148}, - [804] = {.lex_state = 239}, - [805] = {.lex_state = 242, .external_lex_state = 2}, - [806] = {.lex_state = 251}, - [807] = {.lex_state = 253, .external_lex_state = 2}, - [808] = {.lex_state = 255}, - [809] = {.lex_state = 527, .external_lex_state = 2}, - [810] = {.lex_state = 123, .external_lex_state = 4}, - [811] = {.lex_state = 535, .external_lex_state = 2}, - [812] = {.lex_state = 503, .external_lex_state = 2}, - [813] = {.lex_state = 121, .external_lex_state = 2}, - [814] = {.lex_state = 121, .external_lex_state = 2}, - [815] = {.lex_state = 509, .external_lex_state = 2}, - [816] = {.lex_state = 537, .external_lex_state = 2}, - [817] = {.lex_state = 360}, - [818] = {.lex_state = 221}, - [819] = {.lex_state = 527, .external_lex_state = 2}, - [820] = {.lex_state = 487, .external_lex_state = 2}, - [821] = {.lex_state = 519, .external_lex_state = 2}, + [769] = {.lex_state = 123}, + [770] = {.lex_state = 228, .external_lex_state = 4}, + [771] = {.lex_state = 324}, + [772] = {.lex_state = 495, .external_lex_state = 2}, + [773] = {.lex_state = 495, .external_lex_state = 2}, + [774] = {.lex_state = 193}, + [775] = {.lex_state = 195}, + [776] = {.lex_state = 148}, + [777] = {.lex_state = 537, .external_lex_state = 2}, + [778] = {.lex_state = 199, .external_lex_state = 3}, + [779] = {.lex_state = 204, .external_lex_state = 3}, + [780] = {.lex_state = 121, .external_lex_state = 2}, + [781] = {.lex_state = 121, .external_lex_state = 2}, + [782] = {.lex_state = 326, .external_lex_state = 2}, + [783] = {.lex_state = 195}, + [784] = {.lex_state = 148}, + [785] = {.lex_state = 499, .external_lex_state = 2}, + [786] = {.lex_state = 199, .external_lex_state = 3}, + [787] = {.lex_state = 204, .external_lex_state = 3}, + [788] = {.lex_state = 121, .external_lex_state = 2}, + [789] = {.lex_state = 121, .external_lex_state = 2}, + [790] = {.lex_state = 193}, + [791] = {.lex_state = 504, .external_lex_state = 2}, + [792] = {.lex_state = 424, .external_lex_state = 7}, + [793] = {.lex_state = 424, .external_lex_state = 7}, + [794] = {.lex_state = 424, .external_lex_state = 7}, + [795] = {.lex_state = 324}, + [796] = {.lex_state = 324}, + [797] = {.lex_state = 251}, + [798] = {.lex_state = 253, .external_lex_state = 2}, + [799] = {.lex_state = 275}, + [800] = {.lex_state = 362}, + [801] = {.lex_state = 495, .external_lex_state = 2}, + [802] = {.lex_state = 123}, + [803] = {.lex_state = 433, .external_lex_state = 2}, + [804] = {.lex_state = 433, .external_lex_state = 2}, + [805] = {.lex_state = 362}, + [806] = {.lex_state = 275}, + [807] = {.lex_state = 184}, + [808] = {.lex_state = 424, .external_lex_state = 7}, + [809] = {.lex_state = 424, .external_lex_state = 7}, + [810] = {.lex_state = 123}, + [811] = {.lex_state = 362}, + [812] = {.lex_state = 362}, + [813] = {.lex_state = 362}, + [814] = {.lex_state = 362}, + [815] = {.lex_state = 316}, + [816] = {.lex_state = 312}, + [817] = {.lex_state = 362}, + [818] = {.lex_state = 316}, + [819] = {.lex_state = 362}, + [820] = {.lex_state = 193}, + [821] = {.lex_state = 123}, [822] = {.lex_state = 148}, - [823] = {.lex_state = 239}, - [824] = {.lex_state = 242, .external_lex_state = 2}, - [825] = {.lex_state = 251}, - [826] = {.lex_state = 253, .external_lex_state = 2}, - [827] = {.lex_state = 255}, - [828] = {.lex_state = 527, .external_lex_state = 2}, - [829] = {.lex_state = 487, .external_lex_state = 2}, - [830] = {.lex_state = 123}, - [831] = {.lex_state = 193}, - [832] = {.lex_state = 123}, - [833] = {.lex_state = 148}, - [834] = {.lex_state = 527, .external_lex_state = 2}, - [835] = {.lex_state = 199}, - [836] = {.lex_state = 204}, - [837] = {.lex_state = 121, .external_lex_state = 2}, - [838] = {.lex_state = 121, .external_lex_state = 2}, - [839] = {.lex_state = 527, .external_lex_state = 2}, - [840] = {.lex_state = 487, .external_lex_state = 2}, - [841] = {.lex_state = 322, .external_lex_state = 2}, - [842] = {.lex_state = 195}, - [843] = {.lex_state = 148}, - [844] = {.lex_state = 487, .external_lex_state = 2}, - [845] = {.lex_state = 199}, - [846] = {.lex_state = 204}, - [847] = {.lex_state = 121, .external_lex_state = 2}, - [848] = {.lex_state = 121, .external_lex_state = 2}, - [849] = {.lex_state = 193}, - [850] = {.lex_state = 529, .external_lex_state = 2}, - [851] = {.lex_state = 193}, - [852] = {.lex_state = 121, .external_lex_state = 2}, - [853] = {.lex_state = 529, .external_lex_state = 2}, - [854] = {.lex_state = 148}, - [855] = {.lex_state = 529, .external_lex_state = 2}, - [856] = {.lex_state = 529, .external_lex_state = 2}, - [857] = {.lex_state = 529, .external_lex_state = 2}, - [858] = {.lex_state = 282}, - [859] = {.lex_state = 282}, - [860] = {.lex_state = 239}, - [861] = {.lex_state = 242, .external_lex_state = 2}, - [862] = {.lex_state = 251}, - [863] = {.lex_state = 253, .external_lex_state = 2}, - [864] = {.lex_state = 491, .external_lex_state = 2}, - [865] = {.lex_state = 239}, - [866] = {.lex_state = 242, .external_lex_state = 2}, - [867] = {.lex_state = 193}, - [868] = {.lex_state = 121, .external_lex_state = 2}, - [869] = {.lex_state = 491, .external_lex_state = 2}, - [870] = {.lex_state = 148}, - [871] = {.lex_state = 491, .external_lex_state = 2}, - [872] = {.lex_state = 491, .external_lex_state = 2}, - [873] = {.lex_state = 491, .external_lex_state = 2}, - [874] = {.lex_state = 282}, - [875] = {.lex_state = 282}, + [823] = {.lex_state = 513, .external_lex_state = 2}, + [824] = {.lex_state = 199, .external_lex_state = 3}, + [825] = {.lex_state = 204, .external_lex_state = 3}, + [826] = {.lex_state = 121, .external_lex_state = 2}, + [827] = {.lex_state = 121, .external_lex_state = 2}, + [828] = {.lex_state = 495, .external_lex_state = 2}, + [829] = {.lex_state = 527, .external_lex_state = 2}, + [830] = {.lex_state = 539, .external_lex_state = 2}, + [831] = {.lex_state = 495, .external_lex_state = 2}, + [832] = {.lex_state = 495, .external_lex_state = 2}, + [833] = {.lex_state = 504, .external_lex_state = 2}, + [834] = {.lex_state = 511, .external_lex_state = 2}, + [835] = {.lex_state = 121, .external_lex_state = 2}, + [836] = {.lex_state = 362}, + [837] = {.lex_state = 362}, + [838] = {.lex_state = 273, .external_lex_state = 2}, + [839] = {.lex_state = 255}, + [840] = {.lex_state = 184}, + [841] = {.lex_state = 187}, + [842] = {.lex_state = 191}, + [843] = {.lex_state = 197}, + [844] = {.lex_state = 195}, + [845] = {.lex_state = 525}, + [846] = {.lex_state = 133, .external_lex_state = 2}, + [847] = {.lex_state = 218}, + [848] = {.lex_state = 221}, + [849] = {.lex_state = 113}, + [850] = {.lex_state = 535, .external_lex_state = 2}, + [851] = {.lex_state = 123}, + [852] = {.lex_state = 228, .external_lex_state = 4}, + [853] = {.lex_state = 543, .external_lex_state = 2}, + [854] = {.lex_state = 543, .external_lex_state = 2}, + [855] = {.lex_state = 517, .external_lex_state = 2}, + [856] = {.lex_state = 148}, + [857] = {.lex_state = 239}, + [858] = {.lex_state = 242, .external_lex_state = 2}, + [859] = {.lex_state = 251}, + [860] = {.lex_state = 253, .external_lex_state = 2}, + [861] = {.lex_state = 255}, + [862] = {.lex_state = 535, .external_lex_state = 2}, + [863] = {.lex_state = 123, .external_lex_state = 5}, + [864] = {.lex_state = 543, .external_lex_state = 2}, + [865] = {.lex_state = 511, .external_lex_state = 2}, + [866] = {.lex_state = 121, .external_lex_state = 2}, + [867] = {.lex_state = 121, .external_lex_state = 2}, + [868] = {.lex_state = 517, .external_lex_state = 2}, + [869] = {.lex_state = 545, .external_lex_state = 2}, + [870] = {.lex_state = 362}, + [871] = {.lex_state = 221}, + [872] = {.lex_state = 535, .external_lex_state = 2}, + [873] = {.lex_state = 495, .external_lex_state = 2}, + [874] = {.lex_state = 527, .external_lex_state = 2}, + [875] = {.lex_state = 148}, [876] = {.lex_state = 239}, [877] = {.lex_state = 242, .external_lex_state = 2}, [878] = {.lex_state = 251}, [879] = {.lex_state = 253, .external_lex_state = 2}, - [880] = {.lex_state = 316}, - [881] = {.lex_state = 491, .external_lex_state = 2}, - [882] = {.lex_state = 316}, - [883] = {.lex_state = 353}, - [884] = {.lex_state = 360}, - [885] = {.lex_state = 314}, - [886] = {.lex_state = 360}, - [887] = {.lex_state = 505, .external_lex_state = 2}, - [888] = {.lex_state = 193}, - [889] = {.lex_state = 322, .external_lex_state = 2}, - [890] = {.lex_state = 505, .external_lex_state = 2}, - [891] = {.lex_state = 148}, - [892] = {.lex_state = 505, .external_lex_state = 2}, - [893] = {.lex_state = 505, .external_lex_state = 2}, - [894] = {.lex_state = 505, .external_lex_state = 2}, - [895] = {.lex_state = 282}, - [896] = {.lex_state = 282}, - [897] = {.lex_state = 239}, - [898] = {.lex_state = 242, .external_lex_state = 2}, - [899] = {.lex_state = 251}, - [900] = {.lex_state = 253, .external_lex_state = 2}, - [901] = {.lex_state = 527, .external_lex_state = 2}, - [902] = {.lex_state = 487, .external_lex_state = 2}, - [903] = {.lex_state = 527, .external_lex_state = 2}, - [904] = {.lex_state = 487, .external_lex_state = 2}, - [905] = {.lex_state = 273, .external_lex_state = 2}, - [906] = {.lex_state = 306}, - [907] = {.lex_state = 121, .external_lex_state = 2}, - [908] = {.lex_state = 269, .external_lex_state = 2}, - [909] = {.lex_state = 517}, - [910] = {.lex_state = 273, .external_lex_state = 2}, - [911] = {.lex_state = 275}, - [912] = {.lex_state = 184}, - [913] = {.lex_state = 255}, - [914] = {.lex_state = 517}, - [915] = {.lex_state = 517}, - [916] = {.lex_state = 123}, - [917] = {.lex_state = 123}, - [918] = {.lex_state = 527, .external_lex_state = 2}, - [919] = {.lex_state = 535, .external_lex_state = 2}, - [920] = {.lex_state = 193}, - [921] = {.lex_state = 195}, - [922] = {.lex_state = 148}, - [923] = {.lex_state = 535, .external_lex_state = 2}, - [924] = {.lex_state = 199}, - [925] = {.lex_state = 204}, - [926] = {.lex_state = 121, .external_lex_state = 2}, - [927] = {.lex_state = 121, .external_lex_state = 2}, - [928] = {.lex_state = 535, .external_lex_state = 2}, - [929] = {.lex_state = 286, .external_lex_state = 5}, - [930] = {.lex_state = 535, .external_lex_state = 2}, - [931] = {.lex_state = 535, .external_lex_state = 2}, - [932] = {.lex_state = 509, .external_lex_state = 2}, - [933] = {.lex_state = 509, .external_lex_state = 2}, - [934] = {.lex_state = 306}, - [935] = {.lex_state = 527, .external_lex_state = 2}, - [936] = {.lex_state = 535, .external_lex_state = 2}, - [937] = {.lex_state = 193}, - [938] = {.lex_state = 195}, - [939] = {.lex_state = 148}, - [940] = {.lex_state = 199}, - [941] = {.lex_state = 204}, - [942] = {.lex_state = 121, .external_lex_state = 2}, - [943] = {.lex_state = 121, .external_lex_state = 2}, - [944] = {.lex_state = 517}, - [945] = {.lex_state = 489, .external_lex_state = 2}, - [946] = {.lex_state = 517}, - [947] = {.lex_state = 489, .external_lex_state = 2}, - [948] = {.lex_state = 527, .external_lex_state = 2}, - [949] = {.lex_state = 527, .external_lex_state = 2}, - [950] = {.lex_state = 535, .external_lex_state = 2}, - [951] = {.lex_state = 527, .external_lex_state = 2}, - [952] = {.lex_state = 519, .external_lex_state = 2}, - [953] = {.lex_state = 519, .external_lex_state = 2}, - [954] = {.lex_state = 306}, - [955] = {.lex_state = 527, .external_lex_state = 2}, - [956] = {.lex_state = 487, .external_lex_state = 2}, - [957] = {.lex_state = 487, .external_lex_state = 2}, - [958] = {.lex_state = 527, .external_lex_state = 2}, - [959] = {.lex_state = 193}, - [960] = {.lex_state = 322, .external_lex_state = 2}, - [961] = {.lex_state = 527, .external_lex_state = 2}, - [962] = {.lex_state = 148}, - [963] = {.lex_state = 527, .external_lex_state = 2}, - [964] = {.lex_state = 527, .external_lex_state = 2}, - [965] = {.lex_state = 527, .external_lex_state = 2}, - [966] = {.lex_state = 282}, - [967] = {.lex_state = 282}, - [968] = {.lex_state = 239}, - [969] = {.lex_state = 242, .external_lex_state = 2}, - [970] = {.lex_state = 251}, - [971] = {.lex_state = 253, .external_lex_state = 2}, - [972] = {.lex_state = 527, .external_lex_state = 2}, - [973] = {.lex_state = 487, .external_lex_state = 2}, - [974] = {.lex_state = 487, .external_lex_state = 2}, - [975] = {.lex_state = 193}, - [976] = {.lex_state = 121, .external_lex_state = 2}, - [977] = {.lex_state = 487, .external_lex_state = 2}, - [978] = {.lex_state = 148}, - [979] = {.lex_state = 487, .external_lex_state = 2}, - [980] = {.lex_state = 487, .external_lex_state = 2}, - [981] = {.lex_state = 487, .external_lex_state = 2}, - [982] = {.lex_state = 282}, - [983] = {.lex_state = 282}, - [984] = {.lex_state = 239}, - [985] = {.lex_state = 242, .external_lex_state = 2}, - [986] = {.lex_state = 251}, - [987] = {.lex_state = 253, .external_lex_state = 2}, - [988] = {.lex_state = 529, .external_lex_state = 2}, - [989] = {.lex_state = 239}, - [990] = {.lex_state = 242, .external_lex_state = 2}, - [991] = {.lex_state = 529, .external_lex_state = 2}, - [992] = {.lex_state = 529, .external_lex_state = 2}, - [993] = {.lex_state = 123}, - [994] = {.lex_state = 529, .external_lex_state = 2}, - [995] = {.lex_state = 123}, - [996] = {.lex_state = 529, .external_lex_state = 2}, - [997] = {.lex_state = 491, .external_lex_state = 2}, - [998] = {.lex_state = 239}, - [999] = {.lex_state = 242, .external_lex_state = 2}, - [1000] = {.lex_state = 491, .external_lex_state = 2}, - [1001] = {.lex_state = 491, .external_lex_state = 2}, - [1002] = {.lex_state = 123}, - [1003] = {.lex_state = 491, .external_lex_state = 2}, - [1004] = {.lex_state = 123}, - [1005] = {.lex_state = 491, .external_lex_state = 2}, - [1006] = {.lex_state = 360}, - [1007] = {.lex_state = 316}, - [1008] = {.lex_state = 360}, - [1009] = {.lex_state = 316}, - [1010] = {.lex_state = 422, .external_lex_state = 6}, - [1011] = {.lex_state = 360}, - [1012] = {.lex_state = 505, .external_lex_state = 2}, - [1013] = {.lex_state = 239}, - [1014] = {.lex_state = 242, .external_lex_state = 2}, - [1015] = {.lex_state = 505, .external_lex_state = 2}, - [1016] = {.lex_state = 505, .external_lex_state = 2}, - [1017] = {.lex_state = 123}, - [1018] = {.lex_state = 505, .external_lex_state = 2}, - [1019] = {.lex_state = 123}, - [1020] = {.lex_state = 505, .external_lex_state = 2}, - [1021] = {.lex_state = 527, .external_lex_state = 2}, - [1022] = {.lex_state = 487, .external_lex_state = 2}, - [1023] = {.lex_state = 527, .external_lex_state = 2}, - [1024] = {.lex_state = 487, .external_lex_state = 2}, - [1025] = {.lex_state = 360}, - [1026] = {.lex_state = 187}, - [1027] = {.lex_state = 517}, - [1028] = {.lex_state = 269, .external_lex_state = 2}, - [1029] = {.lex_state = 517}, - [1030] = {.lex_state = 314}, - [1031] = {.lex_state = 273, .external_lex_state = 2}, - [1032] = {.lex_state = 310}, - [1033] = {.lex_state = 316}, - [1034] = {.lex_state = 275}, - [1035] = {.lex_state = 306}, - [1036] = {.lex_state = 535, .external_lex_state = 2}, - [1037] = {.lex_state = 322, .external_lex_state = 2}, - [1038] = {.lex_state = 535, .external_lex_state = 2}, - [1039] = {.lex_state = 535, .external_lex_state = 2}, - [1040] = {.lex_state = 193}, - [1041] = {.lex_state = 121, .external_lex_state = 2}, - [1042] = {.lex_state = 535, .external_lex_state = 2}, - [1043] = {.lex_state = 148}, - [1044] = {.lex_state = 535, .external_lex_state = 2}, - [1045] = {.lex_state = 535, .external_lex_state = 2}, - [1046] = {.lex_state = 535, .external_lex_state = 2}, - [1047] = {.lex_state = 282}, - [1048] = {.lex_state = 282}, + [880] = {.lex_state = 255}, + [881] = {.lex_state = 535, .external_lex_state = 2}, + [882] = {.lex_state = 495, .external_lex_state = 2}, + [883] = {.lex_state = 123}, + [884] = {.lex_state = 193}, + [885] = {.lex_state = 123}, + [886] = {.lex_state = 148}, + [887] = {.lex_state = 535, .external_lex_state = 2}, + [888] = {.lex_state = 199, .external_lex_state = 3}, + [889] = {.lex_state = 204, .external_lex_state = 3}, + [890] = {.lex_state = 121, .external_lex_state = 2}, + [891] = {.lex_state = 121, .external_lex_state = 2}, + [892] = {.lex_state = 535, .external_lex_state = 2}, + [893] = {.lex_state = 495, .external_lex_state = 2}, + [894] = {.lex_state = 326, .external_lex_state = 2}, + [895] = {.lex_state = 195}, + [896] = {.lex_state = 148}, + [897] = {.lex_state = 495, .external_lex_state = 2}, + [898] = {.lex_state = 199, .external_lex_state = 3}, + [899] = {.lex_state = 204, .external_lex_state = 3}, + [900] = {.lex_state = 121, .external_lex_state = 2}, + [901] = {.lex_state = 121, .external_lex_state = 2}, + [902] = {.lex_state = 193}, + [903] = {.lex_state = 537, .external_lex_state = 2}, + [904] = {.lex_state = 193}, + [905] = {.lex_state = 121, .external_lex_state = 2}, + [906] = {.lex_state = 537, .external_lex_state = 2}, + [907] = {.lex_state = 148}, + [908] = {.lex_state = 537, .external_lex_state = 2}, + [909] = {.lex_state = 537, .external_lex_state = 2}, + [910] = {.lex_state = 537, .external_lex_state = 2}, + [911] = {.lex_state = 282, .external_lex_state = 3}, + [912] = {.lex_state = 284}, + [913] = {.lex_state = 284}, + [914] = {.lex_state = 239}, + [915] = {.lex_state = 242, .external_lex_state = 2}, + [916] = {.lex_state = 251}, + [917] = {.lex_state = 253, .external_lex_state = 2}, + [918] = {.lex_state = 499, .external_lex_state = 2}, + [919] = {.lex_state = 239}, + [920] = {.lex_state = 242, .external_lex_state = 2}, + [921] = {.lex_state = 193}, + [922] = {.lex_state = 121, .external_lex_state = 2}, + [923] = {.lex_state = 499, .external_lex_state = 2}, + [924] = {.lex_state = 148}, + [925] = {.lex_state = 499, .external_lex_state = 2}, + [926] = {.lex_state = 499, .external_lex_state = 2}, + [927] = {.lex_state = 499, .external_lex_state = 2}, + [928] = {.lex_state = 282, .external_lex_state = 3}, + [929] = {.lex_state = 284}, + [930] = {.lex_state = 284}, + [931] = {.lex_state = 239}, + [932] = {.lex_state = 242, .external_lex_state = 2}, + [933] = {.lex_state = 251}, + [934] = {.lex_state = 253, .external_lex_state = 2}, + [935] = {.lex_state = 424, .external_lex_state = 7}, + [936] = {.lex_state = 424, .external_lex_state = 7}, + [937] = {.lex_state = 318}, + [938] = {.lex_state = 499, .external_lex_state = 2}, + [939] = {.lex_state = 318}, + [940] = {.lex_state = 324}, + [941] = {.lex_state = 362}, + [942] = {.lex_state = 316}, + [943] = {.lex_state = 362}, + [944] = {.lex_state = 513, .external_lex_state = 2}, + [945] = {.lex_state = 193}, + [946] = {.lex_state = 326, .external_lex_state = 2}, + [947] = {.lex_state = 513, .external_lex_state = 2}, + [948] = {.lex_state = 148}, + [949] = {.lex_state = 513, .external_lex_state = 2}, + [950] = {.lex_state = 513, .external_lex_state = 2}, + [951] = {.lex_state = 513, .external_lex_state = 2}, + [952] = {.lex_state = 282, .external_lex_state = 3}, + [953] = {.lex_state = 284}, + [954] = {.lex_state = 284}, + [955] = {.lex_state = 239}, + [956] = {.lex_state = 242, .external_lex_state = 2}, + [957] = {.lex_state = 251}, + [958] = {.lex_state = 253, .external_lex_state = 2}, + [959] = {.lex_state = 535, .external_lex_state = 2}, + [960] = {.lex_state = 495, .external_lex_state = 2}, + [961] = {.lex_state = 535, .external_lex_state = 2}, + [962] = {.lex_state = 495, .external_lex_state = 2}, + [963] = {.lex_state = 273, .external_lex_state = 2}, + [964] = {.lex_state = 308}, + [965] = {.lex_state = 121, .external_lex_state = 2}, + [966] = {.lex_state = 269, .external_lex_state = 2}, + [967] = {.lex_state = 525}, + [968] = {.lex_state = 273, .external_lex_state = 2}, + [969] = {.lex_state = 275}, + [970] = {.lex_state = 184}, + [971] = {.lex_state = 255}, + [972] = {.lex_state = 525}, + [973] = {.lex_state = 525}, + [974] = {.lex_state = 123}, + [975] = {.lex_state = 123}, + [976] = {.lex_state = 535, .external_lex_state = 2}, + [977] = {.lex_state = 543, .external_lex_state = 2}, + [978] = {.lex_state = 193}, + [979] = {.lex_state = 195}, + [980] = {.lex_state = 148}, + [981] = {.lex_state = 543, .external_lex_state = 2}, + [982] = {.lex_state = 199, .external_lex_state = 3}, + [983] = {.lex_state = 204, .external_lex_state = 3}, + [984] = {.lex_state = 121, .external_lex_state = 2}, + [985] = {.lex_state = 121, .external_lex_state = 2}, + [986] = {.lex_state = 543, .external_lex_state = 2}, + [987] = {.lex_state = 288, .external_lex_state = 6}, + [988] = {.lex_state = 543, .external_lex_state = 2}, + [989] = {.lex_state = 543, .external_lex_state = 2}, + [990] = {.lex_state = 517, .external_lex_state = 2}, + [991] = {.lex_state = 517, .external_lex_state = 2}, + [992] = {.lex_state = 308}, + [993] = {.lex_state = 535, .external_lex_state = 2}, + [994] = {.lex_state = 543, .external_lex_state = 2}, + [995] = {.lex_state = 193}, + [996] = {.lex_state = 195}, + [997] = {.lex_state = 148}, + [998] = {.lex_state = 199, .external_lex_state = 3}, + [999] = {.lex_state = 204, .external_lex_state = 3}, + [1000] = {.lex_state = 121, .external_lex_state = 2}, + [1001] = {.lex_state = 121, .external_lex_state = 2}, + [1002] = {.lex_state = 525}, + [1003] = {.lex_state = 497, .external_lex_state = 2}, + [1004] = {.lex_state = 525}, + [1005] = {.lex_state = 497, .external_lex_state = 2}, + [1006] = {.lex_state = 535, .external_lex_state = 2}, + [1007] = {.lex_state = 535, .external_lex_state = 2}, + [1008] = {.lex_state = 543, .external_lex_state = 2}, + [1009] = {.lex_state = 535, .external_lex_state = 2}, + [1010] = {.lex_state = 527, .external_lex_state = 2}, + [1011] = {.lex_state = 527, .external_lex_state = 2}, + [1012] = {.lex_state = 308}, + [1013] = {.lex_state = 535, .external_lex_state = 2}, + [1014] = {.lex_state = 495, .external_lex_state = 2}, + [1015] = {.lex_state = 495, .external_lex_state = 2}, + [1016] = {.lex_state = 535, .external_lex_state = 2}, + [1017] = {.lex_state = 193}, + [1018] = {.lex_state = 326, .external_lex_state = 2}, + [1019] = {.lex_state = 535, .external_lex_state = 2}, + [1020] = {.lex_state = 148}, + [1021] = {.lex_state = 535, .external_lex_state = 2}, + [1022] = {.lex_state = 535, .external_lex_state = 2}, + [1023] = {.lex_state = 535, .external_lex_state = 2}, + [1024] = {.lex_state = 282, .external_lex_state = 3}, + [1025] = {.lex_state = 284}, + [1026] = {.lex_state = 284}, + [1027] = {.lex_state = 239}, + [1028] = {.lex_state = 242, .external_lex_state = 2}, + [1029] = {.lex_state = 251}, + [1030] = {.lex_state = 253, .external_lex_state = 2}, + [1031] = {.lex_state = 535, .external_lex_state = 2}, + [1032] = {.lex_state = 495, .external_lex_state = 2}, + [1033] = {.lex_state = 495, .external_lex_state = 2}, + [1034] = {.lex_state = 193}, + [1035] = {.lex_state = 121, .external_lex_state = 2}, + [1036] = {.lex_state = 495, .external_lex_state = 2}, + [1037] = {.lex_state = 148}, + [1038] = {.lex_state = 495, .external_lex_state = 2}, + [1039] = {.lex_state = 495, .external_lex_state = 2}, + [1040] = {.lex_state = 495, .external_lex_state = 2}, + [1041] = {.lex_state = 282, .external_lex_state = 3}, + [1042] = {.lex_state = 284}, + [1043] = {.lex_state = 284}, + [1044] = {.lex_state = 239}, + [1045] = {.lex_state = 242, .external_lex_state = 2}, + [1046] = {.lex_state = 251}, + [1047] = {.lex_state = 253, .external_lex_state = 2}, + [1048] = {.lex_state = 537, .external_lex_state = 2}, [1049] = {.lex_state = 239}, [1050] = {.lex_state = 242, .external_lex_state = 2}, - [1051] = {.lex_state = 251}, - [1052] = {.lex_state = 253, .external_lex_state = 2}, - [1053] = {.lex_state = 535, .external_lex_state = 2}, - [1054] = {.lex_state = 286, .external_lex_state = 5}, - [1055] = {.lex_state = 351, .external_lex_state = 2}, - [1056] = {.lex_state = 517}, - [1057] = {.lex_state = 535, .external_lex_state = 2}, - [1058] = {.lex_state = 489, .external_lex_state = 2}, - [1059] = {.lex_state = 193}, - [1060] = {.lex_state = 121, .external_lex_state = 2}, - [1061] = {.lex_state = 489, .external_lex_state = 2}, - [1062] = {.lex_state = 148}, - [1063] = {.lex_state = 489, .external_lex_state = 2}, - [1064] = {.lex_state = 489, .external_lex_state = 2}, - [1065] = {.lex_state = 489, .external_lex_state = 2}, - [1066] = {.lex_state = 282}, - [1067] = {.lex_state = 282}, - [1068] = {.lex_state = 239}, - [1069] = {.lex_state = 242, .external_lex_state = 2}, - [1070] = {.lex_state = 251}, - [1071] = {.lex_state = 253, .external_lex_state = 2}, - [1072] = {.lex_state = 527, .external_lex_state = 2}, - [1073] = {.lex_state = 527, .external_lex_state = 2}, - [1074] = {.lex_state = 535, .external_lex_state = 2}, - [1075] = {.lex_state = 360}, - [1076] = {.lex_state = 487, .external_lex_state = 2}, - [1077] = {.lex_state = 527, .external_lex_state = 2}, - [1078] = {.lex_state = 239}, - [1079] = {.lex_state = 242, .external_lex_state = 2}, - [1080] = {.lex_state = 527, .external_lex_state = 2}, - [1081] = {.lex_state = 527, .external_lex_state = 2}, - [1082] = {.lex_state = 123}, - [1083] = {.lex_state = 527, .external_lex_state = 2}, - [1084] = {.lex_state = 123}, - [1085] = {.lex_state = 527, .external_lex_state = 2}, - [1086] = {.lex_state = 487, .external_lex_state = 2}, - [1087] = {.lex_state = 239}, - [1088] = {.lex_state = 242, .external_lex_state = 2}, - [1089] = {.lex_state = 487, .external_lex_state = 2}, - [1090] = {.lex_state = 487, .external_lex_state = 2}, - [1091] = {.lex_state = 123}, - [1092] = {.lex_state = 487, .external_lex_state = 2}, - [1093] = {.lex_state = 123}, - [1094] = {.lex_state = 487, .external_lex_state = 2}, - [1095] = {.lex_state = 529, .external_lex_state = 2}, - [1096] = {.lex_state = 353}, - [1097] = {.lex_state = 353}, - [1098] = {.lex_state = 491, .external_lex_state = 2}, - [1099] = {.lex_state = 353}, - [1100] = {.lex_state = 353}, - [1101] = {.lex_state = 360}, - [1102] = {.lex_state = 505, .external_lex_state = 2}, - [1103] = {.lex_state = 353}, - [1104] = {.lex_state = 353}, - [1105] = {.lex_state = 487, .external_lex_state = 2}, - [1106] = {.lex_state = 487, .external_lex_state = 2}, - [1107] = {.lex_state = 517}, - [1108] = {.lex_state = 517}, - [1109] = {.lex_state = 517}, - [1110] = {.lex_state = 314}, - [1111] = {.lex_state = 310}, - [1112] = {.lex_state = 517}, - [1113] = {.lex_state = 316}, - [1114] = {.lex_state = 316}, - [1115] = {.lex_state = 517}, - [1116] = {.lex_state = 535, .external_lex_state = 2}, - [1117] = {.lex_state = 239}, - [1118] = {.lex_state = 242, .external_lex_state = 2}, - [1119] = {.lex_state = 535, .external_lex_state = 2}, - [1120] = {.lex_state = 535, .external_lex_state = 2}, - [1121] = {.lex_state = 123}, - [1122] = {.lex_state = 535, .external_lex_state = 2}, - [1123] = {.lex_state = 123}, - [1124] = {.lex_state = 535, .external_lex_state = 2}, - [1125] = {.lex_state = 535, .external_lex_state = 2}, - [1126] = {.lex_state = 517}, - [1127] = {.lex_state = 351, .external_lex_state = 2}, - [1128] = {.lex_state = 489, .external_lex_state = 2}, - [1129] = {.lex_state = 239}, - [1130] = {.lex_state = 242, .external_lex_state = 2}, - [1131] = {.lex_state = 489, .external_lex_state = 2}, - [1132] = {.lex_state = 489, .external_lex_state = 2}, - [1133] = {.lex_state = 123}, - [1134] = {.lex_state = 489, .external_lex_state = 2}, - [1135] = {.lex_state = 123}, - [1136] = {.lex_state = 489, .external_lex_state = 2}, - [1137] = {.lex_state = 535, .external_lex_state = 2}, - [1138] = {.lex_state = 535, .external_lex_state = 2}, - [1139] = {.lex_state = 527, .external_lex_state = 2}, - [1140] = {.lex_state = 353}, - [1141] = {.lex_state = 353}, - [1142] = {.lex_state = 487, .external_lex_state = 2}, - [1143] = {.lex_state = 353}, - [1144] = {.lex_state = 353}, - [1145] = {.lex_state = 529, .external_lex_state = 2}, - [1146] = {.lex_state = 529, .external_lex_state = 2}, - [1147] = {.lex_state = 491, .external_lex_state = 2}, - [1148] = {.lex_state = 491, .external_lex_state = 2}, - [1149] = {.lex_state = 505, .external_lex_state = 2}, - [1150] = {.lex_state = 505, .external_lex_state = 2}, - [1151] = {.lex_state = 517}, - [1152] = {.lex_state = 314}, - [1153] = {.lex_state = 517}, - [1154] = {.lex_state = 316}, + [1051] = {.lex_state = 537, .external_lex_state = 2}, + [1052] = {.lex_state = 324}, + [1053] = {.lex_state = 324}, + [1054] = {.lex_state = 537, .external_lex_state = 2}, + [1055] = {.lex_state = 123}, + [1056] = {.lex_state = 537, .external_lex_state = 2}, + [1057] = {.lex_state = 123}, + [1058] = {.lex_state = 537, .external_lex_state = 2}, + [1059] = {.lex_state = 499, .external_lex_state = 2}, + [1060] = {.lex_state = 239}, + [1061] = {.lex_state = 242, .external_lex_state = 2}, + [1062] = {.lex_state = 499, .external_lex_state = 2}, + [1063] = {.lex_state = 324}, + [1064] = {.lex_state = 324}, + [1065] = {.lex_state = 499, .external_lex_state = 2}, + [1066] = {.lex_state = 123}, + [1067] = {.lex_state = 499, .external_lex_state = 2}, + [1068] = {.lex_state = 123}, + [1069] = {.lex_state = 499, .external_lex_state = 2}, + [1070] = {.lex_state = 362}, + [1071] = {.lex_state = 318}, + [1072] = {.lex_state = 362}, + [1073] = {.lex_state = 318}, + [1074] = {.lex_state = 424, .external_lex_state = 7}, + [1075] = {.lex_state = 362}, + [1076] = {.lex_state = 513, .external_lex_state = 2}, + [1077] = {.lex_state = 239}, + [1078] = {.lex_state = 242, .external_lex_state = 2}, + [1079] = {.lex_state = 513, .external_lex_state = 2}, + [1080] = {.lex_state = 324}, + [1081] = {.lex_state = 324}, + [1082] = {.lex_state = 513, .external_lex_state = 2}, + [1083] = {.lex_state = 123}, + [1084] = {.lex_state = 513, .external_lex_state = 2}, + [1085] = {.lex_state = 123}, + [1086] = {.lex_state = 513, .external_lex_state = 2}, + [1087] = {.lex_state = 535, .external_lex_state = 2}, + [1088] = {.lex_state = 495, .external_lex_state = 2}, + [1089] = {.lex_state = 535, .external_lex_state = 2}, + [1090] = {.lex_state = 495, .external_lex_state = 2}, + [1091] = {.lex_state = 362}, + [1092] = {.lex_state = 187}, + [1093] = {.lex_state = 525}, + [1094] = {.lex_state = 269, .external_lex_state = 2}, + [1095] = {.lex_state = 525}, + [1096] = {.lex_state = 316}, + [1097] = {.lex_state = 273, .external_lex_state = 2}, + [1098] = {.lex_state = 312}, + [1099] = {.lex_state = 318}, + [1100] = {.lex_state = 275}, + [1101] = {.lex_state = 308}, + [1102] = {.lex_state = 543, .external_lex_state = 2}, + [1103] = {.lex_state = 326, .external_lex_state = 2}, + [1104] = {.lex_state = 543, .external_lex_state = 2}, + [1105] = {.lex_state = 543, .external_lex_state = 2}, + [1106] = {.lex_state = 193}, + [1107] = {.lex_state = 121, .external_lex_state = 2}, + [1108] = {.lex_state = 543, .external_lex_state = 2}, + [1109] = {.lex_state = 148}, + [1110] = {.lex_state = 543, .external_lex_state = 2}, + [1111] = {.lex_state = 543, .external_lex_state = 2}, + [1112] = {.lex_state = 543, .external_lex_state = 2}, + [1113] = {.lex_state = 282, .external_lex_state = 3}, + [1114] = {.lex_state = 284}, + [1115] = {.lex_state = 284}, + [1116] = {.lex_state = 239}, + [1117] = {.lex_state = 242, .external_lex_state = 2}, + [1118] = {.lex_state = 251}, + [1119] = {.lex_state = 253, .external_lex_state = 2}, + [1120] = {.lex_state = 543, .external_lex_state = 2}, + [1121] = {.lex_state = 288, .external_lex_state = 6}, + [1122] = {.lex_state = 355, .external_lex_state = 2}, + [1123] = {.lex_state = 525}, + [1124] = {.lex_state = 543, .external_lex_state = 2}, + [1125] = {.lex_state = 497, .external_lex_state = 2}, + [1126] = {.lex_state = 193}, + [1127] = {.lex_state = 121, .external_lex_state = 2}, + [1128] = {.lex_state = 497, .external_lex_state = 2}, + [1129] = {.lex_state = 148}, + [1130] = {.lex_state = 497, .external_lex_state = 2}, + [1131] = {.lex_state = 497, .external_lex_state = 2}, + [1132] = {.lex_state = 497, .external_lex_state = 2}, + [1133] = {.lex_state = 282, .external_lex_state = 3}, + [1134] = {.lex_state = 284}, + [1135] = {.lex_state = 284}, + [1136] = {.lex_state = 239}, + [1137] = {.lex_state = 242, .external_lex_state = 2}, + [1138] = {.lex_state = 251}, + [1139] = {.lex_state = 253, .external_lex_state = 2}, + [1140] = {.lex_state = 535, .external_lex_state = 2}, + [1141] = {.lex_state = 535, .external_lex_state = 2}, + [1142] = {.lex_state = 543, .external_lex_state = 2}, + [1143] = {.lex_state = 362}, + [1144] = {.lex_state = 495, .external_lex_state = 2}, + [1145] = {.lex_state = 535, .external_lex_state = 2}, + [1146] = {.lex_state = 239}, + [1147] = {.lex_state = 242, .external_lex_state = 2}, + [1148] = {.lex_state = 535, .external_lex_state = 2}, + [1149] = {.lex_state = 324}, + [1150] = {.lex_state = 324}, + [1151] = {.lex_state = 535, .external_lex_state = 2}, + [1152] = {.lex_state = 123}, + [1153] = {.lex_state = 535, .external_lex_state = 2}, + [1154] = {.lex_state = 123}, [1155] = {.lex_state = 535, .external_lex_state = 2}, - [1156] = {.lex_state = 353}, - [1157] = {.lex_state = 353}, - [1158] = {.lex_state = 517}, - [1159] = {.lex_state = 489, .external_lex_state = 2}, - [1160] = {.lex_state = 353}, - [1161] = {.lex_state = 353}, - [1162] = {.lex_state = 527, .external_lex_state = 2}, - [1163] = {.lex_state = 527, .external_lex_state = 2}, - [1164] = {.lex_state = 487, .external_lex_state = 2}, - [1165] = {.lex_state = 487, .external_lex_state = 2}, - [1166] = {.lex_state = 517}, - [1167] = {.lex_state = 517}, - [1168] = {.lex_state = 535, .external_lex_state = 2}, - [1169] = {.lex_state = 535, .external_lex_state = 2}, - [1170] = {.lex_state = 489, .external_lex_state = 2}, - [1171] = {.lex_state = 489, .external_lex_state = 2}, + [1156] = {.lex_state = 495, .external_lex_state = 2}, + [1157] = {.lex_state = 239}, + [1158] = {.lex_state = 242, .external_lex_state = 2}, + [1159] = {.lex_state = 495, .external_lex_state = 2}, + [1160] = {.lex_state = 324}, + [1161] = {.lex_state = 324}, + [1162] = {.lex_state = 495, .external_lex_state = 2}, + [1163] = {.lex_state = 123}, + [1164] = {.lex_state = 495, .external_lex_state = 2}, + [1165] = {.lex_state = 123}, + [1166] = {.lex_state = 495, .external_lex_state = 2}, + [1167] = {.lex_state = 537, .external_lex_state = 2}, + [1168] = {.lex_state = 537, .external_lex_state = 2}, + [1169] = {.lex_state = 537, .external_lex_state = 2}, + [1170] = {.lex_state = 324}, + [1171] = {.lex_state = 324}, + [1172] = {.lex_state = 499, .external_lex_state = 2}, + [1173] = {.lex_state = 499, .external_lex_state = 2}, + [1174] = {.lex_state = 499, .external_lex_state = 2}, + [1175] = {.lex_state = 324}, + [1176] = {.lex_state = 324}, + [1177] = {.lex_state = 362}, + [1178] = {.lex_state = 513, .external_lex_state = 2}, + [1179] = {.lex_state = 513, .external_lex_state = 2}, + [1180] = {.lex_state = 513, .external_lex_state = 2}, + [1181] = {.lex_state = 324}, + [1182] = {.lex_state = 324}, + [1183] = {.lex_state = 495, .external_lex_state = 2}, + [1184] = {.lex_state = 495, .external_lex_state = 2}, + [1185] = {.lex_state = 525}, + [1186] = {.lex_state = 525}, + [1187] = {.lex_state = 525}, + [1188] = {.lex_state = 316}, + [1189] = {.lex_state = 312}, + [1190] = {.lex_state = 525}, + [1191] = {.lex_state = 318}, + [1192] = {.lex_state = 318}, + [1193] = {.lex_state = 525}, + [1194] = {.lex_state = 543, .external_lex_state = 2}, + [1195] = {.lex_state = 239}, + [1196] = {.lex_state = 242, .external_lex_state = 2}, + [1197] = {.lex_state = 543, .external_lex_state = 2}, + [1198] = {.lex_state = 324}, + [1199] = {.lex_state = 324}, + [1200] = {.lex_state = 543, .external_lex_state = 2}, + [1201] = {.lex_state = 123}, + [1202] = {.lex_state = 543, .external_lex_state = 2}, + [1203] = {.lex_state = 123}, + [1204] = {.lex_state = 543, .external_lex_state = 2}, + [1205] = {.lex_state = 543, .external_lex_state = 2}, + [1206] = {.lex_state = 525}, + [1207] = {.lex_state = 355, .external_lex_state = 2}, + [1208] = {.lex_state = 497, .external_lex_state = 2}, + [1209] = {.lex_state = 239}, + [1210] = {.lex_state = 242, .external_lex_state = 2}, + [1211] = {.lex_state = 497, .external_lex_state = 2}, + [1212] = {.lex_state = 324}, + [1213] = {.lex_state = 324}, + [1214] = {.lex_state = 497, .external_lex_state = 2}, + [1215] = {.lex_state = 123}, + [1216] = {.lex_state = 497, .external_lex_state = 2}, + [1217] = {.lex_state = 123}, + [1218] = {.lex_state = 497, .external_lex_state = 2}, + [1219] = {.lex_state = 543, .external_lex_state = 2}, + [1220] = {.lex_state = 543, .external_lex_state = 2}, + [1221] = {.lex_state = 535, .external_lex_state = 2}, + [1222] = {.lex_state = 535, .external_lex_state = 2}, + [1223] = {.lex_state = 535, .external_lex_state = 2}, + [1224] = {.lex_state = 324}, + [1225] = {.lex_state = 324}, + [1226] = {.lex_state = 495, .external_lex_state = 2}, + [1227] = {.lex_state = 495, .external_lex_state = 2}, + [1228] = {.lex_state = 495, .external_lex_state = 2}, + [1229] = {.lex_state = 324}, + [1230] = {.lex_state = 324}, + [1231] = {.lex_state = 537, .external_lex_state = 2}, + [1232] = {.lex_state = 537, .external_lex_state = 2}, + [1233] = {.lex_state = 499, .external_lex_state = 2}, + [1234] = {.lex_state = 499, .external_lex_state = 2}, + [1235] = {.lex_state = 513, .external_lex_state = 2}, + [1236] = {.lex_state = 513, .external_lex_state = 2}, + [1237] = {.lex_state = 525}, + [1238] = {.lex_state = 316}, + [1239] = {.lex_state = 525}, + [1240] = {.lex_state = 318}, + [1241] = {.lex_state = 543, .external_lex_state = 2}, + [1242] = {.lex_state = 543, .external_lex_state = 2}, + [1243] = {.lex_state = 543, .external_lex_state = 2}, + [1244] = {.lex_state = 324}, + [1245] = {.lex_state = 324}, + [1246] = {.lex_state = 525}, + [1247] = {.lex_state = 497, .external_lex_state = 2}, + [1248] = {.lex_state = 497, .external_lex_state = 2}, + [1249] = {.lex_state = 497, .external_lex_state = 2}, + [1250] = {.lex_state = 324}, + [1251] = {.lex_state = 324}, + [1252] = {.lex_state = 535, .external_lex_state = 2}, + [1253] = {.lex_state = 535, .external_lex_state = 2}, + [1254] = {.lex_state = 495, .external_lex_state = 2}, + [1255] = {.lex_state = 495, .external_lex_state = 2}, + [1256] = {.lex_state = 525}, + [1257] = {.lex_state = 525}, + [1258] = {.lex_state = 543, .external_lex_state = 2}, + [1259] = {.lex_state = 543, .external_lex_state = 2}, + [1260] = {.lex_state = 497, .external_lex_state = 2}, + [1261] = {.lex_state = 497, .external_lex_state = 2}, }; enum { @@ -11609,6 +11996,7 @@ enum { ts_external_token__heredoc_end, ts_external_token_file_descriptor, ts_external_token__empty_value, + ts_external_token_POUND, }; static TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = { @@ -11618,9 +12006,10 @@ static TSSymbol ts_external_scanner_symbol_map[EXTERNAL_TOKEN_COUNT] = { [ts_external_token__heredoc_end] = sym__heredoc_end, [ts_external_token_file_descriptor] = sym_file_descriptor, [ts_external_token__empty_value] = sym__empty_value, + [ts_external_token_POUND] = anon_sym_POUND, }; -static bool ts_external_scanner_states[7][EXTERNAL_TOKEN_COUNT] = { +static bool ts_external_scanner_states[9][EXTERNAL_TOKEN_COUNT] = { [1] = { [ts_external_token__simple_heredoc] = true, [ts_external_token__heredoc_beginning] = true, @@ -11628,67 +12017,77 @@ static bool ts_external_scanner_states[7][EXTERNAL_TOKEN_COUNT] = { [ts_external_token__heredoc_end] = true, [ts_external_token_file_descriptor] = true, [ts_external_token__empty_value] = true, + [ts_external_token_POUND] = true, }, [2] = { [ts_external_token_file_descriptor] = true, }, [3] = { + [ts_external_token_POUND] = true, + }, + [4] = { [ts_external_token__simple_heredoc] = true, [ts_external_token__heredoc_beginning] = true, }, - [4] = { - [ts_external_token__empty_value] = true, - }, [5] = { - [ts_external_token__heredoc_middle] = true, - [ts_external_token__heredoc_end] = true, + [ts_external_token__empty_value] = true, }, [6] = { [ts_external_token__heredoc_middle] = true, [ts_external_token__heredoc_end] = true, + }, + [7] = { + [ts_external_token__heredoc_middle] = true, + [ts_external_token__heredoc_end] = true, [ts_external_token_file_descriptor] = true, }, + [8] = { + [ts_external_token__heredoc_middle] = true, + [ts_external_token__heredoc_end] = true, + [ts_external_token_file_descriptor] = true, + [ts_external_token_POUND] = true, + }, }; static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [0] = { [sym_program] = STATE(17), - [sym__terminated_statement] = STATE(645), - [sym_for_statement] = STATE(646), - [sym_while_statement] = STATE(646), - [sym_do_group] = STATE(647), - [sym_if_statement] = STATE(646), - [sym_elif_clause] = STATE(648), - [sym_else_clause] = STATE(649), - [sym_case_statement] = STATE(646), - [sym_case_item] = STATE(650), - [sym_function_definition] = STATE(646), - [sym_compound_statement] = STATE(651), - [sym_subshell] = STATE(646), - [sym_pipeline] = STATE(646), - [sym_list] = STATE(646), - [sym_bracket_command] = STATE(646), - [sym_command] = STATE(646), - [sym_environment_variable_assignment] = STATE(652), - [sym_file_redirect] = STATE(653), - [sym_heredoc_redirect] = STATE(654), - [sym_heredoc] = STATE(655), - [sym_string] = STATE(656), - [sym_array] = STATE(657), - [sym_simple_expansion] = STATE(658), - [sym_expansion] = STATE(658), - [sym_command_substitution] = STATE(659), - [sym_process_substitution] = STATE(657), - [sym_special_variable_name] = STATE(660), - [aux_sym_program_repeat1] = STATE(661), - [aux_sym_if_statement_repeat1] = STATE(662), - [aux_sym_case_statement_repeat1] = STATE(663), - [aux_sym_bracket_command_repeat1] = STATE(664), - [aux_sym_command_repeat1] = STATE(665), - [aux_sym_command_repeat2] = STATE(666), - [aux_sym_heredoc_repeat1] = STATE(667), - [aux_sym_string_repeat1] = STATE(668), - [aux_sym_array_repeat1] = STATE(669), + [sym__terminated_statement] = STATE(696), + [sym_for_statement] = STATE(697), + [sym_while_statement] = STATE(697), + [sym_do_group] = STATE(698), + [sym_if_statement] = STATE(697), + [sym_elif_clause] = STATE(699), + [sym_else_clause] = STATE(700), + [sym_case_statement] = STATE(697), + [sym_case_item] = STATE(701), + [sym_function_definition] = STATE(697), + [sym_compound_statement] = STATE(702), + [sym_subshell] = STATE(697), + [sym_pipeline] = STATE(697), + [sym_list] = STATE(697), + [sym_bracket_command] = STATE(697), + [sym_command] = STATE(697), + [sym_environment_variable_assignment] = STATE(703), + [sym_file_redirect] = STATE(704), + [sym_heredoc_redirect] = STATE(705), + [sym_heredoc] = STATE(706), + [sym_string] = STATE(707), + [sym_array] = STATE(708), + [sym_simple_expansion] = STATE(709), + [sym_expansion] = STATE(709), + [sym_command_substitution] = STATE(710), + [sym_process_substitution] = STATE(708), + [sym_special_variable_name] = STATE(711), + [aux_sym_program_repeat1] = STATE(712), + [aux_sym_if_statement_repeat1] = STATE(713), + [aux_sym_case_statement_repeat1] = STATE(714), + [aux_sym_bracket_command_repeat1] = STATE(715), + [aux_sym_command_repeat1] = STATE(716), + [aux_sym_command_repeat2] = STATE(717), + [aux_sym_heredoc_repeat1] = STATE(718), + [aux_sym_string_repeat1] = STATE(719), + [aux_sym_array_repeat1] = STATE(720), [sym__simple_heredoc] = ACTIONS(1), [sym__heredoc_beginning] = ACTIONS(3), [sym__heredoc_middle] = ACTIONS(5), @@ -11727,16 +12126,16 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(65), [anon_sym_DQUOTE] = ACTIONS(67), [anon_sym_DOLLAR] = ACTIONS(69), - [anon_sym_BQUOTE] = ACTIONS(71), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(75), - [anon_sym_AT] = ACTIONS(75), - [anon_sym_POUND] = ACTIONS(77), - [anon_sym_QMARK] = ACTIONS(75), - [anon_sym_DASH] = ACTIONS(75), - [anon_sym_BANG] = ACTIONS(75), - [anon_sym_0] = ACTIONS(75), - [anon_sym__] = ACTIONS(75), + [anon_sym_POUND] = ACTIONS(71), + [anon_sym_BQUOTE] = ACTIONS(73), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(77), + [anon_sym_AT] = ACTIONS(77), + [anon_sym_QMARK] = ACTIONS(77), + [anon_sym_DASH] = ACTIONS(77), + [anon_sym_BANG] = ACTIONS(77), + [anon_sym_0] = ACTIONS(77), + [anon_sym__] = ACTIONS(77), [anon_sym_SEMI] = ACTIONS(79), [anon_sym_AMP] = ACTIONS(79), }, @@ -12006,7 +12405,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(165), [anon_sym_LF] = ACTIONS(165), [anon_sym_AMP] = ACTIONS(165), @@ -12041,7 +12440,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [14] = { [sym_for_statement] = STATE(85), @@ -12145,7 +12544,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(237), [anon_sym_LF] = ACTIONS(237), [anon_sym_AMP] = ACTIONS(237), @@ -12193,7 +12592,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_PIPE_AMP] = ACTIONS(255), [anon_sym_AMP_AMP] = ACTIONS(257), [anon_sym_PIPE_PIPE] = ACTIONS(257), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(253), [anon_sym_LF] = ACTIONS(253), [anon_sym_AMP] = ACTIONS(253), @@ -12218,7 +12617,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), [anon_sym_BQUOTE] = ACTIONS(261), [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(253), [anon_sym_LF] = ACTIONS(253), [anon_sym_AMP] = ACTIONS(253), @@ -12337,7 +12736,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_PIPE_AMP] = ACTIONS(255), [anon_sym_AMP_AMP] = ACTIONS(257), [anon_sym_PIPE_PIPE] = ACTIONS(257), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(285), [anon_sym_LF] = ACTIONS(285), [anon_sym_AMP] = ACTIONS(285), @@ -12362,7 +12761,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), [anon_sym_BQUOTE] = ACTIONS(261), [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(285), [anon_sym_LF] = ACTIONS(285), [anon_sym_AMP] = ACTIONS(285), @@ -12392,12 +12791,12 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [33] = { [anon_sym_in] = ACTIONS(297), [anon_sym_SEMI_SEMI] = ACTIONS(299), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(299), [anon_sym_LF] = ACTIONS(299), [anon_sym_AMP] = ACTIONS(299), @@ -12405,25 +12804,25 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [34] = { [sym_special_variable_name] = STATE(120), [anon_sym_DOLLAR] = ACTIONS(301), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(303), + [anon_sym_POUND] = ACTIONS(303), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(305), [anon_sym_STAR] = ACTIONS(301), [anon_sym_AT] = ACTIONS(301), - [anon_sym_POUND] = ACTIONS(305), [anon_sym_QMARK] = ACTIONS(301), [anon_sym_DASH] = ACTIONS(301), [anon_sym_BANG] = ACTIONS(301), - [anon_sym_0] = ACTIONS(305), - [anon_sym__] = ACTIONS(305), + [anon_sym_0] = ACTIONS(303), + [anon_sym__] = ACTIONS(303), }, [35] = { - [sym_special_variable_name] = STATE(123), + [sym_special_variable_name] = STATE(124), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(309), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(309), + [sym_leading_word] = ACTIONS(311), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), @@ -12431,17 +12830,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym__] = ACTIONS(307), }, [36] = { - [sym_for_statement] = STATE(124), - [sym_while_statement] = STATE(124), - [sym_if_statement] = STATE(124), - [sym_case_statement] = STATE(124), - [sym_function_definition] = STATE(124), - [sym_subshell] = STATE(124), - [sym_pipeline] = STATE(124), - [sym_list] = STATE(124), - [sym_bracket_command] = STATE(124), - [sym_command] = STATE(124), - [sym_environment_variable_assignment] = STATE(125), + [sym_for_statement] = STATE(125), + [sym_while_statement] = STATE(125), + [sym_if_statement] = STATE(125), + [sym_case_statement] = STATE(125), + [sym_function_definition] = STATE(125), + [sym_subshell] = STATE(125), + [sym_pipeline] = STATE(125), + [sym_list] = STATE(125), + [sym_bracket_command] = STATE(125), + [sym_command] = STATE(125), + [sym_environment_variable_assignment] = STATE(126), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -12471,17 +12870,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [37] = { - [sym_for_statement] = STATE(126), - [sym_while_statement] = STATE(126), - [sym_if_statement] = STATE(126), - [sym_case_statement] = STATE(126), - [sym_function_definition] = STATE(126), - [sym_subshell] = STATE(126), - [sym_pipeline] = STATE(126), - [sym_list] = STATE(126), - [sym_bracket_command] = STATE(126), - [sym_command] = STATE(126), - [sym_environment_variable_assignment] = STATE(127), + [sym_for_statement] = STATE(127), + [sym_while_statement] = STATE(127), + [sym_if_statement] = STATE(127), + [sym_case_statement] = STATE(127), + [sym_function_definition] = STATE(127), + [sym_subshell] = STATE(127), + [sym_pipeline] = STATE(127), + [sym_list] = STATE(127), + [sym_bracket_command] = STATE(127), + [sym_command] = STATE(127), + [sym_environment_variable_assignment] = STATE(128), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -12511,19 +12910,19 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [38] = { - [anon_sym_LPAREN] = ACTIONS(311), + [anon_sym_LPAREN] = ACTIONS(313), [sym_comment] = ACTIONS(115), }, [39] = { - [anon_sym_SEMI_SEMI] = ACTIONS(313), - [anon_sym_PIPE] = ACTIONS(313), - [anon_sym_PIPE_AMP] = ACTIONS(313), - [anon_sym_AMP_AMP] = ACTIONS(313), - [anon_sym_PIPE_PIPE] = ACTIONS(313), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(313), - [anon_sym_LF] = ACTIONS(313), - [anon_sym_AMP] = ACTIONS(313), + [anon_sym_SEMI_SEMI] = ACTIONS(315), + [anon_sym_PIPE] = ACTIONS(315), + [anon_sym_PIPE_AMP] = ACTIONS(315), + [anon_sym_AMP_AMP] = ACTIONS(315), + [anon_sym_PIPE_PIPE] = ACTIONS(315), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(315), + [anon_sym_LF] = ACTIONS(315), + [anon_sym_AMP] = ACTIONS(315), }, [40] = { [sym__terminated_statement] = STATE(100), @@ -12547,7 +12946,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(315), + [anon_sym_RPAREN] = ACTIONS(317), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -12568,65 +12967,65 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [41] = { - [aux_sym_array_repeat1] = STATE(131), - [anon_sym_RPAREN] = ACTIONS(317), + [aux_sym_array_repeat1] = STATE(132), + [anon_sym_RPAREN] = ACTIONS(319), [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, [42] = { - [anon_sym_LPAREN] = ACTIONS(319), + [anon_sym_LPAREN] = ACTIONS(321), [sym_comment] = ACTIONS(115), }, [43] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(134), - [anon_sym_DQUOTE] = ACTIONS(321), + [aux_sym_string_repeat1] = STATE(135), + [anon_sym_DQUOTE] = ACTIONS(323), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [44] = { - [anon_sym_LPAREN] = ACTIONS(323), - [anon_sym_RBRACK] = ACTIONS(325), - [anon_sym_RBRACK_RBRACK] = ACTIONS(325), - [anon_sym_LT] = ACTIONS(323), - [anon_sym_GT] = ACTIONS(323), - [anon_sym_DQUOTE] = ACTIONS(323), - [sym_raw_string] = ACTIONS(325), - [anon_sym_DOLLAR] = ACTIONS(325), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(323), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(323), - [anon_sym_BQUOTE] = ACTIONS(323), - [sym_word] = ACTIONS(327), + [anon_sym_LPAREN] = ACTIONS(325), + [anon_sym_RBRACK] = ACTIONS(327), + [anon_sym_RBRACK_RBRACK] = ACTIONS(327), + [anon_sym_LT] = ACTIONS(325), + [anon_sym_GT] = ACTIONS(325), + [anon_sym_DQUOTE] = ACTIONS(325), + [sym_raw_string] = ACTIONS(327), + [anon_sym_DOLLAR] = ACTIONS(327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(325), + [anon_sym_BQUOTE] = ACTIONS(325), + [sym_word] = ACTIONS(329), [sym_comment] = ACTIONS(115), }, [45] = { - [sym_special_variable_name] = STATE(137), - [anon_sym_DOLLAR] = ACTIONS(329), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(331), - [anon_sym_STAR] = ACTIONS(329), - [anon_sym_AT] = ACTIONS(329), + [sym_special_variable_name] = STATE(138), + [anon_sym_DOLLAR] = ACTIONS(331), [anon_sym_POUND] = ACTIONS(333), - [anon_sym_QMARK] = ACTIONS(329), - [anon_sym_DASH] = ACTIONS(329), - [anon_sym_BANG] = ACTIONS(329), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(335), + [anon_sym_STAR] = ACTIONS(331), + [anon_sym_AT] = ACTIONS(331), + [anon_sym_QMARK] = ACTIONS(331), + [anon_sym_DASH] = ACTIONS(331), + [anon_sym_BANG] = ACTIONS(331), [anon_sym_0] = ACTIONS(333), [anon_sym__] = ACTIONS(333), }, [46] = { - [sym_special_variable_name] = STATE(139), + [sym_special_variable_name] = STATE(141), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(335), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(337), + [sym_leading_word] = ACTIONS(339), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), @@ -12634,17 +13033,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym__] = ACTIONS(307), }, [47] = { - [sym_for_statement] = STATE(140), - [sym_while_statement] = STATE(140), - [sym_if_statement] = STATE(140), - [sym_case_statement] = STATE(140), - [sym_function_definition] = STATE(140), - [sym_subshell] = STATE(140), - [sym_pipeline] = STATE(140), - [sym_list] = STATE(140), - [sym_bracket_command] = STATE(140), - [sym_command] = STATE(140), - [sym_environment_variable_assignment] = STATE(141), + [sym_for_statement] = STATE(142), + [sym_while_statement] = STATE(142), + [sym_if_statement] = STATE(142), + [sym_case_statement] = STATE(142), + [sym_function_definition] = STATE(142), + [sym_subshell] = STATE(142), + [sym_pipeline] = STATE(142), + [sym_list] = STATE(142), + [sym_bracket_command] = STATE(142), + [sym_command] = STATE(142), + [sym_environment_variable_assignment] = STATE(143), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -12674,17 +13073,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [48] = { - [sym_for_statement] = STATE(142), - [sym_while_statement] = STATE(142), - [sym_if_statement] = STATE(142), - [sym_case_statement] = STATE(142), - [sym_function_definition] = STATE(142), - [sym_subshell] = STATE(142), - [sym_pipeline] = STATE(142), - [sym_list] = STATE(142), - [sym_bracket_command] = STATE(142), - [sym_command] = STATE(142), - [sym_environment_variable_assignment] = STATE(143), + [sym_for_statement] = STATE(144), + [sym_while_statement] = STATE(144), + [sym_if_statement] = STATE(144), + [sym_case_statement] = STATE(144), + [sym_function_definition] = STATE(144), + [sym_subshell] = STATE(144), + [sym_pipeline] = STATE(144), + [sym_list] = STATE(144), + [sym_bracket_command] = STATE(144), + [sym_command] = STATE(144), + [sym_environment_variable_assignment] = STATE(145), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -12714,75 +13113,75 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [49] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK] = ACTIONS(337), + [anon_sym_RBRACK] = ACTIONS(341), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), + [sym_raw_string] = ACTIONS(343), [anon_sym_DOLLAR] = ACTIONS(153), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), + [sym_word] = ACTIONS(345), [sym_comment] = ACTIONS(115), }, [50] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK_RBRACK] = ACTIONS(337), + [anon_sym_RBRACK_RBRACK] = ACTIONS(341), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), + [sym_raw_string] = ACTIONS(343), [anon_sym_DOLLAR] = ACTIONS(153), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), + [sym_word] = ACTIONS(345), [sym_comment] = ACTIONS(115), }, [51] = { - [anon_sym_LT] = ACTIONS(343), - [anon_sym_GT] = ACTIONS(343), - [anon_sym_GT_GT] = ACTIONS(345), - [anon_sym_AMP_GT] = ACTIONS(343), - [anon_sym_AMP_GT_GT] = ACTIONS(345), - [anon_sym_LT_AMP] = ACTIONS(345), - [anon_sym_GT_AMP] = ACTIONS(345), + [anon_sym_LT] = ACTIONS(347), + [anon_sym_GT] = ACTIONS(347), + [anon_sym_GT_GT] = ACTIONS(349), + [anon_sym_AMP_GT] = ACTIONS(347), + [anon_sym_AMP_GT_GT] = ACTIONS(349), + [anon_sym_LT_AMP] = ACTIONS(349), + [anon_sym_GT_AMP] = ACTIONS(349), [sym_comment] = ACTIONS(115), }, [52] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(150), - [sym_array] = STATE(150), - [sym_simple_expansion] = STATE(150), - [sym_expansion] = STATE(150), - [sym_command_substitution] = STATE(150), - [sym_process_substitution] = STATE(150), - [aux_sym_bracket_command_repeat1] = STATE(155), - [aux_sym_command_repeat2] = STATE(156), + [sym_string] = STATE(152), + [sym_array] = STATE(152), + [sym_simple_expansion] = STATE(152), + [sym_expansion] = STATE(152), + [sym_command_substitution] = STATE(152), + [sym_process_substitution] = STATE(152), + [aux_sym_bracket_command_repeat1] = STATE(157), + [aux_sym_command_repeat2] = STATE(158), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(347), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(347), - [anon_sym_PIPE_AMP] = ACTIONS(347), - [anon_sym_AMP_AMP] = ACTIONS(347), - [anon_sym_PIPE_PIPE] = ACTIONS(347), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(351), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(351), + [anon_sym_PIPE_AMP] = ACTIONS(351), + [anon_sym_AMP_AMP] = ACTIONS(351), + [anon_sym_PIPE_PIPE] = ACTIONS(351), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), [anon_sym_GT_GT] = ACTIONS(169), [anon_sym_AMP_GT] = ACTIONS(169), [anon_sym_AMP_GT_GT] = ACTIONS(169), @@ -12790,73 +13189,73 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(355), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(355), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(347), - [anon_sym_LF] = ACTIONS(347), - [anon_sym_AMP] = ACTIONS(347), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(359), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(359), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(351), + [anon_sym_LF] = ACTIONS(351), + [anon_sym_AMP] = ACTIONS(351), }, [53] = { - [sym_string] = STATE(160), - [sym_array] = STATE(160), - [sym_simple_expansion] = STATE(160), - [sym_expansion] = STATE(160), - [sym_command_substitution] = STATE(160), - [sym_process_substitution] = STATE(160), - [anon_sym_LPAREN] = ACTIONS(365), - [anon_sym_LT] = ACTIONS(367), - [anon_sym_GT] = ACTIONS(367), - [anon_sym_DQUOTE] = ACTIONS(369), - [sym_raw_string] = ACTIONS(371), - [anon_sym_DOLLAR] = ACTIONS(373), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(379), - [sym_word] = ACTIONS(381), + [sym_string] = STATE(162), + [sym_array] = STATE(162), + [sym_simple_expansion] = STATE(162), + [sym_expansion] = STATE(162), + [sym_command_substitution] = STATE(162), + [sym_process_substitution] = STATE(162), + [anon_sym_LPAREN] = ACTIONS(369), + [anon_sym_LT] = ACTIONS(371), + [anon_sym_GT] = ACTIONS(371), + [anon_sym_DQUOTE] = ACTIONS(373), + [sym_raw_string] = ACTIONS(375), + [anon_sym_DOLLAR] = ACTIONS(377), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(379), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(381), + [anon_sym_BQUOTE] = ACTIONS(383), + [sym_word] = ACTIONS(385), [sym_comment] = ACTIONS(115), }, [54] = { - [sym_heredoc] = STATE(167), - [sym__simple_heredoc] = ACTIONS(383), - [sym__heredoc_beginning] = ACTIONS(385), + [sym_heredoc] = STATE(169), + [sym__simple_heredoc] = ACTIONS(387), + [sym__heredoc_beginning] = ACTIONS(389), [sym_comment] = ACTIONS(115), }, [55] = { - [sym_file_descriptor] = ACTIONS(387), - [anon_sym_SEMI_SEMI] = ACTIONS(389), - [anon_sym_PIPE] = ACTIONS(389), - [anon_sym_PIPE_AMP] = ACTIONS(389), - [anon_sym_AMP_AMP] = ACTIONS(389), - [anon_sym_PIPE_PIPE] = ACTIONS(389), - [anon_sym_LT] = ACTIONS(389), - [anon_sym_GT] = ACTIONS(389), - [anon_sym_GT_GT] = ACTIONS(389), - [anon_sym_AMP_GT] = ACTIONS(389), - [anon_sym_AMP_GT_GT] = ACTIONS(389), - [anon_sym_LT_AMP] = ACTIONS(389), - [anon_sym_GT_AMP] = ACTIONS(389), - [anon_sym_LT_LT] = ACTIONS(389), - [anon_sym_LT_LT_DASH] = ACTIONS(389), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(389), - [anon_sym_LF] = ACTIONS(389), - [anon_sym_AMP] = ACTIONS(389), + [sym_file_descriptor] = ACTIONS(391), + [anon_sym_SEMI_SEMI] = ACTIONS(393), + [anon_sym_PIPE] = ACTIONS(393), + [anon_sym_PIPE_AMP] = ACTIONS(393), + [anon_sym_AMP_AMP] = ACTIONS(393), + [anon_sym_PIPE_PIPE] = ACTIONS(393), + [anon_sym_LT] = ACTIONS(393), + [anon_sym_GT] = ACTIONS(393), + [anon_sym_GT_GT] = ACTIONS(393), + [anon_sym_AMP_GT] = ACTIONS(393), + [anon_sym_AMP_GT_GT] = ACTIONS(393), + [anon_sym_LT_AMP] = ACTIONS(393), + [anon_sym_GT_AMP] = ACTIONS(393), + [anon_sym_LT_LT] = ACTIONS(393), + [anon_sym_LT_LT_DASH] = ACTIONS(393), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(393), + [anon_sym_LF] = ACTIONS(393), + [anon_sym_AMP] = ACTIONS(393), }, [56] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), + [anon_sym_SEMI_SEMI] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -12866,73 +13265,73 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(391), - [anon_sym_LF] = ACTIONS(391), - [anon_sym_AMP] = ACTIONS(391), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(395), + [anon_sym_LF] = ACTIONS(395), + [anon_sym_AMP] = ACTIONS(395), }, [57] = { - [aux_sym_array_repeat1] = STATE(170), - [anon_sym_RPAREN] = ACTIONS(393), + [aux_sym_array_repeat1] = STATE(172), + [anon_sym_RPAREN] = ACTIONS(397), [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, [58] = { - [anon_sym_LPAREN] = ACTIONS(395), + [anon_sym_LPAREN] = ACTIONS(399), [sym_comment] = ACTIONS(115), }, [59] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(173), - [anon_sym_DQUOTE] = ACTIONS(397), + [aux_sym_string_repeat1] = STATE(175), + [anon_sym_DQUOTE] = ACTIONS(401), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [60] = { - [sym_file_descriptor] = ACTIONS(399), - [anon_sym_COLON] = ACTIONS(399), - [anon_sym_LT] = ACTIONS(401), - [anon_sym_GT] = ACTIONS(401), - [anon_sym_GT_GT] = ACTIONS(401), - [anon_sym_AMP_GT] = ACTIONS(401), - [anon_sym_AMP_GT_GT] = ACTIONS(401), - [anon_sym_LT_AMP] = ACTIONS(401), - [anon_sym_GT_AMP] = ACTIONS(401), - [anon_sym_DQUOTE] = ACTIONS(399), - [sym_raw_string] = ACTIONS(401), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(399), - [anon_sym_BQUOTE] = ACTIONS(399), - [sym_leading_word] = ACTIONS(403), + [sym_file_descriptor] = ACTIONS(403), + [anon_sym_COLON] = ACTIONS(403), + [anon_sym_LT] = ACTIONS(405), + [anon_sym_GT] = ACTIONS(405), + [anon_sym_GT_GT] = ACTIONS(405), + [anon_sym_AMP_GT] = ACTIONS(405), + [anon_sym_AMP_GT_GT] = ACTIONS(405), + [anon_sym_LT_AMP] = ACTIONS(405), + [anon_sym_GT_AMP] = ACTIONS(405), + [anon_sym_DQUOTE] = ACTIONS(403), + [sym_raw_string] = ACTIONS(405), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(403), + [anon_sym_BQUOTE] = ACTIONS(403), + [sym_leading_word] = ACTIONS(407), [sym_comment] = ACTIONS(115), }, [61] = { - [sym_special_variable_name] = STATE(176), - [anon_sym_DOLLAR] = ACTIONS(405), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(407), - [anon_sym_STAR] = ACTIONS(405), - [anon_sym_AT] = ACTIONS(405), - [anon_sym_POUND] = ACTIONS(409), - [anon_sym_QMARK] = ACTIONS(405), - [anon_sym_DASH] = ACTIONS(405), - [anon_sym_BANG] = ACTIONS(405), - [anon_sym_0] = ACTIONS(409), - [anon_sym__] = ACTIONS(409), + [sym_special_variable_name] = STATE(178), + [anon_sym_DOLLAR] = ACTIONS(409), + [anon_sym_POUND] = ACTIONS(411), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(413), + [anon_sym_STAR] = ACTIONS(409), + [anon_sym_AT] = ACTIONS(409), + [anon_sym_QMARK] = ACTIONS(409), + [anon_sym_DASH] = ACTIONS(409), + [anon_sym_BANG] = ACTIONS(409), + [anon_sym_0] = ACTIONS(411), + [anon_sym__] = ACTIONS(411), }, [62] = { - [sym_special_variable_name] = STATE(178), + [sym_special_variable_name] = STATE(181), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(411), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(415), + [sym_leading_word] = ACTIONS(417), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), @@ -12940,17 +13339,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym__] = ACTIONS(307), }, [63] = { - [sym_for_statement] = STATE(179), - [sym_while_statement] = STATE(179), - [sym_if_statement] = STATE(179), - [sym_case_statement] = STATE(179), - [sym_function_definition] = STATE(179), - [sym_subshell] = STATE(179), - [sym_pipeline] = STATE(179), - [sym_list] = STATE(179), - [sym_bracket_command] = STATE(179), - [sym_command] = STATE(179), - [sym_environment_variable_assignment] = STATE(180), + [sym_for_statement] = STATE(182), + [sym_while_statement] = STATE(182), + [sym_if_statement] = STATE(182), + [sym_case_statement] = STATE(182), + [sym_function_definition] = STATE(182), + [sym_subshell] = STATE(182), + [sym_pipeline] = STATE(182), + [sym_list] = STATE(182), + [sym_bracket_command] = STATE(182), + [sym_command] = STATE(182), + [sym_environment_variable_assignment] = STATE(183), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -12980,17 +13379,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [64] = { - [sym_for_statement] = STATE(181), - [sym_while_statement] = STATE(181), - [sym_if_statement] = STATE(181), - [sym_case_statement] = STATE(181), - [sym_function_definition] = STATE(181), - [sym_subshell] = STATE(181), - [sym_pipeline] = STATE(181), - [sym_list] = STATE(181), - [sym_bracket_command] = STATE(181), - [sym_command] = STATE(181), - [sym_environment_variable_assignment] = STATE(182), + [sym_for_statement] = STATE(184), + [sym_while_statement] = STATE(184), + [sym_if_statement] = STATE(184), + [sym_case_statement] = STATE(184), + [sym_function_definition] = STATE(184), + [sym_subshell] = STATE(184), + [sym_pipeline] = STATE(184), + [sym_list] = STATE(184), + [sym_bracket_command] = STATE(184), + [sym_command] = STATE(184), + [sym_environment_variable_assignment] = STATE(185), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -13020,58 +13419,58 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [65] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, [66] = { - [anon_sym_DQUOTE] = ACTIONS(417), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(419), - [anon_sym_DOLLAR] = ACTIONS(417), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), - [anon_sym_BQUOTE] = ACTIONS(417), - [sym_comment] = ACTIONS(73), + [anon_sym_DQUOTE] = ACTIONS(423), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(425), + [anon_sym_DOLLAR] = ACTIONS(423), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(423), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(423), + [anon_sym_BQUOTE] = ACTIONS(423), + [sym_comment] = ACTIONS(75), }, [67] = { - [sym_special_variable_name] = STATE(185), - [anon_sym_DOLLAR] = ACTIONS(421), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(423), - [anon_sym_STAR] = ACTIONS(421), - [anon_sym_AT] = ACTIONS(421), - [anon_sym_POUND] = ACTIONS(425), - [anon_sym_QMARK] = ACTIONS(421), - [anon_sym_DASH] = ACTIONS(421), - [anon_sym_BANG] = ACTIONS(421), - [anon_sym_0] = ACTIONS(425), - [anon_sym__] = ACTIONS(425), + [sym_special_variable_name] = STATE(188), + [anon_sym_DOLLAR] = ACTIONS(427), + [anon_sym_POUND] = ACTIONS(429), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(431), + [anon_sym_STAR] = ACTIONS(427), + [anon_sym_AT] = ACTIONS(427), + [anon_sym_QMARK] = ACTIONS(427), + [anon_sym_DASH] = ACTIONS(427), + [anon_sym_BANG] = ACTIONS(427), + [anon_sym_0] = ACTIONS(429), + [anon_sym__] = ACTIONS(429), }, [68] = { - [sym_special_variable_name] = STATE(187), + [sym_special_variable_name] = STATE(191), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(427), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(433), + [sym_leading_word] = ACTIONS(435), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), @@ -13079,17 +13478,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym__] = ACTIONS(307), }, [69] = { - [sym_for_statement] = STATE(188), - [sym_while_statement] = STATE(188), - [sym_if_statement] = STATE(188), - [sym_case_statement] = STATE(188), - [sym_function_definition] = STATE(188), - [sym_subshell] = STATE(188), - [sym_pipeline] = STATE(188), - [sym_list] = STATE(188), - [sym_bracket_command] = STATE(188), - [sym_command] = STATE(188), - [sym_environment_variable_assignment] = STATE(189), + [sym_for_statement] = STATE(192), + [sym_while_statement] = STATE(192), + [sym_if_statement] = STATE(192), + [sym_case_statement] = STATE(192), + [sym_function_definition] = STATE(192), + [sym_subshell] = STATE(192), + [sym_pipeline] = STATE(192), + [sym_list] = STATE(192), + [sym_bracket_command] = STATE(192), + [sym_command] = STATE(192), + [sym_environment_variable_assignment] = STATE(193), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -13119,17 +13518,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [70] = { - [sym_for_statement] = STATE(190), - [sym_while_statement] = STATE(190), - [sym_if_statement] = STATE(190), - [sym_case_statement] = STATE(190), - [sym_function_definition] = STATE(190), - [sym_subshell] = STATE(190), - [sym_pipeline] = STATE(190), - [sym_list] = STATE(190), - [sym_bracket_command] = STATE(190), - [sym_command] = STATE(190), - [sym_environment_variable_assignment] = STATE(191), + [sym_for_statement] = STATE(194), + [sym_while_statement] = STATE(194), + [sym_if_statement] = STATE(194), + [sym_case_statement] = STATE(194), + [sym_function_definition] = STATE(194), + [sym_subshell] = STATE(194), + [sym_pipeline] = STATE(194), + [sym_list] = STATE(194), + [sym_bracket_command] = STATE(194), + [sym_command] = STATE(194), + [sym_environment_variable_assignment] = STATE(195), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -13159,23 +13558,23 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [71] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(429), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(437), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [72] = { - [sym_word] = ACTIONS(433), + [sym_word] = ACTIONS(441), [sym_comment] = ACTIONS(115), }, [73] = { - [sym__terminated_statement] = STATE(195), + [sym__terminated_statement] = STATE(199), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -13216,7 +13615,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [74] = { - [sym__terminated_statement] = STATE(196), + [sym__terminated_statement] = STATE(200), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -13257,26 +13656,26 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [75] = { - [sym_string] = STATE(197), - [sym_array] = STATE(197), - [sym_simple_expansion] = STATE(197), - [sym_expansion] = STATE(197), - [sym_command_substitution] = STATE(197), - [sym_process_substitution] = STATE(197), + [sym_string] = STATE(201), + [sym_array] = STATE(201), + [sym_simple_expansion] = STATE(201), + [sym_expansion] = STATE(201), + [sym_command_substitution] = STATE(201), + [sym_process_substitution] = STATE(201), [anon_sym_LPAREN] = ACTIONS(123), [anon_sym_LT] = ACTIONS(125), [anon_sym_GT] = ACTIONS(125), [anon_sym_DQUOTE] = ACTIONS(127), - [sym_raw_string] = ACTIONS(435), + [sym_raw_string] = ACTIONS(443), [anon_sym_DOLLAR] = ACTIONS(131), [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), [anon_sym_BQUOTE] = ACTIONS(137), - [sym_word] = ACTIONS(437), + [sym_word] = ACTIONS(445), [sym_comment] = ACTIONS(115), }, [76] = { - [sym_leading_word] = ACTIONS(439), + [sym_leading_word] = ACTIONS(447), [sym_comment] = ACTIONS(115), }, [77] = { @@ -13295,14 +13694,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(200), + [aux_sym_program_repeat1] = STATE(204), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(441), + [anon_sym_RPAREN] = ACTIONS(449), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -13329,7 +13728,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_expansion] = STATE(44), [sym_command_substitution] = STATE(44), [sym_process_substitution] = STATE(44), - [aux_sym_bracket_command_repeat1] = STATE(201), + [aux_sym_bracket_command_repeat1] = STATE(205), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), @@ -13349,7 +13748,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_expansion] = STATE(44), [sym_command_substitution] = STATE(44), [sym_process_substitution] = STATE(44), - [aux_sym_bracket_command_repeat1] = STATE(202), + [aux_sym_bracket_command_repeat1] = STATE(206), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), @@ -13363,52 +13762,52 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [80] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(208), - [sym_file_descriptor] = ACTIONS(443), + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(212), + [sym_file_descriptor] = ACTIONS(451), [anon_sym_RPAREN] = ACTIONS(165), [anon_sym_PIPE] = ACTIONS(165), [anon_sym_PIPE_AMP] = ACTIONS(165), [anon_sym_AMP_AMP] = ACTIONS(165), [anon_sym_PIPE_PIPE] = ACTIONS(165), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(445), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), - [sym_comment] = ACTIONS(73), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(453), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), + [sym_comment] = ACTIONS(75), }, [81] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(210), - [anon_sym_DQUOTE] = ACTIONS(451), + [aux_sym_string_repeat1] = STATE(214), + [anon_sym_DQUOTE] = ACTIONS(459), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [82] = { - [sym_for_statement] = STATE(211), - [sym_while_statement] = STATE(211), - [sym_if_statement] = STATE(211), - [sym_case_statement] = STATE(211), - [sym_function_definition] = STATE(211), - [sym_subshell] = STATE(211), - [sym_pipeline] = STATE(211), - [sym_list] = STATE(211), - [sym_bracket_command] = STATE(211), - [sym_command] = STATE(211), - [sym_environment_variable_assignment] = STATE(212), + [sym_for_statement] = STATE(215), + [sym_while_statement] = STATE(215), + [sym_if_statement] = STATE(215), + [sym_case_statement] = STATE(215), + [sym_function_definition] = STATE(215), + [sym_subshell] = STATE(215), + [sym_pipeline] = STATE(215), + [sym_list] = STATE(215), + [sym_bracket_command] = STATE(215), + [sym_command] = STATE(215), + [sym_environment_variable_assignment] = STATE(216), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -13438,17 +13837,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [83] = { - [sym_for_statement] = STATE(213), - [sym_while_statement] = STATE(213), - [sym_if_statement] = STATE(213), - [sym_case_statement] = STATE(213), - [sym_function_definition] = STATE(213), - [sym_subshell] = STATE(213), - [sym_pipeline] = STATE(213), - [sym_list] = STATE(213), - [sym_bracket_command] = STATE(213), - [sym_command] = STATE(213), - [sym_environment_variable_assignment] = STATE(214), + [sym_for_statement] = STATE(217), + [sym_while_statement] = STATE(217), + [sym_if_statement] = STATE(217), + [sym_case_statement] = STATE(217), + [sym_function_definition] = STATE(217), + [sym_subshell] = STATE(217), + [sym_pipeline] = STATE(217), + [sym_list] = STATE(217), + [sym_bracket_command] = STATE(217), + [sym_command] = STATE(217), + [sym_environment_variable_assignment] = STATE(218), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -13478,54 +13877,54 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [84] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(218), - [sym_file_descriptor] = ACTIONS(443), + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(222), + [sym_file_descriptor] = ACTIONS(451), [anon_sym_RPAREN] = ACTIONS(237), - [anon_sym_LPAREN] = ACTIONS(453), + [anon_sym_LPAREN] = ACTIONS(461), [anon_sym_PIPE] = ACTIONS(237), [anon_sym_PIPE_AMP] = ACTIONS(237), [anon_sym_AMP_AMP] = ACTIONS(237), [anon_sym_PIPE_PIPE] = ACTIONS(237), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(455), - [anon_sym_EQ] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), - [sym_comment] = ACTIONS(73), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(463), + [anon_sym_EQ] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), + [sym_comment] = ACTIONS(75), }, [85] = { - [anon_sym_RPAREN] = ACTIONS(459), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(467), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, [86] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(459), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(467), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), @@ -13534,10 +13933,10 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [87] = { [sym_environment_variable_assignment] = STATE(103), [sym_file_redirect] = STATE(103), - [sym_string] = STATE(222), - [sym_command_substitution] = STATE(222), + [sym_string] = STATE(226), + [sym_command_substitution] = STATE(226), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(471), + [anon_sym_COLON] = ACTIONS(479), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -13546,94 +13945,94 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(473), + [sym_raw_string] = ACTIONS(481), [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(475), + [sym_leading_word] = ACTIONS(483), [sym_comment] = ACTIONS(115), }, [88] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(208), - [sym_file_descriptor] = ACTIONS(443), + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(212), + [sym_file_descriptor] = ACTIONS(451), [anon_sym_PIPE] = ACTIONS(165), [anon_sym_PIPE_AMP] = ACTIONS(165), [anon_sym_AMP_AMP] = ACTIONS(165), [anon_sym_PIPE_PIPE] = ACTIONS(165), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(477), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(485), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), [anon_sym_BQUOTE] = ACTIONS(165), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [89] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(218), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(453), + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(222), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(461), [anon_sym_PIPE] = ACTIONS(237), [anon_sym_PIPE_AMP] = ACTIONS(237), [anon_sym_AMP_AMP] = ACTIONS(237), [anon_sym_PIPE_PIPE] = ACTIONS(237), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(479), - [anon_sym_EQ] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(487), + [anon_sym_EQ] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), [anon_sym_BQUOTE] = ACTIONS(237), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [90] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(459), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(467), [sym_comment] = ACTIONS(115), }, [91] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(459), + [anon_sym_BQUOTE] = ACTIONS(467), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [92] = { [sym_environment_variable_assignment] = STATE(103), [sym_file_redirect] = STATE(103), - [sym_string] = STATE(228), - [sym_command_substitution] = STATE(228), + [sym_string] = STATE(232), + [sym_command_substitution] = STATE(232), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(489), + [anon_sym_COLON] = ACTIONS(497), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -13642,36 +14041,36 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(491), + [sym_raw_string] = ACTIONS(499), [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(493), + [sym_leading_word] = ACTIONS(501), [sym_comment] = ACTIONS(115), }, [93] = { - [anon_sym_RPAREN] = ACTIONS(495), + [anon_sym_RPAREN] = ACTIONS(503), [sym_comment] = ACTIONS(115), }, [94] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(150), - [sym_array] = STATE(150), - [sym_simple_expansion] = STATE(150), - [sym_expansion] = STATE(150), - [sym_command_substitution] = STATE(150), - [sym_process_substitution] = STATE(150), - [aux_sym_bracket_command_repeat1] = STATE(231), - [aux_sym_command_repeat2] = STATE(232), + [sym_string] = STATE(152), + [sym_array] = STATE(152), + [sym_simple_expansion] = STATE(152), + [sym_expansion] = STATE(152), + [sym_command_substitution] = STATE(152), + [sym_process_substitution] = STATE(152), + [aux_sym_bracket_command_repeat1] = STATE(235), + [aux_sym_command_repeat2] = STATE(236), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(497), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(497), - [anon_sym_PIPE_AMP] = ACTIONS(497), - [anon_sym_AMP_AMP] = ACTIONS(497), - [anon_sym_PIPE_PIPE] = ACTIONS(497), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(505), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(505), + [anon_sym_PIPE_AMP] = ACTIONS(505), + [anon_sym_AMP_AMP] = ACTIONS(505), + [anon_sym_PIPE_PIPE] = ACTIONS(505), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), [anon_sym_GT_GT] = ACTIONS(169), [anon_sym_AMP_GT] = ACTIONS(169), [anon_sym_AMP_GT_GT] = ACTIONS(169), @@ -13679,47 +14078,47 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(355), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(355), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(497), - [anon_sym_LF] = ACTIONS(497), - [anon_sym_AMP] = ACTIONS(497), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(359), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(359), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(505), + [anon_sym_LF] = ACTIONS(505), + [anon_sym_AMP] = ACTIONS(505), }, [95] = { - [sym_string] = STATE(233), - [sym_array] = STATE(233), - [sym_simple_expansion] = STATE(233), - [sym_expansion] = STATE(233), - [sym_command_substitution] = STATE(233), - [sym_process_substitution] = STATE(233), - [sym__empty_value] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LT] = ACTIONS(503), - [anon_sym_GT] = ACTIONS(503), - [anon_sym_DQUOTE] = ACTIONS(505), - [sym_raw_string] = ACTIONS(507), - [anon_sym_DOLLAR] = ACTIONS(509), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(511), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(513), - [anon_sym_BQUOTE] = ACTIONS(515), - [sym_word] = ACTIONS(517), + [sym_string] = STATE(237), + [sym_array] = STATE(237), + [sym_simple_expansion] = STATE(237), + [sym_expansion] = STATE(237), + [sym_command_substitution] = STATE(237), + [sym_process_substitution] = STATE(237), + [sym__empty_value] = ACTIONS(507), + [anon_sym_LPAREN] = ACTIONS(509), + [anon_sym_LT] = ACTIONS(511), + [anon_sym_GT] = ACTIONS(511), + [anon_sym_DQUOTE] = ACTIONS(513), + [sym_raw_string] = ACTIONS(515), + [anon_sym_DOLLAR] = ACTIONS(517), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), + [anon_sym_BQUOTE] = ACTIONS(523), + [sym_word] = ACTIONS(525), [sym_comment] = ACTIONS(115), }, [96] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), + [anon_sym_SEMI_SEMI] = ACTIONS(527), + [anon_sym_PIPE] = ACTIONS(527), + [anon_sym_PIPE_AMP] = ACTIONS(527), + [anon_sym_AMP_AMP] = ACTIONS(527), + [anon_sym_PIPE_PIPE] = ACTIONS(527), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -13729,58 +14128,58 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(527), + [anon_sym_LF] = ACTIONS(527), + [anon_sym_AMP] = ACTIONS(527), }, [97] = { - [sym_file_descriptor] = ACTIONS(521), - [ts_builtin_sym_end] = ACTIONS(521), - [anon_sym_for] = ACTIONS(523), - [anon_sym_while] = ACTIONS(523), - [anon_sym_do] = ACTIONS(523), - [anon_sym_done] = ACTIONS(523), - [anon_sym_if] = ACTIONS(523), - [anon_sym_then] = ACTIONS(523), - [anon_sym_fi] = ACTIONS(523), - [anon_sym_elif] = ACTIONS(523), - [anon_sym_else] = ACTIONS(523), - [anon_sym_case] = ACTIONS(523), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_function] = ACTIONS(523), - [anon_sym_LPAREN] = ACTIONS(521), - [anon_sym_RBRACE] = ACTIONS(521), - [anon_sym_LBRACK] = ACTIONS(523), - [anon_sym_LBRACK_LBRACK] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_leading_word] = ACTIONS(525), + [sym_file_descriptor] = ACTIONS(529), + [ts_builtin_sym_end] = ACTIONS(529), + [anon_sym_for] = ACTIONS(531), + [anon_sym_while] = ACTIONS(531), + [anon_sym_do] = ACTIONS(531), + [anon_sym_done] = ACTIONS(531), + [anon_sym_if] = ACTIONS(531), + [anon_sym_then] = ACTIONS(531), + [anon_sym_fi] = ACTIONS(531), + [anon_sym_elif] = ACTIONS(531), + [anon_sym_else] = ACTIONS(531), + [anon_sym_case] = ACTIONS(531), + [anon_sym_RPAREN] = ACTIONS(529), + [anon_sym_SEMI_SEMI] = ACTIONS(529), + [anon_sym_function] = ACTIONS(531), + [anon_sym_LPAREN] = ACTIONS(529), + [anon_sym_RBRACE] = ACTIONS(529), + [anon_sym_LBRACK] = ACTIONS(531), + [anon_sym_LBRACK_LBRACK] = ACTIONS(531), + [anon_sym_COLON] = ACTIONS(529), + [anon_sym_LT] = ACTIONS(531), + [anon_sym_GT] = ACTIONS(531), + [anon_sym_GT_GT] = ACTIONS(531), + [anon_sym_AMP_GT] = ACTIONS(531), + [anon_sym_AMP_GT_GT] = ACTIONS(531), + [anon_sym_LT_AMP] = ACTIONS(531), + [anon_sym_GT_AMP] = ACTIONS(531), + [anon_sym_DQUOTE] = ACTIONS(529), + [sym_raw_string] = ACTIONS(531), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(529), + [anon_sym_BQUOTE] = ACTIONS(529), + [sym_leading_word] = ACTIONS(533), [sym_comment] = ACTIONS(115), }, [98] = { - [sym_for_statement] = STATE(241), - [sym_while_statement] = STATE(241), - [sym_if_statement] = STATE(241), - [sym_case_statement] = STATE(241), - [sym_function_definition] = STATE(241), - [sym_subshell] = STATE(241), - [sym_pipeline] = STATE(241), - [sym_list] = STATE(241), - [sym_bracket_command] = STATE(241), - [sym_command] = STATE(241), - [sym_environment_variable_assignment] = STATE(242), + [sym_for_statement] = STATE(245), + [sym_while_statement] = STATE(245), + [sym_if_statement] = STATE(245), + [sym_case_statement] = STATE(245), + [sym_function_definition] = STATE(245), + [sym_subshell] = STATE(245), + [sym_pipeline] = STATE(245), + [sym_list] = STATE(245), + [sym_bracket_command] = STATE(245), + [sym_command] = STATE(245), + [sym_environment_variable_assignment] = STATE(246), [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), @@ -13810,17 +14209,17 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [99] = { - [sym_for_statement] = STATE(243), - [sym_while_statement] = STATE(243), - [sym_if_statement] = STATE(243), - [sym_case_statement] = STATE(243), - [sym_function_definition] = STATE(243), - [sym_subshell] = STATE(243), - [sym_pipeline] = STATE(243), - [sym_list] = STATE(243), - [sym_bracket_command] = STATE(243), - [sym_command] = STATE(243), - [sym_environment_variable_assignment] = STATE(244), + [sym_for_statement] = STATE(247), + [sym_while_statement] = STATE(247), + [sym_if_statement] = STATE(247), + [sym_case_statement] = STATE(247), + [sym_function_definition] = STATE(247), + [sym_subshell] = STATE(247), + [sym_pipeline] = STATE(247), + [sym_list] = STATE(247), + [sym_bracket_command] = STATE(247), + [sym_command] = STATE(247), + [sym_environment_variable_assignment] = STATE(248), [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), @@ -13850,49 +14249,49 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [100] = { - [sym_file_descriptor] = ACTIONS(527), - [ts_builtin_sym_end] = ACTIONS(527), - [anon_sym_for] = ACTIONS(529), - [anon_sym_while] = ACTIONS(529), - [anon_sym_done] = ACTIONS(529), - [anon_sym_if] = ACTIONS(529), - [anon_sym_fi] = ACTIONS(529), - [anon_sym_elif] = ACTIONS(529), - [anon_sym_else] = ACTIONS(529), - [anon_sym_case] = ACTIONS(529), - [anon_sym_RPAREN] = ACTIONS(527), - [anon_sym_SEMI_SEMI] = ACTIONS(527), - [anon_sym_function] = ACTIONS(529), - [anon_sym_LPAREN] = ACTIONS(527), - [anon_sym_RBRACE] = ACTIONS(527), - [anon_sym_LBRACK] = ACTIONS(529), - [anon_sym_LBRACK_LBRACK] = ACTIONS(529), - [anon_sym_COLON] = ACTIONS(527), - [anon_sym_LT] = ACTIONS(529), - [anon_sym_GT] = ACTIONS(529), - [anon_sym_GT_GT] = ACTIONS(529), - [anon_sym_AMP_GT] = ACTIONS(529), - [anon_sym_AMP_GT_GT] = ACTIONS(529), - [anon_sym_LT_AMP] = ACTIONS(529), - [anon_sym_GT_AMP] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(527), - [sym_raw_string] = ACTIONS(529), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(527), - [anon_sym_BQUOTE] = ACTIONS(527), - [sym_leading_word] = ACTIONS(531), + [sym_file_descriptor] = ACTIONS(535), + [ts_builtin_sym_end] = ACTIONS(535), + [anon_sym_for] = ACTIONS(537), + [anon_sym_while] = ACTIONS(537), + [anon_sym_done] = ACTIONS(537), + [anon_sym_if] = ACTIONS(537), + [anon_sym_fi] = ACTIONS(537), + [anon_sym_elif] = ACTIONS(537), + [anon_sym_else] = ACTIONS(537), + [anon_sym_case] = ACTIONS(537), + [anon_sym_RPAREN] = ACTIONS(535), + [anon_sym_SEMI_SEMI] = ACTIONS(535), + [anon_sym_function] = ACTIONS(537), + [anon_sym_LPAREN] = ACTIONS(535), + [anon_sym_RBRACE] = ACTIONS(535), + [anon_sym_LBRACK] = ACTIONS(537), + [anon_sym_LBRACK_LBRACK] = ACTIONS(537), + [anon_sym_COLON] = ACTIONS(535), + [anon_sym_LT] = ACTIONS(537), + [anon_sym_GT] = ACTIONS(537), + [anon_sym_GT_GT] = ACTIONS(537), + [anon_sym_AMP_GT] = ACTIONS(537), + [anon_sym_AMP_GT_GT] = ACTIONS(537), + [anon_sym_LT_AMP] = ACTIONS(537), + [anon_sym_GT_AMP] = ACTIONS(537), + [anon_sym_DQUOTE] = ACTIONS(535), + [sym_raw_string] = ACTIONS(537), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(535), + [anon_sym_BQUOTE] = ACTIONS(535), + [sym_leading_word] = ACTIONS(539), [sym_comment] = ACTIONS(115), }, [101] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [aux_sym_command_repeat2] = STATE(156), + [aux_sym_command_repeat2] = STATE(158), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(533), + [anon_sym_SEMI_SEMI] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(541), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -13902,23 +14301,23 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(391), - [anon_sym_LF] = ACTIONS(391), - [anon_sym_AMP] = ACTIONS(391), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(395), + [anon_sym_LF] = ACTIONS(395), + [anon_sym_AMP] = ACTIONS(395), }, [102] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [aux_sym_command_repeat2] = STATE(247), + [aux_sym_command_repeat2] = STATE(251), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(535), - [anon_sym_PIPE] = ACTIONS(535), - [anon_sym_PIPE_AMP] = ACTIONS(535), - [anon_sym_AMP_AMP] = ACTIONS(535), - [anon_sym_PIPE_PIPE] = ACTIONS(535), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(537), - [anon_sym_EQ] = ACTIONS(457), + [anon_sym_SEMI_SEMI] = ACTIONS(543), + [anon_sym_PIPE] = ACTIONS(543), + [anon_sym_PIPE_AMP] = ACTIONS(543), + [anon_sym_AMP_AMP] = ACTIONS(543), + [anon_sym_PIPE_PIPE] = ACTIONS(543), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(545), + [anon_sym_EQ] = ACTIONS(465), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -13928,47 +14327,47 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(535), - [anon_sym_LF] = ACTIONS(535), - [anon_sym_AMP] = ACTIONS(535), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(543), + [anon_sym_LF] = ACTIONS(543), + [anon_sym_AMP] = ACTIONS(543), }, [103] = { - [sym_file_descriptor] = ACTIONS(539), - [anon_sym_COLON] = ACTIONS(539), - [anon_sym_LT] = ACTIONS(541), - [anon_sym_GT] = ACTIONS(541), - [anon_sym_GT_GT] = ACTIONS(541), - [anon_sym_AMP_GT] = ACTIONS(541), - [anon_sym_AMP_GT_GT] = ACTIONS(541), - [anon_sym_LT_AMP] = ACTIONS(541), - [anon_sym_GT_AMP] = ACTIONS(541), - [anon_sym_DQUOTE] = ACTIONS(539), - [sym_raw_string] = ACTIONS(541), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(539), - [anon_sym_BQUOTE] = ACTIONS(539), - [sym_leading_word] = ACTIONS(543), + [sym_file_descriptor] = ACTIONS(547), + [anon_sym_COLON] = ACTIONS(547), + [anon_sym_LT] = ACTIONS(549), + [anon_sym_GT] = ACTIONS(549), + [anon_sym_GT_GT] = ACTIONS(549), + [anon_sym_AMP_GT] = ACTIONS(549), + [anon_sym_AMP_GT_GT] = ACTIONS(549), + [anon_sym_LT_AMP] = ACTIONS(549), + [anon_sym_GT_AMP] = ACTIONS(549), + [anon_sym_DQUOTE] = ACTIONS(547), + [sym_raw_string] = ACTIONS(549), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(547), + [anon_sym_BQUOTE] = ACTIONS(547), + [sym_leading_word] = ACTIONS(551), [sym_comment] = ACTIONS(115), }, [104] = { - [sym_file_descriptor] = ACTIONS(545), - [anon_sym_COLON] = ACTIONS(545), - [anon_sym_LT] = ACTIONS(547), - [anon_sym_GT] = ACTIONS(547), - [anon_sym_GT_GT] = ACTIONS(547), - [anon_sym_AMP_GT] = ACTIONS(547), - [anon_sym_AMP_GT_GT] = ACTIONS(547), - [anon_sym_LT_AMP] = ACTIONS(547), - [anon_sym_GT_AMP] = ACTIONS(547), - [anon_sym_DQUOTE] = ACTIONS(545), - [sym_raw_string] = ACTIONS(547), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(545), - [anon_sym_BQUOTE] = ACTIONS(545), - [sym_leading_word] = ACTIONS(549), + [sym_file_descriptor] = ACTIONS(553), + [anon_sym_COLON] = ACTIONS(553), + [anon_sym_LT] = ACTIONS(555), + [anon_sym_GT] = ACTIONS(555), + [anon_sym_GT_GT] = ACTIONS(555), + [anon_sym_AMP_GT] = ACTIONS(555), + [anon_sym_AMP_GT_GT] = ACTIONS(555), + [anon_sym_LT_AMP] = ACTIONS(555), + [anon_sym_GT_AMP] = ACTIONS(555), + [anon_sym_DQUOTE] = ACTIONS(553), + [sym_raw_string] = ACTIONS(555), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(553), + [anon_sym_BQUOTE] = ACTIONS(553), + [sym_leading_word] = ACTIONS(557), [sym_comment] = ACTIONS(115), }, [105] = { - [sym__terminated_statement] = STATE(248), + [sym__terminated_statement] = STATE(252), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -14024,12 +14423,12 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(250), + [aux_sym_program_repeat1] = STATE(254), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(551), + [anon_sym_done] = ACTIONS(559), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), @@ -14052,19 +14451,19 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [107] = { - [anon_sym_SEMI_SEMI] = ACTIONS(553), - [anon_sym_PIPE] = ACTIONS(553), - [anon_sym_PIPE_AMP] = ACTIONS(553), - [anon_sym_AMP_AMP] = ACTIONS(553), - [anon_sym_PIPE_PIPE] = ACTIONS(553), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(553), - [anon_sym_LF] = ACTIONS(553), - [anon_sym_AMP] = ACTIONS(553), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), }, [108] = { - [anon_sym_do] = ACTIONS(521), - [anon_sym_then] = ACTIONS(521), + [anon_sym_do] = ACTIONS(529), + [anon_sym_then] = ACTIONS(529), [sym_comment] = ACTIONS(115), }, [109] = { @@ -14072,8 +14471,8 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(255), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(259), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -14085,16 +14484,16 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(256), - [aux_sym_if_statement_repeat1] = STATE(257), + [aux_sym_program_repeat1] = STATE(260), + [aux_sym_if_statement_repeat1] = STATE(261), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(555), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), + [anon_sym_fi] = ACTIONS(563), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -14116,35 +14515,35 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [110] = { - [anon_sym_in] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [anon_sym_in] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), }, [111] = { - [anon_sym_RPAREN] = ACTIONS(563), - [sym_word] = ACTIONS(565), + [anon_sym_RPAREN] = ACTIONS(571), + [sym_word] = ACTIONS(573), [sym_comment] = ACTIONS(115), }, [112] = { - [anon_sym_RPAREN] = ACTIONS(567), - [sym_word] = ACTIONS(569), + [anon_sym_RPAREN] = ACTIONS(575), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, [113] = { - [sym_for_statement] = STATE(260), - [sym_while_statement] = STATE(260), - [sym_if_statement] = STATE(260), - [sym_case_statement] = STATE(260), - [sym_function_definition] = STATE(260), - [sym_subshell] = STATE(260), - [sym_pipeline] = STATE(260), - [sym_list] = STATE(260), - [sym_bracket_command] = STATE(260), - [sym_command] = STATE(260), - [sym_environment_variable_assignment] = STATE(261), + [sym_for_statement] = STATE(264), + [sym_while_statement] = STATE(264), + [sym_if_statement] = STATE(264), + [sym_case_statement] = STATE(264), + [sym_function_definition] = STATE(264), + [sym_subshell] = STATE(264), + [sym_pipeline] = STATE(264), + [sym_list] = STATE(264), + [sym_bracket_command] = STATE(264), + [sym_command] = STATE(264), + [sym_environment_variable_assignment] = STATE(265), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -14174,266 +14573,179 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [114] = { - [anon_sym_in] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [anon_sym_in] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, [115] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(571), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(579), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, [116] = { - [anon_sym_SEMI_SEMI] = ACTIONS(573), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(573), - [anon_sym_LF] = ACTIONS(573), - [anon_sym_AMP] = ACTIONS(573), - }, - [117] = { - [anon_sym_in] = ACTIONS(575), - [sym_comment] = ACTIONS(115), - }, - [118] = { - [anon_sym_in] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [119] = { - [anon_sym_in] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [120] = { - [anon_sym_in] = ACTIONS(581), [anon_sym_SEMI_SEMI] = ACTIONS(581), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(581), [anon_sym_LF] = ACTIONS(581), [anon_sym_AMP] = ACTIONS(581), }, - [121] = { - [anon_sym_RPAREN] = ACTIONS(583), - [anon_sym_RBRACE] = ACTIONS(583), - [anon_sym_COLON] = ACTIONS(585), - [anon_sym_EQ] = ACTIONS(583), - [anon_sym_COLON_QMARK] = ACTIONS(583), - [anon_sym_COLON_DASH] = ACTIONS(583), + [117] = { + [anon_sym_in] = ACTIONS(583), [sym_comment] = ACTIONS(115), }, - [122] = { - [anon_sym_RBRACE] = ACTIONS(587), - [anon_sym_COLON] = ACTIONS(589), + [118] = { + [anon_sym_in] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [119] = { + [anon_sym_in] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [120] = { + [anon_sym_in] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [121] = { + [anon_sym_RPAREN] = ACTIONS(591), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), [anon_sym_EQ] = ACTIONS(591), [anon_sym_COLON_QMARK] = ACTIONS(591), [anon_sym_COLON_DASH] = ACTIONS(591), [sym_comment] = ACTIONS(115), }, + [122] = { + [sym_special_variable_name] = STATE(270), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(595), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, [123] = { - [anon_sym_RBRACE] = ACTIONS(593), - [anon_sym_COLON] = ACTIONS(595), - [anon_sym_EQ] = ACTIONS(597), - [anon_sym_COLON_QMARK] = ACTIONS(597), - [anon_sym_COLON_DASH] = ACTIONS(597), + [anon_sym_RBRACE] = ACTIONS(597), + [anon_sym_COLON] = ACTIONS(599), + [anon_sym_EQ] = ACTIONS(601), + [anon_sym_COLON_QMARK] = ACTIONS(601), + [anon_sym_COLON_DASH] = ACTIONS(601), [sym_comment] = ACTIONS(115), }, [124] = { - [anon_sym_RPAREN] = ACTIONS(599), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RBRACE] = ACTIONS(603), + [anon_sym_COLON] = ACTIONS(605), + [anon_sym_EQ] = ACTIONS(607), + [anon_sym_COLON_QMARK] = ACTIONS(607), + [anon_sym_COLON_DASH] = ACTIONS(607), [sym_comment] = ACTIONS(115), }, [125] = { + [anon_sym_RPAREN] = ACTIONS(609), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [126] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(599), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(609), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [126] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(599), - [sym_comment] = ACTIONS(115), - }, [127] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(599), - [sym_leading_word] = ACTIONS(261), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(609), [sym_comment] = ACTIONS(115), }, [128] = { - [anon_sym_RPAREN] = ACTIONS(601), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(609), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [129] = { - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [anon_sym_PIPE] = ACTIONS(603), - [anon_sym_PIPE_AMP] = ACTIONS(603), - [anon_sym_AMP_AMP] = ACTIONS(603), - [anon_sym_PIPE_PIPE] = ACTIONS(603), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [anon_sym_RPAREN] = ACTIONS(611), + [sym_comment] = ACTIONS(115), }, [130] = { - [anon_sym_RPAREN] = ACTIONS(605), - [anon_sym_LPAREN] = ACTIONS(605), - [anon_sym_RBRACE] = ACTIONS(605), - [anon_sym_RBRACK] = ACTIONS(607), - [anon_sym_RBRACK_RBRACK] = ACTIONS(607), - [anon_sym_LT] = ACTIONS(605), - [anon_sym_GT] = ACTIONS(605), - [anon_sym_DQUOTE] = ACTIONS(605), - [sym_raw_string] = ACTIONS(607), - [anon_sym_DOLLAR] = ACTIONS(607), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(605), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(605), - [anon_sym_BQUOTE] = ACTIONS(605), - [sym_word] = ACTIONS(561), - [sym_comment] = ACTIONS(115), + [anon_sym_SEMI_SEMI] = ACTIONS(613), + [anon_sym_PIPE] = ACTIONS(613), + [anon_sym_PIPE_AMP] = ACTIONS(613), + [anon_sym_AMP_AMP] = ACTIONS(613), + [anon_sym_PIPE_PIPE] = ACTIONS(613), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(613), + [anon_sym_LF] = ACTIONS(613), + [anon_sym_AMP] = ACTIONS(613), }, [131] = { - [anon_sym_RPAREN] = ACTIONS(609), - [sym_word] = ACTIONS(569), - [sym_comment] = ACTIONS(115), - }, - [132] = { - [sym_for_statement] = STATE(272), - [sym_while_statement] = STATE(272), - [sym_if_statement] = STATE(272), - [sym_case_statement] = STATE(272), - [sym_function_definition] = STATE(272), - [sym_subshell] = STATE(272), - [sym_pipeline] = STATE(272), - [sym_list] = STATE(272), - [sym_bracket_command] = STATE(272), - [sym_command] = STATE(272), - [sym_environment_variable_assignment] = STATE(273), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [133] = { - [anon_sym_RPAREN] = ACTIONS(413), - [anon_sym_LPAREN] = ACTIONS(413), - [anon_sym_RBRACE] = ACTIONS(413), - [anon_sym_RBRACK] = ACTIONS(611), - [anon_sym_RBRACK_RBRACK] = ACTIONS(611), - [anon_sym_LT] = ACTIONS(413), - [anon_sym_GT] = ACTIONS(413), - [anon_sym_DQUOTE] = ACTIONS(413), - [sym_raw_string] = ACTIONS(611), - [anon_sym_DOLLAR] = ACTIONS(611), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(413), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(413), - [anon_sym_BQUOTE] = ACTIONS(413), - [sym_word] = ACTIONS(415), - [sym_comment] = ACTIONS(115), - }, - [134] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(613), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [135] = { - [anon_sym_LPAREN] = ACTIONS(583), - [anon_sym_RBRACK] = ACTIONS(585), - [anon_sym_RBRACK_RBRACK] = ACTIONS(585), - [anon_sym_LT] = ACTIONS(583), - [anon_sym_GT] = ACTIONS(583), - [anon_sym_DQUOTE] = ACTIONS(583), - [sym_raw_string] = ACTIONS(585), - [anon_sym_DOLLAR] = ACTIONS(585), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(583), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(583), - [anon_sym_BQUOTE] = ACTIONS(583), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(115), - }, - [136] = { [anon_sym_RPAREN] = ACTIONS(615), [anon_sym_LPAREN] = ACTIONS(615), [anon_sym_RBRACE] = ACTIONS(615), @@ -14447,253 +14759,26 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LBRACE] = ACTIONS(615), [anon_sym_DOLLAR_LPAREN] = ACTIONS(615), [anon_sym_BQUOTE] = ACTIONS(615), - [sym_word] = ACTIONS(579), + [sym_word] = ACTIONS(569), [sym_comment] = ACTIONS(115), }, - [137] = { + [132] = { [anon_sym_RPAREN] = ACTIONS(619), - [anon_sym_LPAREN] = ACTIONS(619), - [anon_sym_RBRACE] = ACTIONS(619), - [anon_sym_RBRACK] = ACTIONS(621), - [anon_sym_RBRACK_RBRACK] = ACTIONS(621), - [anon_sym_LT] = ACTIONS(619), - [anon_sym_GT] = ACTIONS(619), - [anon_sym_DQUOTE] = ACTIONS(619), - [sym_raw_string] = ACTIONS(621), - [anon_sym_DOLLAR] = ACTIONS(621), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(619), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_BQUOTE] = ACTIONS(619), - [sym_word] = ACTIONS(581), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, - [138] = { - [anon_sym_RBRACE] = ACTIONS(623), - [anon_sym_COLON] = ACTIONS(625), - [anon_sym_EQ] = ACTIONS(627), - [anon_sym_COLON_QMARK] = ACTIONS(627), - [anon_sym_COLON_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(115), - }, - [139] = { - [anon_sym_RBRACE] = ACTIONS(629), - [anon_sym_COLON] = ACTIONS(631), - [anon_sym_EQ] = ACTIONS(633), - [anon_sym_COLON_QMARK] = ACTIONS(633), - [anon_sym_COLON_DASH] = ACTIONS(633), - [sym_comment] = ACTIONS(115), - }, - [140] = { - [anon_sym_RPAREN] = ACTIONS(635), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [141] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(635), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [142] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(635), - [sym_comment] = ACTIONS(115), - }, - [143] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(635), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [144] = { - [anon_sym_SEMI_SEMI] = ACTIONS(637), - [anon_sym_PIPE] = ACTIONS(637), - [anon_sym_PIPE_AMP] = ACTIONS(637), - [anon_sym_AMP_AMP] = ACTIONS(637), - [anon_sym_PIPE_PIPE] = ACTIONS(637), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(637), - [anon_sym_LF] = ACTIONS(637), - [anon_sym_AMP] = ACTIONS(637), - }, - [145] = { - [anon_sym_LPAREN] = ACTIONS(639), - [anon_sym_RBRACK] = ACTIONS(641), - [anon_sym_RBRACK_RBRACK] = ACTIONS(641), - [anon_sym_LT] = ACTIONS(639), - [anon_sym_GT] = ACTIONS(639), - [anon_sym_DQUOTE] = ACTIONS(639), - [sym_raw_string] = ACTIONS(641), - [anon_sym_DOLLAR] = ACTIONS(641), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(639), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(639), - [anon_sym_BQUOTE] = ACTIONS(639), - [sym_word] = ACTIONS(643), - [sym_comment] = ACTIONS(115), - }, - [146] = { - [sym_string] = STATE(280), - [sym_array] = STATE(280), - [sym_simple_expansion] = STATE(280), - [sym_expansion] = STATE(280), - [sym_command_substitution] = STATE(280), - [sym_process_substitution] = STATE(280), - [anon_sym_LPAREN] = ACTIONS(365), - [anon_sym_LT] = ACTIONS(367), - [anon_sym_GT] = ACTIONS(367), - [anon_sym_DQUOTE] = ACTIONS(369), - [sym_raw_string] = ACTIONS(645), - [anon_sym_DOLLAR] = ACTIONS(373), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(379), - [sym_word] = ACTIONS(647), - [sym_comment] = ACTIONS(115), - }, - [147] = { - [aux_sym_array_repeat1] = STATE(282), - [anon_sym_RPAREN] = ACTIONS(649), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, - [148] = { - [sym_string] = STATE(160), - [sym_array] = STATE(160), - [sym_simple_expansion] = STATE(160), - [sym_expansion] = STATE(160), - [sym_command_substitution] = STATE(160), - [sym_process_substitution] = STATE(160), - [anon_sym_LPAREN] = ACTIONS(651), - [anon_sym_LT] = ACTIONS(367), - [anon_sym_GT] = ACTIONS(367), - [anon_sym_DQUOTE] = ACTIONS(369), - [sym_raw_string] = ACTIONS(371), - [anon_sym_DOLLAR] = ACTIONS(373), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(379), - [sym_word] = ACTIONS(381), - [sym_comment] = ACTIONS(115), - }, - [149] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(285), - [anon_sym_DQUOTE] = ACTIONS(653), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [150] = { - [sym_file_descriptor] = ACTIONS(323), - [anon_sym_SEMI_SEMI] = ACTIONS(327), - [anon_sym_LPAREN] = ACTIONS(327), - [anon_sym_PIPE] = ACTIONS(327), - [anon_sym_PIPE_AMP] = ACTIONS(327), - [anon_sym_AMP_AMP] = ACTIONS(327), - [anon_sym_PIPE_PIPE] = ACTIONS(327), - [anon_sym_LT] = ACTIONS(327), - [anon_sym_GT] = ACTIONS(327), - [anon_sym_GT_GT] = ACTIONS(327), - [anon_sym_AMP_GT] = ACTIONS(327), - [anon_sym_AMP_GT_GT] = ACTIONS(327), - [anon_sym_LT_AMP] = ACTIONS(327), - [anon_sym_GT_AMP] = ACTIONS(327), - [anon_sym_LT_LT] = ACTIONS(327), - [anon_sym_LT_LT_DASH] = ACTIONS(327), - [anon_sym_DQUOTE] = ACTIONS(327), - [sym_raw_string] = ACTIONS(327), - [anon_sym_DOLLAR] = ACTIONS(327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(327), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(327), - [sym_word] = ACTIONS(327), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(327), - [anon_sym_LF] = ACTIONS(327), - [anon_sym_AMP] = ACTIONS(327), - }, - [151] = { - [sym_special_variable_name] = STATE(288), - [anon_sym_DOLLAR] = ACTIONS(655), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(657), - [anon_sym_STAR] = ACTIONS(655), - [anon_sym_AT] = ACTIONS(655), - [anon_sym_POUND] = ACTIONS(659), - [anon_sym_QMARK] = ACTIONS(655), - [anon_sym_DASH] = ACTIONS(655), - [anon_sym_BANG] = ACTIONS(655), - [anon_sym_0] = ACTIONS(659), - [anon_sym__] = ACTIONS(659), - }, - [152] = { - [sym_special_variable_name] = STATE(290), - [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(661), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(307), - [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(307), - [anon_sym_DASH] = ACTIONS(307), - [anon_sym_BANG] = ACTIONS(307), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), - }, - [153] = { - [sym_for_statement] = STATE(291), - [sym_while_statement] = STATE(291), - [sym_if_statement] = STATE(291), - [sym_case_statement] = STATE(291), - [sym_function_definition] = STATE(291), - [sym_subshell] = STATE(291), - [sym_pipeline] = STATE(291), - [sym_list] = STATE(291), - [sym_bracket_command] = STATE(291), - [sym_command] = STATE(291), - [sym_environment_variable_assignment] = STATE(292), + [133] = { + [sym_for_statement] = STATE(278), + [sym_while_statement] = STATE(278), + [sym_if_statement] = STATE(278), + [sym_case_statement] = STATE(278), + [sym_function_definition] = STATE(278), + [sym_subshell] = STATE(278), + [sym_pipeline] = STATE(278), + [sym_list] = STATE(278), + [sym_bracket_command] = STATE(278), + [sym_command] = STATE(278), + [sym_environment_variable_assignment] = STATE(279), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -14722,18 +14807,370 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, + [134] = { + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_LPAREN] = ACTIONS(419), + [anon_sym_RBRACE] = ACTIONS(419), + [anon_sym_RBRACK] = ACTIONS(621), + [anon_sym_RBRACK_RBRACK] = ACTIONS(621), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_raw_string] = ACTIONS(621), + [anon_sym_DOLLAR] = ACTIONS(621), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_BQUOTE] = ACTIONS(419), + [sym_word] = ACTIONS(421), + [sym_comment] = ACTIONS(115), + }, + [135] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(623), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [136] = { + [anon_sym_LPAREN] = ACTIONS(591), + [anon_sym_RBRACK] = ACTIONS(593), + [anon_sym_RBRACK_RBRACK] = ACTIONS(593), + [anon_sym_LT] = ACTIONS(591), + [anon_sym_GT] = ACTIONS(591), + [anon_sym_DQUOTE] = ACTIONS(591), + [sym_raw_string] = ACTIONS(593), + [anon_sym_DOLLAR] = ACTIONS(593), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(591), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(591), + [anon_sym_BQUOTE] = ACTIONS(591), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(115), + }, + [137] = { + [anon_sym_RPAREN] = ACTIONS(625), + [anon_sym_LPAREN] = ACTIONS(625), + [anon_sym_RBRACE] = ACTIONS(625), + [anon_sym_RBRACK] = ACTIONS(627), + [anon_sym_RBRACK_RBRACK] = ACTIONS(627), + [anon_sym_LT] = ACTIONS(625), + [anon_sym_GT] = ACTIONS(625), + [anon_sym_DQUOTE] = ACTIONS(625), + [sym_raw_string] = ACTIONS(627), + [anon_sym_DOLLAR] = ACTIONS(627), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(625), + [anon_sym_BQUOTE] = ACTIONS(625), + [sym_word] = ACTIONS(587), + [sym_comment] = ACTIONS(115), + }, + [138] = { + [anon_sym_RPAREN] = ACTIONS(629), + [anon_sym_LPAREN] = ACTIONS(629), + [anon_sym_RBRACE] = ACTIONS(629), + [anon_sym_RBRACK] = ACTIONS(631), + [anon_sym_RBRACK_RBRACK] = ACTIONS(631), + [anon_sym_LT] = ACTIONS(629), + [anon_sym_GT] = ACTIONS(629), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_raw_string] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(631), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(629), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(629), + [anon_sym_BQUOTE] = ACTIONS(629), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(115), + }, + [139] = { + [sym_special_variable_name] = STATE(282), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(633), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [140] = { + [anon_sym_RBRACE] = ACTIONS(635), + [anon_sym_COLON] = ACTIONS(637), + [anon_sym_EQ] = ACTIONS(639), + [anon_sym_COLON_QMARK] = ACTIONS(639), + [anon_sym_COLON_DASH] = ACTIONS(639), + [sym_comment] = ACTIONS(115), + }, + [141] = { + [anon_sym_RBRACE] = ACTIONS(641), + [anon_sym_COLON] = ACTIONS(643), + [anon_sym_EQ] = ACTIONS(645), + [anon_sym_COLON_QMARK] = ACTIONS(645), + [anon_sym_COLON_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(115), + }, + [142] = { + [anon_sym_RPAREN] = ACTIONS(647), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [143] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(647), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [144] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(647), + [sym_comment] = ACTIONS(115), + }, + [145] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(647), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [146] = { + [anon_sym_SEMI_SEMI] = ACTIONS(649), + [anon_sym_PIPE] = ACTIONS(649), + [anon_sym_PIPE_AMP] = ACTIONS(649), + [anon_sym_AMP_AMP] = ACTIONS(649), + [anon_sym_PIPE_PIPE] = ACTIONS(649), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(649), + [anon_sym_LF] = ACTIONS(649), + [anon_sym_AMP] = ACTIONS(649), + }, + [147] = { + [anon_sym_LPAREN] = ACTIONS(651), + [anon_sym_RBRACK] = ACTIONS(653), + [anon_sym_RBRACK_RBRACK] = ACTIONS(653), + [anon_sym_LT] = ACTIONS(651), + [anon_sym_GT] = ACTIONS(651), + [anon_sym_DQUOTE] = ACTIONS(651), + [sym_raw_string] = ACTIONS(653), + [anon_sym_DOLLAR] = ACTIONS(653), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(651), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(651), + [anon_sym_BQUOTE] = ACTIONS(651), + [sym_word] = ACTIONS(655), + [sym_comment] = ACTIONS(115), + }, + [148] = { + [sym_string] = STATE(288), + [sym_array] = STATE(288), + [sym_simple_expansion] = STATE(288), + [sym_expansion] = STATE(288), + [sym_command_substitution] = STATE(288), + [sym_process_substitution] = STATE(288), + [anon_sym_LPAREN] = ACTIONS(369), + [anon_sym_LT] = ACTIONS(371), + [anon_sym_GT] = ACTIONS(371), + [anon_sym_DQUOTE] = ACTIONS(373), + [sym_raw_string] = ACTIONS(657), + [anon_sym_DOLLAR] = ACTIONS(377), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(379), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(381), + [anon_sym_BQUOTE] = ACTIONS(383), + [sym_word] = ACTIONS(659), + [sym_comment] = ACTIONS(115), + }, + [149] = { + [aux_sym_array_repeat1] = STATE(290), + [anon_sym_RPAREN] = ACTIONS(661), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [150] = { + [sym_string] = STATE(162), + [sym_array] = STATE(162), + [sym_simple_expansion] = STATE(162), + [sym_expansion] = STATE(162), + [sym_command_substitution] = STATE(162), + [sym_process_substitution] = STATE(162), + [anon_sym_LPAREN] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(371), + [anon_sym_GT] = ACTIONS(371), + [anon_sym_DQUOTE] = ACTIONS(373), + [sym_raw_string] = ACTIONS(375), + [anon_sym_DOLLAR] = ACTIONS(377), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(379), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(381), + [anon_sym_BQUOTE] = ACTIONS(383), + [sym_word] = ACTIONS(385), + [sym_comment] = ACTIONS(115), + }, + [151] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(293), + [anon_sym_DQUOTE] = ACTIONS(665), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [152] = { + [sym_file_descriptor] = ACTIONS(325), + [anon_sym_SEMI_SEMI] = ACTIONS(329), + [anon_sym_LPAREN] = ACTIONS(329), + [anon_sym_PIPE] = ACTIONS(329), + [anon_sym_PIPE_AMP] = ACTIONS(329), + [anon_sym_AMP_AMP] = ACTIONS(329), + [anon_sym_PIPE_PIPE] = ACTIONS(329), + [anon_sym_LT] = ACTIONS(329), + [anon_sym_GT] = ACTIONS(329), + [anon_sym_GT_GT] = ACTIONS(329), + [anon_sym_AMP_GT] = ACTIONS(329), + [anon_sym_AMP_GT_GT] = ACTIONS(329), + [anon_sym_LT_AMP] = ACTIONS(329), + [anon_sym_GT_AMP] = ACTIONS(329), + [anon_sym_LT_LT] = ACTIONS(329), + [anon_sym_LT_LT_DASH] = ACTIONS(329), + [anon_sym_DQUOTE] = ACTIONS(329), + [sym_raw_string] = ACTIONS(329), + [anon_sym_DOLLAR] = ACTIONS(329), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(329), + [anon_sym_BQUOTE] = ACTIONS(329), + [sym_word] = ACTIONS(329), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(329), + [anon_sym_LF] = ACTIONS(329), + [anon_sym_AMP] = ACTIONS(329), + }, + [153] = { + [sym_special_variable_name] = STATE(296), + [anon_sym_DOLLAR] = ACTIONS(667), + [anon_sym_POUND] = ACTIONS(669), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(671), + [anon_sym_STAR] = ACTIONS(667), + [anon_sym_AT] = ACTIONS(667), + [anon_sym_QMARK] = ACTIONS(667), + [anon_sym_DASH] = ACTIONS(667), + [anon_sym_BANG] = ACTIONS(667), + [anon_sym_0] = ACTIONS(669), + [anon_sym__] = ACTIONS(669), + }, [154] = { - [sym_for_statement] = STATE(293), - [sym_while_statement] = STATE(293), - [sym_if_statement] = STATE(293), - [sym_case_statement] = STATE(293), - [sym_function_definition] = STATE(293), - [sym_subshell] = STATE(293), - [sym_pipeline] = STATE(293), - [sym_list] = STATE(293), - [sym_bracket_command] = STATE(293), - [sym_command] = STATE(293), - [sym_environment_variable_assignment] = STATE(294), + [sym_special_variable_name] = STATE(299), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(673), + [sym_leading_word] = ACTIONS(675), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [155] = { + [sym_for_statement] = STATE(300), + [sym_while_statement] = STATE(300), + [sym_if_statement] = STATE(300), + [sym_case_statement] = STATE(300), + [sym_function_definition] = STATE(300), + [sym_subshell] = STATE(300), + [sym_pipeline] = STATE(300), + [sym_list] = STATE(300), + [sym_bracket_command] = STATE(300), + [sym_command] = STATE(300), + [sym_environment_variable_assignment] = STATE(301), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [156] = { + [sym_for_statement] = STATE(302), + [sym_while_statement] = STATE(302), + [sym_if_statement] = STATE(302), + [sym_case_statement] = STATE(302), + [sym_function_definition] = STATE(302), + [sym_subshell] = STATE(302), + [sym_pipeline] = STATE(302), + [sym_list] = STATE(302), + [sym_bracket_command] = STATE(302), + [sym_command] = STATE(302), + [sym_environment_variable_assignment] = STATE(303), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -14762,25 +15199,25 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [155] = { + [157] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(295), - [sym_array] = STATE(295), - [sym_simple_expansion] = STATE(295), - [sym_expansion] = STATE(295), - [sym_command_substitution] = STATE(295), - [sym_process_substitution] = STATE(295), - [aux_sym_command_repeat2] = STATE(296), + [sym_string] = STATE(304), + [sym_array] = STATE(304), + [sym_simple_expansion] = STATE(304), + [sym_expansion] = STATE(304), + [sym_command_substitution] = STATE(304), + [sym_process_substitution] = STATE(304), + [aux_sym_command_repeat2] = STATE(305), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(663), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(663), - [anon_sym_PIPE_AMP] = ACTIONS(663), - [anon_sym_AMP_AMP] = ACTIONS(663), - [anon_sym_PIPE_PIPE] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(677), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(677), + [anon_sym_PIPE_AMP] = ACTIONS(677), + [anon_sym_AMP_AMP] = ACTIONS(677), + [anon_sym_PIPE_PIPE] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), [anon_sym_GT_GT] = ACTIONS(169), [anon_sym_AMP_GT] = ACTIONS(169), [anon_sym_AMP_GT_GT] = ACTIONS(169), @@ -14788,27 +15225,27 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(665), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(665), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(663), - [anon_sym_LF] = ACTIONS(663), - [anon_sym_AMP] = ACTIONS(663), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(679), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(679), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(677), + [anon_sym_LF] = ACTIONS(677), + [anon_sym_AMP] = ACTIONS(677), }, - [156] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), + [158] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), + [anon_sym_SEMI_SEMI] = ACTIONS(681), + [anon_sym_PIPE] = ACTIONS(681), + [anon_sym_PIPE_AMP] = ACTIONS(681), + [anon_sym_AMP_AMP] = ACTIONS(681), + [anon_sym_PIPE_PIPE] = ACTIONS(681), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -14818,264 +15255,84 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(681), + [anon_sym_LF] = ACTIONS(681), + [anon_sym_AMP] = ACTIONS(681), }, - [157] = { - [aux_sym_array_repeat1] = STATE(298), - [anon_sym_RPAREN] = ACTIONS(669), + [159] = { + [aux_sym_array_repeat1] = STATE(307), + [anon_sym_RPAREN] = ACTIONS(683), [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, - [158] = { - [anon_sym_LPAREN] = ACTIONS(671), + [160] = { + [anon_sym_LPAREN] = ACTIONS(685), [sym_comment] = ACTIONS(115), }, - [159] = { + [161] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(301), - [anon_sym_DQUOTE] = ACTIONS(673), + [aux_sym_string_repeat1] = STATE(310), + [anon_sym_DQUOTE] = ACTIONS(687), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [160] = { - [sym_file_descriptor] = ACTIONS(399), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_PIPE] = ACTIONS(403), - [anon_sym_PIPE_AMP] = ACTIONS(403), - [anon_sym_AMP_AMP] = ACTIONS(403), - [anon_sym_PIPE_PIPE] = ACTIONS(403), - [anon_sym_LT] = ACTIONS(403), - [anon_sym_GT] = ACTIONS(403), - [anon_sym_GT_GT] = ACTIONS(403), - [anon_sym_AMP_GT] = ACTIONS(403), - [anon_sym_AMP_GT_GT] = ACTIONS(403), - [anon_sym_LT_AMP] = ACTIONS(403), - [anon_sym_GT_AMP] = ACTIONS(403), - [anon_sym_LT_LT] = ACTIONS(403), - [anon_sym_LT_LT_DASH] = ACTIONS(403), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), - }, - [161] = { - [sym_special_variable_name] = STATE(304), - [anon_sym_DOLLAR] = ACTIONS(675), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(677), - [anon_sym_STAR] = ACTIONS(675), - [anon_sym_AT] = ACTIONS(675), - [anon_sym_POUND] = ACTIONS(679), - [anon_sym_QMARK] = ACTIONS(675), - [anon_sym_DASH] = ACTIONS(675), - [anon_sym_BANG] = ACTIONS(675), - [anon_sym_0] = ACTIONS(679), - [anon_sym__] = ACTIONS(679), + [sym_comment] = ACTIONS(75), }, [162] = { - [sym_special_variable_name] = STATE(306), + [sym_file_descriptor] = ACTIONS(403), + [anon_sym_SEMI_SEMI] = ACTIONS(407), + [anon_sym_PIPE] = ACTIONS(407), + [anon_sym_PIPE_AMP] = ACTIONS(407), + [anon_sym_AMP_AMP] = ACTIONS(407), + [anon_sym_PIPE_PIPE] = ACTIONS(407), + [anon_sym_LT] = ACTIONS(407), + [anon_sym_GT] = ACTIONS(407), + [anon_sym_GT_GT] = ACTIONS(407), + [anon_sym_AMP_GT] = ACTIONS(407), + [anon_sym_AMP_GT_GT] = ACTIONS(407), + [anon_sym_LT_AMP] = ACTIONS(407), + [anon_sym_GT_AMP] = ACTIONS(407), + [anon_sym_LT_LT] = ACTIONS(407), + [anon_sym_LT_LT_DASH] = ACTIONS(407), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(407), + [anon_sym_LF] = ACTIONS(407), + [anon_sym_AMP] = ACTIONS(407), + }, + [163] = { + [sym_special_variable_name] = STATE(313), + [anon_sym_DOLLAR] = ACTIONS(689), + [anon_sym_POUND] = ACTIONS(691), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(693), + [anon_sym_STAR] = ACTIONS(689), + [anon_sym_AT] = ACTIONS(689), + [anon_sym_QMARK] = ACTIONS(689), + [anon_sym_DASH] = ACTIONS(689), + [anon_sym_BANG] = ACTIONS(689), + [anon_sym_0] = ACTIONS(691), + [anon_sym__] = ACTIONS(691), + }, + [164] = { + [sym_special_variable_name] = STATE(316), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(681), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(695), + [sym_leading_word] = ACTIONS(697), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), [anon_sym_0] = ACTIONS(307), [anon_sym__] = ACTIONS(307), }, - [163] = { - [sym_for_statement] = STATE(307), - [sym_while_statement] = STATE(307), - [sym_if_statement] = STATE(307), - [sym_case_statement] = STATE(307), - [sym_function_definition] = STATE(307), - [sym_subshell] = STATE(307), - [sym_pipeline] = STATE(307), - [sym_list] = STATE(307), - [sym_bracket_command] = STATE(307), - [sym_command] = STATE(307), - [sym_environment_variable_assignment] = STATE(308), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [164] = { - [sym_for_statement] = STATE(309), - [sym_while_statement] = STATE(309), - [sym_if_statement] = STATE(309), - [sym_case_statement] = STATE(309), - [sym_function_definition] = STATE(309), - [sym_subshell] = STATE(309), - [sym_pipeline] = STATE(309), - [sym_list] = STATE(309), - [sym_bracket_command] = STATE(309), - [sym_command] = STATE(309), - [sym_environment_variable_assignment] = STATE(310), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), - [sym_comment] = ACTIONS(115), - }, [165] = { - [sym_file_descriptor] = ACTIONS(683), - [anon_sym_SEMI_SEMI] = ACTIONS(685), - [anon_sym_PIPE] = ACTIONS(685), - [anon_sym_PIPE_AMP] = ACTIONS(685), - [anon_sym_AMP_AMP] = ACTIONS(685), - [anon_sym_PIPE_PIPE] = ACTIONS(685), - [anon_sym_LT] = ACTIONS(685), - [anon_sym_GT] = ACTIONS(685), - [anon_sym_GT_GT] = ACTIONS(685), - [anon_sym_AMP_GT] = ACTIONS(685), - [anon_sym_AMP_GT_GT] = ACTIONS(685), - [anon_sym_LT_AMP] = ACTIONS(685), - [anon_sym_GT_AMP] = ACTIONS(685), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(685), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(685), - [anon_sym_LF] = ACTIONS(685), - [anon_sym_AMP] = ACTIONS(685), - }, - [166] = { - [sym_simple_expansion] = STATE(311), - [sym_expansion] = STATE(311), - [aux_sym_heredoc_repeat1] = STATE(315), - [sym__heredoc_middle] = ACTIONS(687), - [sym__heredoc_end] = ACTIONS(689), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), - [sym_comment] = ACTIONS(115), - }, - [167] = { - [sym_file_descriptor] = ACTIONS(695), - [anon_sym_SEMI_SEMI] = ACTIONS(697), - [anon_sym_PIPE] = ACTIONS(697), - [anon_sym_PIPE_AMP] = ACTIONS(697), - [anon_sym_AMP_AMP] = ACTIONS(697), - [anon_sym_PIPE_PIPE] = ACTIONS(697), - [anon_sym_LT] = ACTIONS(697), - [anon_sym_GT] = ACTIONS(697), - [anon_sym_GT_GT] = ACTIONS(697), - [anon_sym_AMP_GT] = ACTIONS(697), - [anon_sym_AMP_GT_GT] = ACTIONS(697), - [anon_sym_LT_AMP] = ACTIONS(697), - [anon_sym_GT_AMP] = ACTIONS(697), - [anon_sym_LT_LT] = ACTIONS(697), - [anon_sym_LT_LT_DASH] = ACTIONS(697), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(697), - [anon_sym_LF] = ACTIONS(697), - [anon_sym_AMP] = ACTIONS(697), - }, - [168] = { - [sym_file_descriptor] = ACTIONS(699), - [anon_sym_SEMI_SEMI] = ACTIONS(701), - [anon_sym_PIPE] = ACTIONS(701), - [anon_sym_PIPE_AMP] = ACTIONS(701), - [anon_sym_AMP_AMP] = ACTIONS(701), - [anon_sym_PIPE_PIPE] = ACTIONS(701), - [anon_sym_LT] = ACTIONS(701), - [anon_sym_GT] = ACTIONS(701), - [anon_sym_GT_GT] = ACTIONS(701), - [anon_sym_AMP_GT] = ACTIONS(701), - [anon_sym_AMP_GT_GT] = ACTIONS(701), - [anon_sym_LT_AMP] = ACTIONS(701), - [anon_sym_GT_AMP] = ACTIONS(701), - [anon_sym_LT_LT] = ACTIONS(701), - [anon_sym_LT_LT_DASH] = ACTIONS(701), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(701), - [anon_sym_LF] = ACTIONS(701), - [anon_sym_AMP] = ACTIONS(701), - }, - [169] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(605), - [anon_sym_PIPE] = ACTIONS(607), - [anon_sym_PIPE_AMP] = ACTIONS(605), - [anon_sym_AMP_AMP] = ACTIONS(607), - [anon_sym_PIPE_PIPE] = ACTIONS(605), - [anon_sym_COLON] = ACTIONS(605), - [anon_sym_LT] = ACTIONS(607), - [anon_sym_GT] = ACTIONS(607), - [anon_sym_GT_GT] = ACTIONS(607), - [anon_sym_AMP_GT] = ACTIONS(607), - [anon_sym_AMP_GT_GT] = ACTIONS(607), - [anon_sym_LT_AMP] = ACTIONS(607), - [anon_sym_GT_AMP] = ACTIONS(607), - [anon_sym_DQUOTE] = ACTIONS(605), - [sym_raw_string] = ACTIONS(607), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(605), - [anon_sym_BQUOTE] = ACTIONS(605), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(115), - }, - [170] = { - [anon_sym_RPAREN] = ACTIONS(703), - [sym_word] = ACTIONS(569), - [sym_comment] = ACTIONS(115), - }, - [171] = { [sym_for_statement] = STATE(317), [sym_while_statement] = STATE(317), [sym_if_statement] = STATE(317), @@ -15115,63 +15372,120 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [172] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(413), - [anon_sym_PIPE] = ACTIONS(611), - [anon_sym_PIPE_AMP] = ACTIONS(413), - [anon_sym_AMP_AMP] = ACTIONS(611), - [anon_sym_PIPE_PIPE] = ACTIONS(413), - [anon_sym_COLON] = ACTIONS(413), - [anon_sym_LT] = ACTIONS(611), - [anon_sym_GT] = ACTIONS(611), - [anon_sym_GT_GT] = ACTIONS(611), - [anon_sym_AMP_GT] = ACTIONS(611), - [anon_sym_AMP_GT_GT] = ACTIONS(611), - [anon_sym_LT_AMP] = ACTIONS(611), - [anon_sym_GT_AMP] = ACTIONS(611), - [anon_sym_DQUOTE] = ACTIONS(413), - [sym_raw_string] = ACTIONS(611), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(413), - [anon_sym_BQUOTE] = ACTIONS(413), - [sym_leading_word] = ACTIONS(415), + [166] = { + [sym_for_statement] = STATE(319), + [sym_while_statement] = STATE(319), + [sym_if_statement] = STATE(319), + [sym_case_statement] = STATE(319), + [sym_function_definition] = STATE(319), + [sym_subshell] = STATE(319), + [sym_pipeline] = STATE(319), + [sym_list] = STATE(319), + [sym_bracket_command] = STATE(319), + [sym_command] = STATE(319), + [sym_environment_variable_assignment] = STATE(320), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [173] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(705), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [167] = { + [sym_file_descriptor] = ACTIONS(699), + [anon_sym_SEMI_SEMI] = ACTIONS(701), + [anon_sym_PIPE] = ACTIONS(701), + [anon_sym_PIPE_AMP] = ACTIONS(701), + [anon_sym_AMP_AMP] = ACTIONS(701), + [anon_sym_PIPE_PIPE] = ACTIONS(701), + [anon_sym_LT] = ACTIONS(701), + [anon_sym_GT] = ACTIONS(701), + [anon_sym_GT_GT] = ACTIONS(701), + [anon_sym_AMP_GT] = ACTIONS(701), + [anon_sym_AMP_GT_GT] = ACTIONS(701), + [anon_sym_LT_AMP] = ACTIONS(701), + [anon_sym_GT_AMP] = ACTIONS(701), + [anon_sym_LT_LT] = ACTIONS(701), + [anon_sym_LT_LT_DASH] = ACTIONS(701), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(701), + [anon_sym_LF] = ACTIONS(701), + [anon_sym_AMP] = ACTIONS(701), }, - [174] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(583), - [anon_sym_PIPE] = ACTIONS(585), - [anon_sym_PIPE_AMP] = ACTIONS(583), - [anon_sym_AMP_AMP] = ACTIONS(585), - [anon_sym_PIPE_PIPE] = ACTIONS(583), - [anon_sym_COLON] = ACTIONS(583), - [anon_sym_LT] = ACTIONS(585), - [anon_sym_GT] = ACTIONS(585), - [anon_sym_GT_GT] = ACTIONS(585), - [anon_sym_AMP_GT] = ACTIONS(585), - [anon_sym_AMP_GT_GT] = ACTIONS(585), - [anon_sym_LT_AMP] = ACTIONS(585), - [anon_sym_GT_AMP] = ACTIONS(585), - [anon_sym_DQUOTE] = ACTIONS(583), - [sym_raw_string] = ACTIONS(585), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(583), - [anon_sym_BQUOTE] = ACTIONS(583), - [sym_leading_word] = ACTIONS(577), + [168] = { + [sym_simple_expansion] = STATE(321), + [sym_expansion] = STATE(321), + [aux_sym_heredoc_repeat1] = STATE(325), + [sym__heredoc_middle] = ACTIONS(703), + [sym__heredoc_end] = ACTIONS(705), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), [sym_comment] = ACTIONS(115), }, - [175] = { + [169] = { + [sym_file_descriptor] = ACTIONS(711), + [anon_sym_SEMI_SEMI] = ACTIONS(713), + [anon_sym_PIPE] = ACTIONS(713), + [anon_sym_PIPE_AMP] = ACTIONS(713), + [anon_sym_AMP_AMP] = ACTIONS(713), + [anon_sym_PIPE_PIPE] = ACTIONS(713), + [anon_sym_LT] = ACTIONS(713), + [anon_sym_GT] = ACTIONS(713), + [anon_sym_GT_GT] = ACTIONS(713), + [anon_sym_AMP_GT] = ACTIONS(713), + [anon_sym_AMP_GT_GT] = ACTIONS(713), + [anon_sym_LT_AMP] = ACTIONS(713), + [anon_sym_GT_AMP] = ACTIONS(713), + [anon_sym_LT_LT] = ACTIONS(713), + [anon_sym_LT_LT_DASH] = ACTIONS(713), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(713), + [anon_sym_LF] = ACTIONS(713), + [anon_sym_AMP] = ACTIONS(713), + }, + [170] = { + [sym_file_descriptor] = ACTIONS(715), + [anon_sym_SEMI_SEMI] = ACTIONS(717), + [anon_sym_PIPE] = ACTIONS(717), + [anon_sym_PIPE_AMP] = ACTIONS(717), + [anon_sym_AMP_AMP] = ACTIONS(717), + [anon_sym_PIPE_PIPE] = ACTIONS(717), + [anon_sym_LT] = ACTIONS(717), + [anon_sym_GT] = ACTIONS(717), + [anon_sym_GT_GT] = ACTIONS(717), + [anon_sym_AMP_GT] = ACTIONS(717), + [anon_sym_AMP_GT_GT] = ACTIONS(717), + [anon_sym_LT_AMP] = ACTIONS(717), + [anon_sym_GT_AMP] = ACTIONS(717), + [anon_sym_LT_LT] = ACTIONS(717), + [anon_sym_LT_LT_DASH] = ACTIONS(717), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(717), + [anon_sym_LF] = ACTIONS(717), + [anon_sym_AMP] = ACTIONS(717), + }, + [171] = { [sym_file_descriptor] = ACTIONS(615), [anon_sym_RPAREN] = ACTIONS(615), [anon_sym_PIPE] = ACTIONS(617), @@ -15190,17 +15504,62 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_raw_string] = ACTIONS(617), [anon_sym_DOLLAR_LPAREN] = ACTIONS(615), [anon_sym_BQUOTE] = ACTIONS(615), - [sym_leading_word] = ACTIONS(579), + [sym_leading_word] = ACTIONS(569), [sym_comment] = ACTIONS(115), }, - [176] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(619), + [172] = { + [anon_sym_RPAREN] = ACTIONS(719), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [173] = { + [sym_for_statement] = STATE(327), + [sym_while_statement] = STATE(327), + [sym_if_statement] = STATE(327), + [sym_case_statement] = STATE(327), + [sym_function_definition] = STATE(327), + [sym_subshell] = STATE(327), + [sym_pipeline] = STATE(327), + [sym_list] = STATE(327), + [sym_bracket_command] = STATE(327), + [sym_command] = STATE(327), + [sym_environment_variable_assignment] = STATE(328), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [174] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(419), [anon_sym_PIPE] = ACTIONS(621), - [anon_sym_PIPE_AMP] = ACTIONS(619), + [anon_sym_PIPE_AMP] = ACTIONS(419), [anon_sym_AMP_AMP] = ACTIONS(621), - [anon_sym_PIPE_PIPE] = ACTIONS(619), - [anon_sym_COLON] = ACTIONS(619), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_COLON] = ACTIONS(419), [anon_sym_LT] = ACTIONS(621), [anon_sym_GT] = ACTIONS(621), [anon_sym_GT_GT] = ACTIONS(621), @@ -15208,1116 +15567,770 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(621), [anon_sym_LT_AMP] = ACTIONS(621), [anon_sym_GT_AMP] = ACTIONS(621), - [anon_sym_DQUOTE] = ACTIONS(619), + [anon_sym_DQUOTE] = ACTIONS(419), [sym_raw_string] = ACTIONS(621), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_BQUOTE] = ACTIONS(619), - [sym_leading_word] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_BQUOTE] = ACTIONS(419), + [sym_leading_word] = ACTIONS(421), + [sym_comment] = ACTIONS(115), + }, + [175] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(721), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [176] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(591), + [anon_sym_PIPE] = ACTIONS(593), + [anon_sym_PIPE_AMP] = ACTIONS(591), + [anon_sym_AMP_AMP] = ACTIONS(593), + [anon_sym_PIPE_PIPE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(591), + [anon_sym_LT] = ACTIONS(593), + [anon_sym_GT] = ACTIONS(593), + [anon_sym_GT_GT] = ACTIONS(593), + [anon_sym_AMP_GT] = ACTIONS(593), + [anon_sym_AMP_GT_GT] = ACTIONS(593), + [anon_sym_LT_AMP] = ACTIONS(593), + [anon_sym_GT_AMP] = ACTIONS(593), + [anon_sym_DQUOTE] = ACTIONS(591), + [sym_raw_string] = ACTIONS(593), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(591), + [anon_sym_BQUOTE] = ACTIONS(591), + [sym_leading_word] = ACTIONS(585), [sym_comment] = ACTIONS(115), }, [177] = { - [anon_sym_RBRACE] = ACTIONS(707), - [anon_sym_COLON] = ACTIONS(709), - [anon_sym_EQ] = ACTIONS(711), - [anon_sym_COLON_QMARK] = ACTIONS(711), - [anon_sym_COLON_DASH] = ACTIONS(711), + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(625), + [anon_sym_PIPE] = ACTIONS(627), + [anon_sym_PIPE_AMP] = ACTIONS(625), + [anon_sym_AMP_AMP] = ACTIONS(627), + [anon_sym_PIPE_PIPE] = ACTIONS(625), + [anon_sym_COLON] = ACTIONS(625), + [anon_sym_LT] = ACTIONS(627), + [anon_sym_GT] = ACTIONS(627), + [anon_sym_GT_GT] = ACTIONS(627), + [anon_sym_AMP_GT] = ACTIONS(627), + [anon_sym_AMP_GT_GT] = ACTIONS(627), + [anon_sym_LT_AMP] = ACTIONS(627), + [anon_sym_GT_AMP] = ACTIONS(627), + [anon_sym_DQUOTE] = ACTIONS(625), + [sym_raw_string] = ACTIONS(627), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(625), + [anon_sym_BQUOTE] = ACTIONS(625), + [sym_leading_word] = ACTIONS(587), [sym_comment] = ACTIONS(115), }, [178] = { - [anon_sym_RBRACE] = ACTIONS(713), - [anon_sym_COLON] = ACTIONS(715), - [anon_sym_EQ] = ACTIONS(717), - [anon_sym_COLON_QMARK] = ACTIONS(717), - [anon_sym_COLON_DASH] = ACTIONS(717), + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(629), + [anon_sym_PIPE] = ACTIONS(631), + [anon_sym_PIPE_AMP] = ACTIONS(629), + [anon_sym_AMP_AMP] = ACTIONS(631), + [anon_sym_PIPE_PIPE] = ACTIONS(629), + [anon_sym_COLON] = ACTIONS(629), + [anon_sym_LT] = ACTIONS(631), + [anon_sym_GT] = ACTIONS(631), + [anon_sym_GT_GT] = ACTIONS(631), + [anon_sym_AMP_GT] = ACTIONS(631), + [anon_sym_AMP_GT_GT] = ACTIONS(631), + [anon_sym_LT_AMP] = ACTIONS(631), + [anon_sym_GT_AMP] = ACTIONS(631), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_raw_string] = ACTIONS(631), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(629), + [anon_sym_BQUOTE] = ACTIONS(629), + [sym_leading_word] = ACTIONS(589), [sym_comment] = ACTIONS(115), }, [179] = { - [anon_sym_RPAREN] = ACTIONS(719), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [180] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(719), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [181] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(719), - [sym_comment] = ACTIONS(115), - }, - [182] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(719), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [183] = { - [anon_sym_DQUOTE] = ACTIONS(577), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(585), - [anon_sym_DOLLAR] = ACTIONS(577), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - }, - [184] = { - [anon_sym_DQUOTE] = ACTIONS(579), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(617), - [anon_sym_DOLLAR] = ACTIONS(579), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - }, - [185] = { - [anon_sym_DQUOTE] = ACTIONS(581), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(621), - [anon_sym_DOLLAR] = ACTIONS(581), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - }, - [186] = { - [anon_sym_RBRACE] = ACTIONS(721), - [anon_sym_COLON] = ACTIONS(723), - [anon_sym_EQ] = ACTIONS(725), - [anon_sym_COLON_QMARK] = ACTIONS(725), - [anon_sym_COLON_DASH] = ACTIONS(725), - [sym_comment] = ACTIONS(115), - }, - [187] = { - [anon_sym_RBRACE] = ACTIONS(727), - [anon_sym_COLON] = ACTIONS(729), - [anon_sym_EQ] = ACTIONS(731), - [anon_sym_COLON_QMARK] = ACTIONS(731), - [anon_sym_COLON_DASH] = ACTIONS(731), - [sym_comment] = ACTIONS(115), - }, - [188] = { - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [189] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [190] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_comment] = ACTIONS(115), - }, - [191] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [192] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [193] = { - [anon_sym_DQUOTE] = ACTIONS(739), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(741), - [anon_sym_DOLLAR] = ACTIONS(739), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(739), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(739), - [anon_sym_BQUOTE] = ACTIONS(739), - [sym_comment] = ACTIONS(73), - }, - [194] = { - [anon_sym_in] = ACTIONS(743), - [sym_comment] = ACTIONS(115), - }, - [195] = { - [sym_do_group] = STATE(332), - [anon_sym_do] = ACTIONS(745), - [sym_comment] = ACTIONS(115), - }, - [196] = { - [anon_sym_then] = ACTIONS(747), - [sym_comment] = ACTIONS(115), - }, - [197] = { - [anon_sym_in] = ACTIONS(749), - [anon_sym_SEMI_SEMI] = ACTIONS(751), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(751), - [anon_sym_LF] = ACTIONS(751), - [anon_sym_AMP] = ACTIONS(751), - }, - [198] = { - [anon_sym_LPAREN] = ACTIONS(753), - [sym_comment] = ACTIONS(115), - }, - [199] = { - [anon_sym_RPAREN] = ACTIONS(755), - [anon_sym_PIPE] = ACTIONS(757), - [anon_sym_PIPE_AMP] = ACTIONS(755), - [anon_sym_AMP_AMP] = ACTIONS(755), - [anon_sym_PIPE_PIPE] = ACTIONS(755), - [anon_sym_BQUOTE] = ACTIONS(755), - [sym_comment] = ACTIONS(115), - }, - [200] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(759), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [201] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK] = ACTIONS(761), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), - [sym_comment] = ACTIONS(115), - }, - [202] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK_RBRACK] = ACTIONS(761), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), - [sym_comment] = ACTIONS(115), - }, - [203] = { - [anon_sym_LT] = ACTIONS(763), - [anon_sym_GT] = ACTIONS(763), - [anon_sym_GT_GT] = ACTIONS(765), - [anon_sym_AMP_GT] = ACTIONS(763), - [anon_sym_AMP_GT_GT] = ACTIONS(765), - [anon_sym_LT_AMP] = ACTIONS(765), - [anon_sym_GT_AMP] = ACTIONS(765), - [sym_comment] = ACTIONS(115), - }, - [204] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(348), - [aux_sym_command_repeat2] = STATE(349), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(767), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(771), - [anon_sym_PIPE_AMP] = ACTIONS(767), - [anon_sym_AMP_AMP] = ACTIONS(767), - [anon_sym_PIPE_PIPE] = ACTIONS(771), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(795), - [sym_comment] = ACTIONS(115), - }, - [205] = { - [sym_string] = STATE(353), - [sym_array] = STATE(353), - [sym_simple_expansion] = STATE(353), - [sym_expansion] = STATE(353), - [sym_command_substitution] = STATE(353), - [sym_process_substitution] = STATE(353), - [anon_sym_LPAREN] = ACTIONS(797), - [anon_sym_LT] = ACTIONS(799), - [anon_sym_GT] = ACTIONS(799), - [anon_sym_DQUOTE] = ACTIONS(801), - [sym_raw_string] = ACTIONS(803), - [anon_sym_DOLLAR] = ACTIONS(805), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(807), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(809), - [anon_sym_BQUOTE] = ACTIONS(811), - [sym_word] = ACTIONS(813), - [sym_comment] = ACTIONS(115), - }, - [206] = { - [sym_heredoc] = STATE(360), - [sym__simple_heredoc] = ACTIONS(815), - [sym__heredoc_beginning] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [207] = { - [sym_file_descriptor] = ACTIONS(387), - [anon_sym_RPAREN] = ACTIONS(387), - [anon_sym_PIPE] = ACTIONS(819), - [anon_sym_PIPE_AMP] = ACTIONS(387), - [anon_sym_AMP_AMP] = ACTIONS(387), - [anon_sym_PIPE_PIPE] = ACTIONS(387), - [anon_sym_LT] = ACTIONS(819), - [anon_sym_GT] = ACTIONS(819), - [anon_sym_GT_GT] = ACTIONS(387), - [anon_sym_AMP_GT] = ACTIONS(819), - [anon_sym_AMP_GT_GT] = ACTIONS(387), - [anon_sym_LT_AMP] = ACTIONS(387), - [anon_sym_GT_AMP] = ACTIONS(387), - [anon_sym_LT_LT] = ACTIONS(819), - [anon_sym_LT_LT_DASH] = ACTIONS(387), - [anon_sym_BQUOTE] = ACTIONS(387), - [sym_comment] = ACTIONS(115), - }, - [208] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(821), - [anon_sym_PIPE] = ACTIONS(823), - [anon_sym_PIPE_AMP] = ACTIONS(821), - [anon_sym_AMP_AMP] = ACTIONS(821), - [anon_sym_PIPE_PIPE] = ACTIONS(821), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(821), - [sym_comment] = ACTIONS(115), - }, - [209] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - }, - [210] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(825), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [211] = { - [anon_sym_RPAREN] = ACTIONS(827), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [212] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(827), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [213] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(827), - [sym_comment] = ACTIONS(115), - }, - [214] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(827), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [215] = { - [anon_sym_RPAREN] = ACTIONS(829), - [sym_comment] = ACTIONS(115), - }, - [216] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(365), - [aux_sym_command_repeat2] = STATE(366), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(831), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(833), - [anon_sym_PIPE_AMP] = ACTIONS(831), - [anon_sym_AMP_AMP] = ACTIONS(831), - [anon_sym_PIPE_PIPE] = ACTIONS(833), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(795), - [sym_comment] = ACTIONS(115), - }, - [217] = { - [sym_string] = STATE(367), - [sym_array] = STATE(367), - [sym_simple_expansion] = STATE(367), - [sym_expansion] = STATE(367), - [sym_command_substitution] = STATE(367), - [sym_process_substitution] = STATE(367), - [sym__empty_value] = ACTIONS(835), - [anon_sym_LPAREN] = ACTIONS(173), - [anon_sym_LT] = ACTIONS(175), - [anon_sym_GT] = ACTIONS(175), - [anon_sym_DQUOTE] = ACTIONS(177), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR] = ACTIONS(181), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(183), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(185), - [anon_sym_BQUOTE] = ACTIONS(187), - [sym_word] = ACTIONS(839), - [sym_comment] = ACTIONS(115), - }, - [218] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(841), - [anon_sym_PIPE] = ACTIONS(843), - [anon_sym_PIPE_AMP] = ACTIONS(841), - [anon_sym_AMP_AMP] = ACTIONS(841), - [anon_sym_PIPE_PIPE] = ACTIONS(841), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(841), - [sym_comment] = ACTIONS(115), - }, - [219] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [220] = { - [sym_for_statement] = STATE(368), - [sym_while_statement] = STATE(368), - [sym_if_statement] = STATE(368), - [sym_case_statement] = STATE(368), - [sym_function_definition] = STATE(368), - [sym_subshell] = STATE(368), - [sym_pipeline] = STATE(368), - [sym_list] = STATE(368), - [sym_bracket_command] = STATE(368), - [sym_command] = STATE(368), - [sym_environment_variable_assignment] = STATE(369), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [221] = { - [sym_for_statement] = STATE(370), - [sym_while_statement] = STATE(370), - [sym_if_statement] = STATE(370), - [sym_case_statement] = STATE(370), - [sym_function_definition] = STATE(370), - [sym_subshell] = STATE(370), - [sym_pipeline] = STATE(370), - [sym_list] = STATE(370), - [sym_bracket_command] = STATE(370), - [sym_command] = STATE(370), - [sym_environment_variable_assignment] = STATE(371), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [222] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(349), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(849), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), - [sym_comment] = ACTIONS(73), - }, - [223] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(374), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(535), - [anon_sym_PIPE] = ACTIONS(535), - [anon_sym_PIPE_AMP] = ACTIONS(535), - [anon_sym_AMP_AMP] = ACTIONS(535), - [anon_sym_PIPE_PIPE] = ACTIONS(535), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(851), - [anon_sym_EQ] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), - [sym_comment] = ACTIONS(73), - }, - [224] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(375), - [aux_sym_command_repeat2] = STATE(349), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(771), - [anon_sym_PIPE_AMP] = ACTIONS(767), - [anon_sym_AMP_AMP] = ACTIONS(767), - [anon_sym_PIPE_PIPE] = ACTIONS(771), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(767), - [sym_word] = ACTIONS(795), - [sym_comment] = ACTIONS(115), - }, - [225] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(376), - [aux_sym_command_repeat2] = STATE(366), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(833), - [anon_sym_PIPE_AMP] = ACTIONS(831), - [anon_sym_AMP_AMP] = ACTIONS(831), - [anon_sym_PIPE_PIPE] = ACTIONS(833), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(831), - [sym_word] = ACTIONS(795), - [sym_comment] = ACTIONS(115), - }, - [226] = { - [sym_for_statement] = STATE(368), - [sym_while_statement] = STATE(368), - [sym_if_statement] = STATE(368), - [sym_case_statement] = STATE(368), - [sym_function_definition] = STATE(368), - [sym_subshell] = STATE(368), - [sym_pipeline] = STATE(368), - [sym_list] = STATE(368), - [sym_bracket_command] = STATE(368), - [sym_command] = STATE(368), - [sym_environment_variable_assignment] = STATE(377), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), - [sym_comment] = ACTIONS(115), - }, - [227] = { - [sym_for_statement] = STATE(378), - [sym_while_statement] = STATE(378), - [sym_if_statement] = STATE(378), - [sym_case_statement] = STATE(378), - [sym_function_definition] = STATE(378), - [sym_subshell] = STATE(378), - [sym_pipeline] = STATE(378), - [sym_list] = STATE(378), - [sym_bracket_command] = STATE(378), - [sym_command] = STATE(378), - [sym_environment_variable_assignment] = STATE(379), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), - [sym_comment] = ACTIONS(115), - }, - [228] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(349), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(853), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), - [anon_sym_BQUOTE] = ACTIONS(391), - [sym_comment] = ACTIONS(73), - }, - [229] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [aux_sym_command_repeat2] = STATE(374), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_PIPE] = ACTIONS(535), - [anon_sym_PIPE_AMP] = ACTIONS(535), - [anon_sym_AMP_AMP] = ACTIONS(535), - [anon_sym_PIPE_PIPE] = ACTIONS(535), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(855), - [anon_sym_EQ] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(447), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(447), - [anon_sym_LT_AMP] = ACTIONS(447), - [anon_sym_GT_AMP] = ACTIONS(447), - [anon_sym_LT_LT] = ACTIONS(449), - [anon_sym_LT_LT_DASH] = ACTIONS(449), - [anon_sym_BQUOTE] = ACTIONS(535), - [sym_comment] = ACTIONS(73), - }, - [230] = { - [sym_compound_statement] = STATE(383), - [anon_sym_LBRACE] = ACTIONS(857), - [sym_comment] = ACTIONS(115), - }, - [231] = { - [sym_file_redirect] = STATE(55), - [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(295), - [sym_array] = STATE(295), - [sym_simple_expansion] = STATE(295), - [sym_expansion] = STATE(295), - [sym_command_substitution] = STATE(295), - [sym_process_substitution] = STATE(295), - [aux_sym_command_repeat2] = STATE(384), - [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(859), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(859), - [anon_sym_PIPE_AMP] = ACTIONS(859), - [anon_sym_AMP_AMP] = ACTIONS(859), - [anon_sym_PIPE_PIPE] = ACTIONS(859), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), - [anon_sym_GT_GT] = ACTIONS(169), - [anon_sym_AMP_GT] = ACTIONS(169), - [anon_sym_AMP_GT_GT] = ACTIONS(169), - [anon_sym_LT_AMP] = ACTIONS(169), - [anon_sym_GT_AMP] = ACTIONS(169), - [anon_sym_LT_LT] = ACTIONS(171), - [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(665), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(665), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(859), - [anon_sym_LF] = ACTIONS(859), - [anon_sym_AMP] = ACTIONS(859), - }, - [232] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_PIPE] = ACTIONS(861), - [anon_sym_PIPE_AMP] = ACTIONS(861), - [anon_sym_AMP_AMP] = ACTIONS(861), - [anon_sym_PIPE_PIPE] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(169), - [anon_sym_GT] = ACTIONS(169), - [anon_sym_GT_GT] = ACTIONS(169), - [anon_sym_AMP_GT] = ACTIONS(169), - [anon_sym_AMP_GT_GT] = ACTIONS(169), - [anon_sym_LT_AMP] = ACTIONS(169), - [anon_sym_GT_AMP] = ACTIONS(169), - [anon_sym_LT_LT] = ACTIONS(171), - [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), - }, - [233] = { - [sym_file_descriptor] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(865), - [anon_sym_PIPE] = ACTIONS(865), - [anon_sym_PIPE_AMP] = ACTIONS(865), - [anon_sym_AMP_AMP] = ACTIONS(865), - [anon_sym_PIPE_PIPE] = ACTIONS(865), - [anon_sym_COLON] = ACTIONS(865), - [anon_sym_LT] = ACTIONS(865), - [anon_sym_GT] = ACTIONS(865), - [anon_sym_GT_GT] = ACTIONS(865), - [anon_sym_AMP_GT] = ACTIONS(865), - [anon_sym_AMP_GT_GT] = ACTIONS(865), - [anon_sym_LT_AMP] = ACTIONS(865), - [anon_sym_GT_AMP] = ACTIONS(865), - [anon_sym_DQUOTE] = ACTIONS(865), - [sym_raw_string] = ACTIONS(865), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), - [anon_sym_BQUOTE] = ACTIONS(865), - [sym_leading_word] = ACTIONS(865), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(865), - [anon_sym_LF] = ACTIONS(865), - [anon_sym_AMP] = ACTIONS(865), - }, - [234] = { - [aux_sym_array_repeat1] = STATE(386), - [anon_sym_RPAREN] = ACTIONS(867), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, - [235] = { - [anon_sym_LPAREN] = ACTIONS(869), - [sym_comment] = ACTIONS(115), - }, - [236] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(389), - [anon_sym_DQUOTE] = ACTIONS(871), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [237] = { - [sym_special_variable_name] = STATE(392), - [anon_sym_DOLLAR] = ACTIONS(873), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(875), - [anon_sym_STAR] = ACTIONS(873), - [anon_sym_AT] = ACTIONS(873), - [anon_sym_POUND] = ACTIONS(877), - [anon_sym_QMARK] = ACTIONS(873), - [anon_sym_DASH] = ACTIONS(873), - [anon_sym_BANG] = ACTIONS(873), - [anon_sym_0] = ACTIONS(877), - [anon_sym__] = ACTIONS(877), - }, - [238] = { - [sym_special_variable_name] = STATE(394), + [sym_special_variable_name] = STATE(331), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(879), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(723), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), [anon_sym_0] = ACTIONS(307), [anon_sym__] = ACTIONS(307), }, - [239] = { - [sym_for_statement] = STATE(395), - [sym_while_statement] = STATE(395), - [sym_if_statement] = STATE(395), - [sym_case_statement] = STATE(395), - [sym_function_definition] = STATE(395), - [sym_subshell] = STATE(395), - [sym_pipeline] = STATE(395), - [sym_list] = STATE(395), - [sym_bracket_command] = STATE(395), - [sym_command] = STATE(395), - [sym_environment_variable_assignment] = STATE(396), + [180] = { + [anon_sym_RBRACE] = ACTIONS(725), + [anon_sym_COLON] = ACTIONS(727), + [anon_sym_EQ] = ACTIONS(729), + [anon_sym_COLON_QMARK] = ACTIONS(729), + [anon_sym_COLON_DASH] = ACTIONS(729), + [sym_comment] = ACTIONS(115), + }, + [181] = { + [anon_sym_RBRACE] = ACTIONS(731), + [anon_sym_COLON] = ACTIONS(733), + [anon_sym_EQ] = ACTIONS(735), + [anon_sym_COLON_QMARK] = ACTIONS(735), + [anon_sym_COLON_DASH] = ACTIONS(735), + [sym_comment] = ACTIONS(115), + }, + [182] = { + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [183] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [184] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_comment] = ACTIONS(115), + }, + [185] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [186] = { + [anon_sym_DQUOTE] = ACTIONS(585), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(593), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + }, + [187] = { + [anon_sym_DQUOTE] = ACTIONS(587), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(627), + [anon_sym_DOLLAR] = ACTIONS(587), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + }, + [188] = { + [anon_sym_DQUOTE] = ACTIONS(589), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(589), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + }, + [189] = { + [sym_special_variable_name] = STATE(338), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(739), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [190] = { + [anon_sym_RBRACE] = ACTIONS(741), + [anon_sym_COLON] = ACTIONS(743), + [anon_sym_EQ] = ACTIONS(745), + [anon_sym_COLON_QMARK] = ACTIONS(745), + [anon_sym_COLON_DASH] = ACTIONS(745), + [sym_comment] = ACTIONS(115), + }, + [191] = { + [anon_sym_RBRACE] = ACTIONS(747), + [anon_sym_COLON] = ACTIONS(749), + [anon_sym_EQ] = ACTIONS(751), + [anon_sym_COLON_QMARK] = ACTIONS(751), + [anon_sym_COLON_DASH] = ACTIONS(751), + [sym_comment] = ACTIONS(115), + }, + [192] = { + [anon_sym_RPAREN] = ACTIONS(753), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [193] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(753), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [194] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(753), + [sym_comment] = ACTIONS(115), + }, + [195] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(753), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [196] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [197] = { + [anon_sym_DQUOTE] = ACTIONS(759), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(761), + [anon_sym_DOLLAR] = ACTIONS(759), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(759), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(759), + [anon_sym_BQUOTE] = ACTIONS(759), + [sym_comment] = ACTIONS(75), + }, + [198] = { + [anon_sym_in] = ACTIONS(763), + [sym_comment] = ACTIONS(115), + }, + [199] = { + [sym_do_group] = STATE(346), + [anon_sym_do] = ACTIONS(765), + [sym_comment] = ACTIONS(115), + }, + [200] = { + [anon_sym_then] = ACTIONS(767), + [sym_comment] = ACTIONS(115), + }, + [201] = { + [anon_sym_in] = ACTIONS(769), + [anon_sym_SEMI_SEMI] = ACTIONS(771), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(771), + [anon_sym_LF] = ACTIONS(771), + [anon_sym_AMP] = ACTIONS(771), + }, + [202] = { + [anon_sym_LPAREN] = ACTIONS(773), + [sym_comment] = ACTIONS(115), + }, + [203] = { + [anon_sym_RPAREN] = ACTIONS(775), + [anon_sym_PIPE] = ACTIONS(777), + [anon_sym_PIPE_AMP] = ACTIONS(775), + [anon_sym_AMP_AMP] = ACTIONS(775), + [anon_sym_PIPE_PIPE] = ACTIONS(775), + [anon_sym_BQUOTE] = ACTIONS(775), + [sym_comment] = ACTIONS(115), + }, + [204] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(779), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [205] = { + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(781), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(343), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(345), + [sym_comment] = ACTIONS(115), + }, + [206] = { + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(781), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(343), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(345), + [sym_comment] = ACTIONS(115), + }, + [207] = { + [anon_sym_LT] = ACTIONS(783), + [anon_sym_GT] = ACTIONS(783), + [anon_sym_GT_GT] = ACTIONS(785), + [anon_sym_AMP_GT] = ACTIONS(783), + [anon_sym_AMP_GT_GT] = ACTIONS(785), + [anon_sym_LT_AMP] = ACTIONS(785), + [anon_sym_GT_AMP] = ACTIONS(785), + [sym_comment] = ACTIONS(115), + }, + [208] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(362), + [aux_sym_command_repeat2] = STATE(363), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(787), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(791), + [anon_sym_PIPE_AMP] = ACTIONS(787), + [anon_sym_AMP_AMP] = ACTIONS(787), + [anon_sym_PIPE_PIPE] = ACTIONS(791), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [209] = { + [sym_string] = STATE(367), + [sym_array] = STATE(367), + [sym_simple_expansion] = STATE(367), + [sym_expansion] = STATE(367), + [sym_command_substitution] = STATE(367), + [sym_process_substitution] = STATE(367), + [anon_sym_LPAREN] = ACTIONS(817), + [anon_sym_LT] = ACTIONS(819), + [anon_sym_GT] = ACTIONS(819), + [anon_sym_DQUOTE] = ACTIONS(821), + [sym_raw_string] = ACTIONS(823), + [anon_sym_DOLLAR] = ACTIONS(825), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(827), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(829), + [anon_sym_BQUOTE] = ACTIONS(831), + [sym_word] = ACTIONS(833), + [sym_comment] = ACTIONS(115), + }, + [210] = { + [sym_heredoc] = STATE(374), + [sym__simple_heredoc] = ACTIONS(835), + [sym__heredoc_beginning] = ACTIONS(837), + [sym_comment] = ACTIONS(115), + }, + [211] = { + [sym_file_descriptor] = ACTIONS(391), + [anon_sym_RPAREN] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(839), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [anon_sym_LT] = ACTIONS(839), + [anon_sym_GT] = ACTIONS(839), + [anon_sym_GT_GT] = ACTIONS(391), + [anon_sym_AMP_GT] = ACTIONS(839), + [anon_sym_AMP_GT_GT] = ACTIONS(391), + [anon_sym_LT_AMP] = ACTIONS(391), + [anon_sym_GT_AMP] = ACTIONS(391), + [anon_sym_LT_LT] = ACTIONS(839), + [anon_sym_LT_LT_DASH] = ACTIONS(391), + [anon_sym_BQUOTE] = ACTIONS(391), + [sym_comment] = ACTIONS(115), + }, + [212] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(841), + [anon_sym_PIPE] = ACTIONS(843), + [anon_sym_PIPE_AMP] = ACTIONS(841), + [anon_sym_AMP_AMP] = ACTIONS(841), + [anon_sym_PIPE_PIPE] = ACTIONS(841), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(841), + [sym_comment] = ACTIONS(115), + }, + [213] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + }, + [214] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(845), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [215] = { + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [216] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [217] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_comment] = ACTIONS(115), + }, + [218] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [219] = { + [anon_sym_RPAREN] = ACTIONS(849), + [sym_comment] = ACTIONS(115), + }, + [220] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(379), + [aux_sym_command_repeat2] = STATE(380), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(851), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(853), + [anon_sym_PIPE_AMP] = ACTIONS(851), + [anon_sym_AMP_AMP] = ACTIONS(851), + [anon_sym_PIPE_PIPE] = ACTIONS(853), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [221] = { + [sym_string] = STATE(381), + [sym_array] = STATE(381), + [sym_simple_expansion] = STATE(381), + [sym_expansion] = STATE(381), + [sym_command_substitution] = STATE(381), + [sym_process_substitution] = STATE(381), + [sym__empty_value] = ACTIONS(855), + [anon_sym_LPAREN] = ACTIONS(173), + [anon_sym_LT] = ACTIONS(175), + [anon_sym_GT] = ACTIONS(175), + [anon_sym_DQUOTE] = ACTIONS(177), + [sym_raw_string] = ACTIONS(857), + [anon_sym_DOLLAR] = ACTIONS(181), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(183), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(185), + [anon_sym_BQUOTE] = ACTIONS(187), + [sym_word] = ACTIONS(859), + [sym_comment] = ACTIONS(115), + }, + [222] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(861), + [anon_sym_PIPE] = ACTIONS(863), + [anon_sym_PIPE_AMP] = ACTIONS(861), + [anon_sym_AMP_AMP] = ACTIONS(861), + [anon_sym_PIPE_PIPE] = ACTIONS(861), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(861), + [sym_comment] = ACTIONS(115), + }, + [223] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [224] = { + [sym_for_statement] = STATE(382), + [sym_while_statement] = STATE(382), + [sym_if_statement] = STATE(382), + [sym_case_statement] = STATE(382), + [sym_function_definition] = STATE(382), + [sym_subshell] = STATE(382), + [sym_pipeline] = STATE(382), + [sym_list] = STATE(382), + [sym_bracket_command] = STATE(382), + [sym_command] = STATE(382), + [sym_environment_variable_assignment] = STATE(383), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -16346,18 +16359,173 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [240] = { - [sym_for_statement] = STATE(397), - [sym_while_statement] = STATE(397), - [sym_if_statement] = STATE(397), - [sym_case_statement] = STATE(397), - [sym_function_definition] = STATE(397), - [sym_subshell] = STATE(397), - [sym_pipeline] = STATE(397), - [sym_list] = STATE(397), - [sym_bracket_command] = STATE(397), - [sym_command] = STATE(397), - [sym_environment_variable_assignment] = STATE(398), + [225] = { + [sym_for_statement] = STATE(384), + [sym_while_statement] = STATE(384), + [sym_if_statement] = STATE(384), + [sym_case_statement] = STATE(384), + [sym_function_definition] = STATE(384), + [sym_subshell] = STATE(384), + [sym_pipeline] = STATE(384), + [sym_list] = STATE(384), + [sym_bracket_command] = STATE(384), + [sym_command] = STATE(384), + [sym_environment_variable_assignment] = STATE(385), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [226] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(363), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(869), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), + [sym_comment] = ACTIONS(75), + }, + [227] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(388), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(543), + [anon_sym_PIPE] = ACTIONS(543), + [anon_sym_PIPE_AMP] = ACTIONS(543), + [anon_sym_AMP_AMP] = ACTIONS(543), + [anon_sym_PIPE_PIPE] = ACTIONS(543), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(871), + [anon_sym_EQ] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), + [sym_comment] = ACTIONS(75), + }, + [228] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(389), + [aux_sym_command_repeat2] = STATE(363), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(791), + [anon_sym_PIPE_AMP] = ACTIONS(787), + [anon_sym_AMP_AMP] = ACTIONS(787), + [anon_sym_PIPE_PIPE] = ACTIONS(791), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(787), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [229] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(390), + [aux_sym_command_repeat2] = STATE(380), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(853), + [anon_sym_PIPE_AMP] = ACTIONS(851), + [anon_sym_AMP_AMP] = ACTIONS(851), + [anon_sym_PIPE_PIPE] = ACTIONS(853), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(851), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [230] = { + [sym_for_statement] = STATE(382), + [sym_while_statement] = STATE(382), + [sym_if_statement] = STATE(382), + [sym_case_statement] = STATE(382), + [sym_function_definition] = STATE(382), + [sym_subshell] = STATE(382), + [sym_pipeline] = STATE(382), + [sym_list] = STATE(382), + [sym_bracket_command] = STATE(382), + [sym_command] = STATE(382), + [sym_environment_variable_assignment] = STATE(391), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -16386,98 +16554,115 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [241] = { - [anon_sym_SEMI_SEMI] = ACTIONS(881), - [anon_sym_PIPE] = ACTIONS(881), - [anon_sym_PIPE_AMP] = ACTIONS(881), - [anon_sym_AMP_AMP] = ACTIONS(881), - [anon_sym_PIPE_PIPE] = ACTIONS(881), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(881), - [anon_sym_LF] = ACTIONS(881), - [anon_sym_AMP] = ACTIONS(881), + [231] = { + [sym_for_statement] = STATE(392), + [sym_while_statement] = STATE(392), + [sym_if_statement] = STATE(392), + [sym_case_statement] = STATE(392), + [sym_function_definition] = STATE(392), + [sym_subshell] = STATE(392), + [sym_pipeline] = STATE(392), + [sym_list] = STATE(392), + [sym_bracket_command] = STATE(392), + [sym_command] = STATE(392), + [sym_environment_variable_assignment] = STATE(393), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), }, - [242] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_SEMI_SEMI] = ACTIONS(881), - [anon_sym_PIPE] = ACTIONS(881), - [anon_sym_PIPE_AMP] = ACTIONS(881), - [anon_sym_AMP_AMP] = ACTIONS(881), - [anon_sym_PIPE_PIPE] = ACTIONS(881), - [anon_sym_COLON] = ACTIONS(261), - [anon_sym_LT] = ACTIONS(261), - [anon_sym_GT] = ACTIONS(261), - [anon_sym_GT_GT] = ACTIONS(261), - [anon_sym_AMP_GT] = ACTIONS(261), - [anon_sym_AMP_GT_GT] = ACTIONS(261), - [anon_sym_LT_AMP] = ACTIONS(261), - [anon_sym_GT_AMP] = ACTIONS(261), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_raw_string] = ACTIONS(261), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), - [anon_sym_BQUOTE] = ACTIONS(261), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(881), - [anon_sym_LF] = ACTIONS(881), - [anon_sym_AMP] = ACTIONS(881), + [232] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(363), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(873), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), + [anon_sym_BQUOTE] = ACTIONS(395), + [sym_comment] = ACTIONS(75), }, - [243] = { - [anon_sym_SEMI_SEMI] = ACTIONS(883), - [anon_sym_PIPE] = ACTIONS(255), - [anon_sym_PIPE_AMP] = ACTIONS(255), - [anon_sym_AMP_AMP] = ACTIONS(883), - [anon_sym_PIPE_PIPE] = ACTIONS(883), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(883), - [anon_sym_LF] = ACTIONS(883), - [anon_sym_AMP] = ACTIONS(883), + [233] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [aux_sym_command_repeat2] = STATE(388), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_PIPE] = ACTIONS(543), + [anon_sym_PIPE_AMP] = ACTIONS(543), + [anon_sym_AMP_AMP] = ACTIONS(543), + [anon_sym_PIPE_PIPE] = ACTIONS(543), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(875), + [anon_sym_EQ] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(455), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(455), + [anon_sym_LT_AMP] = ACTIONS(455), + [anon_sym_GT_AMP] = ACTIONS(455), + [anon_sym_LT_LT] = ACTIONS(457), + [anon_sym_LT_LT_DASH] = ACTIONS(457), + [anon_sym_BQUOTE] = ACTIONS(543), + [sym_comment] = ACTIONS(75), }, - [244] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_SEMI_SEMI] = ACTIONS(883), - [anon_sym_PIPE] = ACTIONS(255), - [anon_sym_PIPE_AMP] = ACTIONS(255), - [anon_sym_AMP_AMP] = ACTIONS(883), - [anon_sym_PIPE_PIPE] = ACTIONS(883), - [anon_sym_COLON] = ACTIONS(261), - [anon_sym_LT] = ACTIONS(261), - [anon_sym_GT] = ACTIONS(261), - [anon_sym_GT_GT] = ACTIONS(261), - [anon_sym_AMP_GT] = ACTIONS(261), - [anon_sym_AMP_GT_GT] = ACTIONS(261), - [anon_sym_LT_AMP] = ACTIONS(261), - [anon_sym_GT_AMP] = ACTIONS(261), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_raw_string] = ACTIONS(261), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), - [anon_sym_BQUOTE] = ACTIONS(261), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(883), - [anon_sym_LF] = ACTIONS(883), - [anon_sym_AMP] = ACTIONS(883), + [234] = { + [sym_compound_statement] = STATE(397), + [anon_sym_LBRACE] = ACTIONS(877), + [sym_comment] = ACTIONS(115), }, - [245] = { + [235] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(150), - [sym_array] = STATE(150), - [sym_simple_expansion] = STATE(150), - [sym_expansion] = STATE(150), - [sym_command_substitution] = STATE(150), - [sym_process_substitution] = STATE(150), - [aux_sym_bracket_command_repeat1] = STATE(399), - [aux_sym_command_repeat2] = STATE(296), + [sym_string] = STATE(304), + [sym_array] = STATE(304), + [sym_simple_expansion] = STATE(304), + [sym_expansion] = STATE(304), + [sym_command_substitution] = STATE(304), + [sym_process_substitution] = STATE(304), + [aux_sym_command_repeat2] = STATE(398), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(663), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(663), - [anon_sym_PIPE_AMP] = ACTIONS(663), - [anon_sym_AMP_AMP] = ACTIONS(663), - [anon_sym_PIPE_PIPE] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(879), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(879), + [anon_sym_PIPE_AMP] = ACTIONS(879), + [anon_sym_AMP_AMP] = ACTIONS(879), + [anon_sym_PIPE_PIPE] = ACTIONS(879), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), [anon_sym_GT_GT] = ACTIONS(169), [anon_sym_AMP_GT] = ACTIONS(169), [anon_sym_AMP_GT_GT] = ACTIONS(169), @@ -16485,66 +16670,27 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(355), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(355), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(663), - [anon_sym_LF] = ACTIONS(663), - [anon_sym_AMP] = ACTIONS(663), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(679), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(679), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(879), + [anon_sym_LF] = ACTIONS(879), + [anon_sym_AMP] = ACTIONS(879), }, - [246] = { - [sym_file_redirect] = STATE(55), - [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(150), - [sym_array] = STATE(150), - [sym_simple_expansion] = STATE(150), - [sym_expansion] = STATE(150), - [sym_command_substitution] = STATE(150), - [sym_process_substitution] = STATE(150), - [aux_sym_bracket_command_repeat1] = STATE(400), - [aux_sym_command_repeat2] = STATE(401), + [236] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(885), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(885), - [anon_sym_PIPE_AMP] = ACTIONS(885), - [anon_sym_AMP_AMP] = ACTIONS(885), - [anon_sym_PIPE_PIPE] = ACTIONS(885), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), - [anon_sym_GT_GT] = ACTIONS(169), - [anon_sym_AMP_GT] = ACTIONS(169), - [anon_sym_AMP_GT_GT] = ACTIONS(169), - [anon_sym_LT_AMP] = ACTIONS(169), - [anon_sym_GT_AMP] = ACTIONS(169), - [anon_sym_LT_LT] = ACTIONS(171), - [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(355), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(355), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(885), - [anon_sym_LF] = ACTIONS(885), - [anon_sym_AMP] = ACTIONS(885), - }, - [247] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(887), - [anon_sym_PIPE] = ACTIONS(887), - [anon_sym_PIPE_AMP] = ACTIONS(887), - [anon_sym_AMP_AMP] = ACTIONS(887), - [anon_sym_PIPE_PIPE] = ACTIONS(887), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(881), + [anon_sym_PIPE_AMP] = ACTIONS(881), + [anon_sym_AMP_AMP] = ACTIONS(881), + [anon_sym_PIPE_PIPE] = ACTIONS(881), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -16554,28 +16700,357 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(887), - [anon_sym_LF] = ACTIONS(887), - [anon_sym_AMP] = ACTIONS(887), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [237] = { + [sym_file_descriptor] = ACTIONS(883), + [anon_sym_SEMI_SEMI] = ACTIONS(885), + [anon_sym_PIPE] = ACTIONS(885), + [anon_sym_PIPE_AMP] = ACTIONS(885), + [anon_sym_AMP_AMP] = ACTIONS(885), + [anon_sym_PIPE_PIPE] = ACTIONS(885), + [anon_sym_COLON] = ACTIONS(885), + [anon_sym_LT] = ACTIONS(885), + [anon_sym_GT] = ACTIONS(885), + [anon_sym_GT_GT] = ACTIONS(885), + [anon_sym_AMP_GT] = ACTIONS(885), + [anon_sym_AMP_GT_GT] = ACTIONS(885), + [anon_sym_LT_AMP] = ACTIONS(885), + [anon_sym_GT_AMP] = ACTIONS(885), + [anon_sym_DQUOTE] = ACTIONS(885), + [sym_raw_string] = ACTIONS(885), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(885), + [anon_sym_BQUOTE] = ACTIONS(885), + [sym_leading_word] = ACTIONS(885), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(885), + [anon_sym_LF] = ACTIONS(885), + [anon_sym_AMP] = ACTIONS(885), + }, + [238] = { + [aux_sym_array_repeat1] = STATE(400), + [anon_sym_RPAREN] = ACTIONS(887), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [239] = { + [anon_sym_LPAREN] = ACTIONS(889), + [sym_comment] = ACTIONS(115), + }, + [240] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(403), + [anon_sym_DQUOTE] = ACTIONS(891), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [241] = { + [sym_special_variable_name] = STATE(406), + [anon_sym_DOLLAR] = ACTIONS(893), + [anon_sym_POUND] = ACTIONS(895), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(897), + [anon_sym_STAR] = ACTIONS(893), + [anon_sym_AT] = ACTIONS(893), + [anon_sym_QMARK] = ACTIONS(893), + [anon_sym_DASH] = ACTIONS(893), + [anon_sym_BANG] = ACTIONS(893), + [anon_sym_0] = ACTIONS(895), + [anon_sym__] = ACTIONS(895), + }, + [242] = { + [sym_special_variable_name] = STATE(409), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(899), + [sym_leading_word] = ACTIONS(901), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [243] = { + [sym_for_statement] = STATE(410), + [sym_while_statement] = STATE(410), + [sym_if_statement] = STATE(410), + [sym_case_statement] = STATE(410), + [sym_function_definition] = STATE(410), + [sym_subshell] = STATE(410), + [sym_pipeline] = STATE(410), + [sym_list] = STATE(410), + [sym_bracket_command] = STATE(410), + [sym_command] = STATE(410), + [sym_environment_variable_assignment] = STATE(411), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [244] = { + [sym_for_statement] = STATE(412), + [sym_while_statement] = STATE(412), + [sym_if_statement] = STATE(412), + [sym_case_statement] = STATE(412), + [sym_function_definition] = STATE(412), + [sym_subshell] = STATE(412), + [sym_pipeline] = STATE(412), + [sym_list] = STATE(412), + [sym_bracket_command] = STATE(412), + [sym_command] = STATE(412), + [sym_environment_variable_assignment] = STATE(413), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [245] = { + [anon_sym_SEMI_SEMI] = ACTIONS(903), + [anon_sym_PIPE] = ACTIONS(903), + [anon_sym_PIPE_AMP] = ACTIONS(903), + [anon_sym_AMP_AMP] = ACTIONS(903), + [anon_sym_PIPE_PIPE] = ACTIONS(903), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(903), + [anon_sym_LF] = ACTIONS(903), + [anon_sym_AMP] = ACTIONS(903), + }, + [246] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_SEMI_SEMI] = ACTIONS(903), + [anon_sym_PIPE] = ACTIONS(903), + [anon_sym_PIPE_AMP] = ACTIONS(903), + [anon_sym_AMP_AMP] = ACTIONS(903), + [anon_sym_PIPE_PIPE] = ACTIONS(903), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(903), + [anon_sym_LF] = ACTIONS(903), + [anon_sym_AMP] = ACTIONS(903), + }, + [247] = { + [anon_sym_SEMI_SEMI] = ACTIONS(905), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(905), + [anon_sym_PIPE_PIPE] = ACTIONS(905), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(905), + [anon_sym_LF] = ACTIONS(905), + [anon_sym_AMP] = ACTIONS(905), }, [248] = { - [sym_do_group] = STATE(402), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_SEMI_SEMI] = ACTIONS(905), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(905), + [anon_sym_PIPE_PIPE] = ACTIONS(905), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(905), + [anon_sym_LF] = ACTIONS(905), + [anon_sym_AMP] = ACTIONS(905), + }, + [249] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(152), + [sym_array] = STATE(152), + [sym_simple_expansion] = STATE(152), + [sym_expansion] = STATE(152), + [sym_command_substitution] = STATE(152), + [sym_process_substitution] = STATE(152), + [aux_sym_bracket_command_repeat1] = STATE(414), + [aux_sym_command_repeat2] = STATE(305), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(677), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(677), + [anon_sym_PIPE_AMP] = ACTIONS(677), + [anon_sym_AMP_AMP] = ACTIONS(677), + [anon_sym_PIPE_PIPE] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(359), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(359), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(677), + [anon_sym_LF] = ACTIONS(677), + [anon_sym_AMP] = ACTIONS(677), + }, + [250] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(152), + [sym_array] = STATE(152), + [sym_simple_expansion] = STATE(152), + [sym_expansion] = STATE(152), + [sym_command_substitution] = STATE(152), + [sym_process_substitution] = STATE(152), + [aux_sym_bracket_command_repeat1] = STATE(415), + [aux_sym_command_repeat2] = STATE(416), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(359), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(359), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [251] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(909), + [anon_sym_PIPE] = ACTIONS(909), + [anon_sym_PIPE_AMP] = ACTIONS(909), + [anon_sym_AMP_AMP] = ACTIONS(909), + [anon_sym_PIPE_PIPE] = ACTIONS(909), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(909), + [anon_sym_LF] = ACTIONS(909), + [anon_sym_AMP] = ACTIONS(909), + }, + [252] = { + [sym_do_group] = STATE(417), [anon_sym_do] = ACTIONS(283), [sym_comment] = ACTIONS(115), }, - [249] = { - [anon_sym_SEMI_SEMI] = ACTIONS(889), - [anon_sym_PIPE] = ACTIONS(889), - [anon_sym_PIPE_AMP] = ACTIONS(889), - [anon_sym_AMP_AMP] = ACTIONS(889), - [anon_sym_PIPE_PIPE] = ACTIONS(889), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(889), - [anon_sym_LF] = ACTIONS(889), - [anon_sym_AMP] = ACTIONS(889), + [253] = { + [anon_sym_SEMI_SEMI] = ACTIONS(911), + [anon_sym_PIPE] = ACTIONS(911), + [anon_sym_PIPE_AMP] = ACTIONS(911), + [anon_sym_AMP_AMP] = ACTIONS(911), + [anon_sym_PIPE_PIPE] = ACTIONS(911), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(911), + [anon_sym_LF] = ACTIONS(911), + [anon_sym_AMP] = ACTIONS(911), }, - [250] = { + [254] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -16595,7 +17070,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(891), + [anon_sym_done] = ACTIONS(913), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), @@ -16617,19 +17092,19 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [251] = { - [anon_sym_SEMI_SEMI] = ACTIONS(893), - [anon_sym_PIPE] = ACTIONS(893), - [anon_sym_PIPE_AMP] = ACTIONS(893), - [anon_sym_AMP_AMP] = ACTIONS(893), - [anon_sym_PIPE_PIPE] = ACTIONS(893), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(893), - [anon_sym_LF] = ACTIONS(893), - [anon_sym_AMP] = ACTIONS(893), + [255] = { + [anon_sym_SEMI_SEMI] = ACTIONS(915), + [anon_sym_PIPE] = ACTIONS(915), + [anon_sym_PIPE_AMP] = ACTIONS(915), + [anon_sym_AMP_AMP] = ACTIONS(915), + [anon_sym_PIPE_PIPE] = ACTIONS(915), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(915), + [anon_sym_LF] = ACTIONS(915), + [anon_sym_AMP] = ACTIONS(915), }, - [252] = { - [sym__terminated_statement] = STATE(404), + [256] = { + [sym__terminated_statement] = STATE(419), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -16669,492 +17144,508 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [253] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(405), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(895), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [254] = { - [anon_sym_fi] = ACTIONS(897), - [anon_sym_elif] = ACTIONS(897), - [anon_sym_else] = ACTIONS(897), - [sym_comment] = ACTIONS(115), - }, - [255] = { - [anon_sym_fi] = ACTIONS(899), - [sym_comment] = ACTIONS(115), - }, - [256] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(407), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(408), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(901), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, [257] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(407), - [anon_sym_fi] = ACTIONS(899), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(420), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(917), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, [258] = { - [anon_sym_in] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), + [anon_sym_fi] = ACTIONS(919), + [anon_sym_elif] = ACTIONS(919), + [anon_sym_else] = ACTIONS(919), + [sym_comment] = ACTIONS(115), }, [259] = { - [anon_sym_RPAREN] = ACTIONS(909), - [sym_word] = ACTIONS(911), + [anon_sym_fi] = ACTIONS(921), [sym_comment] = ACTIONS(115), }, [260] = { - [anon_sym_RPAREN] = ACTIONS(913), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(422), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(423), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(923), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, [261] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(913), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(422), + [anon_sym_fi] = ACTIONS(921), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), [sym_comment] = ACTIONS(115), }, [262] = { - [anon_sym_in] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), + [anon_sym_in] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), }, [263] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(415), - [anon_sym_esac] = ACTIONS(915), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(931), + [sym_word] = ACTIONS(933), [sym_comment] = ACTIONS(115), }, [264] = { - [anon_sym_SEMI_SEMI] = ACTIONS(923), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(923), - [anon_sym_LF] = ACTIONS(923), - [anon_sym_AMP] = ACTIONS(923), + [anon_sym_RPAREN] = ACTIONS(935), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), }, [265] = { - [anon_sym_in] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, - [266] = { - [sym_string] = STATE(417), - [sym_array] = STATE(417), - [sym_simple_expansion] = STATE(417), - [sym_expansion] = STATE(417), - [sym_command_substitution] = STATE(417), - [sym_process_substitution] = STATE(417), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(927), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(929), - [sym_comment] = ACTIONS(115), - }, - [267] = { - [anon_sym_in] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [268] = { - [sym_string] = STATE(418), - [sym_array] = STATE(418), - [sym_simple_expansion] = STATE(418), - [sym_expansion] = STATE(418), - [sym_command_substitution] = STATE(418), - [sym_process_substitution] = STATE(418), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(933), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(935), - [sym_comment] = ACTIONS(115), - }, - [269] = { - [anon_sym_in] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [270] = { - [sym_compound_statement] = STATE(419), - [anon_sym_LBRACE] = ACTIONS(857), - [sym_comment] = ACTIONS(115), - }, - [271] = { - [anon_sym_RPAREN] = ACTIONS(937), - [anon_sym_LPAREN] = ACTIONS(937), - [anon_sym_RBRACE] = ACTIONS(937), - [anon_sym_RBRACK] = ACTIONS(939), - [anon_sym_RBRACK_RBRACK] = ACTIONS(939), - [anon_sym_LT] = ACTIONS(937), - [anon_sym_GT] = ACTIONS(937), - [anon_sym_DQUOTE] = ACTIONS(937), - [sym_raw_string] = ACTIONS(939), - [anon_sym_DOLLAR] = ACTIONS(939), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(937), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(937), - [anon_sym_BQUOTE] = ACTIONS(937), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(115), - }, - [272] = { - [anon_sym_RPAREN] = ACTIONS(941), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [273] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(941), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(935), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, + [266] = { + [anon_sym_in] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [267] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(430), + [anon_sym_esac] = ACTIONS(937), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [268] = { + [anon_sym_SEMI_SEMI] = ACTIONS(945), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(945), + [anon_sym_LF] = ACTIONS(945), + [anon_sym_AMP] = ACTIONS(945), + }, + [269] = { + [anon_sym_RBRACE] = ACTIONS(947), + [sym_comment] = ACTIONS(115), + }, + [270] = { + [anon_sym_RBRACE] = ACTIONS(949), + [sym_comment] = ACTIONS(115), + }, + [271] = { + [anon_sym_in] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [272] = { + [sym_string] = STATE(434), + [sym_array] = STATE(434), + [sym_simple_expansion] = STATE(434), + [sym_expansion] = STATE(434), + [sym_command_substitution] = STATE(434), + [sym_process_substitution] = STATE(434), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(953), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(955), + [sym_comment] = ACTIONS(115), + }, + [273] = { + [anon_sym_in] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, [274] = { - [anon_sym_RPAREN] = ACTIONS(735), - [anon_sym_LPAREN] = ACTIONS(735), - [anon_sym_RBRACE] = ACTIONS(735), - [anon_sym_RBRACK] = ACTIONS(943), - [anon_sym_RBRACK_RBRACK] = ACTIONS(943), - [anon_sym_LT] = ACTIONS(735), - [anon_sym_GT] = ACTIONS(735), - [anon_sym_DQUOTE] = ACTIONS(735), - [sym_raw_string] = ACTIONS(943), - [anon_sym_DOLLAR] = ACTIONS(943), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(735), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(735), - [anon_sym_BQUOTE] = ACTIONS(735), - [sym_word] = ACTIONS(737), + [sym_string] = STATE(435), + [sym_array] = STATE(435), + [sym_simple_expansion] = STATE(435), + [sym_expansion] = STATE(435), + [sym_command_substitution] = STATE(435), + [sym_process_substitution] = STATE(435), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(959), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(961), [sym_comment] = ACTIONS(115), }, [275] = { - [anon_sym_RPAREN] = ACTIONS(945), - [anon_sym_LPAREN] = ACTIONS(945), - [anon_sym_RBRACE] = ACTIONS(945), - [anon_sym_RBRACK] = ACTIONS(947), - [anon_sym_RBRACK_RBRACK] = ACTIONS(947), - [anon_sym_LT] = ACTIONS(945), - [anon_sym_GT] = ACTIONS(945), - [anon_sym_DQUOTE] = ACTIONS(945), - [sym_raw_string] = ACTIONS(947), - [anon_sym_DOLLAR] = ACTIONS(947), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(945), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(945), - [anon_sym_BQUOTE] = ACTIONS(945), - [sym_word] = ACTIONS(925), - [sym_comment] = ACTIONS(115), + [anon_sym_in] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, [276] = { - [sym_string] = STATE(421), - [sym_array] = STATE(421), - [sym_simple_expansion] = STATE(421), - [sym_expansion] = STATE(421), - [sym_command_substitution] = STATE(421), - [sym_process_substitution] = STATE(421), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(949), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(951), + [sym_compound_statement] = STATE(436), + [anon_sym_LBRACE] = ACTIONS(877), [sym_comment] = ACTIONS(115), }, [277] = { - [anon_sym_RPAREN] = ACTIONS(953), - [anon_sym_LPAREN] = ACTIONS(953), - [anon_sym_RBRACE] = ACTIONS(953), - [anon_sym_RBRACK] = ACTIONS(955), - [anon_sym_RBRACK_RBRACK] = ACTIONS(955), - [anon_sym_LT] = ACTIONS(953), - [anon_sym_GT] = ACTIONS(953), - [anon_sym_DQUOTE] = ACTIONS(953), - [sym_raw_string] = ACTIONS(955), - [anon_sym_DOLLAR] = ACTIONS(955), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), - [anon_sym_BQUOTE] = ACTIONS(953), - [sym_word] = ACTIONS(931), + [anon_sym_RPAREN] = ACTIONS(963), + [anon_sym_LPAREN] = ACTIONS(963), + [anon_sym_RBRACE] = ACTIONS(963), + [anon_sym_RBRACK] = ACTIONS(965), + [anon_sym_RBRACK_RBRACK] = ACTIONS(965), + [anon_sym_LT] = ACTIONS(963), + [anon_sym_GT] = ACTIONS(963), + [anon_sym_DQUOTE] = ACTIONS(963), + [sym_raw_string] = ACTIONS(965), + [anon_sym_DOLLAR] = ACTIONS(965), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(963), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(963), + [anon_sym_BQUOTE] = ACTIONS(963), + [sym_word] = ACTIONS(929), [sym_comment] = ACTIONS(115), }, [278] = { - [sym_string] = STATE(422), - [sym_array] = STATE(422), - [sym_simple_expansion] = STATE(422), - [sym_expansion] = STATE(422), - [sym_command_substitution] = STATE(422), - [sym_process_substitution] = STATE(422), + [anon_sym_RPAREN] = ACTIONS(967), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [279] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(967), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [280] = { + [anon_sym_RPAREN] = ACTIONS(755), + [anon_sym_LPAREN] = ACTIONS(755), + [anon_sym_RBRACE] = ACTIONS(755), + [anon_sym_RBRACK] = ACTIONS(969), + [anon_sym_RBRACK_RBRACK] = ACTIONS(969), + [anon_sym_LT] = ACTIONS(755), + [anon_sym_GT] = ACTIONS(755), + [anon_sym_DQUOTE] = ACTIONS(755), + [sym_raw_string] = ACTIONS(969), + [anon_sym_DOLLAR] = ACTIONS(969), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(755), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(755), + [anon_sym_BQUOTE] = ACTIONS(755), + [sym_word] = ACTIONS(757), + [sym_comment] = ACTIONS(115), + }, + [281] = { + [anon_sym_RBRACE] = ACTIONS(971), + [sym_comment] = ACTIONS(115), + }, + [282] = { + [anon_sym_RBRACE] = ACTIONS(973), + [sym_comment] = ACTIONS(115), + }, + [283] = { + [anon_sym_RPAREN] = ACTIONS(975), + [anon_sym_LPAREN] = ACTIONS(975), + [anon_sym_RBRACE] = ACTIONS(975), + [anon_sym_RBRACK] = ACTIONS(977), + [anon_sym_RBRACK_RBRACK] = ACTIONS(977), + [anon_sym_LT] = ACTIONS(975), + [anon_sym_GT] = ACTIONS(975), + [anon_sym_DQUOTE] = ACTIONS(975), + [sym_raw_string] = ACTIONS(977), + [anon_sym_DOLLAR] = ACTIONS(977), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(975), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(975), + [anon_sym_BQUOTE] = ACTIONS(975), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(115), + }, + [284] = { + [sym_string] = STATE(440), + [sym_array] = STATE(440), + [sym_simple_expansion] = STATE(440), + [sym_expansion] = STATE(440), + [sym_command_substitution] = STATE(440), + [sym_process_substitution] = STATE(440), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(957), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(979), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(959), + [sym_word] = ACTIONS(981), [sym_comment] = ACTIONS(115), }, - [279] = { - [anon_sym_RPAREN] = ACTIONS(845), - [anon_sym_LPAREN] = ACTIONS(845), - [anon_sym_RBRACE] = ACTIONS(845), - [anon_sym_RBRACK] = ACTIONS(961), - [anon_sym_RBRACK_RBRACK] = ACTIONS(961), - [anon_sym_LT] = ACTIONS(845), - [anon_sym_GT] = ACTIONS(845), - [anon_sym_DQUOTE] = ACTIONS(845), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(961), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(845), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(845), - [anon_sym_BQUOTE] = ACTIONS(845), - [sym_word] = ACTIONS(847), + [285] = { + [anon_sym_RPAREN] = ACTIONS(983), + [anon_sym_LPAREN] = ACTIONS(983), + [anon_sym_RBRACE] = ACTIONS(983), + [anon_sym_RBRACK] = ACTIONS(985), + [anon_sym_RBRACK_RBRACK] = ACTIONS(985), + [anon_sym_LT] = ACTIONS(983), + [anon_sym_GT] = ACTIONS(983), + [anon_sym_DQUOTE] = ACTIONS(983), + [sym_raw_string] = ACTIONS(985), + [anon_sym_DOLLAR] = ACTIONS(985), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(983), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(983), + [anon_sym_BQUOTE] = ACTIONS(983), + [sym_word] = ACTIONS(957), [sym_comment] = ACTIONS(115), }, - [280] = { - [sym_file_descriptor] = ACTIONS(545), - [anon_sym_SEMI_SEMI] = ACTIONS(549), - [anon_sym_PIPE] = ACTIONS(549), - [anon_sym_PIPE_AMP] = ACTIONS(549), - [anon_sym_AMP_AMP] = ACTIONS(549), - [anon_sym_PIPE_PIPE] = ACTIONS(549), - [anon_sym_LT] = ACTIONS(549), - [anon_sym_GT] = ACTIONS(549), - [anon_sym_GT_GT] = ACTIONS(549), - [anon_sym_AMP_GT] = ACTIONS(549), - [anon_sym_AMP_GT_GT] = ACTIONS(549), - [anon_sym_LT_AMP] = ACTIONS(549), - [anon_sym_GT_AMP] = ACTIONS(549), - [anon_sym_LT_LT] = ACTIONS(549), - [anon_sym_LT_LT_DASH] = ACTIONS(549), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(549), - [anon_sym_LF] = ACTIONS(549), - [anon_sym_AMP] = ACTIONS(549), + [286] = { + [sym_string] = STATE(441), + [sym_array] = STATE(441), + [sym_simple_expansion] = STATE(441), + [sym_expansion] = STATE(441), + [sym_command_substitution] = STATE(441), + [sym_process_substitution] = STATE(441), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(987), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(989), + [sym_comment] = ACTIONS(115), }, - [281] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_LPAREN] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR] = ACTIONS(561), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [287] = { + [anon_sym_RPAREN] = ACTIONS(865), + [anon_sym_LPAREN] = ACTIONS(865), + [anon_sym_RBRACE] = ACTIONS(865), + [anon_sym_RBRACK] = ACTIONS(991), + [anon_sym_RBRACK_RBRACK] = ACTIONS(991), + [anon_sym_LT] = ACTIONS(865), + [anon_sym_GT] = ACTIONS(865), + [anon_sym_DQUOTE] = ACTIONS(865), + [sym_raw_string] = ACTIONS(991), + [anon_sym_DOLLAR] = ACTIONS(991), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(865), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(115), }, - [282] = { - [anon_sym_RPAREN] = ACTIONS(963), + [288] = { + [sym_file_descriptor] = ACTIONS(553), + [anon_sym_SEMI_SEMI] = ACTIONS(557), + [anon_sym_PIPE] = ACTIONS(557), + [anon_sym_PIPE_AMP] = ACTIONS(557), + [anon_sym_AMP_AMP] = ACTIONS(557), + [anon_sym_PIPE_PIPE] = ACTIONS(557), + [anon_sym_LT] = ACTIONS(557), + [anon_sym_GT] = ACTIONS(557), + [anon_sym_GT_GT] = ACTIONS(557), + [anon_sym_AMP_GT] = ACTIONS(557), + [anon_sym_AMP_GT_GT] = ACTIONS(557), + [anon_sym_LT_AMP] = ACTIONS(557), + [anon_sym_GT_AMP] = ACTIONS(557), + [anon_sym_LT_LT] = ACTIONS(557), + [anon_sym_LT_LT_DASH] = ACTIONS(557), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(557), + [anon_sym_LF] = ACTIONS(557), + [anon_sym_AMP] = ACTIONS(557), + }, + [289] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_LPAREN] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR] = ACTIONS(569), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [290] = { + [anon_sym_RPAREN] = ACTIONS(993), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, - [283] = { - [sym_for_statement] = STATE(424), - [sym_while_statement] = STATE(424), - [sym_if_statement] = STATE(424), - [sym_case_statement] = STATE(424), - [sym_function_definition] = STATE(424), - [sym_subshell] = STATE(424), - [sym_pipeline] = STATE(424), - [sym_list] = STATE(424), - [sym_bracket_command] = STATE(424), - [sym_command] = STATE(424), - [sym_environment_variable_assignment] = STATE(425), + [291] = { + [sym_for_statement] = STATE(443), + [sym_while_statement] = STATE(443), + [sym_if_statement] = STATE(443), + [sym_case_statement] = STATE(443), + [sym_function_definition] = STATE(443), + [sym_subshell] = STATE(443), + [sym_pipeline] = STATE(443), + [sym_list] = STATE(443), + [sym_bracket_command] = STATE(443), + [sym_command] = STATE(443), + [sym_environment_variable_assignment] = STATE(444), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(298), + [aux_sym_array_repeat1] = STATE(307), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(203), [anon_sym_while] = ACTIONS(205), [anon_sym_if] = ACTIONS(207), [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(669), + [anon_sym_RPAREN] = ACTIONS(683), [anon_sym_function] = ACTIONS(211), [anon_sym_LPAREN] = ACTIONS(213), [anon_sym_LBRACK] = ACTIONS(215), @@ -17172,250 +17663,269 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), [anon_sym_BQUOTE] = ACTIONS(227), [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), + [sym_word] = ACTIONS(995), [sym_comment] = ACTIONS(115), }, - [284] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_LPAREN] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR] = ACTIONS(415), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [292] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_LPAREN] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR] = ACTIONS(421), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, - [285] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(967), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [293] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(997), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [286] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_LPAREN] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR] = ACTIONS(577), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), + [294] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, - [287] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_LPAREN] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR] = ACTIONS(579), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), + [295] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_LPAREN] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR] = ACTIONS(587), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), }, - [288] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_LPAREN] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR] = ACTIONS(581), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), + [296] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_LPAREN] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR] = ACTIONS(589), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), }, - [289] = { - [anon_sym_RBRACE] = ACTIONS(969), - [anon_sym_COLON] = ACTIONS(971), - [anon_sym_EQ] = ACTIONS(973), - [anon_sym_COLON_QMARK] = ACTIONS(973), - [anon_sym_COLON_DASH] = ACTIONS(973), + [297] = { + [sym_special_variable_name] = STATE(447), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(999), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [298] = { + [anon_sym_RBRACE] = ACTIONS(1001), + [anon_sym_COLON] = ACTIONS(1003), + [anon_sym_EQ] = ACTIONS(1005), + [anon_sym_COLON_QMARK] = ACTIONS(1005), + [anon_sym_COLON_DASH] = ACTIONS(1005), [sym_comment] = ACTIONS(115), }, - [290] = { - [anon_sym_RBRACE] = ACTIONS(975), - [anon_sym_COLON] = ACTIONS(977), - [anon_sym_EQ] = ACTIONS(979), - [anon_sym_COLON_QMARK] = ACTIONS(979), - [anon_sym_COLON_DASH] = ACTIONS(979), + [299] = { + [anon_sym_RBRACE] = ACTIONS(1007), + [anon_sym_COLON] = ACTIONS(1009), + [anon_sym_EQ] = ACTIONS(1011), + [anon_sym_COLON_QMARK] = ACTIONS(1011), + [anon_sym_COLON_DASH] = ACTIONS(1011), [sym_comment] = ACTIONS(115), }, - [291] = { - [anon_sym_RPAREN] = ACTIONS(981), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [300] = { + [anon_sym_RPAREN] = ACTIONS(1013), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [292] = { + [301] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(981), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(1013), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [293] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(981), + [302] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(1013), [sym_comment] = ACTIONS(115), }, - [294] = { + [303] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(981), + [anon_sym_BQUOTE] = ACTIONS(1013), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [295] = { - [sym_file_descriptor] = ACTIONS(639), - [anon_sym_SEMI_SEMI] = ACTIONS(643), - [anon_sym_LPAREN] = ACTIONS(643), - [anon_sym_PIPE] = ACTIONS(643), - [anon_sym_PIPE_AMP] = ACTIONS(643), - [anon_sym_AMP_AMP] = ACTIONS(643), - [anon_sym_PIPE_PIPE] = ACTIONS(643), - [anon_sym_LT] = ACTIONS(643), - [anon_sym_GT] = ACTIONS(643), - [anon_sym_GT_GT] = ACTIONS(643), - [anon_sym_AMP_GT] = ACTIONS(643), - [anon_sym_AMP_GT_GT] = ACTIONS(643), - [anon_sym_LT_AMP] = ACTIONS(643), - [anon_sym_GT_AMP] = ACTIONS(643), - [anon_sym_LT_LT] = ACTIONS(643), - [anon_sym_LT_LT_DASH] = ACTIONS(643), - [anon_sym_DQUOTE] = ACTIONS(643), - [sym_raw_string] = ACTIONS(643), - [anon_sym_DOLLAR] = ACTIONS(643), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(643), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(643), - [anon_sym_BQUOTE] = ACTIONS(643), - [sym_word] = ACTIONS(643), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(643), - [anon_sym_LF] = ACTIONS(643), - [anon_sym_AMP] = ACTIONS(643), + [304] = { + [sym_file_descriptor] = ACTIONS(651), + [anon_sym_SEMI_SEMI] = ACTIONS(655), + [anon_sym_LPAREN] = ACTIONS(655), + [anon_sym_PIPE] = ACTIONS(655), + [anon_sym_PIPE_AMP] = ACTIONS(655), + [anon_sym_AMP_AMP] = ACTIONS(655), + [anon_sym_PIPE_PIPE] = ACTIONS(655), + [anon_sym_LT] = ACTIONS(655), + [anon_sym_GT] = ACTIONS(655), + [anon_sym_GT_GT] = ACTIONS(655), + [anon_sym_AMP_GT] = ACTIONS(655), + [anon_sym_AMP_GT_GT] = ACTIONS(655), + [anon_sym_LT_AMP] = ACTIONS(655), + [anon_sym_GT_AMP] = ACTIONS(655), + [anon_sym_LT_LT] = ACTIONS(655), + [anon_sym_LT_LT_DASH] = ACTIONS(655), + [anon_sym_DQUOTE] = ACTIONS(655), + [sym_raw_string] = ACTIONS(655), + [anon_sym_DOLLAR] = ACTIONS(655), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(655), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(655), + [anon_sym_BQUOTE] = ACTIONS(655), + [sym_word] = ACTIONS(655), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(655), + [anon_sym_LF] = ACTIONS(655), + [anon_sym_AMP] = ACTIONS(655), }, - [296] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), + [305] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(983), - [anon_sym_PIPE] = ACTIONS(983), - [anon_sym_PIPE_AMP] = ACTIONS(983), - [anon_sym_AMP_AMP] = ACTIONS(983), - [anon_sym_PIPE_PIPE] = ACTIONS(983), + [anon_sym_SEMI_SEMI] = ACTIONS(1015), + [anon_sym_PIPE] = ACTIONS(1015), + [anon_sym_PIPE_AMP] = ACTIONS(1015), + [anon_sym_AMP_AMP] = ACTIONS(1015), + [anon_sym_PIPE_PIPE] = ACTIONS(1015), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -17425,49 +17935,49 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(983), - [anon_sym_LF] = ACTIONS(983), - [anon_sym_AMP] = ACTIONS(983), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1015), + [anon_sym_LF] = ACTIONS(1015), + [anon_sym_AMP] = ACTIONS(1015), }, - [297] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [306] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), }, - [298] = { - [anon_sym_RPAREN] = ACTIONS(985), - [sym_word] = ACTIONS(569), + [307] = { + [anon_sym_RPAREN] = ACTIONS(1017), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, - [299] = { - [sym_for_statement] = STATE(433), - [sym_while_statement] = STATE(433), - [sym_if_statement] = STATE(433), - [sym_case_statement] = STATE(433), - [sym_function_definition] = STATE(433), - [sym_subshell] = STATE(433), - [sym_pipeline] = STATE(433), - [sym_list] = STATE(433), - [sym_bracket_command] = STATE(433), - [sym_command] = STATE(433), - [sym_environment_variable_assignment] = STATE(434), + [308] = { + [sym_for_statement] = STATE(454), + [sym_while_statement] = STATE(454), + [sym_if_statement] = STATE(454), + [sym_case_statement] = STATE(454), + [sym_function_definition] = STATE(454), + [sym_subshell] = STATE(454), + [sym_pipeline] = STATE(454), + [sym_list] = STATE(454), + [sym_bracket_command] = STATE(454), + [sym_command] = STATE(454), + [sym_environment_variable_assignment] = STATE(455), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -17496,227 +18006,115 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [300] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [309] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, - [301] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(987), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [310] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(1019), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [302] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [303] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [304] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), - }, - [305] = { - [anon_sym_RBRACE] = ACTIONS(989), - [anon_sym_COLON] = ACTIONS(991), - [anon_sym_EQ] = ACTIONS(993), - [anon_sym_COLON_QMARK] = ACTIONS(993), - [anon_sym_COLON_DASH] = ACTIONS(993), - [sym_comment] = ACTIONS(115), - }, - [306] = { - [anon_sym_RBRACE] = ACTIONS(995), - [anon_sym_COLON] = ACTIONS(997), - [anon_sym_EQ] = ACTIONS(999), - [anon_sym_COLON_QMARK] = ACTIONS(999), - [anon_sym_COLON_DASH] = ACTIONS(999), - [sym_comment] = ACTIONS(115), - }, - [307] = { - [anon_sym_RPAREN] = ACTIONS(1001), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [308] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1001), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [309] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(1001), - [sym_comment] = ACTIONS(115), - }, - [310] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(1001), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), + [sym_comment] = ACTIONS(75), }, [311] = { - [sym__heredoc_middle] = ACTIONS(1003), - [sym__heredoc_end] = ACTIONS(1003), - [anon_sym_DOLLAR] = ACTIONS(1005), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1003), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, [312] = { - [sym_file_descriptor] = ACTIONS(1007), - [anon_sym_SEMI_SEMI] = ACTIONS(1009), - [anon_sym_PIPE] = ACTIONS(1009), - [anon_sym_PIPE_AMP] = ACTIONS(1009), - [anon_sym_AMP_AMP] = ACTIONS(1009), - [anon_sym_PIPE_PIPE] = ACTIONS(1009), - [anon_sym_LT] = ACTIONS(1009), - [anon_sym_GT] = ACTIONS(1009), - [anon_sym_GT_GT] = ACTIONS(1009), - [anon_sym_AMP_GT] = ACTIONS(1009), - [anon_sym_AMP_GT_GT] = ACTIONS(1009), - [anon_sym_LT_AMP] = ACTIONS(1009), - [anon_sym_GT_AMP] = ACTIONS(1009), - [anon_sym_LT_LT] = ACTIONS(1009), - [anon_sym_LT_LT_DASH] = ACTIONS(1009), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1009), - [anon_sym_LF] = ACTIONS(1009), - [anon_sym_AMP] = ACTIONS(1009), + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), }, [313] = { - [sym_special_variable_name] = STATE(443), - [anon_sym_DOLLAR] = ACTIONS(1011), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(1013), - [anon_sym_STAR] = ACTIONS(1011), - [anon_sym_AT] = ACTIONS(1011), - [anon_sym_POUND] = ACTIONS(1015), - [anon_sym_QMARK] = ACTIONS(1011), - [anon_sym_DASH] = ACTIONS(1011), - [anon_sym_BANG] = ACTIONS(1011), - [anon_sym_0] = ACTIONS(1015), - [anon_sym__] = ACTIONS(1015), + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), }, [314] = { - [sym_special_variable_name] = STATE(445), + [sym_special_variable_name] = STATE(458), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(1017), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(1021), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), @@ -17724,259 +18122,406 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym__] = ACTIONS(307), }, [315] = { - [sym_simple_expansion] = STATE(446), - [sym_expansion] = STATE(446), - [sym__heredoc_middle] = ACTIONS(1019), - [sym__heredoc_end] = ACTIONS(1021), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [anon_sym_RBRACE] = ACTIONS(1023), + [anon_sym_COLON] = ACTIONS(1025), + [anon_sym_EQ] = ACTIONS(1027), + [anon_sym_COLON_QMARK] = ACTIONS(1027), + [anon_sym_COLON_DASH] = ACTIONS(1027), [sym_comment] = ACTIONS(115), }, [316] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(937), - [anon_sym_PIPE] = ACTIONS(939), - [anon_sym_PIPE_AMP] = ACTIONS(937), - [anon_sym_AMP_AMP] = ACTIONS(939), - [anon_sym_PIPE_PIPE] = ACTIONS(937), - [anon_sym_COLON] = ACTIONS(937), - [anon_sym_LT] = ACTIONS(939), - [anon_sym_GT] = ACTIONS(939), - [anon_sym_GT_GT] = ACTIONS(939), - [anon_sym_AMP_GT] = ACTIONS(939), - [anon_sym_AMP_GT_GT] = ACTIONS(939), - [anon_sym_LT_AMP] = ACTIONS(939), - [anon_sym_GT_AMP] = ACTIONS(939), - [anon_sym_DQUOTE] = ACTIONS(937), - [sym_raw_string] = ACTIONS(939), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(937), - [anon_sym_BQUOTE] = ACTIONS(937), - [sym_leading_word] = ACTIONS(907), + [anon_sym_RBRACE] = ACTIONS(1029), + [anon_sym_COLON] = ACTIONS(1031), + [anon_sym_EQ] = ACTIONS(1033), + [anon_sym_COLON_QMARK] = ACTIONS(1033), + [anon_sym_COLON_DASH] = ACTIONS(1033), [sym_comment] = ACTIONS(115), }, [317] = { - [anon_sym_RPAREN] = ACTIONS(1023), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(1035), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, [318] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1023), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(1035), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [319] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(735), - [anon_sym_PIPE] = ACTIONS(943), - [anon_sym_PIPE_AMP] = ACTIONS(735), - [anon_sym_AMP_AMP] = ACTIONS(943), - [anon_sym_PIPE_PIPE] = ACTIONS(735), - [anon_sym_COLON] = ACTIONS(735), - [anon_sym_LT] = ACTIONS(943), - [anon_sym_GT] = ACTIONS(943), - [anon_sym_GT_GT] = ACTIONS(943), - [anon_sym_AMP_GT] = ACTIONS(943), - [anon_sym_AMP_GT_GT] = ACTIONS(943), - [anon_sym_LT_AMP] = ACTIONS(943), - [anon_sym_GT_AMP] = ACTIONS(943), - [anon_sym_DQUOTE] = ACTIONS(735), - [sym_raw_string] = ACTIONS(943), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(735), - [anon_sym_BQUOTE] = ACTIONS(735), - [sym_leading_word] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(1035), [sym_comment] = ACTIONS(115), }, [320] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(945), - [anon_sym_PIPE] = ACTIONS(947), - [anon_sym_PIPE_AMP] = ACTIONS(945), - [anon_sym_AMP_AMP] = ACTIONS(947), - [anon_sym_PIPE_PIPE] = ACTIONS(945), - [anon_sym_COLON] = ACTIONS(945), - [anon_sym_LT] = ACTIONS(947), - [anon_sym_GT] = ACTIONS(947), - [anon_sym_GT_GT] = ACTIONS(947), - [anon_sym_AMP_GT] = ACTIONS(947), - [anon_sym_AMP_GT_GT] = ACTIONS(947), - [anon_sym_LT_AMP] = ACTIONS(947), - [anon_sym_GT_AMP] = ACTIONS(947), - [anon_sym_DQUOTE] = ACTIONS(945), - [sym_raw_string] = ACTIONS(947), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(945), - [anon_sym_BQUOTE] = ACTIONS(945), - [sym_leading_word] = ACTIONS(925), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1035), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [321] = { - [sym_string] = STATE(449), - [sym_array] = STATE(449), - [sym_simple_expansion] = STATE(449), - [sym_expansion] = STATE(449), - [sym_command_substitution] = STATE(449), - [sym_process_substitution] = STATE(449), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1025), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1027), + [sym__heredoc_middle] = ACTIONS(1037), + [sym__heredoc_end] = ACTIONS(1037), + [anon_sym_DOLLAR] = ACTIONS(1039), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1037), [sym_comment] = ACTIONS(115), }, [322] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(953), - [anon_sym_PIPE] = ACTIONS(955), - [anon_sym_PIPE_AMP] = ACTIONS(953), - [anon_sym_AMP_AMP] = ACTIONS(955), - [anon_sym_PIPE_PIPE] = ACTIONS(953), - [anon_sym_COLON] = ACTIONS(953), - [anon_sym_LT] = ACTIONS(955), - [anon_sym_GT] = ACTIONS(955), - [anon_sym_GT_GT] = ACTIONS(955), - [anon_sym_AMP_GT] = ACTIONS(955), - [anon_sym_AMP_GT_GT] = ACTIONS(955), - [anon_sym_LT_AMP] = ACTIONS(955), - [anon_sym_GT_AMP] = ACTIONS(955), - [anon_sym_DQUOTE] = ACTIONS(953), - [sym_raw_string] = ACTIONS(955), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), - [anon_sym_BQUOTE] = ACTIONS(953), - [sym_leading_word] = ACTIONS(931), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(1041), + [anon_sym_SEMI_SEMI] = ACTIONS(1043), + [anon_sym_PIPE] = ACTIONS(1043), + [anon_sym_PIPE_AMP] = ACTIONS(1043), + [anon_sym_AMP_AMP] = ACTIONS(1043), + [anon_sym_PIPE_PIPE] = ACTIONS(1043), + [anon_sym_LT] = ACTIONS(1043), + [anon_sym_GT] = ACTIONS(1043), + [anon_sym_GT_GT] = ACTIONS(1043), + [anon_sym_AMP_GT] = ACTIONS(1043), + [anon_sym_AMP_GT_GT] = ACTIONS(1043), + [anon_sym_LT_AMP] = ACTIONS(1043), + [anon_sym_GT_AMP] = ACTIONS(1043), + [anon_sym_LT_LT] = ACTIONS(1043), + [anon_sym_LT_LT_DASH] = ACTIONS(1043), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1043), + [anon_sym_LF] = ACTIONS(1043), + [anon_sym_AMP] = ACTIONS(1043), }, [323] = { - [sym_string] = STATE(450), - [sym_array] = STATE(450), - [sym_simple_expansion] = STATE(450), - [sym_expansion] = STATE(450), - [sym_command_substitution] = STATE(450), - [sym_process_substitution] = STATE(450), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1029), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1031), - [sym_comment] = ACTIONS(115), + [sym_special_variable_name] = STATE(466), + [anon_sym_DOLLAR] = ACTIONS(1045), + [anon_sym_POUND] = ACTIONS(1047), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(1049), + [anon_sym_STAR] = ACTIONS(1045), + [anon_sym_AT] = ACTIONS(1045), + [anon_sym_QMARK] = ACTIONS(1045), + [anon_sym_DASH] = ACTIONS(1045), + [anon_sym_BANG] = ACTIONS(1045), + [anon_sym_0] = ACTIONS(1047), + [anon_sym__] = ACTIONS(1047), }, [324] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(845), - [anon_sym_PIPE] = ACTIONS(961), - [anon_sym_PIPE_AMP] = ACTIONS(845), - [anon_sym_AMP_AMP] = ACTIONS(961), - [anon_sym_PIPE_PIPE] = ACTIONS(845), - [anon_sym_COLON] = ACTIONS(845), - [anon_sym_LT] = ACTIONS(961), - [anon_sym_GT] = ACTIONS(961), - [anon_sym_GT_GT] = ACTIONS(961), - [anon_sym_AMP_GT] = ACTIONS(961), - [anon_sym_AMP_GT_GT] = ACTIONS(961), - [anon_sym_LT_AMP] = ACTIONS(961), - [anon_sym_GT_AMP] = ACTIONS(961), - [anon_sym_DQUOTE] = ACTIONS(845), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(845), - [anon_sym_BQUOTE] = ACTIONS(845), - [sym_leading_word] = ACTIONS(847), - [sym_comment] = ACTIONS(115), + [sym_special_variable_name] = STATE(469), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(1051), + [sym_leading_word] = ACTIONS(1053), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), }, [325] = { - [anon_sym_DQUOTE] = ACTIONS(925), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(947), - [anon_sym_DOLLAR] = ACTIONS(925), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_comment] = ACTIONS(73), + [sym_simple_expansion] = STATE(470), + [sym_expansion] = STATE(470), + [sym__heredoc_middle] = ACTIONS(1055), + [sym__heredoc_end] = ACTIONS(1057), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), + [sym_comment] = ACTIONS(115), }, [326] = { - [sym_string] = STATE(451), - [sym_array] = STATE(451), - [sym_simple_expansion] = STATE(451), - [sym_expansion] = STATE(451), - [sym_command_substitution] = STATE(451), - [sym_process_substitution] = STATE(451), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1033), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1035), + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(963), + [anon_sym_PIPE] = ACTIONS(965), + [anon_sym_PIPE_AMP] = ACTIONS(963), + [anon_sym_AMP_AMP] = ACTIONS(965), + [anon_sym_PIPE_PIPE] = ACTIONS(963), + [anon_sym_COLON] = ACTIONS(963), + [anon_sym_LT] = ACTIONS(965), + [anon_sym_GT] = ACTIONS(965), + [anon_sym_GT_GT] = ACTIONS(965), + [anon_sym_AMP_GT] = ACTIONS(965), + [anon_sym_AMP_GT_GT] = ACTIONS(965), + [anon_sym_LT_AMP] = ACTIONS(965), + [anon_sym_GT_AMP] = ACTIONS(965), + [anon_sym_DQUOTE] = ACTIONS(963), + [sym_raw_string] = ACTIONS(965), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(963), + [anon_sym_BQUOTE] = ACTIONS(963), + [sym_leading_word] = ACTIONS(929), [sym_comment] = ACTIONS(115), }, [327] = { - [anon_sym_DQUOTE] = ACTIONS(931), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(955), - [anon_sym_DOLLAR] = ACTIONS(931), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_comment] = ACTIONS(73), + [anon_sym_RPAREN] = ACTIONS(1059), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), }, [328] = { - [sym_string] = STATE(452), - [sym_array] = STATE(452), - [sym_simple_expansion] = STATE(452), - [sym_expansion] = STATE(452), - [sym_command_substitution] = STATE(452), - [sym_process_substitution] = STATE(452), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1059), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [329] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(755), + [anon_sym_PIPE] = ACTIONS(969), + [anon_sym_PIPE_AMP] = ACTIONS(755), + [anon_sym_AMP_AMP] = ACTIONS(969), + [anon_sym_PIPE_PIPE] = ACTIONS(755), + [anon_sym_COLON] = ACTIONS(755), + [anon_sym_LT] = ACTIONS(969), + [anon_sym_GT] = ACTIONS(969), + [anon_sym_GT_GT] = ACTIONS(969), + [anon_sym_AMP_GT] = ACTIONS(969), + [anon_sym_AMP_GT_GT] = ACTIONS(969), + [anon_sym_LT_AMP] = ACTIONS(969), + [anon_sym_GT_AMP] = ACTIONS(969), + [anon_sym_DQUOTE] = ACTIONS(755), + [sym_raw_string] = ACTIONS(969), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(755), + [anon_sym_BQUOTE] = ACTIONS(755), + [sym_leading_word] = ACTIONS(757), + [sym_comment] = ACTIONS(115), + }, + [330] = { + [anon_sym_RBRACE] = ACTIONS(1061), + [sym_comment] = ACTIONS(115), + }, + [331] = { + [anon_sym_RBRACE] = ACTIONS(1063), + [sym_comment] = ACTIONS(115), + }, + [332] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(975), + [anon_sym_PIPE] = ACTIONS(977), + [anon_sym_PIPE_AMP] = ACTIONS(975), + [anon_sym_AMP_AMP] = ACTIONS(977), + [anon_sym_PIPE_PIPE] = ACTIONS(975), + [anon_sym_COLON] = ACTIONS(975), + [anon_sym_LT] = ACTIONS(977), + [anon_sym_GT] = ACTIONS(977), + [anon_sym_GT_GT] = ACTIONS(977), + [anon_sym_AMP_GT] = ACTIONS(977), + [anon_sym_AMP_GT_GT] = ACTIONS(977), + [anon_sym_LT_AMP] = ACTIONS(977), + [anon_sym_GT_AMP] = ACTIONS(977), + [anon_sym_DQUOTE] = ACTIONS(975), + [sym_raw_string] = ACTIONS(977), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(975), + [anon_sym_BQUOTE] = ACTIONS(975), + [sym_leading_word] = ACTIONS(951), + [sym_comment] = ACTIONS(115), + }, + [333] = { + [sym_string] = STATE(475), + [sym_array] = STATE(475), + [sym_simple_expansion] = STATE(475), + [sym_expansion] = STATE(475), + [sym_command_substitution] = STATE(475), + [sym_process_substitution] = STATE(475), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1037), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(1065), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1039), + [sym_word] = ACTIONS(1067), [sym_comment] = ACTIONS(115), }, - [329] = { - [anon_sym_DQUOTE] = ACTIONS(847), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(847), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_comment] = ACTIONS(73), + [334] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(983), + [anon_sym_PIPE] = ACTIONS(985), + [anon_sym_PIPE_AMP] = ACTIONS(983), + [anon_sym_AMP_AMP] = ACTIONS(985), + [anon_sym_PIPE_PIPE] = ACTIONS(983), + [anon_sym_COLON] = ACTIONS(983), + [anon_sym_LT] = ACTIONS(985), + [anon_sym_GT] = ACTIONS(985), + [anon_sym_GT_GT] = ACTIONS(985), + [anon_sym_AMP_GT] = ACTIONS(985), + [anon_sym_AMP_GT_GT] = ACTIONS(985), + [anon_sym_LT_AMP] = ACTIONS(985), + [anon_sym_GT_AMP] = ACTIONS(985), + [anon_sym_DQUOTE] = ACTIONS(983), + [sym_raw_string] = ACTIONS(985), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(983), + [anon_sym_BQUOTE] = ACTIONS(983), + [sym_leading_word] = ACTIONS(957), + [sym_comment] = ACTIONS(115), }, - [330] = { - [sym__terminated_statement] = STATE(453), + [335] = { + [sym_string] = STATE(476), + [sym_array] = STATE(476), + [sym_simple_expansion] = STATE(476), + [sym_expansion] = STATE(476), + [sym_command_substitution] = STATE(476), + [sym_process_substitution] = STATE(476), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1069), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1071), + [sym_comment] = ACTIONS(115), + }, + [336] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(865), + [anon_sym_PIPE] = ACTIONS(991), + [anon_sym_PIPE_AMP] = ACTIONS(865), + [anon_sym_AMP_AMP] = ACTIONS(991), + [anon_sym_PIPE_PIPE] = ACTIONS(865), + [anon_sym_COLON] = ACTIONS(865), + [anon_sym_LT] = ACTIONS(991), + [anon_sym_GT] = ACTIONS(991), + [anon_sym_GT_GT] = ACTIONS(991), + [anon_sym_AMP_GT] = ACTIONS(991), + [anon_sym_AMP_GT_GT] = ACTIONS(991), + [anon_sym_LT_AMP] = ACTIONS(991), + [anon_sym_GT_AMP] = ACTIONS(991), + [anon_sym_DQUOTE] = ACTIONS(865), + [sym_raw_string] = ACTIONS(991), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), + [sym_leading_word] = ACTIONS(867), + [sym_comment] = ACTIONS(115), + }, + [337] = { + [anon_sym_RBRACE] = ACTIONS(1073), + [sym_comment] = ACTIONS(115), + }, + [338] = { + [anon_sym_RBRACE] = ACTIONS(1075), + [sym_comment] = ACTIONS(115), + }, + [339] = { + [anon_sym_DQUOTE] = ACTIONS(951), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(977), + [anon_sym_DOLLAR] = ACTIONS(951), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + }, + [340] = { + [sym_string] = STATE(479), + [sym_array] = STATE(479), + [sym_simple_expansion] = STATE(479), + [sym_expansion] = STATE(479), + [sym_command_substitution] = STATE(479), + [sym_process_substitution] = STATE(479), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1077), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1079), + [sym_comment] = ACTIONS(115), + }, + [341] = { + [anon_sym_DQUOTE] = ACTIONS(957), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(985), + [anon_sym_DOLLAR] = ACTIONS(957), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + }, + [342] = { + [sym_string] = STATE(480), + [sym_array] = STATE(480), + [sym_simple_expansion] = STATE(480), + [sym_expansion] = STATE(480), + [sym_command_substitution] = STATE(480), + [sym_process_substitution] = STATE(480), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1081), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1083), + [sym_comment] = ACTIONS(115), + }, + [343] = { + [anon_sym_DQUOTE] = ACTIONS(867), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(991), + [anon_sym_DOLLAR] = ACTIONS(867), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + }, + [344] = { + [sym__terminated_statement] = STATE(481), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -18016,316 +18561,92 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [331] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(455), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(1041), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [332] = { - [anon_sym_RPAREN] = ACTIONS(1043), - [anon_sym_PIPE] = ACTIONS(1045), - [anon_sym_PIPE_AMP] = ACTIONS(1043), - [anon_sym_AMP_AMP] = ACTIONS(1043), - [anon_sym_PIPE_PIPE] = ACTIONS(1043), - [anon_sym_BQUOTE] = ACTIONS(1043), - [sym_comment] = ACTIONS(115), - }, - [333] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(457), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(458), - [aux_sym_if_statement_repeat1] = STATE(459), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1047), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [334] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1049), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1049), - [anon_sym_LF] = ACTIONS(1049), - [anon_sym_AMP] = ACTIONS(1049), - }, - [335] = { - [anon_sym_in] = ACTIONS(1051), - [sym_comment] = ACTIONS(115), - }, - [336] = { - [anon_sym_RPAREN] = ACTIONS(1053), - [sym_comment] = ACTIONS(115), - }, - [337] = { - [anon_sym_RPAREN] = ACTIONS(1055), - [anon_sym_PIPE] = ACTIONS(1057), - [anon_sym_PIPE_AMP] = ACTIONS(1055), - [anon_sym_AMP_AMP] = ACTIONS(1055), - [anon_sym_PIPE_PIPE] = ACTIONS(1055), - [anon_sym_BQUOTE] = ACTIONS(1055), - [sym_comment] = ACTIONS(115), - }, - [338] = { - [anon_sym_RPAREN] = ACTIONS(1059), - [anon_sym_PIPE] = ACTIONS(1061), - [anon_sym_PIPE_AMP] = ACTIONS(1059), - [anon_sym_AMP_AMP] = ACTIONS(1059), - [anon_sym_PIPE_PIPE] = ACTIONS(1059), - [anon_sym_BQUOTE] = ACTIONS(1059), - [sym_comment] = ACTIONS(115), - }, - [339] = { - [sym_string] = STATE(463), - [sym_array] = STATE(463), - [sym_simple_expansion] = STATE(463), - [sym_expansion] = STATE(463), - [sym_command_substitution] = STATE(463), - [sym_process_substitution] = STATE(463), - [anon_sym_LPAREN] = ACTIONS(797), - [anon_sym_LT] = ACTIONS(799), - [anon_sym_GT] = ACTIONS(799), - [anon_sym_DQUOTE] = ACTIONS(801), - [sym_raw_string] = ACTIONS(1063), - [anon_sym_DOLLAR] = ACTIONS(805), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(807), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(809), - [anon_sym_BQUOTE] = ACTIONS(811), - [sym_word] = ACTIONS(1065), - [sym_comment] = ACTIONS(115), - }, - [340] = { - [aux_sym_array_repeat1] = STATE(465), - [anon_sym_RPAREN] = ACTIONS(1067), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, - [341] = { - [sym_string] = STATE(353), - [sym_array] = STATE(353), - [sym_simple_expansion] = STATE(353), - [sym_expansion] = STATE(353), - [sym_command_substitution] = STATE(353), - [sym_process_substitution] = STATE(353), - [anon_sym_LPAREN] = ACTIONS(1069), - [anon_sym_LT] = ACTIONS(799), - [anon_sym_GT] = ACTIONS(799), - [anon_sym_DQUOTE] = ACTIONS(801), - [sym_raw_string] = ACTIONS(803), - [anon_sym_DOLLAR] = ACTIONS(805), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(807), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(809), - [anon_sym_BQUOTE] = ACTIONS(811), - [sym_word] = ACTIONS(813), - [sym_comment] = ACTIONS(115), - }, - [342] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(468), - [anon_sym_DQUOTE] = ACTIONS(1071), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [343] = { - [sym_file_descriptor] = ACTIONS(323), - [anon_sym_RPAREN] = ACTIONS(323), - [anon_sym_LPAREN] = ACTIONS(323), - [anon_sym_PIPE] = ACTIONS(325), - [anon_sym_PIPE_AMP] = ACTIONS(323), - [anon_sym_AMP_AMP] = ACTIONS(323), - [anon_sym_PIPE_PIPE] = ACTIONS(325), - [anon_sym_LT] = ACTIONS(325), - [anon_sym_GT] = ACTIONS(325), - [anon_sym_GT_GT] = ACTIONS(323), - [anon_sym_AMP_GT] = ACTIONS(325), - [anon_sym_AMP_GT_GT] = ACTIONS(323), - [anon_sym_LT_AMP] = ACTIONS(323), - [anon_sym_GT_AMP] = ACTIONS(323), - [anon_sym_LT_LT] = ACTIONS(325), - [anon_sym_LT_LT_DASH] = ACTIONS(323), - [anon_sym_DQUOTE] = ACTIONS(323), - [sym_raw_string] = ACTIONS(325), - [anon_sym_DOLLAR] = ACTIONS(325), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(323), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(323), - [anon_sym_BQUOTE] = ACTIONS(323), - [sym_word] = ACTIONS(327), - [sym_comment] = ACTIONS(115), - }, - [344] = { - [sym_special_variable_name] = STATE(471), - [anon_sym_DOLLAR] = ACTIONS(1073), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(1075), - [anon_sym_STAR] = ACTIONS(1073), - [anon_sym_AT] = ACTIONS(1073), - [anon_sym_POUND] = ACTIONS(1077), - [anon_sym_QMARK] = ACTIONS(1073), - [anon_sym_DASH] = ACTIONS(1073), - [anon_sym_BANG] = ACTIONS(1073), - [anon_sym_0] = ACTIONS(1077), - [anon_sym__] = ACTIONS(1077), - }, [345] = { - [sym_special_variable_name] = STATE(473), - [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(307), - [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(307), - [anon_sym_DASH] = ACTIONS(307), - [anon_sym_BANG] = ACTIONS(307), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(483), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(1085), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), }, [346] = { - [sym_for_statement] = STATE(474), - [sym_while_statement] = STATE(474), - [sym_if_statement] = STATE(474), - [sym_case_statement] = STATE(474), - [sym_function_definition] = STATE(474), - [sym_subshell] = STATE(474), - [sym_pipeline] = STATE(474), - [sym_list] = STATE(474), - [sym_bracket_command] = STATE(474), - [sym_command] = STATE(474), - [sym_environment_variable_assignment] = STATE(475), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), + [anon_sym_RPAREN] = ACTIONS(1087), + [anon_sym_PIPE] = ACTIONS(1089), + [anon_sym_PIPE_AMP] = ACTIONS(1087), + [anon_sym_AMP_AMP] = ACTIONS(1087), + [anon_sym_PIPE_PIPE] = ACTIONS(1087), + [anon_sym_BQUOTE] = ACTIONS(1087), [sym_comment] = ACTIONS(115), }, [347] = { - [sym_for_statement] = STATE(476), - [sym_while_statement] = STATE(476), - [sym_if_statement] = STATE(476), - [sym_case_statement] = STATE(476), - [sym_function_definition] = STATE(476), - [sym_subshell] = STATE(476), - [sym_pipeline] = STATE(476), - [sym_list] = STATE(476), - [sym_bracket_command] = STATE(476), - [sym_command] = STATE(476), - [sym_environment_variable_assignment] = STATE(477), + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(485), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(486), + [aux_sym_if_statement_repeat1] = STATE(487), + [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1091), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -18333,151 +18654,169 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, [348] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(479), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1081), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1083), - [anon_sym_PIPE_AMP] = ACTIONS(1081), - [anon_sym_AMP_AMP] = ACTIONS(1081), - [anon_sym_PIPE_PIPE] = ACTIONS(1083), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(1087), - [sym_comment] = ACTIONS(115), + [anon_sym_SEMI_SEMI] = ACTIONS(1093), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1093), + [anon_sym_LF] = ACTIONS(1093), + [anon_sym_AMP] = ACTIONS(1093), }, [349] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1089), - [anon_sym_PIPE] = ACTIONS(1091), - [anon_sym_PIPE_AMP] = ACTIONS(1089), - [anon_sym_AMP_AMP] = ACTIONS(1089), - [anon_sym_PIPE_PIPE] = ACTIONS(1089), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1089), + [anon_sym_in] = ACTIONS(1095), [sym_comment] = ACTIONS(115), }, [350] = { - [aux_sym_array_repeat1] = STATE(481), - [anon_sym_RPAREN] = ACTIONS(1093), - [sym_word] = ACTIONS(291), + [anon_sym_RPAREN] = ACTIONS(1097), [sym_comment] = ACTIONS(115), }, [351] = { - [anon_sym_LPAREN] = ACTIONS(1095), + [anon_sym_RPAREN] = ACTIONS(1099), + [anon_sym_PIPE] = ACTIONS(1101), + [anon_sym_PIPE_AMP] = ACTIONS(1099), + [anon_sym_AMP_AMP] = ACTIONS(1099), + [anon_sym_PIPE_PIPE] = ACTIONS(1099), + [anon_sym_BQUOTE] = ACTIONS(1099), [sym_comment] = ACTIONS(115), }, [352] = { + [anon_sym_RPAREN] = ACTIONS(1103), + [anon_sym_PIPE] = ACTIONS(1105), + [anon_sym_PIPE_AMP] = ACTIONS(1103), + [anon_sym_AMP_AMP] = ACTIONS(1103), + [anon_sym_PIPE_PIPE] = ACTIONS(1103), + [anon_sym_BQUOTE] = ACTIONS(1103), + [sym_comment] = ACTIONS(115), + }, + [353] = { + [sym_string] = STATE(491), + [sym_array] = STATE(491), + [sym_simple_expansion] = STATE(491), + [sym_expansion] = STATE(491), + [sym_command_substitution] = STATE(491), + [sym_process_substitution] = STATE(491), + [anon_sym_LPAREN] = ACTIONS(817), + [anon_sym_LT] = ACTIONS(819), + [anon_sym_GT] = ACTIONS(819), + [anon_sym_DQUOTE] = ACTIONS(821), + [sym_raw_string] = ACTIONS(1107), + [anon_sym_DOLLAR] = ACTIONS(825), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(827), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(829), + [anon_sym_BQUOTE] = ACTIONS(831), + [sym_word] = ACTIONS(1109), + [sym_comment] = ACTIONS(115), + }, + [354] = { + [aux_sym_array_repeat1] = STATE(493), + [anon_sym_RPAREN] = ACTIONS(1111), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [355] = { + [sym_string] = STATE(367), + [sym_array] = STATE(367), + [sym_simple_expansion] = STATE(367), + [sym_expansion] = STATE(367), + [sym_command_substitution] = STATE(367), + [sym_process_substitution] = STATE(367), + [anon_sym_LPAREN] = ACTIONS(1113), + [anon_sym_LT] = ACTIONS(819), + [anon_sym_GT] = ACTIONS(819), + [anon_sym_DQUOTE] = ACTIONS(821), + [sym_raw_string] = ACTIONS(823), + [anon_sym_DOLLAR] = ACTIONS(825), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(827), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(829), + [anon_sym_BQUOTE] = ACTIONS(831), + [sym_word] = ACTIONS(833), + [sym_comment] = ACTIONS(115), + }, + [356] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(484), - [anon_sym_DQUOTE] = ACTIONS(1097), + [aux_sym_string_repeat1] = STATE(496), + [anon_sym_DQUOTE] = ACTIONS(1115), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [353] = { - [sym_file_descriptor] = ACTIONS(399), - [anon_sym_RPAREN] = ACTIONS(399), - [anon_sym_PIPE] = ACTIONS(401), - [anon_sym_PIPE_AMP] = ACTIONS(399), - [anon_sym_AMP_AMP] = ACTIONS(399), - [anon_sym_PIPE_PIPE] = ACTIONS(399), - [anon_sym_LT] = ACTIONS(401), - [anon_sym_GT] = ACTIONS(401), - [anon_sym_GT_GT] = ACTIONS(399), - [anon_sym_AMP_GT] = ACTIONS(401), - [anon_sym_AMP_GT_GT] = ACTIONS(399), - [anon_sym_LT_AMP] = ACTIONS(399), - [anon_sym_GT_AMP] = ACTIONS(399), - [anon_sym_LT_LT] = ACTIONS(401), - [anon_sym_LT_LT_DASH] = ACTIONS(399), - [anon_sym_BQUOTE] = ACTIONS(399), + [357] = { + [sym_file_descriptor] = ACTIONS(325), + [anon_sym_RPAREN] = ACTIONS(325), + [anon_sym_LPAREN] = ACTIONS(325), + [anon_sym_PIPE] = ACTIONS(327), + [anon_sym_PIPE_AMP] = ACTIONS(325), + [anon_sym_AMP_AMP] = ACTIONS(325), + [anon_sym_PIPE_PIPE] = ACTIONS(327), + [anon_sym_LT] = ACTIONS(327), + [anon_sym_GT] = ACTIONS(327), + [anon_sym_GT_GT] = ACTIONS(325), + [anon_sym_AMP_GT] = ACTIONS(327), + [anon_sym_AMP_GT_GT] = ACTIONS(325), + [anon_sym_LT_AMP] = ACTIONS(325), + [anon_sym_GT_AMP] = ACTIONS(325), + [anon_sym_LT_LT] = ACTIONS(327), + [anon_sym_LT_LT_DASH] = ACTIONS(325), + [anon_sym_DQUOTE] = ACTIONS(325), + [sym_raw_string] = ACTIONS(327), + [anon_sym_DOLLAR] = ACTIONS(327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(325), + [anon_sym_BQUOTE] = ACTIONS(325), + [sym_word] = ACTIONS(329), [sym_comment] = ACTIONS(115), }, - [354] = { - [sym_special_variable_name] = STATE(487), - [anon_sym_DOLLAR] = ACTIONS(1099), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(1101), - [anon_sym_STAR] = ACTIONS(1099), - [anon_sym_AT] = ACTIONS(1099), - [anon_sym_POUND] = ACTIONS(1103), - [anon_sym_QMARK] = ACTIONS(1099), - [anon_sym_DASH] = ACTIONS(1099), - [anon_sym_BANG] = ACTIONS(1099), - [anon_sym_0] = ACTIONS(1103), - [anon_sym__] = ACTIONS(1103), + [358] = { + [sym_special_variable_name] = STATE(499), + [anon_sym_DOLLAR] = ACTIONS(1117), + [anon_sym_POUND] = ACTIONS(1119), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(1121), + [anon_sym_STAR] = ACTIONS(1117), + [anon_sym_AT] = ACTIONS(1117), + [anon_sym_QMARK] = ACTIONS(1117), + [anon_sym_DASH] = ACTIONS(1117), + [anon_sym_BANG] = ACTIONS(1117), + [anon_sym_0] = ACTIONS(1119), + [anon_sym__] = ACTIONS(1119), }, - [355] = { - [sym_special_variable_name] = STATE(489), + [359] = { + [sym_special_variable_name] = STATE(502), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(1105), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(1123), + [sym_leading_word] = ACTIONS(1125), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), [anon_sym_0] = ACTIONS(307), [anon_sym__] = ACTIONS(307), }, - [356] = { - [sym_for_statement] = STATE(490), - [sym_while_statement] = STATE(490), - [sym_if_statement] = STATE(490), - [sym_case_statement] = STATE(490), - [sym_function_definition] = STATE(490), - [sym_subshell] = STATE(490), - [sym_pipeline] = STATE(490), - [sym_list] = STATE(490), - [sym_bracket_command] = STATE(490), - [sym_command] = STATE(490), - [sym_environment_variable_assignment] = STATE(491), + [360] = { + [sym_for_statement] = STATE(503), + [sym_while_statement] = STATE(503), + [sym_if_statement] = STATE(503), + [sym_case_statement] = STATE(503), + [sym_function_definition] = STATE(503), + [sym_subshell] = STATE(503), + [sym_pipeline] = STATE(503), + [sym_list] = STATE(503), + [sym_bracket_command] = STATE(503), + [sym_command] = STATE(503), + [sym_environment_variable_assignment] = STATE(504), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -18506,18 +18845,18 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [357] = { - [sym_for_statement] = STATE(492), - [sym_while_statement] = STATE(492), - [sym_if_statement] = STATE(492), - [sym_case_statement] = STATE(492), - [sym_function_definition] = STATE(492), - [sym_subshell] = STATE(492), - [sym_pipeline] = STATE(492), - [sym_list] = STATE(492), - [sym_bracket_command] = STATE(492), - [sym_command] = STATE(492), - [sym_environment_variable_assignment] = STATE(493), + [361] = { + [sym_for_statement] = STATE(505), + [sym_while_statement] = STATE(505), + [sym_if_statement] = STATE(505), + [sym_case_statement] = STATE(505), + [sym_function_definition] = STATE(505), + [sym_subshell] = STATE(505), + [sym_pipeline] = STATE(505), + [sym_list] = STATE(505), + [sym_bracket_command] = STATE(505), + [sym_command] = STATE(505), + [sym_environment_variable_assignment] = STATE(506), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -18546,539 +18885,745 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [358] = { - [sym_file_descriptor] = ACTIONS(683), - [anon_sym_RPAREN] = ACTIONS(683), - [anon_sym_PIPE] = ACTIONS(1107), - [anon_sym_PIPE_AMP] = ACTIONS(683), - [anon_sym_AMP_AMP] = ACTIONS(683), - [anon_sym_PIPE_PIPE] = ACTIONS(683), - [anon_sym_LT] = ACTIONS(1107), - [anon_sym_GT] = ACTIONS(1107), - [anon_sym_GT_GT] = ACTIONS(683), - [anon_sym_AMP_GT] = ACTIONS(1107), - [anon_sym_AMP_GT_GT] = ACTIONS(683), - [anon_sym_LT_AMP] = ACTIONS(683), - [anon_sym_GT_AMP] = ACTIONS(683), - [anon_sym_LT_LT] = ACTIONS(1107), - [anon_sym_LT_LT_DASH] = ACTIONS(683), - [anon_sym_BQUOTE] = ACTIONS(683), + [362] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(508), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1127), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1127), + [anon_sym_PIPE_PIPE] = ACTIONS(1129), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(1133), [sym_comment] = ACTIONS(115), }, - [359] = { - [sym_simple_expansion] = STATE(311), - [sym_expansion] = STATE(311), - [aux_sym_heredoc_repeat1] = STATE(495), - [sym__heredoc_middle] = ACTIONS(687), - [sym__heredoc_end] = ACTIONS(1109), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [363] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1135), + [anon_sym_PIPE] = ACTIONS(1137), + [anon_sym_PIPE_AMP] = ACTIONS(1135), + [anon_sym_AMP_AMP] = ACTIONS(1135), + [anon_sym_PIPE_PIPE] = ACTIONS(1135), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1135), [sym_comment] = ACTIONS(115), }, - [360] = { - [sym_file_descriptor] = ACTIONS(695), - [anon_sym_RPAREN] = ACTIONS(695), - [anon_sym_PIPE] = ACTIONS(1111), - [anon_sym_PIPE_AMP] = ACTIONS(695), - [anon_sym_AMP_AMP] = ACTIONS(695), - [anon_sym_PIPE_PIPE] = ACTIONS(695), - [anon_sym_LT] = ACTIONS(1111), - [anon_sym_GT] = ACTIONS(1111), - [anon_sym_GT_GT] = ACTIONS(695), - [anon_sym_AMP_GT] = ACTIONS(1111), - [anon_sym_AMP_GT_GT] = ACTIONS(695), - [anon_sym_LT_AMP] = ACTIONS(695), - [anon_sym_GT_AMP] = ACTIONS(695), - [anon_sym_LT_LT] = ACTIONS(1111), - [anon_sym_LT_LT_DASH] = ACTIONS(695), - [anon_sym_BQUOTE] = ACTIONS(695), + [364] = { + [aux_sym_array_repeat1] = STATE(510), + [anon_sym_RPAREN] = ACTIONS(1139), + [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, - [361] = { + [365] = { + [anon_sym_LPAREN] = ACTIONS(1141), + [sym_comment] = ACTIONS(115), + }, + [366] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(513), + [anon_sym_DQUOTE] = ACTIONS(1143), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [367] = { + [sym_file_descriptor] = ACTIONS(403), + [anon_sym_RPAREN] = ACTIONS(403), + [anon_sym_PIPE] = ACTIONS(405), + [anon_sym_PIPE_AMP] = ACTIONS(403), + [anon_sym_AMP_AMP] = ACTIONS(403), + [anon_sym_PIPE_PIPE] = ACTIONS(403), + [anon_sym_LT] = ACTIONS(405), + [anon_sym_GT] = ACTIONS(405), + [anon_sym_GT_GT] = ACTIONS(403), + [anon_sym_AMP_GT] = ACTIONS(405), + [anon_sym_AMP_GT_GT] = ACTIONS(403), + [anon_sym_LT_AMP] = ACTIONS(403), + [anon_sym_GT_AMP] = ACTIONS(403), + [anon_sym_LT_LT] = ACTIONS(405), + [anon_sym_LT_LT_DASH] = ACTIONS(403), + [anon_sym_BQUOTE] = ACTIONS(403), + [sym_comment] = ACTIONS(115), + }, + [368] = { + [sym_special_variable_name] = STATE(516), + [anon_sym_DOLLAR] = ACTIONS(1145), + [anon_sym_POUND] = ACTIONS(1147), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(1149), + [anon_sym_STAR] = ACTIONS(1145), + [anon_sym_AT] = ACTIONS(1145), + [anon_sym_QMARK] = ACTIONS(1145), + [anon_sym_DASH] = ACTIONS(1145), + [anon_sym_BANG] = ACTIONS(1145), + [anon_sym_0] = ACTIONS(1147), + [anon_sym__] = ACTIONS(1147), + }, + [369] = { + [sym_special_variable_name] = STATE(519), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(1151), + [sym_leading_word] = ACTIONS(1153), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [370] = { + [sym_for_statement] = STATE(520), + [sym_while_statement] = STATE(520), + [sym_if_statement] = STATE(520), + [sym_case_statement] = STATE(520), + [sym_function_definition] = STATE(520), + [sym_subshell] = STATE(520), + [sym_pipeline] = STATE(520), + [sym_list] = STATE(520), + [sym_bracket_command] = STATE(520), + [sym_command] = STATE(520), + [sym_environment_variable_assignment] = STATE(521), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [371] = { + [sym_for_statement] = STATE(522), + [sym_while_statement] = STATE(522), + [sym_if_statement] = STATE(522), + [sym_case_statement] = STATE(522), + [sym_function_definition] = STATE(522), + [sym_subshell] = STATE(522), + [sym_pipeline] = STATE(522), + [sym_list] = STATE(522), + [sym_bracket_command] = STATE(522), + [sym_command] = STATE(522), + [sym_environment_variable_assignment] = STATE(523), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [372] = { [sym_file_descriptor] = ACTIONS(699), [anon_sym_RPAREN] = ACTIONS(699), - [anon_sym_PIPE] = ACTIONS(1113), + [anon_sym_PIPE] = ACTIONS(1155), [anon_sym_PIPE_AMP] = ACTIONS(699), [anon_sym_AMP_AMP] = ACTIONS(699), [anon_sym_PIPE_PIPE] = ACTIONS(699), - [anon_sym_LT] = ACTIONS(1113), - [anon_sym_GT] = ACTIONS(1113), + [anon_sym_LT] = ACTIONS(1155), + [anon_sym_GT] = ACTIONS(1155), [anon_sym_GT_GT] = ACTIONS(699), - [anon_sym_AMP_GT] = ACTIONS(1113), + [anon_sym_AMP_GT] = ACTIONS(1155), [anon_sym_AMP_GT_GT] = ACTIONS(699), [anon_sym_LT_AMP] = ACTIONS(699), [anon_sym_GT_AMP] = ACTIONS(699), - [anon_sym_LT_LT] = ACTIONS(1113), + [anon_sym_LT_LT] = ACTIONS(1155), [anon_sym_LT_LT_DASH] = ACTIONS(699), [anon_sym_BQUOTE] = ACTIONS(699), [sym_comment] = ACTIONS(115), }, - [362] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - }, - [363] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - }, - [364] = { - [sym_compound_statement] = STATE(497), - [anon_sym_LBRACE] = ACTIONS(1115), - [sym_comment] = ACTIONS(115), - }, - [365] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(498), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1117), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1119), - [anon_sym_PIPE_AMP] = ACTIONS(1117), - [anon_sym_AMP_AMP] = ACTIONS(1117), - [anon_sym_PIPE_PIPE] = ACTIONS(1119), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(1087), - [sym_comment] = ACTIONS(115), - }, - [366] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1121), - [anon_sym_PIPE] = ACTIONS(1123), - [anon_sym_PIPE_AMP] = ACTIONS(1121), - [anon_sym_AMP_AMP] = ACTIONS(1121), - [anon_sym_PIPE_PIPE] = ACTIONS(1121), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1121), - [sym_comment] = ACTIONS(115), - }, - [367] = { - [sym_file_descriptor] = ACTIONS(863), - [anon_sym_RPAREN] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(1125), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(1125), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_COLON] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(1125), - [anon_sym_GT] = ACTIONS(1125), - [anon_sym_GT_GT] = ACTIONS(1125), - [anon_sym_AMP_GT] = ACTIONS(1125), - [anon_sym_AMP_GT_GT] = ACTIONS(1125), - [anon_sym_LT_AMP] = ACTIONS(1125), - [anon_sym_GT_AMP] = ACTIONS(1125), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym_raw_string] = ACTIONS(1125), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), - [anon_sym_BQUOTE] = ACTIONS(863), - [sym_leading_word] = ACTIONS(865), - [sym_comment] = ACTIONS(115), - }, - [368] = { - [anon_sym_RPAREN] = ACTIONS(1127), - [anon_sym_PIPE] = ACTIONS(1129), - [anon_sym_PIPE_AMP] = ACTIONS(1127), - [anon_sym_AMP_AMP] = ACTIONS(1127), - [anon_sym_PIPE_PIPE] = ACTIONS(1127), - [anon_sym_BQUOTE] = ACTIONS(1127), - [sym_comment] = ACTIONS(115), - }, - [369] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1127), - [anon_sym_PIPE] = ACTIONS(1129), - [anon_sym_PIPE_AMP] = ACTIONS(1127), - [anon_sym_AMP_AMP] = ACTIONS(1129), - [anon_sym_PIPE_PIPE] = ACTIONS(1127), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [370] = { - [anon_sym_RPAREN] = ACTIONS(1131), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(1131), - [anon_sym_PIPE_PIPE] = ACTIONS(1131), - [sym_comment] = ACTIONS(115), - }, - [371] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1131), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(1133), - [anon_sym_PIPE_PIPE] = ACTIONS(1131), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [372] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(499), - [aux_sym_command_repeat2] = STATE(479), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1081), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1083), - [anon_sym_PIPE_AMP] = ACTIONS(1081), - [anon_sym_AMP_AMP] = ACTIONS(1081), - [anon_sym_PIPE_PIPE] = ACTIONS(1083), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(795), - [sym_comment] = ACTIONS(115), - }, [373] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(500), - [aux_sym_command_repeat2] = STATE(501), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1135), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1137), - [anon_sym_PIPE_AMP] = ACTIONS(1135), - [anon_sym_AMP_AMP] = ACTIONS(1135), - [anon_sym_PIPE_PIPE] = ACTIONS(1137), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(795), + [sym_simple_expansion] = STATE(321), + [sym_expansion] = STATE(321), + [aux_sym_heredoc_repeat1] = STATE(525), + [sym__heredoc_middle] = ACTIONS(703), + [sym__heredoc_end] = ACTIONS(1157), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), [sym_comment] = ACTIONS(115), }, [374] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1139), - [anon_sym_PIPE] = ACTIONS(1141), - [anon_sym_PIPE_AMP] = ACTIONS(1139), - [anon_sym_AMP_AMP] = ACTIONS(1139), - [anon_sym_PIPE_PIPE] = ACTIONS(1139), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1139), + [sym_file_descriptor] = ACTIONS(711), + [anon_sym_RPAREN] = ACTIONS(711), + [anon_sym_PIPE] = ACTIONS(1159), + [anon_sym_PIPE_AMP] = ACTIONS(711), + [anon_sym_AMP_AMP] = ACTIONS(711), + [anon_sym_PIPE_PIPE] = ACTIONS(711), + [anon_sym_LT] = ACTIONS(1159), + [anon_sym_GT] = ACTIONS(1159), + [anon_sym_GT_GT] = ACTIONS(711), + [anon_sym_AMP_GT] = ACTIONS(1159), + [anon_sym_AMP_GT_GT] = ACTIONS(711), + [anon_sym_LT_AMP] = ACTIONS(711), + [anon_sym_GT_AMP] = ACTIONS(711), + [anon_sym_LT_LT] = ACTIONS(1159), + [anon_sym_LT_LT_DASH] = ACTIONS(711), + [anon_sym_BQUOTE] = ACTIONS(711), [sym_comment] = ACTIONS(115), }, [375] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(479), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1083), - [anon_sym_PIPE_AMP] = ACTIONS(1081), - [anon_sym_AMP_AMP] = ACTIONS(1081), - [anon_sym_PIPE_PIPE] = ACTIONS(1083), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(1081), - [sym_word] = ACTIONS(1087), + [sym_file_descriptor] = ACTIONS(715), + [anon_sym_RPAREN] = ACTIONS(715), + [anon_sym_PIPE] = ACTIONS(1161), + [anon_sym_PIPE_AMP] = ACTIONS(715), + [anon_sym_AMP_AMP] = ACTIONS(715), + [anon_sym_PIPE_PIPE] = ACTIONS(715), + [anon_sym_LT] = ACTIONS(1161), + [anon_sym_GT] = ACTIONS(1161), + [anon_sym_GT_GT] = ACTIONS(715), + [anon_sym_AMP_GT] = ACTIONS(1161), + [anon_sym_AMP_GT_GT] = ACTIONS(715), + [anon_sym_LT_AMP] = ACTIONS(715), + [anon_sym_GT_AMP] = ACTIONS(715), + [anon_sym_LT_LT] = ACTIONS(1161), + [anon_sym_LT_LT_DASH] = ACTIONS(715), + [anon_sym_BQUOTE] = ACTIONS(715), [sym_comment] = ACTIONS(115), }, [376] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(498), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1119), - [anon_sym_PIPE_AMP] = ACTIONS(1117), - [anon_sym_AMP_AMP] = ACTIONS(1117), - [anon_sym_PIPE_PIPE] = ACTIONS(1119), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(1117), - [sym_word] = ACTIONS(1087), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_comment] = ACTIONS(75), }, [377] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(1129), - [anon_sym_PIPE_AMP] = ACTIONS(1127), - [anon_sym_AMP_AMP] = ACTIONS(1129), - [anon_sym_PIPE_PIPE] = ACTIONS(1127), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(1127), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_comment] = ACTIONS(75), }, [378] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(1131), - [anon_sym_PIPE_PIPE] = ACTIONS(1131), - [anon_sym_BQUOTE] = ACTIONS(1131), + [sym_compound_statement] = STATE(527), + [anon_sym_LBRACE] = ACTIONS(1163), [sym_comment] = ACTIONS(115), }, [379] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(528), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1165), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1167), + [anon_sym_PIPE_AMP] = ACTIONS(1165), + [anon_sym_AMP_AMP] = ACTIONS(1165), + [anon_sym_PIPE_PIPE] = ACTIONS(1167), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(1133), + [sym_comment] = ACTIONS(115), + }, + [380] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1169), + [anon_sym_PIPE] = ACTIONS(1171), + [anon_sym_PIPE_AMP] = ACTIONS(1169), + [anon_sym_AMP_AMP] = ACTIONS(1169), + [anon_sym_PIPE_PIPE] = ACTIONS(1169), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1169), + [sym_comment] = ACTIONS(115), + }, + [381] = { + [sym_file_descriptor] = ACTIONS(883), + [anon_sym_RPAREN] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(1173), + [anon_sym_PIPE_AMP] = ACTIONS(883), + [anon_sym_AMP_AMP] = ACTIONS(1173), + [anon_sym_PIPE_PIPE] = ACTIONS(883), + [anon_sym_COLON] = ACTIONS(883), + [anon_sym_LT] = ACTIONS(1173), + [anon_sym_GT] = ACTIONS(1173), + [anon_sym_GT_GT] = ACTIONS(1173), + [anon_sym_AMP_GT] = ACTIONS(1173), + [anon_sym_AMP_GT_GT] = ACTIONS(1173), + [anon_sym_LT_AMP] = ACTIONS(1173), + [anon_sym_GT_AMP] = ACTIONS(1173), + [anon_sym_DQUOTE] = ACTIONS(883), + [sym_raw_string] = ACTIONS(1173), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(883), + [anon_sym_BQUOTE] = ACTIONS(883), + [sym_leading_word] = ACTIONS(885), + [sym_comment] = ACTIONS(115), + }, + [382] = { + [anon_sym_RPAREN] = ACTIONS(1175), + [anon_sym_PIPE] = ACTIONS(1177), + [anon_sym_PIPE_AMP] = ACTIONS(1175), + [anon_sym_AMP_AMP] = ACTIONS(1175), + [anon_sym_PIPE_PIPE] = ACTIONS(1175), + [anon_sym_BQUOTE] = ACTIONS(1175), + [sym_comment] = ACTIONS(115), + }, + [383] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(1133), - [anon_sym_PIPE_PIPE] = ACTIONS(1131), + [anon_sym_RPAREN] = ACTIONS(1175), + [anon_sym_PIPE] = ACTIONS(1177), + [anon_sym_PIPE_AMP] = ACTIONS(1175), + [anon_sym_AMP_AMP] = ACTIONS(1177), + [anon_sym_PIPE_PIPE] = ACTIONS(1175), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [380] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(502), - [aux_sym_command_repeat2] = STATE(479), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1083), - [anon_sym_PIPE_AMP] = ACTIONS(1081), - [anon_sym_AMP_AMP] = ACTIONS(1081), - [anon_sym_PIPE_PIPE] = ACTIONS(1083), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(1081), - [sym_word] = ACTIONS(795), + [384] = { + [anon_sym_RPAREN] = ACTIONS(1179), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(1179), + [anon_sym_PIPE_PIPE] = ACTIONS(1179), [sym_comment] = ACTIONS(115), }, - [381] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(343), - [sym_array] = STATE(343), - [sym_simple_expansion] = STATE(343), - [sym_expansion] = STATE(343), - [sym_command_substitution] = STATE(343), - [sym_process_substitution] = STATE(343), - [aux_sym_bracket_command_repeat1] = STATE(503), - [aux_sym_command_repeat2] = STATE(501), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1137), - [anon_sym_PIPE_AMP] = ACTIONS(1135), - [anon_sym_AMP_AMP] = ACTIONS(1135), - [anon_sym_PIPE_PIPE] = ACTIONS(1137), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(1135), - [sym_word] = ACTIONS(795), + [385] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1179), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(1181), + [anon_sym_PIPE_PIPE] = ACTIONS(1179), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [382] = { + [386] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(529), + [aux_sym_command_repeat2] = STATE(508), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1127), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1127), + [anon_sym_PIPE_PIPE] = ACTIONS(1129), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [387] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(530), + [aux_sym_command_repeat2] = STATE(531), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1183), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1185), + [anon_sym_PIPE_AMP] = ACTIONS(1183), + [anon_sym_AMP_AMP] = ACTIONS(1183), + [anon_sym_PIPE_PIPE] = ACTIONS(1185), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [388] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1189), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_comment] = ACTIONS(115), + }, + [389] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(508), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1127), + [anon_sym_PIPE_PIPE] = ACTIONS(1129), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(1127), + [sym_word] = ACTIONS(1133), + [sym_comment] = ACTIONS(115), + }, + [390] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(528), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1167), + [anon_sym_PIPE_AMP] = ACTIONS(1165), + [anon_sym_AMP_AMP] = ACTIONS(1165), + [anon_sym_PIPE_PIPE] = ACTIONS(1167), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(1165), + [sym_word] = ACTIONS(1133), + [sym_comment] = ACTIONS(115), + }, + [391] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(1177), + [anon_sym_PIPE_AMP] = ACTIONS(1175), + [anon_sym_AMP_AMP] = ACTIONS(1177), + [anon_sym_PIPE_PIPE] = ACTIONS(1175), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1175), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [392] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(1179), + [anon_sym_PIPE_PIPE] = ACTIONS(1179), + [anon_sym_BQUOTE] = ACTIONS(1179), + [sym_comment] = ACTIONS(115), + }, + [393] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(1181), + [anon_sym_PIPE_PIPE] = ACTIONS(1179), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [394] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(532), + [aux_sym_command_repeat2] = STATE(508), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1127), + [anon_sym_PIPE_PIPE] = ACTIONS(1129), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(1127), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [395] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(357), + [sym_array] = STATE(357), + [sym_simple_expansion] = STATE(357), + [sym_expansion] = STATE(357), + [sym_command_substitution] = STATE(357), + [sym_process_substitution] = STATE(357), + [aux_sym_bracket_command_repeat1] = STATE(533), + [aux_sym_command_repeat2] = STATE(531), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1185), + [anon_sym_PIPE_AMP] = ACTIONS(1183), + [anon_sym_AMP_AMP] = ACTIONS(1183), + [anon_sym_PIPE_PIPE] = ACTIONS(1185), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(805), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(1183), + [sym_word] = ACTIONS(815), + [sym_comment] = ACTIONS(115), + }, + [396] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -19094,7 +19639,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(505), + [aux_sym_program_repeat1] = STATE(535), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), @@ -19103,7 +19648,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1143), + [anon_sym_RBRACE] = ACTIONS(1191), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -19121,26 +19666,26 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [383] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1145), - [anon_sym_PIPE] = ACTIONS(1145), - [anon_sym_PIPE_AMP] = ACTIONS(1145), - [anon_sym_AMP_AMP] = ACTIONS(1145), - [anon_sym_PIPE_PIPE] = ACTIONS(1145), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1145), - [anon_sym_LF] = ACTIONS(1145), - [anon_sym_AMP] = ACTIONS(1145), + [397] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1193), + [anon_sym_PIPE] = ACTIONS(1193), + [anon_sym_PIPE_AMP] = ACTIONS(1193), + [anon_sym_AMP_AMP] = ACTIONS(1193), + [anon_sym_PIPE_PIPE] = ACTIONS(1193), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1193), + [anon_sym_LF] = ACTIONS(1193), + [anon_sym_AMP] = ACTIONS(1193), }, - [384] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), + [398] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(1147), - [anon_sym_PIPE] = ACTIONS(1147), - [anon_sym_PIPE_AMP] = ACTIONS(1147), - [anon_sym_AMP_AMP] = ACTIONS(1147), - [anon_sym_PIPE_PIPE] = ACTIONS(1147), + [anon_sym_SEMI_SEMI] = ACTIONS(1195), + [anon_sym_PIPE] = ACTIONS(1195), + [anon_sym_PIPE_AMP] = ACTIONS(1195), + [anon_sym_AMP_AMP] = ACTIONS(1195), + [anon_sym_PIPE_PIPE] = ACTIONS(1195), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -19150,53 +19695,53 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1147), - [anon_sym_LF] = ACTIONS(1147), - [anon_sym_AMP] = ACTIONS(1147), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1195), + [anon_sym_LF] = ACTIONS(1195), + [anon_sym_AMP] = ACTIONS(1195), }, - [385] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_COLON] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [399] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_COLON] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), }, - [386] = { - [anon_sym_RPAREN] = ACTIONS(1149), - [sym_word] = ACTIONS(569), + [400] = { + [anon_sym_RPAREN] = ACTIONS(1197), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, - [387] = { - [sym_for_statement] = STATE(507), - [sym_while_statement] = STATE(507), - [sym_if_statement] = STATE(507), - [sym_case_statement] = STATE(507), - [sym_function_definition] = STATE(507), - [sym_subshell] = STATE(507), - [sym_pipeline] = STATE(507), - [sym_list] = STATE(507), - [sym_bracket_command] = STATE(507), - [sym_command] = STATE(507), - [sym_environment_variable_assignment] = STATE(508), + [401] = { + [sym_for_statement] = STATE(537), + [sym_while_statement] = STATE(537), + [sym_if_statement] = STATE(537), + [sym_case_statement] = STATE(537), + [sym_function_definition] = STATE(537), + [sym_subshell] = STATE(537), + [sym_pipeline] = STATE(537), + [sym_list] = STATE(537), + [sym_bracket_command] = STATE(537), + [sym_command] = STATE(537), + [sym_environment_variable_assignment] = STATE(538), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -19225,212 +19770,231 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [388] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_COLON] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_leading_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [402] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_COLON] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_leading_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, - [389] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(1151), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [403] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(1199), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [390] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), + [404] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, - [391] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_COLON] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_leading_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), + [405] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_COLON] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_leading_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), }, - [392] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_COLON] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_leading_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), + [406] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_COLON] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_leading_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), }, - [393] = { - [anon_sym_RBRACE] = ACTIONS(1153), - [anon_sym_COLON] = ACTIONS(1155), - [anon_sym_EQ] = ACTIONS(1157), - [anon_sym_COLON_QMARK] = ACTIONS(1157), - [anon_sym_COLON_DASH] = ACTIONS(1157), + [407] = { + [sym_special_variable_name] = STATE(541), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(1201), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [408] = { + [anon_sym_RBRACE] = ACTIONS(1203), + [anon_sym_COLON] = ACTIONS(1205), + [anon_sym_EQ] = ACTIONS(1207), + [anon_sym_COLON_QMARK] = ACTIONS(1207), + [anon_sym_COLON_DASH] = ACTIONS(1207), [sym_comment] = ACTIONS(115), }, - [394] = { - [anon_sym_RBRACE] = ACTIONS(1159), - [anon_sym_COLON] = ACTIONS(1161), - [anon_sym_EQ] = ACTIONS(1163), - [anon_sym_COLON_QMARK] = ACTIONS(1163), - [anon_sym_COLON_DASH] = ACTIONS(1163), + [409] = { + [anon_sym_RBRACE] = ACTIONS(1209), + [anon_sym_COLON] = ACTIONS(1211), + [anon_sym_EQ] = ACTIONS(1213), + [anon_sym_COLON_QMARK] = ACTIONS(1213), + [anon_sym_COLON_DASH] = ACTIONS(1213), [sym_comment] = ACTIONS(115), }, - [395] = { - [anon_sym_RPAREN] = ACTIONS(1165), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [410] = { + [anon_sym_RPAREN] = ACTIONS(1215), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [396] = { + [411] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1165), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(1215), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [397] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(1165), + [412] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(1215), [sym_comment] = ACTIONS(115), }, - [398] = { + [413] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(1165), + [anon_sym_BQUOTE] = ACTIONS(1215), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [399] = { + [414] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(295), - [sym_array] = STATE(295), - [sym_simple_expansion] = STATE(295), - [sym_expansion] = STATE(295), - [sym_command_substitution] = STATE(295), - [sym_process_substitution] = STATE(295), - [aux_sym_command_repeat2] = STATE(515), + [sym_string] = STATE(304), + [sym_array] = STATE(304), + [sym_simple_expansion] = STATE(304), + [sym_expansion] = STATE(304), + [sym_command_substitution] = STATE(304), + [sym_process_substitution] = STATE(304), + [aux_sym_command_repeat2] = STATE(547), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(1167), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(1167), - [anon_sym_PIPE_AMP] = ACTIONS(1167), - [anon_sym_AMP_AMP] = ACTIONS(1167), - [anon_sym_PIPE_PIPE] = ACTIONS(1167), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(1217), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(1217), + [anon_sym_PIPE_AMP] = ACTIONS(1217), + [anon_sym_AMP_AMP] = ACTIONS(1217), + [anon_sym_PIPE_PIPE] = ACTIONS(1217), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), [anon_sym_GT_GT] = ACTIONS(169), [anon_sym_AMP_GT] = ACTIONS(169), [anon_sym_AMP_GT_GT] = ACTIONS(169), @@ -19438,37 +20002,37 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(665), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(665), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1167), - [anon_sym_LF] = ACTIONS(1167), - [anon_sym_AMP] = ACTIONS(1167), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(679), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(679), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1217), + [anon_sym_LF] = ACTIONS(1217), + [anon_sym_AMP] = ACTIONS(1217), }, - [400] = { + [415] = { [sym_file_redirect] = STATE(55), [sym_heredoc_redirect] = STATE(55), - [sym_string] = STATE(295), - [sym_array] = STATE(295), - [sym_simple_expansion] = STATE(295), - [sym_expansion] = STATE(295), - [sym_command_substitution] = STATE(295), - [sym_process_substitution] = STATE(295), - [aux_sym_command_repeat2] = STATE(516), + [sym_string] = STATE(304), + [sym_array] = STATE(304), + [sym_simple_expansion] = STATE(304), + [sym_expansion] = STATE(304), + [sym_command_substitution] = STATE(304), + [sym_process_substitution] = STATE(304), + [aux_sym_command_repeat2] = STATE(548), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(1169), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_PIPE] = ACTIONS(1169), - [anon_sym_PIPE_AMP] = ACTIONS(1169), - [anon_sym_AMP_AMP] = ACTIONS(1169), - [anon_sym_PIPE_PIPE] = ACTIONS(1169), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(1219), + [anon_sym_LPAREN] = ACTIONS(353), + [anon_sym_PIPE] = ACTIONS(1219), + [anon_sym_PIPE_AMP] = ACTIONS(1219), + [anon_sym_AMP_AMP] = ACTIONS(1219), + [anon_sym_PIPE_PIPE] = ACTIONS(1219), + [anon_sym_LT] = ACTIONS(355), + [anon_sym_GT] = ACTIONS(355), [anon_sym_GT_GT] = ACTIONS(169), [anon_sym_AMP_GT] = ACTIONS(169), [anon_sym_AMP_GT_GT] = ACTIONS(169), @@ -19476,27 +20040,27 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [anon_sym_DQUOTE] = ACTIONS(353), - [sym_raw_string] = ACTIONS(665), - [anon_sym_DOLLAR] = ACTIONS(357), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(363), - [sym_word] = ACTIONS(665), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1169), - [anon_sym_LF] = ACTIONS(1169), - [anon_sym_AMP] = ACTIONS(1169), + [anon_sym_DQUOTE] = ACTIONS(357), + [sym_raw_string] = ACTIONS(679), + [anon_sym_DOLLAR] = ACTIONS(361), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(363), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(365), + [anon_sym_BQUOTE] = ACTIONS(367), + [sym_word] = ACTIONS(679), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1219), + [anon_sym_LF] = ACTIONS(1219), + [anon_sym_AMP] = ACTIONS(1219), }, - [401] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), + [416] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(1171), - [anon_sym_PIPE] = ACTIONS(1171), - [anon_sym_PIPE_AMP] = ACTIONS(1171), - [anon_sym_AMP_AMP] = ACTIONS(1171), - [anon_sym_PIPE_PIPE] = ACTIONS(1171), + [anon_sym_SEMI_SEMI] = ACTIONS(1221), + [anon_sym_PIPE] = ACTIONS(1221), + [anon_sym_PIPE_AMP] = ACTIONS(1221), + [anon_sym_AMP_AMP] = ACTIONS(1221), + [anon_sym_PIPE_PIPE] = ACTIONS(1221), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), [anon_sym_GT_GT] = ACTIONS(169), @@ -19506,38 +20070,38 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(169), [anon_sym_LT_LT] = ACTIONS(171), [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1171), - [anon_sym_LF] = ACTIONS(1171), - [anon_sym_AMP] = ACTIONS(1171), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1221), + [anon_sym_LF] = ACTIONS(1221), + [anon_sym_AMP] = ACTIONS(1221), }, - [402] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1173), - [anon_sym_PIPE] = ACTIONS(1173), - [anon_sym_PIPE_AMP] = ACTIONS(1173), - [anon_sym_AMP_AMP] = ACTIONS(1173), - [anon_sym_PIPE_PIPE] = ACTIONS(1173), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1173), - [anon_sym_LF] = ACTIONS(1173), - [anon_sym_AMP] = ACTIONS(1173), + [417] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1223), + [anon_sym_PIPE] = ACTIONS(1223), + [anon_sym_PIPE_AMP] = ACTIONS(1223), + [anon_sym_AMP_AMP] = ACTIONS(1223), + [anon_sym_PIPE_PIPE] = ACTIONS(1223), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1223), + [anon_sym_LF] = ACTIONS(1223), + [anon_sym_AMP] = ACTIONS(1223), }, - [403] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1175), - [anon_sym_PIPE] = ACTIONS(1175), - [anon_sym_PIPE_AMP] = ACTIONS(1175), - [anon_sym_AMP_AMP] = ACTIONS(1175), - [anon_sym_PIPE_PIPE] = ACTIONS(1175), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1175), - [anon_sym_LF] = ACTIONS(1175), - [anon_sym_AMP] = ACTIONS(1175), + [418] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1225), + [anon_sym_PIPE] = ACTIONS(1225), + [anon_sym_PIPE_AMP] = ACTIONS(1225), + [anon_sym_AMP_AMP] = ACTIONS(1225), + [anon_sym_PIPE_PIPE] = ACTIONS(1225), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1225), + [anon_sym_LF] = ACTIONS(1225), + [anon_sym_AMP] = ACTIONS(1225), }, - [404] = { - [anon_sym_then] = ACTIONS(1177), + [419] = { + [anon_sym_then] = ACTIONS(1227), [sym_comment] = ACTIONS(115), }, - [405] = { + [420] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -19558,7 +20122,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1179), + [anon_sym_fi] = ACTIONS(1229), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -19579,898 +20143,851 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [406] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1181), - [anon_sym_PIPE] = ACTIONS(1181), - [anon_sym_PIPE_AMP] = ACTIONS(1181), - [anon_sym_AMP_AMP] = ACTIONS(1181), - [anon_sym_PIPE_PIPE] = ACTIONS(1181), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1181), - [anon_sym_LF] = ACTIONS(1181), - [anon_sym_AMP] = ACTIONS(1181), - }, - [407] = { - [anon_sym_fi] = ACTIONS(1183), - [sym_comment] = ACTIONS(115), - }, - [408] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(519), - [anon_sym_fi] = ACTIONS(1183), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), - [sym_comment] = ACTIONS(115), - }, - [409] = { - [anon_sym_fi] = ACTIONS(1185), - [anon_sym_elif] = ACTIONS(1185), - [anon_sym_else] = ACTIONS(1185), - [sym_comment] = ACTIONS(115), - }, - [410] = { - [anon_sym_in] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), - }, - [411] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1189), - [anon_sym_PIPE] = ACTIONS(1189), - [anon_sym_PIPE_AMP] = ACTIONS(1189), - [anon_sym_AMP_AMP] = ACTIONS(1189), - [anon_sym_PIPE_PIPE] = ACTIONS(1189), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1189), - [anon_sym_LF] = ACTIONS(1189), - [anon_sym_AMP] = ACTIONS(1189), - }, - [412] = { - [anon_sym_RPAREN] = ACTIONS(1191), - [sym_comment] = ACTIONS(115), - }, - [413] = { - [sym_special_variable_name] = STATE(137), - [anon_sym_DOLLAR] = ACTIONS(1193), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(331), - [anon_sym_STAR] = ACTIONS(1193), - [anon_sym_AT] = ACTIONS(1193), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(1193), - [anon_sym_DASH] = ACTIONS(1193), - [anon_sym_BANG] = ACTIONS(1193), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), - }, - [414] = { - [anon_sym_esac] = ACTIONS(1195), - [anon_sym_LPAREN] = ACTIONS(1197), - [anon_sym_LT] = ACTIONS(1197), - [anon_sym_GT] = ACTIONS(1197), - [anon_sym_DQUOTE] = ACTIONS(1197), - [sym_raw_string] = ACTIONS(1195), - [anon_sym_DOLLAR] = ACTIONS(1195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1197), - [anon_sym_BQUOTE] = ACTIONS(1197), - [sym_word] = ACTIONS(1199), - [sym_comment] = ACTIONS(115), - }, - [415] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(1201), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [416] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(523), - [anon_sym_esac] = ACTIONS(1201), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [417] = { - [anon_sym_RBRACE] = ACTIONS(1203), - [sym_comment] = ACTIONS(115), - }, - [418] = { - [anon_sym_RBRACE] = ACTIONS(1205), - [sym_comment] = ACTIONS(115), - }, - [419] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1207), - [anon_sym_PIPE] = ACTIONS(1207), - [anon_sym_PIPE_AMP] = ACTIONS(1207), - [anon_sym_AMP_AMP] = ACTIONS(1207), - [anon_sym_PIPE_PIPE] = ACTIONS(1207), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1207), - [anon_sym_LF] = ACTIONS(1207), - [anon_sym_AMP] = ACTIONS(1207), - }, - [420] = { - [anon_sym_RPAREN] = ACTIONS(1209), - [anon_sym_LPAREN] = ACTIONS(1209), - [anon_sym_RBRACE] = ACTIONS(1209), - [anon_sym_RBRACK] = ACTIONS(1211), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1211), - [anon_sym_LT] = ACTIONS(1209), - [anon_sym_GT] = ACTIONS(1209), - [anon_sym_DQUOTE] = ACTIONS(1209), - [sym_raw_string] = ACTIONS(1211), - [anon_sym_DOLLAR] = ACTIONS(1211), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1209), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), - [anon_sym_BQUOTE] = ACTIONS(1209), - [sym_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(115), - }, [421] = { - [anon_sym_RBRACE] = ACTIONS(1213), - [sym_comment] = ACTIONS(115), + [anon_sym_SEMI_SEMI] = ACTIONS(1231), + [anon_sym_PIPE] = ACTIONS(1231), + [anon_sym_PIPE_AMP] = ACTIONS(1231), + [anon_sym_AMP_AMP] = ACTIONS(1231), + [anon_sym_PIPE_PIPE] = ACTIONS(1231), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1231), + [anon_sym_LF] = ACTIONS(1231), + [anon_sym_AMP] = ACTIONS(1231), }, [422] = { - [anon_sym_RBRACE] = ACTIONS(1215), + [anon_sym_fi] = ACTIONS(1233), [sym_comment] = ACTIONS(115), }, [423] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_LPAREN] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR] = ACTIONS(907), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(551), + [anon_sym_fi] = ACTIONS(1233), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), + [sym_comment] = ACTIONS(115), }, [424] = { - [anon_sym_RPAREN] = ACTIONS(1217), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_fi] = ACTIONS(1235), + [anon_sym_elif] = ACTIONS(1235), + [anon_sym_else] = ACTIONS(1235), [sym_comment] = ACTIONS(115), }, [425] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1217), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), + [anon_sym_in] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, [426] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_LPAREN] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR] = ACTIONS(737), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(1239), + [anon_sym_PIPE] = ACTIONS(1239), + [anon_sym_PIPE_AMP] = ACTIONS(1239), + [anon_sym_AMP_AMP] = ACTIONS(1239), + [anon_sym_PIPE_PIPE] = ACTIONS(1239), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1239), + [anon_sym_LF] = ACTIONS(1239), + [anon_sym_AMP] = ACTIONS(1239), }, [427] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_LPAREN] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR] = ACTIONS(925), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, - [428] = { - [sym_string] = STATE(529), - [sym_array] = STATE(529), - [sym_simple_expansion] = STATE(529), - [sym_expansion] = STATE(529), - [sym_command_substitution] = STATE(529), - [sym_process_substitution] = STATE(529), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1219), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1221), + [anon_sym_RPAREN] = ACTIONS(1241), [sym_comment] = ACTIONS(115), }, + [428] = { + [sym_special_variable_name] = STATE(138), + [anon_sym_DOLLAR] = ACTIONS(1243), + [anon_sym_POUND] = ACTIONS(307), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(335), + [anon_sym_STAR] = ACTIONS(1243), + [anon_sym_AT] = ACTIONS(1243), + [anon_sym_QMARK] = ACTIONS(1243), + [anon_sym_DASH] = ACTIONS(1243), + [anon_sym_BANG] = ACTIONS(1243), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, [429] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_LPAREN] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR] = ACTIONS(931), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), + [anon_sym_esac] = ACTIONS(1245), + [anon_sym_LPAREN] = ACTIONS(1247), + [anon_sym_LT] = ACTIONS(1247), + [anon_sym_GT] = ACTIONS(1247), + [anon_sym_DQUOTE] = ACTIONS(1247), + [sym_raw_string] = ACTIONS(1245), + [anon_sym_DOLLAR] = ACTIONS(1245), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1247), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1247), + [anon_sym_BQUOTE] = ACTIONS(1247), + [sym_word] = ACTIONS(1249), + [sym_comment] = ACTIONS(115), }, [430] = { - [sym_string] = STATE(530), - [sym_array] = STATE(530), - [sym_simple_expansion] = STATE(530), - [sym_expansion] = STATE(530), - [sym_command_substitution] = STATE(530), - [sym_process_substitution] = STATE(530), + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(1251), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1223), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1225), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, [431] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_LPAREN] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR] = ACTIONS(847), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(555), + [anon_sym_esac] = ACTIONS(1251), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), }, [432] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), + [anon_sym_in] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), }, [433] = { - [anon_sym_RPAREN] = ACTIONS(1227), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [434] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1227), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [435] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [436] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, - [437] = { - [sym_string] = STATE(532), - [sym_array] = STATE(532), - [sym_simple_expansion] = STATE(532), - [sym_expansion] = STATE(532), - [sym_command_substitution] = STATE(532), - [sym_process_substitution] = STATE(532), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1229), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1231), - [sym_comment] = ACTIONS(115), - }, - [438] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [439] = { - [sym_string] = STATE(533), - [sym_array] = STATE(533), - [sym_simple_expansion] = STATE(533), - [sym_expansion] = STATE(533), - [sym_command_substitution] = STATE(533), - [sym_process_substitution] = STATE(533), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1233), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1235), - [sym_comment] = ACTIONS(115), - }, - [440] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [441] = { - [sym__heredoc_middle] = ACTIONS(583), - [sym__heredoc_end] = ACTIONS(583), - [anon_sym_DOLLAR] = ACTIONS(585), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(583), - [sym_comment] = ACTIONS(115), - }, - [442] = { - [sym__heredoc_middle] = ACTIONS(615), - [sym__heredoc_end] = ACTIONS(615), - [anon_sym_DOLLAR] = ACTIONS(617), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(615), - [sym_comment] = ACTIONS(115), - }, - [443] = { - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(619), - [anon_sym_DOLLAR] = ACTIONS(621), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(619), - [sym_comment] = ACTIONS(115), - }, - [444] = { - [anon_sym_RBRACE] = ACTIONS(1237), - [anon_sym_COLON] = ACTIONS(1239), - [anon_sym_EQ] = ACTIONS(1241), - [anon_sym_COLON_QMARK] = ACTIONS(1241), - [anon_sym_COLON_DASH] = ACTIONS(1241), - [sym_comment] = ACTIONS(115), - }, - [445] = { - [anon_sym_RBRACE] = ACTIONS(1243), - [anon_sym_COLON] = ACTIONS(1245), - [anon_sym_EQ] = ACTIONS(1247), - [anon_sym_COLON_QMARK] = ACTIONS(1247), - [anon_sym_COLON_DASH] = ACTIONS(1247), - [sym_comment] = ACTIONS(115), - }, - [446] = { - [sym__heredoc_middle] = ACTIONS(1249), - [sym__heredoc_end] = ACTIONS(1249), - [anon_sym_DOLLAR] = ACTIONS(1251), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1249), - [sym_comment] = ACTIONS(115), - }, - [447] = { - [sym_file_descriptor] = ACTIONS(1253), + [anon_sym_in] = ACTIONS(1255), [anon_sym_SEMI_SEMI] = ACTIONS(1255), - [anon_sym_PIPE] = ACTIONS(1255), - [anon_sym_PIPE_AMP] = ACTIONS(1255), - [anon_sym_AMP_AMP] = ACTIONS(1255), - [anon_sym_PIPE_PIPE] = ACTIONS(1255), - [anon_sym_LT] = ACTIONS(1255), - [anon_sym_GT] = ACTIONS(1255), - [anon_sym_GT_GT] = ACTIONS(1255), - [anon_sym_AMP_GT] = ACTIONS(1255), - [anon_sym_AMP_GT_GT] = ACTIONS(1255), - [anon_sym_LT_AMP] = ACTIONS(1255), - [anon_sym_GT_AMP] = ACTIONS(1255), - [anon_sym_LT_LT] = ACTIONS(1255), - [anon_sym_LT_LT_DASH] = ACTIONS(1255), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(1255), [anon_sym_LF] = ACTIONS(1255), [anon_sym_AMP] = ACTIONS(1255), }, - [448] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1209), - [anon_sym_PIPE] = ACTIONS(1211), - [anon_sym_PIPE_AMP] = ACTIONS(1209), - [anon_sym_AMP_AMP] = ACTIONS(1211), - [anon_sym_PIPE_PIPE] = ACTIONS(1209), - [anon_sym_COLON] = ACTIONS(1209), - [anon_sym_LT] = ACTIONS(1211), - [anon_sym_GT] = ACTIONS(1211), - [anon_sym_GT_GT] = ACTIONS(1211), - [anon_sym_AMP_GT] = ACTIONS(1211), - [anon_sym_AMP_GT_GT] = ACTIONS(1211), - [anon_sym_LT_AMP] = ACTIONS(1211), - [anon_sym_GT_AMP] = ACTIONS(1211), - [anon_sym_DQUOTE] = ACTIONS(1209), - [sym_raw_string] = ACTIONS(1211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), - [anon_sym_BQUOTE] = ACTIONS(1209), - [sym_leading_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(115), - }, - [449] = { + [434] = { [anon_sym_RBRACE] = ACTIONS(1257), [sym_comment] = ACTIONS(115), }, - [450] = { + [435] = { [anon_sym_RBRACE] = ACTIONS(1259), [sym_comment] = ACTIONS(115), }, - [451] = { - [anon_sym_RBRACE] = ACTIONS(1261), - [sym_comment] = ACTIONS(115), + [436] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1261), + [anon_sym_PIPE] = ACTIONS(1261), + [anon_sym_PIPE_AMP] = ACTIONS(1261), + [anon_sym_AMP_AMP] = ACTIONS(1261), + [anon_sym_PIPE_PIPE] = ACTIONS(1261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1261), + [anon_sym_LF] = ACTIONS(1261), + [anon_sym_AMP] = ACTIONS(1261), }, - [452] = { + [437] = { + [anon_sym_RPAREN] = ACTIONS(1263), + [anon_sym_LPAREN] = ACTIONS(1263), [anon_sym_RBRACE] = ACTIONS(1263), + [anon_sym_RBRACK] = ACTIONS(1265), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1265), + [anon_sym_LT] = ACTIONS(1263), + [anon_sym_GT] = ACTIONS(1263), + [anon_sym_DQUOTE] = ACTIONS(1263), + [sym_raw_string] = ACTIONS(1265), + [anon_sym_DOLLAR] = ACTIONS(1265), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1263), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1263), + [anon_sym_BQUOTE] = ACTIONS(1263), + [sym_word] = ACTIONS(1237), [sym_comment] = ACTIONS(115), }, - [453] = { - [sym_do_group] = STATE(542), - [anon_sym_do] = ACTIONS(745), + [438] = { + [anon_sym_RPAREN] = ACTIONS(1267), + [anon_sym_LPAREN] = ACTIONS(1267), + [anon_sym_RBRACE] = ACTIONS(1267), + [anon_sym_RBRACK] = ACTIONS(1269), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1269), + [anon_sym_LT] = ACTIONS(1267), + [anon_sym_GT] = ACTIONS(1267), + [anon_sym_DQUOTE] = ACTIONS(1267), + [sym_raw_string] = ACTIONS(1269), + [anon_sym_DOLLAR] = ACTIONS(1269), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1267), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1267), + [anon_sym_BQUOTE] = ACTIONS(1267), + [sym_word] = ACTIONS(1253), [sym_comment] = ACTIONS(115), }, - [454] = { - [anon_sym_RPAREN] = ACTIONS(1265), - [anon_sym_PIPE] = ACTIONS(1267), - [anon_sym_PIPE_AMP] = ACTIONS(1265), - [anon_sym_AMP_AMP] = ACTIONS(1265), - [anon_sym_PIPE_PIPE] = ACTIONS(1265), - [anon_sym_BQUOTE] = ACTIONS(1265), - [sym_comment] = ACTIONS(115), - }, - [455] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(1269), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [456] = { + [439] = { [anon_sym_RPAREN] = ACTIONS(1271), - [anon_sym_PIPE] = ACTIONS(1273), - [anon_sym_PIPE_AMP] = ACTIONS(1271), - [anon_sym_AMP_AMP] = ACTIONS(1271), - [anon_sym_PIPE_PIPE] = ACTIONS(1271), + [anon_sym_LPAREN] = ACTIONS(1271), + [anon_sym_RBRACE] = ACTIONS(1271), + [anon_sym_RBRACK] = ACTIONS(1273), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1273), + [anon_sym_LT] = ACTIONS(1271), + [anon_sym_GT] = ACTIONS(1271), + [anon_sym_DQUOTE] = ACTIONS(1271), + [sym_raw_string] = ACTIONS(1273), + [anon_sym_DOLLAR] = ACTIONS(1273), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1271), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1271), [anon_sym_BQUOTE] = ACTIONS(1271), + [sym_word] = ACTIONS(1255), [sym_comment] = ACTIONS(115), }, - [457] = { - [anon_sym_fi] = ACTIONS(1275), + [440] = { + [anon_sym_RBRACE] = ACTIONS(1275), [sym_comment] = ACTIONS(115), }, - [458] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(545), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(546), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1277), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [441] = { + [anon_sym_RBRACE] = ACTIONS(1277), [sym_comment] = ACTIONS(115), }, - [459] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(545), - [anon_sym_fi] = ACTIONS(1275), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), + [442] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_LPAREN] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR] = ACTIONS(929), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), + }, + [443] = { + [anon_sym_RPAREN] = ACTIONS(1279), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [460] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(548), - [anon_sym_esac] = ACTIONS(1279), + [444] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1279), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [445] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_LPAREN] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR] = ACTIONS(757), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [446] = { + [anon_sym_RBRACE] = ACTIONS(1281), + [sym_comment] = ACTIONS(115), + }, + [447] = { + [anon_sym_RBRACE] = ACTIONS(1283), + [sym_comment] = ACTIONS(115), + }, + [448] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_LPAREN] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR] = ACTIONS(951), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [449] = { + [sym_string] = STATE(563), + [sym_array] = STATE(563), + [sym_simple_expansion] = STATE(563), + [sym_expansion] = STATE(563), + [sym_command_substitution] = STATE(563), + [sym_process_substitution] = STATE(563), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(1285), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [sym_word] = ACTIONS(1287), + [sym_comment] = ACTIONS(115), + }, + [450] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_LPAREN] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR] = ACTIONS(957), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, + [451] = { + [sym_string] = STATE(564), + [sym_array] = STATE(564), + [sym_simple_expansion] = STATE(564), + [sym_expansion] = STATE(564), + [sym_command_substitution] = STATE(564), + [sym_process_substitution] = STATE(564), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1289), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1291), + [sym_comment] = ACTIONS(115), + }, + [452] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_LPAREN] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR] = ACTIONS(867), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [453] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), + }, + [454] = { + [anon_sym_RPAREN] = ACTIONS(1293), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [455] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1293), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [456] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [457] = { + [anon_sym_RBRACE] = ACTIONS(1295), + [sym_comment] = ACTIONS(115), + }, + [458] = { + [anon_sym_RBRACE] = ACTIONS(1297), + [sym_comment] = ACTIONS(115), + }, + [459] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [460] = { + [sym_string] = STATE(568), + [sym_array] = STATE(568), + [sym_simple_expansion] = STATE(568), + [sym_expansion] = STATE(568), + [sym_command_substitution] = STATE(568), + [sym_process_substitution] = STATE(568), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1299), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1301), [sym_comment] = ACTIONS(115), }, [461] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1281), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1281), - [anon_sym_LF] = ACTIONS(1281), - [anon_sym_AMP] = ACTIONS(1281), + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), }, [462] = { - [sym_compound_statement] = STATE(550), - [anon_sym_LBRACE] = ACTIONS(1115), + [sym_string] = STATE(569), + [sym_array] = STATE(569), + [sym_simple_expansion] = STATE(569), + [sym_expansion] = STATE(569), + [sym_command_substitution] = STATE(569), + [sym_process_substitution] = STATE(569), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1303), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1305), [sym_comment] = ACTIONS(115), }, [463] = { - [sym_file_descriptor] = ACTIONS(545), - [anon_sym_RPAREN] = ACTIONS(545), - [anon_sym_PIPE] = ACTIONS(547), - [anon_sym_PIPE_AMP] = ACTIONS(545), - [anon_sym_AMP_AMP] = ACTIONS(545), - [anon_sym_PIPE_PIPE] = ACTIONS(545), - [anon_sym_LT] = ACTIONS(547), - [anon_sym_GT] = ACTIONS(547), - [anon_sym_GT_GT] = ACTIONS(545), - [anon_sym_AMP_GT] = ACTIONS(547), - [anon_sym_AMP_GT_GT] = ACTIONS(545), - [anon_sym_LT_AMP] = ACTIONS(545), - [anon_sym_GT_AMP] = ACTIONS(545), - [anon_sym_LT_LT] = ACTIONS(547), - [anon_sym_LT_LT_DASH] = ACTIONS(545), - [anon_sym_BQUOTE] = ACTIONS(545), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, [464] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(605), - [anon_sym_LPAREN] = ACTIONS(605), - [anon_sym_PIPE] = ACTIONS(607), - [anon_sym_PIPE_AMP] = ACTIONS(605), - [anon_sym_AMP_AMP] = ACTIONS(605), - [anon_sym_PIPE_PIPE] = ACTIONS(607), - [anon_sym_LT] = ACTIONS(607), - [anon_sym_GT] = ACTIONS(607), - [anon_sym_GT_GT] = ACTIONS(605), - [anon_sym_AMP_GT] = ACTIONS(607), - [anon_sym_AMP_GT_GT] = ACTIONS(605), - [anon_sym_LT_AMP] = ACTIONS(605), - [anon_sym_GT_AMP] = ACTIONS(605), - [anon_sym_LT_LT] = ACTIONS(607), - [anon_sym_LT_LT_DASH] = ACTIONS(605), - [anon_sym_DQUOTE] = ACTIONS(605), - [sym_raw_string] = ACTIONS(607), - [anon_sym_DOLLAR] = ACTIONS(607), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(605), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(605), - [anon_sym_BQUOTE] = ACTIONS(605), - [sym_word] = ACTIONS(561), + [sym__heredoc_middle] = ACTIONS(591), + [sym__heredoc_end] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(593), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(591), [sym_comment] = ACTIONS(115), }, [465] = { - [anon_sym_RPAREN] = ACTIONS(1283), - [sym_word] = ACTIONS(569), + [sym__heredoc_middle] = ACTIONS(625), + [sym__heredoc_end] = ACTIONS(625), + [anon_sym_DOLLAR] = ACTIONS(627), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), [sym_comment] = ACTIONS(115), }, [466] = { - [sym_for_statement] = STATE(552), - [sym_while_statement] = STATE(552), - [sym_if_statement] = STATE(552), - [sym_case_statement] = STATE(552), - [sym_function_definition] = STATE(552), - [sym_subshell] = STATE(552), - [sym_pipeline] = STATE(552), - [sym_list] = STATE(552), - [sym_bracket_command] = STATE(552), - [sym_command] = STATE(552), - [sym_environment_variable_assignment] = STATE(553), + [sym__heredoc_middle] = ACTIONS(629), + [sym__heredoc_end] = ACTIONS(629), + [anon_sym_DOLLAR] = ACTIONS(631), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(629), + [sym_comment] = ACTIONS(115), + }, + [467] = { + [sym_special_variable_name] = STATE(571), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(1307), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [468] = { + [anon_sym_RBRACE] = ACTIONS(1309), + [anon_sym_COLON] = ACTIONS(1311), + [anon_sym_EQ] = ACTIONS(1313), + [anon_sym_COLON_QMARK] = ACTIONS(1313), + [anon_sym_COLON_DASH] = ACTIONS(1313), + [sym_comment] = ACTIONS(115), + }, + [469] = { + [anon_sym_RBRACE] = ACTIONS(1315), + [anon_sym_COLON] = ACTIONS(1317), + [anon_sym_EQ] = ACTIONS(1319), + [anon_sym_COLON_QMARK] = ACTIONS(1319), + [anon_sym_COLON_DASH] = ACTIONS(1319), + [sym_comment] = ACTIONS(115), + }, + [470] = { + [sym__heredoc_middle] = ACTIONS(1321), + [sym__heredoc_end] = ACTIONS(1321), + [anon_sym_DOLLAR] = ACTIONS(1323), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1321), + [sym_comment] = ACTIONS(115), + }, + [471] = { + [sym_file_descriptor] = ACTIONS(1325), + [anon_sym_SEMI_SEMI] = ACTIONS(1327), + [anon_sym_PIPE] = ACTIONS(1327), + [anon_sym_PIPE_AMP] = ACTIONS(1327), + [anon_sym_AMP_AMP] = ACTIONS(1327), + [anon_sym_PIPE_PIPE] = ACTIONS(1327), + [anon_sym_LT] = ACTIONS(1327), + [anon_sym_GT] = ACTIONS(1327), + [anon_sym_GT_GT] = ACTIONS(1327), + [anon_sym_AMP_GT] = ACTIONS(1327), + [anon_sym_AMP_GT_GT] = ACTIONS(1327), + [anon_sym_LT_AMP] = ACTIONS(1327), + [anon_sym_GT_AMP] = ACTIONS(1327), + [anon_sym_LT_LT] = ACTIONS(1327), + [anon_sym_LT_LT_DASH] = ACTIONS(1327), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1327), + [anon_sym_LF] = ACTIONS(1327), + [anon_sym_AMP] = ACTIONS(1327), + }, + [472] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1263), + [anon_sym_PIPE] = ACTIONS(1265), + [anon_sym_PIPE_AMP] = ACTIONS(1263), + [anon_sym_AMP_AMP] = ACTIONS(1265), + [anon_sym_PIPE_PIPE] = ACTIONS(1263), + [anon_sym_COLON] = ACTIONS(1263), + [anon_sym_LT] = ACTIONS(1265), + [anon_sym_GT] = ACTIONS(1265), + [anon_sym_GT_GT] = ACTIONS(1265), + [anon_sym_AMP_GT] = ACTIONS(1265), + [anon_sym_AMP_GT_GT] = ACTIONS(1265), + [anon_sym_LT_AMP] = ACTIONS(1265), + [anon_sym_GT_AMP] = ACTIONS(1265), + [anon_sym_DQUOTE] = ACTIONS(1263), + [sym_raw_string] = ACTIONS(1265), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1263), + [anon_sym_BQUOTE] = ACTIONS(1263), + [sym_leading_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(115), + }, + [473] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1267), + [anon_sym_PIPE] = ACTIONS(1269), + [anon_sym_PIPE_AMP] = ACTIONS(1267), + [anon_sym_AMP_AMP] = ACTIONS(1269), + [anon_sym_PIPE_PIPE] = ACTIONS(1267), + [anon_sym_COLON] = ACTIONS(1267), + [anon_sym_LT] = ACTIONS(1269), + [anon_sym_GT] = ACTIONS(1269), + [anon_sym_GT_GT] = ACTIONS(1269), + [anon_sym_AMP_GT] = ACTIONS(1269), + [anon_sym_AMP_GT_GT] = ACTIONS(1269), + [anon_sym_LT_AMP] = ACTIONS(1269), + [anon_sym_GT_AMP] = ACTIONS(1269), + [anon_sym_DQUOTE] = ACTIONS(1267), + [sym_raw_string] = ACTIONS(1269), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1267), + [anon_sym_BQUOTE] = ACTIONS(1267), + [sym_leading_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(115), + }, + [474] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1271), + [anon_sym_PIPE] = ACTIONS(1273), + [anon_sym_PIPE_AMP] = ACTIONS(1271), + [anon_sym_AMP_AMP] = ACTIONS(1273), + [anon_sym_PIPE_PIPE] = ACTIONS(1271), + [anon_sym_COLON] = ACTIONS(1271), + [anon_sym_LT] = ACTIONS(1273), + [anon_sym_GT] = ACTIONS(1273), + [anon_sym_GT_GT] = ACTIONS(1273), + [anon_sym_AMP_GT] = ACTIONS(1273), + [anon_sym_AMP_GT_GT] = ACTIONS(1273), + [anon_sym_LT_AMP] = ACTIONS(1273), + [anon_sym_GT_AMP] = ACTIONS(1273), + [anon_sym_DQUOTE] = ACTIONS(1271), + [sym_raw_string] = ACTIONS(1273), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1271), + [anon_sym_BQUOTE] = ACTIONS(1271), + [sym_leading_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(115), + }, + [475] = { + [anon_sym_RBRACE] = ACTIONS(1329), + [sym_comment] = ACTIONS(115), + }, + [476] = { + [anon_sym_RBRACE] = ACTIONS(1331), + [sym_comment] = ACTIONS(115), + }, + [477] = { + [anon_sym_DQUOTE] = ACTIONS(1253), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1269), + [anon_sym_DOLLAR] = ACTIONS(1253), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + }, + [478] = { + [anon_sym_DQUOTE] = ACTIONS(1255), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1273), + [anon_sym_DOLLAR] = ACTIONS(1255), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + }, + [479] = { + [anon_sym_RBRACE] = ACTIONS(1333), + [sym_comment] = ACTIONS(115), + }, + [480] = { + [anon_sym_RBRACE] = ACTIONS(1335), + [sym_comment] = ACTIONS(115), + }, + [481] = { + [sym_do_group] = STATE(580), + [anon_sym_do] = ACTIONS(765), + [sym_comment] = ACTIONS(115), + }, + [482] = { + [anon_sym_RPAREN] = ACTIONS(1337), + [anon_sym_PIPE] = ACTIONS(1339), + [anon_sym_PIPE_AMP] = ACTIONS(1337), + [anon_sym_AMP_AMP] = ACTIONS(1337), + [anon_sym_PIPE_PIPE] = ACTIONS(1337), + [anon_sym_BQUOTE] = ACTIONS(1337), + [sym_comment] = ACTIONS(115), + }, + [483] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(481), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(1093), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(223), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(1341), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -20478,79 +20995,135 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [467] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(413), - [anon_sym_LPAREN] = ACTIONS(413), - [anon_sym_PIPE] = ACTIONS(611), - [anon_sym_PIPE_AMP] = ACTIONS(413), - [anon_sym_AMP_AMP] = ACTIONS(413), - [anon_sym_PIPE_PIPE] = ACTIONS(611), - [anon_sym_LT] = ACTIONS(611), - [anon_sym_GT] = ACTIONS(611), - [anon_sym_GT_GT] = ACTIONS(413), - [anon_sym_AMP_GT] = ACTIONS(611), - [anon_sym_AMP_GT_GT] = ACTIONS(413), - [anon_sym_LT_AMP] = ACTIONS(413), - [anon_sym_GT_AMP] = ACTIONS(413), - [anon_sym_LT_LT] = ACTIONS(611), - [anon_sym_LT_LT_DASH] = ACTIONS(413), - [anon_sym_DQUOTE] = ACTIONS(413), - [sym_raw_string] = ACTIONS(611), - [anon_sym_DOLLAR] = ACTIONS(611), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(413), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(413), - [anon_sym_BQUOTE] = ACTIONS(413), - [sym_word] = ACTIONS(415), + [484] = { + [anon_sym_RPAREN] = ACTIONS(1343), + [anon_sym_PIPE] = ACTIONS(1345), + [anon_sym_PIPE_AMP] = ACTIONS(1343), + [anon_sym_AMP_AMP] = ACTIONS(1343), + [anon_sym_PIPE_PIPE] = ACTIONS(1343), + [anon_sym_BQUOTE] = ACTIONS(1343), [sym_comment] = ACTIONS(115), }, - [468] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(1285), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [469] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(583), - [anon_sym_LPAREN] = ACTIONS(583), - [anon_sym_PIPE] = ACTIONS(585), - [anon_sym_PIPE_AMP] = ACTIONS(583), - [anon_sym_AMP_AMP] = ACTIONS(583), - [anon_sym_PIPE_PIPE] = ACTIONS(585), - [anon_sym_LT] = ACTIONS(585), - [anon_sym_GT] = ACTIONS(585), - [anon_sym_GT_GT] = ACTIONS(583), - [anon_sym_AMP_GT] = ACTIONS(585), - [anon_sym_AMP_GT_GT] = ACTIONS(583), - [anon_sym_LT_AMP] = ACTIONS(583), - [anon_sym_GT_AMP] = ACTIONS(583), - [anon_sym_LT_LT] = ACTIONS(585), - [anon_sym_LT_LT_DASH] = ACTIONS(583), - [anon_sym_DQUOTE] = ACTIONS(583), - [sym_raw_string] = ACTIONS(585), - [anon_sym_DOLLAR] = ACTIONS(585), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(583), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(583), - [anon_sym_BQUOTE] = ACTIONS(583), - [sym_word] = ACTIONS(577), + [485] = { + [anon_sym_fi] = ACTIONS(1347), [sym_comment] = ACTIONS(115), }, - [470] = { + [486] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(583), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(584), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1349), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [487] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(583), + [anon_sym_fi] = ACTIONS(1347), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), + [sym_comment] = ACTIONS(115), + }, + [488] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(586), + [anon_sym_esac] = ACTIONS(1351), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [489] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1353), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1353), + [anon_sym_LF] = ACTIONS(1353), + [anon_sym_AMP] = ACTIONS(1353), + }, + [490] = { + [sym_compound_statement] = STATE(588), + [anon_sym_LBRACE] = ACTIONS(1163), + [sym_comment] = ACTIONS(115), + }, + [491] = { + [sym_file_descriptor] = ACTIONS(553), + [anon_sym_RPAREN] = ACTIONS(553), + [anon_sym_PIPE] = ACTIONS(555), + [anon_sym_PIPE_AMP] = ACTIONS(553), + [anon_sym_AMP_AMP] = ACTIONS(553), + [anon_sym_PIPE_PIPE] = ACTIONS(553), + [anon_sym_LT] = ACTIONS(555), + [anon_sym_GT] = ACTIONS(555), + [anon_sym_GT_GT] = ACTIONS(553), + [anon_sym_AMP_GT] = ACTIONS(555), + [anon_sym_AMP_GT_GT] = ACTIONS(553), + [anon_sym_LT_AMP] = ACTIONS(553), + [anon_sym_GT_AMP] = ACTIONS(553), + [anon_sym_LT_LT] = ACTIONS(555), + [anon_sym_LT_LT_DASH] = ACTIONS(553), + [anon_sym_BQUOTE] = ACTIONS(553), + [sym_comment] = ACTIONS(115), + }, + [492] = { [sym_file_descriptor] = ACTIONS(615), [anon_sym_RPAREN] = ACTIONS(615), [anon_sym_LPAREN] = ACTIONS(615), @@ -20573,207 +21146,42 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LBRACE] = ACTIONS(615), [anon_sym_DOLLAR_LPAREN] = ACTIONS(615), [anon_sym_BQUOTE] = ACTIONS(615), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(115), - }, - [471] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(619), - [anon_sym_LPAREN] = ACTIONS(619), - [anon_sym_PIPE] = ACTIONS(621), - [anon_sym_PIPE_AMP] = ACTIONS(619), - [anon_sym_AMP_AMP] = ACTIONS(619), - [anon_sym_PIPE_PIPE] = ACTIONS(621), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(619), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(619), - [anon_sym_LT_AMP] = ACTIONS(619), - [anon_sym_GT_AMP] = ACTIONS(619), - [anon_sym_LT_LT] = ACTIONS(621), - [anon_sym_LT_LT_DASH] = ACTIONS(619), - [anon_sym_DQUOTE] = ACTIONS(619), - [sym_raw_string] = ACTIONS(621), - [anon_sym_DOLLAR] = ACTIONS(621), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(619), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_BQUOTE] = ACTIONS(619), - [sym_word] = ACTIONS(581), - [sym_comment] = ACTIONS(115), - }, - [472] = { - [anon_sym_RBRACE] = ACTIONS(1287), - [anon_sym_COLON] = ACTIONS(1289), - [anon_sym_EQ] = ACTIONS(1291), - [anon_sym_COLON_QMARK] = ACTIONS(1291), - [anon_sym_COLON_DASH] = ACTIONS(1291), - [sym_comment] = ACTIONS(115), - }, - [473] = { - [anon_sym_RBRACE] = ACTIONS(1293), - [anon_sym_COLON] = ACTIONS(1295), - [anon_sym_EQ] = ACTIONS(1297), - [anon_sym_COLON_QMARK] = ACTIONS(1297), - [anon_sym_COLON_DASH] = ACTIONS(1297), - [sym_comment] = ACTIONS(115), - }, - [474] = { - [anon_sym_RPAREN] = ACTIONS(1299), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [475] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1299), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [476] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(1299), - [sym_comment] = ACTIONS(115), - }, - [477] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(1299), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [478] = { - [sym_file_descriptor] = ACTIONS(639), - [anon_sym_RPAREN] = ACTIONS(639), - [anon_sym_LPAREN] = ACTIONS(639), - [anon_sym_PIPE] = ACTIONS(641), - [anon_sym_PIPE_AMP] = ACTIONS(639), - [anon_sym_AMP_AMP] = ACTIONS(639), - [anon_sym_PIPE_PIPE] = ACTIONS(641), - [anon_sym_LT] = ACTIONS(641), - [anon_sym_GT] = ACTIONS(641), - [anon_sym_GT_GT] = ACTIONS(639), - [anon_sym_AMP_GT] = ACTIONS(641), - [anon_sym_AMP_GT_GT] = ACTIONS(639), - [anon_sym_LT_AMP] = ACTIONS(639), - [anon_sym_GT_AMP] = ACTIONS(639), - [anon_sym_LT_LT] = ACTIONS(641), - [anon_sym_LT_LT_DASH] = ACTIONS(639), - [anon_sym_DQUOTE] = ACTIONS(639), - [sym_raw_string] = ACTIONS(641), - [anon_sym_DOLLAR] = ACTIONS(641), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(639), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(639), - [anon_sym_BQUOTE] = ACTIONS(639), - [sym_word] = ACTIONS(643), - [sym_comment] = ACTIONS(115), - }, - [479] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1301), - [anon_sym_PIPE] = ACTIONS(1303), - [anon_sym_PIPE_AMP] = ACTIONS(1301), - [anon_sym_AMP_AMP] = ACTIONS(1301), - [anon_sym_PIPE_PIPE] = ACTIONS(1301), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1301), - [sym_comment] = ACTIONS(115), - }, - [480] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(605), - [anon_sym_PIPE] = ACTIONS(607), - [anon_sym_PIPE_AMP] = ACTIONS(605), - [anon_sym_AMP_AMP] = ACTIONS(605), - [anon_sym_PIPE_PIPE] = ACTIONS(605), - [anon_sym_LT] = ACTIONS(607), - [anon_sym_GT] = ACTIONS(607), - [anon_sym_GT_GT] = ACTIONS(605), - [anon_sym_AMP_GT] = ACTIONS(607), - [anon_sym_AMP_GT_GT] = ACTIONS(605), - [anon_sym_LT_AMP] = ACTIONS(605), - [anon_sym_GT_AMP] = ACTIONS(605), - [anon_sym_LT_LT] = ACTIONS(607), - [anon_sym_LT_LT_DASH] = ACTIONS(605), - [anon_sym_BQUOTE] = ACTIONS(605), - [sym_comment] = ACTIONS(115), - }, - [481] = { - [anon_sym_RPAREN] = ACTIONS(1305), [sym_word] = ACTIONS(569), [sym_comment] = ACTIONS(115), }, - [482] = { - [sym_for_statement] = STATE(561), - [sym_while_statement] = STATE(561), - [sym_if_statement] = STATE(561), - [sym_case_statement] = STATE(561), - [sym_function_definition] = STATE(561), - [sym_subshell] = STATE(561), - [sym_pipeline] = STATE(561), - [sym_list] = STATE(561), - [sym_bracket_command] = STATE(561), - [sym_command] = STATE(561), - [sym_environment_variable_assignment] = STATE(562), + [493] = { + [anon_sym_RPAREN] = ACTIONS(1355), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [494] = { + [sym_for_statement] = STATE(590), + [sym_while_statement] = STATE(590), + [sym_if_statement] = STATE(590), + [sym_case_statement] = STATE(590), + [sym_function_definition] = STATE(590), + [sym_subshell] = STATE(590), + [sym_pipeline] = STATE(590), + [sym_list] = STATE(590), + [sym_bracket_command] = STATE(590), + [sym_command] = STATE(590), + [sym_environment_variable_assignment] = STATE(591), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(510), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(203), [anon_sym_while] = ACTIONS(205), [anon_sym_if] = ACTIONS(207), [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(1139), [anon_sym_function] = ACTIONS(211), [anon_sym_LPAREN] = ACTIONS(213), [anon_sym_LBRACK] = ACTIONS(215), [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), + [anon_sym_COLON] = ACTIONS(223), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -20786,59 +21194,267 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), [anon_sym_BQUOTE] = ACTIONS(227), [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(995), [sym_comment] = ACTIONS(115), }, - [483] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(413), - [anon_sym_PIPE] = ACTIONS(611), - [anon_sym_PIPE_AMP] = ACTIONS(413), - [anon_sym_AMP_AMP] = ACTIONS(413), - [anon_sym_PIPE_PIPE] = ACTIONS(413), - [anon_sym_LT] = ACTIONS(611), - [anon_sym_GT] = ACTIONS(611), - [anon_sym_GT_GT] = ACTIONS(413), - [anon_sym_AMP_GT] = ACTIONS(611), - [anon_sym_AMP_GT_GT] = ACTIONS(413), - [anon_sym_LT_AMP] = ACTIONS(413), - [anon_sym_GT_AMP] = ACTIONS(413), - [anon_sym_LT_LT] = ACTIONS(611), - [anon_sym_LT_LT_DASH] = ACTIONS(413), - [anon_sym_BQUOTE] = ACTIONS(413), + [495] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_LPAREN] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(621), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(621), + [anon_sym_LT] = ACTIONS(621), + [anon_sym_GT] = ACTIONS(621), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(621), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(621), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_raw_string] = ACTIONS(621), + [anon_sym_DOLLAR] = ACTIONS(621), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_BQUOTE] = ACTIONS(419), + [sym_word] = ACTIONS(421), [sym_comment] = ACTIONS(115), }, - [484] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(1307), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [496] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(1357), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [485] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(583), - [anon_sym_PIPE] = ACTIONS(585), - [anon_sym_PIPE_AMP] = ACTIONS(583), - [anon_sym_AMP_AMP] = ACTIONS(583), - [anon_sym_PIPE_PIPE] = ACTIONS(583), - [anon_sym_LT] = ACTIONS(585), - [anon_sym_GT] = ACTIONS(585), - [anon_sym_GT_GT] = ACTIONS(583), - [anon_sym_AMP_GT] = ACTIONS(585), - [anon_sym_AMP_GT_GT] = ACTIONS(583), - [anon_sym_LT_AMP] = ACTIONS(583), - [anon_sym_GT_AMP] = ACTIONS(583), - [anon_sym_LT_LT] = ACTIONS(585), - [anon_sym_LT_LT_DASH] = ACTIONS(583), - [anon_sym_BQUOTE] = ACTIONS(583), + [497] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(591), + [anon_sym_LPAREN] = ACTIONS(591), + [anon_sym_PIPE] = ACTIONS(593), + [anon_sym_PIPE_AMP] = ACTIONS(591), + [anon_sym_AMP_AMP] = ACTIONS(591), + [anon_sym_PIPE_PIPE] = ACTIONS(593), + [anon_sym_LT] = ACTIONS(593), + [anon_sym_GT] = ACTIONS(593), + [anon_sym_GT_GT] = ACTIONS(591), + [anon_sym_AMP_GT] = ACTIONS(593), + [anon_sym_AMP_GT_GT] = ACTIONS(591), + [anon_sym_LT_AMP] = ACTIONS(591), + [anon_sym_GT_AMP] = ACTIONS(591), + [anon_sym_LT_LT] = ACTIONS(593), + [anon_sym_LT_LT_DASH] = ACTIONS(591), + [anon_sym_DQUOTE] = ACTIONS(591), + [sym_raw_string] = ACTIONS(593), + [anon_sym_DOLLAR] = ACTIONS(593), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(591), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(591), + [anon_sym_BQUOTE] = ACTIONS(591), + [sym_word] = ACTIONS(585), [sym_comment] = ACTIONS(115), }, - [486] = { + [498] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(625), + [anon_sym_LPAREN] = ACTIONS(625), + [anon_sym_PIPE] = ACTIONS(627), + [anon_sym_PIPE_AMP] = ACTIONS(625), + [anon_sym_AMP_AMP] = ACTIONS(625), + [anon_sym_PIPE_PIPE] = ACTIONS(627), + [anon_sym_LT] = ACTIONS(627), + [anon_sym_GT] = ACTIONS(627), + [anon_sym_GT_GT] = ACTIONS(625), + [anon_sym_AMP_GT] = ACTIONS(627), + [anon_sym_AMP_GT_GT] = ACTIONS(625), + [anon_sym_LT_AMP] = ACTIONS(625), + [anon_sym_GT_AMP] = ACTIONS(625), + [anon_sym_LT_LT] = ACTIONS(627), + [anon_sym_LT_LT_DASH] = ACTIONS(625), + [anon_sym_DQUOTE] = ACTIONS(625), + [sym_raw_string] = ACTIONS(627), + [anon_sym_DOLLAR] = ACTIONS(627), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(625), + [anon_sym_BQUOTE] = ACTIONS(625), + [sym_word] = ACTIONS(587), + [sym_comment] = ACTIONS(115), + }, + [499] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(629), + [anon_sym_LPAREN] = ACTIONS(629), + [anon_sym_PIPE] = ACTIONS(631), + [anon_sym_PIPE_AMP] = ACTIONS(629), + [anon_sym_AMP_AMP] = ACTIONS(629), + [anon_sym_PIPE_PIPE] = ACTIONS(631), + [anon_sym_LT] = ACTIONS(631), + [anon_sym_GT] = ACTIONS(631), + [anon_sym_GT_GT] = ACTIONS(629), + [anon_sym_AMP_GT] = ACTIONS(631), + [anon_sym_AMP_GT_GT] = ACTIONS(629), + [anon_sym_LT_AMP] = ACTIONS(629), + [anon_sym_GT_AMP] = ACTIONS(629), + [anon_sym_LT_LT] = ACTIONS(631), + [anon_sym_LT_LT_DASH] = ACTIONS(629), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_raw_string] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(631), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(629), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(629), + [anon_sym_BQUOTE] = ACTIONS(629), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(115), + }, + [500] = { + [sym_special_variable_name] = STATE(594), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(1359), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [501] = { + [anon_sym_RBRACE] = ACTIONS(1361), + [anon_sym_COLON] = ACTIONS(1363), + [anon_sym_EQ] = ACTIONS(1365), + [anon_sym_COLON_QMARK] = ACTIONS(1365), + [anon_sym_COLON_DASH] = ACTIONS(1365), + [sym_comment] = ACTIONS(115), + }, + [502] = { + [anon_sym_RBRACE] = ACTIONS(1367), + [anon_sym_COLON] = ACTIONS(1369), + [anon_sym_EQ] = ACTIONS(1371), + [anon_sym_COLON_QMARK] = ACTIONS(1371), + [anon_sym_COLON_DASH] = ACTIONS(1371), + [sym_comment] = ACTIONS(115), + }, + [503] = { + [anon_sym_RPAREN] = ACTIONS(1373), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [504] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1373), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [505] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(1373), + [sym_comment] = ACTIONS(115), + }, + [506] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1373), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [507] = { + [sym_file_descriptor] = ACTIONS(651), + [anon_sym_RPAREN] = ACTIONS(651), + [anon_sym_LPAREN] = ACTIONS(651), + [anon_sym_PIPE] = ACTIONS(653), + [anon_sym_PIPE_AMP] = ACTIONS(651), + [anon_sym_AMP_AMP] = ACTIONS(651), + [anon_sym_PIPE_PIPE] = ACTIONS(653), + [anon_sym_LT] = ACTIONS(653), + [anon_sym_GT] = ACTIONS(653), + [anon_sym_GT_GT] = ACTIONS(651), + [anon_sym_AMP_GT] = ACTIONS(653), + [anon_sym_AMP_GT_GT] = ACTIONS(651), + [anon_sym_LT_AMP] = ACTIONS(651), + [anon_sym_GT_AMP] = ACTIONS(651), + [anon_sym_LT_LT] = ACTIONS(653), + [anon_sym_LT_LT_DASH] = ACTIONS(651), + [anon_sym_DQUOTE] = ACTIONS(651), + [sym_raw_string] = ACTIONS(653), + [anon_sym_DOLLAR] = ACTIONS(653), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(651), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(651), + [anon_sym_BQUOTE] = ACTIONS(651), + [sym_word] = ACTIONS(655), + [sym_comment] = ACTIONS(115), + }, + [508] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1375), + [anon_sym_PIPE] = ACTIONS(1377), + [anon_sym_PIPE_AMP] = ACTIONS(1375), + [anon_sym_AMP_AMP] = ACTIONS(1375), + [anon_sym_PIPE_PIPE] = ACTIONS(1375), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1375), + [sym_comment] = ACTIONS(115), + }, + [509] = { [sym_file_descriptor] = ACTIONS(615), [anon_sym_RPAREN] = ACTIONS(615), [anon_sym_PIPE] = ACTIONS(617), @@ -20857,129 +21473,262 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_BQUOTE] = ACTIONS(615), [sym_comment] = ACTIONS(115), }, - [487] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(619), + [510] = { + [anon_sym_RPAREN] = ACTIONS(1379), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [511] = { + [sym_for_statement] = STATE(601), + [sym_while_statement] = STATE(601), + [sym_if_statement] = STATE(601), + [sym_case_statement] = STATE(601), + [sym_function_definition] = STATE(601), + [sym_subshell] = STATE(601), + [sym_pipeline] = STATE(601), + [sym_list] = STATE(601), + [sym_bracket_command] = STATE(601), + [sym_command] = STATE(601), + [sym_environment_variable_assignment] = STATE(602), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [512] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(419), [anon_sym_PIPE] = ACTIONS(621), - [anon_sym_PIPE_AMP] = ACTIONS(619), - [anon_sym_AMP_AMP] = ACTIONS(619), - [anon_sym_PIPE_PIPE] = ACTIONS(619), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), [anon_sym_LT] = ACTIONS(621), [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(619), + [anon_sym_GT_GT] = ACTIONS(419), [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(619), - [anon_sym_LT_AMP] = ACTIONS(619), - [anon_sym_GT_AMP] = ACTIONS(619), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), [anon_sym_LT_LT] = ACTIONS(621), - [anon_sym_LT_LT_DASH] = ACTIONS(619), - [anon_sym_BQUOTE] = ACTIONS(619), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [anon_sym_BQUOTE] = ACTIONS(419), [sym_comment] = ACTIONS(115), }, - [488] = { - [anon_sym_RBRACE] = ACTIONS(1309), - [anon_sym_COLON] = ACTIONS(1311), - [anon_sym_EQ] = ACTIONS(1313), - [anon_sym_COLON_QMARK] = ACTIONS(1313), - [anon_sym_COLON_DASH] = ACTIONS(1313), + [513] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(1381), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [514] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(591), + [anon_sym_PIPE] = ACTIONS(593), + [anon_sym_PIPE_AMP] = ACTIONS(591), + [anon_sym_AMP_AMP] = ACTIONS(591), + [anon_sym_PIPE_PIPE] = ACTIONS(591), + [anon_sym_LT] = ACTIONS(593), + [anon_sym_GT] = ACTIONS(593), + [anon_sym_GT_GT] = ACTIONS(591), + [anon_sym_AMP_GT] = ACTIONS(593), + [anon_sym_AMP_GT_GT] = ACTIONS(591), + [anon_sym_LT_AMP] = ACTIONS(591), + [anon_sym_GT_AMP] = ACTIONS(591), + [anon_sym_LT_LT] = ACTIONS(593), + [anon_sym_LT_LT_DASH] = ACTIONS(591), + [anon_sym_BQUOTE] = ACTIONS(591), [sym_comment] = ACTIONS(115), }, - [489] = { - [anon_sym_RBRACE] = ACTIONS(1315), - [anon_sym_COLON] = ACTIONS(1317), - [anon_sym_EQ] = ACTIONS(1319), - [anon_sym_COLON_QMARK] = ACTIONS(1319), - [anon_sym_COLON_DASH] = ACTIONS(1319), + [515] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(625), + [anon_sym_PIPE] = ACTIONS(627), + [anon_sym_PIPE_AMP] = ACTIONS(625), + [anon_sym_AMP_AMP] = ACTIONS(625), + [anon_sym_PIPE_PIPE] = ACTIONS(625), + [anon_sym_LT] = ACTIONS(627), + [anon_sym_GT] = ACTIONS(627), + [anon_sym_GT_GT] = ACTIONS(625), + [anon_sym_AMP_GT] = ACTIONS(627), + [anon_sym_AMP_GT_GT] = ACTIONS(625), + [anon_sym_LT_AMP] = ACTIONS(625), + [anon_sym_GT_AMP] = ACTIONS(625), + [anon_sym_LT_LT] = ACTIONS(627), + [anon_sym_LT_LT_DASH] = ACTIONS(625), + [anon_sym_BQUOTE] = ACTIONS(625), [sym_comment] = ACTIONS(115), }, - [490] = { - [anon_sym_RPAREN] = ACTIONS(1321), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [516] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(629), + [anon_sym_PIPE] = ACTIONS(631), + [anon_sym_PIPE_AMP] = ACTIONS(629), + [anon_sym_AMP_AMP] = ACTIONS(629), + [anon_sym_PIPE_PIPE] = ACTIONS(629), + [anon_sym_LT] = ACTIONS(631), + [anon_sym_GT] = ACTIONS(631), + [anon_sym_GT_GT] = ACTIONS(629), + [anon_sym_AMP_GT] = ACTIONS(631), + [anon_sym_AMP_GT_GT] = ACTIONS(629), + [anon_sym_LT_AMP] = ACTIONS(629), + [anon_sym_GT_AMP] = ACTIONS(629), + [anon_sym_LT_LT] = ACTIONS(631), + [anon_sym_LT_LT_DASH] = ACTIONS(629), + [anon_sym_BQUOTE] = ACTIONS(629), [sym_comment] = ACTIONS(115), }, - [491] = { + [517] = { + [sym_special_variable_name] = STATE(605), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(1383), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [518] = { + [anon_sym_RBRACE] = ACTIONS(1385), + [anon_sym_COLON] = ACTIONS(1387), + [anon_sym_EQ] = ACTIONS(1389), + [anon_sym_COLON_QMARK] = ACTIONS(1389), + [anon_sym_COLON_DASH] = ACTIONS(1389), + [sym_comment] = ACTIONS(115), + }, + [519] = { + [anon_sym_RBRACE] = ACTIONS(1391), + [anon_sym_COLON] = ACTIONS(1393), + [anon_sym_EQ] = ACTIONS(1395), + [anon_sym_COLON_QMARK] = ACTIONS(1395), + [anon_sym_COLON_DASH] = ACTIONS(1395), + [sym_comment] = ACTIONS(115), + }, + [520] = { + [anon_sym_RPAREN] = ACTIONS(1397), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [521] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1321), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(1397), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [492] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(1321), + [522] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(1397), [sym_comment] = ACTIONS(115), }, - [493] = { + [523] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(1321), + [anon_sym_BQUOTE] = ACTIONS(1397), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [494] = { - [sym_file_descriptor] = ACTIONS(1007), - [anon_sym_RPAREN] = ACTIONS(1007), - [anon_sym_PIPE] = ACTIONS(1323), - [anon_sym_PIPE_AMP] = ACTIONS(1007), - [anon_sym_AMP_AMP] = ACTIONS(1007), - [anon_sym_PIPE_PIPE] = ACTIONS(1007), - [anon_sym_LT] = ACTIONS(1323), - [anon_sym_GT] = ACTIONS(1323), - [anon_sym_GT_GT] = ACTIONS(1007), - [anon_sym_AMP_GT] = ACTIONS(1323), - [anon_sym_AMP_GT_GT] = ACTIONS(1007), - [anon_sym_LT_AMP] = ACTIONS(1007), - [anon_sym_GT_AMP] = ACTIONS(1007), - [anon_sym_LT_LT] = ACTIONS(1323), - [anon_sym_LT_LT_DASH] = ACTIONS(1007), - [anon_sym_BQUOTE] = ACTIONS(1007), + [524] = { + [sym_file_descriptor] = ACTIONS(1041), + [anon_sym_RPAREN] = ACTIONS(1041), + [anon_sym_PIPE] = ACTIONS(1399), + [anon_sym_PIPE_AMP] = ACTIONS(1041), + [anon_sym_AMP_AMP] = ACTIONS(1041), + [anon_sym_PIPE_PIPE] = ACTIONS(1041), + [anon_sym_LT] = ACTIONS(1399), + [anon_sym_GT] = ACTIONS(1399), + [anon_sym_GT_GT] = ACTIONS(1041), + [anon_sym_AMP_GT] = ACTIONS(1399), + [anon_sym_AMP_GT_GT] = ACTIONS(1041), + [anon_sym_LT_AMP] = ACTIONS(1041), + [anon_sym_GT_AMP] = ACTIONS(1041), + [anon_sym_LT_LT] = ACTIONS(1399), + [anon_sym_LT_LT_DASH] = ACTIONS(1041), + [anon_sym_BQUOTE] = ACTIONS(1041), [sym_comment] = ACTIONS(115), }, - [495] = { - [sym_simple_expansion] = STATE(446), - [sym_expansion] = STATE(446), - [sym__heredoc_middle] = ACTIONS(1019), - [sym__heredoc_end] = ACTIONS(1325), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [525] = { + [sym_simple_expansion] = STATE(470), + [sym_expansion] = STATE(470), + [sym__heredoc_middle] = ACTIONS(1055), + [sym__heredoc_end] = ACTIONS(1401), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), [sym_comment] = ACTIONS(115), }, - [496] = { + [526] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -20995,7 +21744,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(571), + [aux_sym_program_repeat1] = STATE(613), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), @@ -21004,7 +21753,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1327), + [anon_sym_RBRACE] = ACTIONS(1403), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -21022,207 +21771,207 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [497] = { - [anon_sym_RPAREN] = ACTIONS(1329), - [anon_sym_PIPE] = ACTIONS(1331), - [anon_sym_PIPE_AMP] = ACTIONS(1329), - [anon_sym_AMP_AMP] = ACTIONS(1329), - [anon_sym_PIPE_PIPE] = ACTIONS(1329), - [anon_sym_BQUOTE] = ACTIONS(1329), + [527] = { + [anon_sym_RPAREN] = ACTIONS(1405), + [anon_sym_PIPE] = ACTIONS(1407), + [anon_sym_PIPE_AMP] = ACTIONS(1405), + [anon_sym_AMP_AMP] = ACTIONS(1405), + [anon_sym_PIPE_PIPE] = ACTIONS(1405), + [anon_sym_BQUOTE] = ACTIONS(1405), [sym_comment] = ACTIONS(115), }, - [498] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1333), - [anon_sym_PIPE] = ACTIONS(1335), - [anon_sym_PIPE_AMP] = ACTIONS(1333), - [anon_sym_AMP_AMP] = ACTIONS(1333), - [anon_sym_PIPE_PIPE] = ACTIONS(1333), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1333), + [528] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1409), + [anon_sym_PIPE] = ACTIONS(1411), + [anon_sym_PIPE_AMP] = ACTIONS(1409), + [anon_sym_AMP_AMP] = ACTIONS(1409), + [anon_sym_PIPE_PIPE] = ACTIONS(1409), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1409), [sym_comment] = ACTIONS(115), }, - [499] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(572), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1337), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1339), - [anon_sym_PIPE_AMP] = ACTIONS(1337), - [anon_sym_AMP_AMP] = ACTIONS(1337), - [anon_sym_PIPE_PIPE] = ACTIONS(1339), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(1087), + [529] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(614), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1413), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1415), + [anon_sym_PIPE_AMP] = ACTIONS(1413), + [anon_sym_AMP_AMP] = ACTIONS(1413), + [anon_sym_PIPE_PIPE] = ACTIONS(1415), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(1133), [sym_comment] = ACTIONS(115), }, - [500] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(573), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1341), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1343), - [anon_sym_PIPE_AMP] = ACTIONS(1341), - [anon_sym_AMP_AMP] = ACTIONS(1341), - [anon_sym_PIPE_PIPE] = ACTIONS(1343), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(793), - [sym_word] = ACTIONS(1087), + [530] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(615), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1417), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1419), + [anon_sym_PIPE_AMP] = ACTIONS(1417), + [anon_sym_AMP_AMP] = ACTIONS(1417), + [anon_sym_PIPE_PIPE] = ACTIONS(1419), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(813), + [sym_word] = ACTIONS(1133), [sym_comment] = ACTIONS(115), }, - [501] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1345), - [anon_sym_PIPE] = ACTIONS(1347), - [anon_sym_PIPE_AMP] = ACTIONS(1345), - [anon_sym_AMP_AMP] = ACTIONS(1345), - [anon_sym_PIPE_PIPE] = ACTIONS(1345), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1345), + [531] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1421), + [anon_sym_PIPE] = ACTIONS(1423), + [anon_sym_PIPE_AMP] = ACTIONS(1421), + [anon_sym_AMP_AMP] = ACTIONS(1421), + [anon_sym_PIPE_PIPE] = ACTIONS(1421), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1421), [sym_comment] = ACTIONS(115), }, - [502] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(572), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1339), - [anon_sym_PIPE_AMP] = ACTIONS(1337), - [anon_sym_AMP_AMP] = ACTIONS(1337), - [anon_sym_PIPE_PIPE] = ACTIONS(1339), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(1337), - [sym_word] = ACTIONS(1087), + [532] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(614), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1415), + [anon_sym_PIPE_AMP] = ACTIONS(1413), + [anon_sym_AMP_AMP] = ACTIONS(1413), + [anon_sym_PIPE_PIPE] = ACTIONS(1415), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(1413), + [sym_word] = ACTIONS(1133), [sym_comment] = ACTIONS(115), }, - [503] = { - [sym_file_redirect] = STATE(207), - [sym_heredoc_redirect] = STATE(207), - [sym_string] = STATE(478), - [sym_array] = STATE(478), - [sym_simple_expansion] = STATE(478), - [sym_expansion] = STATE(478), - [sym_command_substitution] = STATE(478), - [sym_process_substitution] = STATE(478), - [aux_sym_command_repeat2] = STATE(573), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_LPAREN] = ACTIONS(769), - [anon_sym_PIPE] = ACTIONS(1343), - [anon_sym_PIPE_AMP] = ACTIONS(1341), - [anon_sym_AMP_AMP] = ACTIONS(1341), - [anon_sym_PIPE_PIPE] = ACTIONS(1343), - [anon_sym_LT] = ACTIONS(773), - [anon_sym_GT] = ACTIONS(773), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_DQUOTE] = ACTIONS(783), - [sym_raw_string] = ACTIONS(1085), - [anon_sym_DOLLAR] = ACTIONS(787), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), - [anon_sym_BQUOTE] = ACTIONS(1341), - [sym_word] = ACTIONS(1087), + [533] = { + [sym_file_redirect] = STATE(211), + [sym_heredoc_redirect] = STATE(211), + [sym_string] = STATE(507), + [sym_array] = STATE(507), + [sym_simple_expansion] = STATE(507), + [sym_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [sym_process_substitution] = STATE(507), + [aux_sym_command_repeat2] = STATE(615), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_LPAREN] = ACTIONS(789), + [anon_sym_PIPE] = ACTIONS(1419), + [anon_sym_PIPE_AMP] = ACTIONS(1417), + [anon_sym_AMP_AMP] = ACTIONS(1417), + [anon_sym_PIPE_PIPE] = ACTIONS(1419), + [anon_sym_LT] = ACTIONS(793), + [anon_sym_GT] = ACTIONS(793), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_DQUOTE] = ACTIONS(803), + [sym_raw_string] = ACTIONS(1131), + [anon_sym_DOLLAR] = ACTIONS(807), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(809), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(811), + [anon_sym_BQUOTE] = ACTIONS(1417), + [sym_word] = ACTIONS(1133), [sym_comment] = ACTIONS(115), }, - [504] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1349), - [anon_sym_PIPE] = ACTIONS(1349), - [anon_sym_PIPE_AMP] = ACTIONS(1349), - [anon_sym_AMP_AMP] = ACTIONS(1349), - [anon_sym_PIPE_PIPE] = ACTIONS(1349), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1349), - [anon_sym_LF] = ACTIONS(1349), - [anon_sym_AMP] = ACTIONS(1349), + [534] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1425), + [anon_sym_PIPE] = ACTIONS(1425), + [anon_sym_PIPE_AMP] = ACTIONS(1425), + [anon_sym_AMP_AMP] = ACTIONS(1425), + [anon_sym_PIPE_PIPE] = ACTIONS(1425), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1425), + [anon_sym_LF] = ACTIONS(1425), + [anon_sym_AMP] = ACTIONS(1425), }, - [505] = { + [535] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -21246,7 +21995,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1351), + [anon_sym_RBRACE] = ACTIONS(1427), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -21264,1472 +22013,741 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [506] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_COLON] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_leading_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), - }, - [507] = { - [anon_sym_RPAREN] = ACTIONS(1353), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [508] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1353), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [509] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_COLON] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_leading_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [510] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_COLON] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_leading_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, - [511] = { - [sym_string] = STATE(576), - [sym_array] = STATE(576), - [sym_simple_expansion] = STATE(576), - [sym_expansion] = STATE(576), - [sym_command_substitution] = STATE(576), - [sym_process_substitution] = STATE(576), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1355), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1357), - [sym_comment] = ACTIONS(115), - }, - [512] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_COLON] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_leading_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [513] = { - [sym_string] = STATE(577), - [sym_array] = STATE(577), - [sym_simple_expansion] = STATE(577), - [sym_expansion] = STATE(577), - [sym_command_substitution] = STATE(577), - [sym_process_substitution] = STATE(577), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1359), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1361), - [sym_comment] = ACTIONS(115), - }, - [514] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_COLON] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_leading_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [515] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(1363), - [anon_sym_PIPE] = ACTIONS(1363), - [anon_sym_PIPE_AMP] = ACTIONS(1363), - [anon_sym_AMP_AMP] = ACTIONS(1363), - [anon_sym_PIPE_PIPE] = ACTIONS(1363), - [anon_sym_LT] = ACTIONS(169), - [anon_sym_GT] = ACTIONS(169), - [anon_sym_GT_GT] = ACTIONS(169), - [anon_sym_AMP_GT] = ACTIONS(169), - [anon_sym_AMP_GT_GT] = ACTIONS(169), - [anon_sym_LT_AMP] = ACTIONS(169), - [anon_sym_GT_AMP] = ACTIONS(169), - [anon_sym_LT_LT] = ACTIONS(171), - [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1363), - [anon_sym_LF] = ACTIONS(1363), - [anon_sym_AMP] = ACTIONS(1363), - }, - [516] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_file_descriptor] = ACTIONS(163), - [anon_sym_SEMI_SEMI] = ACTIONS(1365), - [anon_sym_PIPE] = ACTIONS(1365), - [anon_sym_PIPE_AMP] = ACTIONS(1365), - [anon_sym_AMP_AMP] = ACTIONS(1365), - [anon_sym_PIPE_PIPE] = ACTIONS(1365), - [anon_sym_LT] = ACTIONS(169), - [anon_sym_GT] = ACTIONS(169), - [anon_sym_GT_GT] = ACTIONS(169), - [anon_sym_AMP_GT] = ACTIONS(169), - [anon_sym_AMP_GT_GT] = ACTIONS(169), - [anon_sym_LT_AMP] = ACTIONS(169), - [anon_sym_GT_AMP] = ACTIONS(169), - [anon_sym_LT_LT] = ACTIONS(171), - [anon_sym_LT_LT_DASH] = ACTIONS(171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1365), - [anon_sym_LF] = ACTIONS(1365), - [anon_sym_AMP] = ACTIONS(1365), - }, - [517] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(578), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1367), - [anon_sym_elif] = ACTIONS(1367), - [anon_sym_else] = ACTIONS(1367), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [518] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1369), - [anon_sym_PIPE] = ACTIONS(1369), - [anon_sym_PIPE_AMP] = ACTIONS(1369), - [anon_sym_AMP_AMP] = ACTIONS(1369), - [anon_sym_PIPE_PIPE] = ACTIONS(1369), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1369), - [anon_sym_LF] = ACTIONS(1369), - [anon_sym_AMP] = ACTIONS(1369), - }, - [519] = { - [anon_sym_fi] = ACTIONS(1371), - [sym_comment] = ACTIONS(115), - }, - [520] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(581), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_SEMI_SEMI] = ACTIONS(1373), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [521] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1375), - [anon_sym_PIPE] = ACTIONS(1375), - [anon_sym_PIPE_AMP] = ACTIONS(1375), - [anon_sym_AMP_AMP] = ACTIONS(1375), - [anon_sym_PIPE_PIPE] = ACTIONS(1375), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1375), - [anon_sym_LF] = ACTIONS(1375), - [anon_sym_AMP] = ACTIONS(1375), - }, - [522] = { - [anon_sym_esac] = ACTIONS(1377), - [anon_sym_LPAREN] = ACTIONS(1379), - [anon_sym_LT] = ACTIONS(1379), - [anon_sym_GT] = ACTIONS(1379), - [anon_sym_DQUOTE] = ACTIONS(1379), - [sym_raw_string] = ACTIONS(1377), - [anon_sym_DOLLAR] = ACTIONS(1377), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1379), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1379), - [anon_sym_BQUOTE] = ACTIONS(1379), - [sym_word] = ACTIONS(1381), - [sym_comment] = ACTIONS(115), - }, - [523] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(1383), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [524] = { - [anon_sym_in] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), - }, - [525] = { - [anon_sym_in] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), - }, - [526] = { - [anon_sym_RPAREN] = ACTIONS(1389), - [anon_sym_LPAREN] = ACTIONS(1389), - [anon_sym_RBRACE] = ACTIONS(1389), - [anon_sym_RBRACK] = ACTIONS(1391), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1391), - [anon_sym_LT] = ACTIONS(1389), - [anon_sym_GT] = ACTIONS(1389), - [anon_sym_DQUOTE] = ACTIONS(1389), - [sym_raw_string] = ACTIONS(1391), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1389), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1389), - [anon_sym_BQUOTE] = ACTIONS(1389), - [sym_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(115), - }, - [527] = { - [anon_sym_RPAREN] = ACTIONS(1393), - [anon_sym_LPAREN] = ACTIONS(1393), - [anon_sym_RBRACE] = ACTIONS(1393), - [anon_sym_RBRACK] = ACTIONS(1395), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1393), - [anon_sym_GT] = ACTIONS(1393), - [anon_sym_DQUOTE] = ACTIONS(1393), - [sym_raw_string] = ACTIONS(1395), - [anon_sym_DOLLAR] = ACTIONS(1395), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1393), - [anon_sym_BQUOTE] = ACTIONS(1393), - [sym_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(115), - }, - [528] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_LPAREN] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR] = ACTIONS(1187), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), - }, - [529] = { - [anon_sym_RBRACE] = ACTIONS(1397), - [sym_comment] = ACTIONS(115), - }, - [530] = { - [anon_sym_RBRACE] = ACTIONS(1399), - [sym_comment] = ACTIONS(115), - }, - [531] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), - }, - [532] = { - [anon_sym_RBRACE] = ACTIONS(1401), - [sym_comment] = ACTIONS(115), - }, - [533] = { - [anon_sym_RBRACE] = ACTIONS(1403), - [sym_comment] = ACTIONS(115), - }, - [534] = { - [sym__heredoc_middle] = ACTIONS(945), - [sym__heredoc_end] = ACTIONS(945), - [anon_sym_DOLLAR] = ACTIONS(947), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(945), - [sym_comment] = ACTIONS(115), - }, - [535] = { - [sym_string] = STATE(587), - [sym_array] = STATE(587), - [sym_simple_expansion] = STATE(587), - [sym_expansion] = STATE(587), - [sym_command_substitution] = STATE(587), - [sym_process_substitution] = STATE(587), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1405), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1407), - [sym_comment] = ACTIONS(115), - }, [536] = { - [sym__heredoc_middle] = ACTIONS(953), - [sym__heredoc_end] = ACTIONS(953), - [anon_sym_DOLLAR] = ACTIONS(955), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_COLON] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_leading_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), }, [537] = { - [sym_string] = STATE(588), - [sym_array] = STATE(588), - [sym_simple_expansion] = STATE(588), - [sym_expansion] = STATE(588), - [sym_command_substitution] = STATE(588), - [sym_process_substitution] = STATE(588), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1409), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1411), + [anon_sym_RPAREN] = ACTIONS(1429), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, [538] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1389), - [anon_sym_PIPE] = ACTIONS(1391), - [anon_sym_PIPE_AMP] = ACTIONS(1389), - [anon_sym_AMP_AMP] = ACTIONS(1391), - [anon_sym_PIPE_PIPE] = ACTIONS(1389), - [anon_sym_COLON] = ACTIONS(1389), - [anon_sym_LT] = ACTIONS(1391), - [anon_sym_GT] = ACTIONS(1391), - [anon_sym_GT_GT] = ACTIONS(1391), - [anon_sym_AMP_GT] = ACTIONS(1391), - [anon_sym_AMP_GT_GT] = ACTIONS(1391), - [anon_sym_LT_AMP] = ACTIONS(1391), - [anon_sym_GT_AMP] = ACTIONS(1391), - [anon_sym_DQUOTE] = ACTIONS(1389), - [sym_raw_string] = ACTIONS(1391), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1389), - [anon_sym_BQUOTE] = ACTIONS(1389), - [sym_leading_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(115), - }, - [539] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1393), - [anon_sym_PIPE] = ACTIONS(1395), - [anon_sym_PIPE_AMP] = ACTIONS(1393), - [anon_sym_AMP_AMP] = ACTIONS(1395), - [anon_sym_PIPE_PIPE] = ACTIONS(1393), - [anon_sym_COLON] = ACTIONS(1393), - [anon_sym_LT] = ACTIONS(1395), - [anon_sym_GT] = ACTIONS(1395), - [anon_sym_GT_GT] = ACTIONS(1395), - [anon_sym_AMP_GT] = ACTIONS(1395), - [anon_sym_AMP_GT_GT] = ACTIONS(1395), - [anon_sym_LT_AMP] = ACTIONS(1395), - [anon_sym_GT_AMP] = ACTIONS(1395), - [anon_sym_DQUOTE] = ACTIONS(1393), - [sym_raw_string] = ACTIONS(1395), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1393), - [anon_sym_BQUOTE] = ACTIONS(1393), - [sym_leading_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(115), - }, - [540] = { - [anon_sym_DQUOTE] = ACTIONS(1385), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1391), - [anon_sym_DOLLAR] = ACTIONS(1385), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - }, - [541] = { - [anon_sym_DQUOTE] = ACTIONS(1387), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1395), - [anon_sym_DOLLAR] = ACTIONS(1387), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - }, - [542] = { - [anon_sym_RPAREN] = ACTIONS(1413), - [anon_sym_PIPE] = ACTIONS(1415), - [anon_sym_PIPE_AMP] = ACTIONS(1413), - [anon_sym_AMP_AMP] = ACTIONS(1413), - [anon_sym_PIPE_PIPE] = ACTIONS(1413), - [anon_sym_BQUOTE] = ACTIONS(1413), - [sym_comment] = ACTIONS(115), - }, - [543] = { - [anon_sym_RPAREN] = ACTIONS(1417), - [anon_sym_PIPE] = ACTIONS(1419), - [anon_sym_PIPE_AMP] = ACTIONS(1417), - [anon_sym_AMP_AMP] = ACTIONS(1417), - [anon_sym_PIPE_PIPE] = ACTIONS(1417), - [anon_sym_BQUOTE] = ACTIONS(1417), - [sym_comment] = ACTIONS(115), - }, - [544] = { - [anon_sym_RPAREN] = ACTIONS(1421), - [anon_sym_PIPE] = ACTIONS(1423), - [anon_sym_PIPE_AMP] = ACTIONS(1421), - [anon_sym_AMP_AMP] = ACTIONS(1421), - [anon_sym_PIPE_PIPE] = ACTIONS(1421), - [anon_sym_BQUOTE] = ACTIONS(1421), - [sym_comment] = ACTIONS(115), - }, - [545] = { - [anon_sym_fi] = ACTIONS(1425), - [sym_comment] = ACTIONS(115), - }, - [546] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(590), - [anon_sym_fi] = ACTIONS(1425), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), - [sym_comment] = ACTIONS(115), - }, - [547] = { - [anon_sym_RPAREN] = ACTIONS(1427), - [anon_sym_PIPE] = ACTIONS(1429), - [anon_sym_PIPE_AMP] = ACTIONS(1427), - [anon_sym_AMP_AMP] = ACTIONS(1427), - [anon_sym_PIPE_PIPE] = ACTIONS(1427), - [anon_sym_BQUOTE] = ACTIONS(1427), - [sym_comment] = ACTIONS(115), - }, - [548] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(1431), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [549] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(592), - [anon_sym_esac] = ACTIONS(1431), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [550] = { - [anon_sym_RPAREN] = ACTIONS(1433), - [anon_sym_PIPE] = ACTIONS(1435), - [anon_sym_PIPE_AMP] = ACTIONS(1433), - [anon_sym_AMP_AMP] = ACTIONS(1433), - [anon_sym_PIPE_PIPE] = ACTIONS(1433), - [anon_sym_BQUOTE] = ACTIONS(1433), - [sym_comment] = ACTIONS(115), - }, - [551] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(937), - [anon_sym_LPAREN] = ACTIONS(937), - [anon_sym_PIPE] = ACTIONS(939), - [anon_sym_PIPE_AMP] = ACTIONS(937), - [anon_sym_AMP_AMP] = ACTIONS(937), - [anon_sym_PIPE_PIPE] = ACTIONS(939), - [anon_sym_LT] = ACTIONS(939), - [anon_sym_GT] = ACTIONS(939), - [anon_sym_GT_GT] = ACTIONS(937), - [anon_sym_AMP_GT] = ACTIONS(939), - [anon_sym_AMP_GT_GT] = ACTIONS(937), - [anon_sym_LT_AMP] = ACTIONS(937), - [anon_sym_GT_AMP] = ACTIONS(937), - [anon_sym_LT_LT] = ACTIONS(939), - [anon_sym_LT_LT_DASH] = ACTIONS(937), - [anon_sym_DQUOTE] = ACTIONS(937), - [sym_raw_string] = ACTIONS(939), - [anon_sym_DOLLAR] = ACTIONS(939), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(937), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(937), - [anon_sym_BQUOTE] = ACTIONS(937), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(115), - }, - [552] = { - [anon_sym_RPAREN] = ACTIONS(1437), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [553] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1437), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(1429), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [554] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(735), - [anon_sym_LPAREN] = ACTIONS(735), - [anon_sym_PIPE] = ACTIONS(943), - [anon_sym_PIPE_AMP] = ACTIONS(735), - [anon_sym_AMP_AMP] = ACTIONS(735), - [anon_sym_PIPE_PIPE] = ACTIONS(943), - [anon_sym_LT] = ACTIONS(943), - [anon_sym_GT] = ACTIONS(943), - [anon_sym_GT_GT] = ACTIONS(735), - [anon_sym_AMP_GT] = ACTIONS(943), - [anon_sym_AMP_GT_GT] = ACTIONS(735), - [anon_sym_LT_AMP] = ACTIONS(735), - [anon_sym_GT_AMP] = ACTIONS(735), - [anon_sym_LT_LT] = ACTIONS(943), - [anon_sym_LT_LT_DASH] = ACTIONS(735), - [anon_sym_DQUOTE] = ACTIONS(735), - [sym_raw_string] = ACTIONS(943), - [anon_sym_DOLLAR] = ACTIONS(943), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(735), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(735), - [anon_sym_BQUOTE] = ACTIONS(735), - [sym_word] = ACTIONS(737), + [539] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_COLON] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_leading_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [540] = { + [anon_sym_RBRACE] = ACTIONS(1431), [sym_comment] = ACTIONS(115), }, - [555] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(945), - [anon_sym_LPAREN] = ACTIONS(945), - [anon_sym_PIPE] = ACTIONS(947), - [anon_sym_PIPE_AMP] = ACTIONS(945), - [anon_sym_AMP_AMP] = ACTIONS(945), - [anon_sym_PIPE_PIPE] = ACTIONS(947), - [anon_sym_LT] = ACTIONS(947), - [anon_sym_GT] = ACTIONS(947), - [anon_sym_GT_GT] = ACTIONS(945), - [anon_sym_AMP_GT] = ACTIONS(947), - [anon_sym_AMP_GT_GT] = ACTIONS(945), - [anon_sym_LT_AMP] = ACTIONS(945), - [anon_sym_GT_AMP] = ACTIONS(945), - [anon_sym_LT_LT] = ACTIONS(947), - [anon_sym_LT_LT_DASH] = ACTIONS(945), - [anon_sym_DQUOTE] = ACTIONS(945), - [sym_raw_string] = ACTIONS(947), - [anon_sym_DOLLAR] = ACTIONS(947), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(945), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(945), - [anon_sym_BQUOTE] = ACTIONS(945), - [sym_word] = ACTIONS(925), + [541] = { + [anon_sym_RBRACE] = ACTIONS(1433), [sym_comment] = ACTIONS(115), }, - [556] = { - [sym_string] = STATE(594), - [sym_array] = STATE(594), - [sym_simple_expansion] = STATE(594), - [sym_expansion] = STATE(594), - [sym_command_substitution] = STATE(594), - [sym_process_substitution] = STATE(594), + [542] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_COLON] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_leading_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [543] = { + [sym_string] = STATE(620), + [sym_array] = STATE(620), + [sym_simple_expansion] = STATE(620), + [sym_expansion] = STATE(620), + [sym_command_substitution] = STATE(620), + [sym_process_substitution] = STATE(620), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1435), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1437), + [sym_comment] = ACTIONS(115), + }, + [544] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_COLON] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_leading_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, + [545] = { + [sym_string] = STATE(621), + [sym_array] = STATE(621), + [sym_simple_expansion] = STATE(621), + [sym_expansion] = STATE(621), + [sym_command_substitution] = STATE(621), + [sym_process_substitution] = STATE(621), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), [sym_raw_string] = ACTIONS(1439), - [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), [sym_word] = ACTIONS(1441), [sym_comment] = ACTIONS(115), }, - [557] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(953), - [anon_sym_LPAREN] = ACTIONS(953), - [anon_sym_PIPE] = ACTIONS(955), - [anon_sym_PIPE_AMP] = ACTIONS(953), - [anon_sym_AMP_AMP] = ACTIONS(953), - [anon_sym_PIPE_PIPE] = ACTIONS(955), - [anon_sym_LT] = ACTIONS(955), - [anon_sym_GT] = ACTIONS(955), - [anon_sym_GT_GT] = ACTIONS(953), - [anon_sym_AMP_GT] = ACTIONS(955), - [anon_sym_AMP_GT_GT] = ACTIONS(953), - [anon_sym_LT_AMP] = ACTIONS(953), - [anon_sym_GT_AMP] = ACTIONS(953), - [anon_sym_LT_LT] = ACTIONS(955), - [anon_sym_LT_LT_DASH] = ACTIONS(953), - [anon_sym_DQUOTE] = ACTIONS(953), - [sym_raw_string] = ACTIONS(955), - [anon_sym_DOLLAR] = ACTIONS(955), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), - [anon_sym_BQUOTE] = ACTIONS(953), - [sym_word] = ACTIONS(931), + [546] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_COLON] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_leading_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [547] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1443), + [anon_sym_PIPE] = ACTIONS(1443), + [anon_sym_PIPE_AMP] = ACTIONS(1443), + [anon_sym_AMP_AMP] = ACTIONS(1443), + [anon_sym_PIPE_PIPE] = ACTIONS(1443), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1443), + [anon_sym_LF] = ACTIONS(1443), + [anon_sym_AMP] = ACTIONS(1443), + }, + [548] = { + [sym_file_redirect] = STATE(170), + [sym_heredoc_redirect] = STATE(170), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1445), + [anon_sym_PIPE] = ACTIONS(1445), + [anon_sym_PIPE_AMP] = ACTIONS(1445), + [anon_sym_AMP_AMP] = ACTIONS(1445), + [anon_sym_PIPE_PIPE] = ACTIONS(1445), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1445), + [anon_sym_LF] = ACTIONS(1445), + [anon_sym_AMP] = ACTIONS(1445), + }, + [549] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(622), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1447), + [anon_sym_elif] = ACTIONS(1447), + [anon_sym_else] = ACTIONS(1447), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [558] = { - [sym_string] = STATE(595), - [sym_array] = STATE(595), - [sym_simple_expansion] = STATE(595), - [sym_expansion] = STATE(595), - [sym_command_substitution] = STATE(595), - [sym_process_substitution] = STATE(595), + [550] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1449), + [anon_sym_PIPE] = ACTIONS(1449), + [anon_sym_PIPE_AMP] = ACTIONS(1449), + [anon_sym_AMP_AMP] = ACTIONS(1449), + [anon_sym_PIPE_PIPE] = ACTIONS(1449), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1449), + [anon_sym_LF] = ACTIONS(1449), + [anon_sym_AMP] = ACTIONS(1449), + }, + [551] = { + [anon_sym_fi] = ACTIONS(1451), + [sym_comment] = ACTIONS(115), + }, + [552] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(625), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_SEMI_SEMI] = ACTIONS(1453), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [553] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1455), + [anon_sym_PIPE] = ACTIONS(1455), + [anon_sym_PIPE_AMP] = ACTIONS(1455), + [anon_sym_AMP_AMP] = ACTIONS(1455), + [anon_sym_PIPE_PIPE] = ACTIONS(1455), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1455), + [anon_sym_LF] = ACTIONS(1455), + [anon_sym_AMP] = ACTIONS(1455), + }, + [554] = { + [anon_sym_esac] = ACTIONS(1457), + [anon_sym_LPAREN] = ACTIONS(1459), + [anon_sym_LT] = ACTIONS(1459), + [anon_sym_GT] = ACTIONS(1459), + [anon_sym_DQUOTE] = ACTIONS(1459), + [sym_raw_string] = ACTIONS(1457), + [anon_sym_DOLLAR] = ACTIONS(1457), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1459), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1459), + [anon_sym_BQUOTE] = ACTIONS(1459), + [sym_word] = ACTIONS(1461), + [sym_comment] = ACTIONS(115), + }, + [555] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(1463), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1443), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1445), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [556] = { + [anon_sym_in] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), + }, + [557] = { + [anon_sym_in] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), + }, + [558] = { + [anon_sym_RPAREN] = ACTIONS(1469), + [anon_sym_LPAREN] = ACTIONS(1469), + [anon_sym_RBRACE] = ACTIONS(1469), + [anon_sym_RBRACK] = ACTIONS(1471), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1471), + [anon_sym_LT] = ACTIONS(1469), + [anon_sym_GT] = ACTIONS(1469), + [anon_sym_DQUOTE] = ACTIONS(1469), + [sym_raw_string] = ACTIONS(1471), + [anon_sym_DOLLAR] = ACTIONS(1471), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1469), + [anon_sym_BQUOTE] = ACTIONS(1469), + [sym_word] = ACTIONS(1465), [sym_comment] = ACTIONS(115), }, [559] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(845), - [anon_sym_LPAREN] = ACTIONS(845), - [anon_sym_PIPE] = ACTIONS(961), - [anon_sym_PIPE_AMP] = ACTIONS(845), - [anon_sym_AMP_AMP] = ACTIONS(845), - [anon_sym_PIPE_PIPE] = ACTIONS(961), - [anon_sym_LT] = ACTIONS(961), - [anon_sym_GT] = ACTIONS(961), - [anon_sym_GT_GT] = ACTIONS(845), - [anon_sym_AMP_GT] = ACTIONS(961), - [anon_sym_AMP_GT_GT] = ACTIONS(845), - [anon_sym_LT_AMP] = ACTIONS(845), - [anon_sym_GT_AMP] = ACTIONS(845), - [anon_sym_LT_LT] = ACTIONS(961), - [anon_sym_LT_LT_DASH] = ACTIONS(845), - [anon_sym_DQUOTE] = ACTIONS(845), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(961), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(845), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(845), - [anon_sym_BQUOTE] = ACTIONS(845), - [sym_word] = ACTIONS(847), + [anon_sym_RPAREN] = ACTIONS(1473), + [anon_sym_LPAREN] = ACTIONS(1473), + [anon_sym_RBRACE] = ACTIONS(1473), + [anon_sym_RBRACK] = ACTIONS(1475), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1475), + [anon_sym_LT] = ACTIONS(1473), + [anon_sym_GT] = ACTIONS(1473), + [anon_sym_DQUOTE] = ACTIONS(1473), + [sym_raw_string] = ACTIONS(1475), + [anon_sym_DOLLAR] = ACTIONS(1475), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1473), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1473), + [anon_sym_BQUOTE] = ACTIONS(1473), + [sym_word] = ACTIONS(1467), [sym_comment] = ACTIONS(115), }, [560] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(937), - [anon_sym_PIPE] = ACTIONS(939), - [anon_sym_PIPE_AMP] = ACTIONS(937), - [anon_sym_AMP_AMP] = ACTIONS(937), - [anon_sym_PIPE_PIPE] = ACTIONS(937), - [anon_sym_LT] = ACTIONS(939), - [anon_sym_GT] = ACTIONS(939), - [anon_sym_GT_GT] = ACTIONS(937), - [anon_sym_AMP_GT] = ACTIONS(939), - [anon_sym_AMP_GT_GT] = ACTIONS(937), - [anon_sym_LT_AMP] = ACTIONS(937), - [anon_sym_GT_AMP] = ACTIONS(937), - [anon_sym_LT_LT] = ACTIONS(939), - [anon_sym_LT_LT_DASH] = ACTIONS(937), - [anon_sym_BQUOTE] = ACTIONS(937), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_LPAREN] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR] = ACTIONS(1237), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, [561] = { - [anon_sym_RPAREN] = ACTIONS(1447), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [562] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(1447), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [563] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(735), - [anon_sym_PIPE] = ACTIONS(943), - [anon_sym_PIPE_AMP] = ACTIONS(735), - [anon_sym_AMP_AMP] = ACTIONS(735), - [anon_sym_PIPE_PIPE] = ACTIONS(735), - [anon_sym_LT] = ACTIONS(943), - [anon_sym_GT] = ACTIONS(943), - [anon_sym_GT_GT] = ACTIONS(735), - [anon_sym_AMP_GT] = ACTIONS(943), - [anon_sym_AMP_GT_GT] = ACTIONS(735), - [anon_sym_LT_AMP] = ACTIONS(735), - [anon_sym_GT_AMP] = ACTIONS(735), - [anon_sym_LT_LT] = ACTIONS(943), - [anon_sym_LT_LT_DASH] = ACTIONS(735), - [anon_sym_BQUOTE] = ACTIONS(735), - [sym_comment] = ACTIONS(115), - }, - [564] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(945), - [anon_sym_PIPE] = ACTIONS(947), - [anon_sym_PIPE_AMP] = ACTIONS(945), - [anon_sym_AMP_AMP] = ACTIONS(945), - [anon_sym_PIPE_PIPE] = ACTIONS(945), - [anon_sym_LT] = ACTIONS(947), - [anon_sym_GT] = ACTIONS(947), - [anon_sym_GT_GT] = ACTIONS(945), - [anon_sym_AMP_GT] = ACTIONS(947), - [anon_sym_AMP_GT_GT] = ACTIONS(945), - [anon_sym_LT_AMP] = ACTIONS(945), - [anon_sym_GT_AMP] = ACTIONS(945), - [anon_sym_LT_LT] = ACTIONS(947), - [anon_sym_LT_LT_DASH] = ACTIONS(945), - [anon_sym_BQUOTE] = ACTIONS(945), - [sym_comment] = ACTIONS(115), - }, - [565] = { - [sym_string] = STATE(597), - [sym_array] = STATE(597), - [sym_simple_expansion] = STATE(597), - [sym_expansion] = STATE(597), - [sym_command_substitution] = STATE(597), - [sym_process_substitution] = STATE(597), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1449), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1451), - [sym_comment] = ACTIONS(115), - }, - [566] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(953), - [anon_sym_PIPE] = ACTIONS(955), - [anon_sym_PIPE_AMP] = ACTIONS(953), - [anon_sym_AMP_AMP] = ACTIONS(953), - [anon_sym_PIPE_PIPE] = ACTIONS(953), - [anon_sym_LT] = ACTIONS(955), - [anon_sym_GT] = ACTIONS(955), - [anon_sym_GT_GT] = ACTIONS(953), - [anon_sym_AMP_GT] = ACTIONS(955), - [anon_sym_AMP_GT_GT] = ACTIONS(953), - [anon_sym_LT_AMP] = ACTIONS(953), - [anon_sym_GT_AMP] = ACTIONS(953), - [anon_sym_LT_LT] = ACTIONS(955), - [anon_sym_LT_LT_DASH] = ACTIONS(953), - [anon_sym_BQUOTE] = ACTIONS(953), - [sym_comment] = ACTIONS(115), - }, - [567] = { - [sym_string] = STATE(598), - [sym_array] = STATE(598), - [sym_simple_expansion] = STATE(598), - [sym_expansion] = STATE(598), - [sym_command_substitution] = STATE(598), - [sym_process_substitution] = STATE(598), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(1453), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(1455), - [sym_comment] = ACTIONS(115), - }, - [568] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(845), - [anon_sym_PIPE] = ACTIONS(961), - [anon_sym_PIPE_AMP] = ACTIONS(845), - [anon_sym_AMP_AMP] = ACTIONS(845), - [anon_sym_PIPE_PIPE] = ACTIONS(845), - [anon_sym_LT] = ACTIONS(961), - [anon_sym_GT] = ACTIONS(961), - [anon_sym_GT_GT] = ACTIONS(845), - [anon_sym_AMP_GT] = ACTIONS(961), - [anon_sym_AMP_GT_GT] = ACTIONS(845), - [anon_sym_LT_AMP] = ACTIONS(845), - [anon_sym_GT_AMP] = ACTIONS(845), - [anon_sym_LT_LT] = ACTIONS(961), - [anon_sym_LT_LT_DASH] = ACTIONS(845), - [anon_sym_BQUOTE] = ACTIONS(845), - [sym_comment] = ACTIONS(115), - }, - [569] = { - [sym_file_descriptor] = ACTIONS(1253), - [anon_sym_RPAREN] = ACTIONS(1253), - [anon_sym_PIPE] = ACTIONS(1457), + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_LPAREN] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), [anon_sym_PIPE_AMP] = ACTIONS(1253), [anon_sym_AMP_AMP] = ACTIONS(1253), [anon_sym_PIPE_PIPE] = ACTIONS(1253), - [anon_sym_LT] = ACTIONS(1457), - [anon_sym_GT] = ACTIONS(1457), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), [anon_sym_GT_GT] = ACTIONS(1253), - [anon_sym_AMP_GT] = ACTIONS(1457), + [anon_sym_AMP_GT] = ACTIONS(1253), [anon_sym_AMP_GT_GT] = ACTIONS(1253), [anon_sym_LT_AMP] = ACTIONS(1253), [anon_sym_GT_AMP] = ACTIONS(1253), - [anon_sym_LT_LT] = ACTIONS(1457), + [anon_sym_LT_LT] = ACTIONS(1253), [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR] = ACTIONS(1253), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), [anon_sym_BQUOTE] = ACTIONS(1253), - [sym_comment] = ACTIONS(115), + [sym_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), }, - [570] = { - [anon_sym_RPAREN] = ACTIONS(1459), - [anon_sym_PIPE] = ACTIONS(1461), - [anon_sym_PIPE_AMP] = ACTIONS(1459), - [anon_sym_AMP_AMP] = ACTIONS(1459), - [anon_sym_PIPE_PIPE] = ACTIONS(1459), - [anon_sym_BQUOTE] = ACTIONS(1459), - [sym_comment] = ACTIONS(115), + [562] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_LPAREN] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR] = ACTIONS(1255), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), }, - [571] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1463), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [572] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1465), - [anon_sym_PIPE] = ACTIONS(1467), - [anon_sym_PIPE_AMP] = ACTIONS(1465), - [anon_sym_AMP_AMP] = ACTIONS(1465), - [anon_sym_PIPE_PIPE] = ACTIONS(1465), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1465), - [sym_comment] = ACTIONS(115), - }, - [573] = { - [sym_file_redirect] = STATE(361), - [sym_heredoc_redirect] = STATE(361), - [sym_file_descriptor] = ACTIONS(443), - [anon_sym_RPAREN] = ACTIONS(1469), - [anon_sym_PIPE] = ACTIONS(1471), - [anon_sym_PIPE_AMP] = ACTIONS(1469), - [anon_sym_AMP_AMP] = ACTIONS(1469), - [anon_sym_PIPE_PIPE] = ACTIONS(1469), - [anon_sym_LT] = ACTIONS(777), - [anon_sym_GT] = ACTIONS(777), - [anon_sym_GT_GT] = ACTIONS(775), - [anon_sym_AMP_GT] = ACTIONS(777), - [anon_sym_AMP_GT_GT] = ACTIONS(775), - [anon_sym_LT_AMP] = ACTIONS(775), - [anon_sym_GT_AMP] = ACTIONS(775), - [anon_sym_LT_LT] = ACTIONS(779), - [anon_sym_LT_LT_DASH] = ACTIONS(781), - [anon_sym_BQUOTE] = ACTIONS(1469), - [sym_comment] = ACTIONS(115), - }, - [574] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1473), - [anon_sym_PIPE] = ACTIONS(1473), - [anon_sym_PIPE_AMP] = ACTIONS(1473), - [anon_sym_AMP_AMP] = ACTIONS(1473), - [anon_sym_PIPE_PIPE] = ACTIONS(1473), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1473), - [anon_sym_LF] = ACTIONS(1473), - [anon_sym_AMP] = ACTIONS(1473), - }, - [575] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_COLON] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_leading_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), - }, - [576] = { - [anon_sym_RBRACE] = ACTIONS(1475), - [sym_comment] = ACTIONS(115), - }, - [577] = { + [563] = { [anon_sym_RBRACE] = ACTIONS(1477), [sym_comment] = ACTIONS(115), }, - [578] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1479), - [anon_sym_elif] = ACTIONS(1479), - [anon_sym_else] = ACTIONS(1479), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [564] = { + [anon_sym_RBRACE] = ACTIONS(1479), [sym_comment] = ACTIONS(115), }, + [565] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), + }, + [566] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [567] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [568] = { + [anon_sym_RBRACE] = ACTIONS(1481), + [sym_comment] = ACTIONS(115), + }, + [569] = { + [anon_sym_RBRACE] = ACTIONS(1483), + [sym_comment] = ACTIONS(115), + }, + [570] = { + [anon_sym_RBRACE] = ACTIONS(1485), + [sym_comment] = ACTIONS(115), + }, + [571] = { + [anon_sym_RBRACE] = ACTIONS(1487), + [sym_comment] = ACTIONS(115), + }, + [572] = { + [sym__heredoc_middle] = ACTIONS(975), + [sym__heredoc_end] = ACTIONS(975), + [anon_sym_DOLLAR] = ACTIONS(977), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(975), + [sym_comment] = ACTIONS(115), + }, + [573] = { + [sym_string] = STATE(633), + [sym_array] = STATE(633), + [sym_simple_expansion] = STATE(633), + [sym_expansion] = STATE(633), + [sym_command_substitution] = STATE(633), + [sym_process_substitution] = STATE(633), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1489), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1491), + [sym_comment] = ACTIONS(115), + }, + [574] = { + [sym__heredoc_middle] = ACTIONS(983), + [sym__heredoc_end] = ACTIONS(983), + [anon_sym_DOLLAR] = ACTIONS(985), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(983), + [sym_comment] = ACTIONS(115), + }, + [575] = { + [sym_string] = STATE(634), + [sym_array] = STATE(634), + [sym_simple_expansion] = STATE(634), + [sym_expansion] = STATE(634), + [sym_command_substitution] = STATE(634), + [sym_process_substitution] = STATE(634), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1493), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1495), + [sym_comment] = ACTIONS(115), + }, + [576] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1469), + [anon_sym_PIPE] = ACTIONS(1471), + [anon_sym_PIPE_AMP] = ACTIONS(1469), + [anon_sym_AMP_AMP] = ACTIONS(1471), + [anon_sym_PIPE_PIPE] = ACTIONS(1469), + [anon_sym_COLON] = ACTIONS(1469), + [anon_sym_LT] = ACTIONS(1471), + [anon_sym_GT] = ACTIONS(1471), + [anon_sym_GT_GT] = ACTIONS(1471), + [anon_sym_AMP_GT] = ACTIONS(1471), + [anon_sym_AMP_GT_GT] = ACTIONS(1471), + [anon_sym_LT_AMP] = ACTIONS(1471), + [anon_sym_GT_AMP] = ACTIONS(1471), + [anon_sym_DQUOTE] = ACTIONS(1469), + [sym_raw_string] = ACTIONS(1471), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1469), + [anon_sym_BQUOTE] = ACTIONS(1469), + [sym_leading_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(115), + }, + [577] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1473), + [anon_sym_PIPE] = ACTIONS(1475), + [anon_sym_PIPE_AMP] = ACTIONS(1473), + [anon_sym_AMP_AMP] = ACTIONS(1475), + [anon_sym_PIPE_PIPE] = ACTIONS(1473), + [anon_sym_COLON] = ACTIONS(1473), + [anon_sym_LT] = ACTIONS(1475), + [anon_sym_GT] = ACTIONS(1475), + [anon_sym_GT_GT] = ACTIONS(1475), + [anon_sym_AMP_GT] = ACTIONS(1475), + [anon_sym_AMP_GT_GT] = ACTIONS(1475), + [anon_sym_LT_AMP] = ACTIONS(1475), + [anon_sym_GT_AMP] = ACTIONS(1475), + [anon_sym_DQUOTE] = ACTIONS(1473), + [sym_raw_string] = ACTIONS(1475), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1473), + [anon_sym_BQUOTE] = ACTIONS(1473), + [sym_leading_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(115), + }, + [578] = { + [anon_sym_DQUOTE] = ACTIONS(1465), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1471), + [anon_sym_DOLLAR] = ACTIONS(1465), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + }, [579] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1481), - [anon_sym_PIPE] = ACTIONS(1481), - [anon_sym_PIPE_AMP] = ACTIONS(1481), - [anon_sym_AMP_AMP] = ACTIONS(1481), - [anon_sym_PIPE_PIPE] = ACTIONS(1481), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1481), - [anon_sym_LF] = ACTIONS(1481), - [anon_sym_AMP] = ACTIONS(1481), + [anon_sym_DQUOTE] = ACTIONS(1467), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1475), + [anon_sym_DOLLAR] = ACTIONS(1467), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), }, [580] = { - [anon_sym_esac] = ACTIONS(1483), - [anon_sym_LPAREN] = ACTIONS(1485), - [anon_sym_LT] = ACTIONS(1485), - [anon_sym_GT] = ACTIONS(1485), - [anon_sym_DQUOTE] = ACTIONS(1485), - [sym_raw_string] = ACTIONS(1483), - [anon_sym_DOLLAR] = ACTIONS(1483), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1485), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1485), - [anon_sym_BQUOTE] = ACTIONS(1485), - [sym_word] = ACTIONS(1487), - [sym_comment] = ACTIONS(115), - }, - [581] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_SEMI_SEMI] = ACTIONS(1489), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [582] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1491), - [anon_sym_PIPE] = ACTIONS(1491), - [anon_sym_PIPE_AMP] = ACTIONS(1491), - [anon_sym_AMP_AMP] = ACTIONS(1491), - [anon_sym_PIPE_PIPE] = ACTIONS(1491), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1491), - [anon_sym_LF] = ACTIONS(1491), - [anon_sym_AMP] = ACTIONS(1491), - }, - [583] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_LPAREN] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR] = ACTIONS(1385), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), - }, - [584] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_LPAREN] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR] = ACTIONS(1387), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), - }, - [585] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), - }, - [586] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), - }, - [587] = { - [anon_sym_RBRACE] = ACTIONS(1493), - [sym_comment] = ACTIONS(115), - }, - [588] = { - [anon_sym_RBRACE] = ACTIONS(1495), - [sym_comment] = ACTIONS(115), - }, - [589] = { [anon_sym_RPAREN] = ACTIONS(1497), [anon_sym_PIPE] = ACTIONS(1499), [anon_sym_PIPE_AMP] = ACTIONS(1497), @@ -22738,102 +22756,89 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_BQUOTE] = ACTIONS(1497), [sym_comment] = ACTIONS(115), }, - [590] = { - [anon_sym_fi] = ACTIONS(1501), + [581] = { + [anon_sym_RPAREN] = ACTIONS(1501), + [anon_sym_PIPE] = ACTIONS(1503), + [anon_sym_PIPE_AMP] = ACTIONS(1501), + [anon_sym_AMP_AMP] = ACTIONS(1501), + [anon_sym_PIPE_PIPE] = ACTIONS(1501), + [anon_sym_BQUOTE] = ACTIONS(1501), [sym_comment] = ACTIONS(115), }, - [591] = { - [anon_sym_RPAREN] = ACTIONS(1503), - [anon_sym_PIPE] = ACTIONS(1505), - [anon_sym_PIPE_AMP] = ACTIONS(1503), - [anon_sym_AMP_AMP] = ACTIONS(1503), - [anon_sym_PIPE_PIPE] = ACTIONS(1503), - [anon_sym_BQUOTE] = ACTIONS(1503), + [582] = { + [anon_sym_RPAREN] = ACTIONS(1505), + [anon_sym_PIPE] = ACTIONS(1507), + [anon_sym_PIPE_AMP] = ACTIONS(1505), + [anon_sym_AMP_AMP] = ACTIONS(1505), + [anon_sym_PIPE_PIPE] = ACTIONS(1505), + [anon_sym_BQUOTE] = ACTIONS(1505), [sym_comment] = ACTIONS(115), }, - [592] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(1507), + [583] = { + [anon_sym_fi] = ACTIONS(1509), + [sym_comment] = ACTIONS(115), + }, + [584] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(636), + [anon_sym_fi] = ACTIONS(1509), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), + [sym_comment] = ACTIONS(115), + }, + [585] = { + [anon_sym_RPAREN] = ACTIONS(1511), + [anon_sym_PIPE] = ACTIONS(1513), + [anon_sym_PIPE_AMP] = ACTIONS(1511), + [anon_sym_AMP_AMP] = ACTIONS(1511), + [anon_sym_PIPE_PIPE] = ACTIONS(1511), + [anon_sym_BQUOTE] = ACTIONS(1511), + [sym_comment] = ACTIONS(115), + }, + [586] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(1515), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, - [593] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1209), - [anon_sym_LPAREN] = ACTIONS(1209), - [anon_sym_PIPE] = ACTIONS(1211), - [anon_sym_PIPE_AMP] = ACTIONS(1209), - [anon_sym_AMP_AMP] = ACTIONS(1209), - [anon_sym_PIPE_PIPE] = ACTIONS(1211), - [anon_sym_LT] = ACTIONS(1211), - [anon_sym_GT] = ACTIONS(1211), - [anon_sym_GT_GT] = ACTIONS(1209), - [anon_sym_AMP_GT] = ACTIONS(1211), - [anon_sym_AMP_GT_GT] = ACTIONS(1209), - [anon_sym_LT_AMP] = ACTIONS(1209), - [anon_sym_GT_AMP] = ACTIONS(1209), - [anon_sym_LT_LT] = ACTIONS(1211), - [anon_sym_LT_LT_DASH] = ACTIONS(1209), - [anon_sym_DQUOTE] = ACTIONS(1209), - [sym_raw_string] = ACTIONS(1211), - [anon_sym_DOLLAR] = ACTIONS(1211), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1209), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), - [anon_sym_BQUOTE] = ACTIONS(1209), - [sym_word] = ACTIONS(1187), + [587] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(638), + [anon_sym_esac] = ACTIONS(1515), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, - [594] = { - [anon_sym_RBRACE] = ACTIONS(1509), - [sym_comment] = ACTIONS(115), - }, - [595] = { - [anon_sym_RBRACE] = ACTIONS(1511), - [sym_comment] = ACTIONS(115), - }, - [596] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1209), - [anon_sym_PIPE] = ACTIONS(1211), - [anon_sym_PIPE_AMP] = ACTIONS(1209), - [anon_sym_AMP_AMP] = ACTIONS(1209), - [anon_sym_PIPE_PIPE] = ACTIONS(1209), - [anon_sym_LT] = ACTIONS(1211), - [anon_sym_GT] = ACTIONS(1211), - [anon_sym_GT_GT] = ACTIONS(1209), - [anon_sym_AMP_GT] = ACTIONS(1211), - [anon_sym_AMP_GT_GT] = ACTIONS(1209), - [anon_sym_LT_AMP] = ACTIONS(1209), - [anon_sym_GT_AMP] = ACTIONS(1209), - [anon_sym_LT_LT] = ACTIONS(1211), - [anon_sym_LT_LT_DASH] = ACTIONS(1209), - [anon_sym_BQUOTE] = ACTIONS(1209), - [sym_comment] = ACTIONS(115), - }, - [597] = { - [anon_sym_RBRACE] = ACTIONS(1513), - [sym_comment] = ACTIONS(115), - }, - [598] = { - [anon_sym_RBRACE] = ACTIONS(1515), - [sym_comment] = ACTIONS(115), - }, - [599] = { + [588] = { [anon_sym_RPAREN] = ACTIONS(1517), [anon_sym_PIPE] = ACTIONS(1519), [anon_sym_PIPE_AMP] = ACTIONS(1517), @@ -22842,254 +22847,424 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_BQUOTE] = ACTIONS(1517), [sym_comment] = ACTIONS(115), }, + [589] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(963), + [anon_sym_LPAREN] = ACTIONS(963), + [anon_sym_PIPE] = ACTIONS(965), + [anon_sym_PIPE_AMP] = ACTIONS(963), + [anon_sym_AMP_AMP] = ACTIONS(963), + [anon_sym_PIPE_PIPE] = ACTIONS(965), + [anon_sym_LT] = ACTIONS(965), + [anon_sym_GT] = ACTIONS(965), + [anon_sym_GT_GT] = ACTIONS(963), + [anon_sym_AMP_GT] = ACTIONS(965), + [anon_sym_AMP_GT_GT] = ACTIONS(963), + [anon_sym_LT_AMP] = ACTIONS(963), + [anon_sym_GT_AMP] = ACTIONS(963), + [anon_sym_LT_LT] = ACTIONS(965), + [anon_sym_LT_LT_DASH] = ACTIONS(963), + [anon_sym_DQUOTE] = ACTIONS(963), + [sym_raw_string] = ACTIONS(965), + [anon_sym_DOLLAR] = ACTIONS(965), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(963), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(963), + [anon_sym_BQUOTE] = ACTIONS(963), + [sym_word] = ACTIONS(929), + [sym_comment] = ACTIONS(115), + }, + [590] = { + [anon_sym_RPAREN] = ACTIONS(1521), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [591] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1521), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [592] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(755), + [anon_sym_LPAREN] = ACTIONS(755), + [anon_sym_PIPE] = ACTIONS(969), + [anon_sym_PIPE_AMP] = ACTIONS(755), + [anon_sym_AMP_AMP] = ACTIONS(755), + [anon_sym_PIPE_PIPE] = ACTIONS(969), + [anon_sym_LT] = ACTIONS(969), + [anon_sym_GT] = ACTIONS(969), + [anon_sym_GT_GT] = ACTIONS(755), + [anon_sym_AMP_GT] = ACTIONS(969), + [anon_sym_AMP_GT_GT] = ACTIONS(755), + [anon_sym_LT_AMP] = ACTIONS(755), + [anon_sym_GT_AMP] = ACTIONS(755), + [anon_sym_LT_LT] = ACTIONS(969), + [anon_sym_LT_LT_DASH] = ACTIONS(755), + [anon_sym_DQUOTE] = ACTIONS(755), + [sym_raw_string] = ACTIONS(969), + [anon_sym_DOLLAR] = ACTIONS(969), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(755), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(755), + [anon_sym_BQUOTE] = ACTIONS(755), + [sym_word] = ACTIONS(757), + [sym_comment] = ACTIONS(115), + }, + [593] = { + [anon_sym_RBRACE] = ACTIONS(1523), + [sym_comment] = ACTIONS(115), + }, + [594] = { + [anon_sym_RBRACE] = ACTIONS(1525), + [sym_comment] = ACTIONS(115), + }, + [595] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(975), + [anon_sym_LPAREN] = ACTIONS(975), + [anon_sym_PIPE] = ACTIONS(977), + [anon_sym_PIPE_AMP] = ACTIONS(975), + [anon_sym_AMP_AMP] = ACTIONS(975), + [anon_sym_PIPE_PIPE] = ACTIONS(977), + [anon_sym_LT] = ACTIONS(977), + [anon_sym_GT] = ACTIONS(977), + [anon_sym_GT_GT] = ACTIONS(975), + [anon_sym_AMP_GT] = ACTIONS(977), + [anon_sym_AMP_GT_GT] = ACTIONS(975), + [anon_sym_LT_AMP] = ACTIONS(975), + [anon_sym_GT_AMP] = ACTIONS(975), + [anon_sym_LT_LT] = ACTIONS(977), + [anon_sym_LT_LT_DASH] = ACTIONS(975), + [anon_sym_DQUOTE] = ACTIONS(975), + [sym_raw_string] = ACTIONS(977), + [anon_sym_DOLLAR] = ACTIONS(977), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(975), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(975), + [anon_sym_BQUOTE] = ACTIONS(975), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(115), + }, + [596] = { + [sym_string] = STATE(642), + [sym_array] = STATE(642), + [sym_simple_expansion] = STATE(642), + [sym_expansion] = STATE(642), + [sym_command_substitution] = STATE(642), + [sym_process_substitution] = STATE(642), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1527), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1529), + [sym_comment] = ACTIONS(115), + }, + [597] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(983), + [anon_sym_LPAREN] = ACTIONS(983), + [anon_sym_PIPE] = ACTIONS(985), + [anon_sym_PIPE_AMP] = ACTIONS(983), + [anon_sym_AMP_AMP] = ACTIONS(983), + [anon_sym_PIPE_PIPE] = ACTIONS(985), + [anon_sym_LT] = ACTIONS(985), + [anon_sym_GT] = ACTIONS(985), + [anon_sym_GT_GT] = ACTIONS(983), + [anon_sym_AMP_GT] = ACTIONS(985), + [anon_sym_AMP_GT_GT] = ACTIONS(983), + [anon_sym_LT_AMP] = ACTIONS(983), + [anon_sym_GT_AMP] = ACTIONS(983), + [anon_sym_LT_LT] = ACTIONS(985), + [anon_sym_LT_LT_DASH] = ACTIONS(983), + [anon_sym_DQUOTE] = ACTIONS(983), + [sym_raw_string] = ACTIONS(985), + [anon_sym_DOLLAR] = ACTIONS(985), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(983), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(983), + [anon_sym_BQUOTE] = ACTIONS(983), + [sym_word] = ACTIONS(957), + [sym_comment] = ACTIONS(115), + }, + [598] = { + [sym_string] = STATE(643), + [sym_array] = STATE(643), + [sym_simple_expansion] = STATE(643), + [sym_expansion] = STATE(643), + [sym_command_substitution] = STATE(643), + [sym_process_substitution] = STATE(643), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1531), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1533), + [sym_comment] = ACTIONS(115), + }, + [599] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(865), + [anon_sym_LPAREN] = ACTIONS(865), + [anon_sym_PIPE] = ACTIONS(991), + [anon_sym_PIPE_AMP] = ACTIONS(865), + [anon_sym_AMP_AMP] = ACTIONS(865), + [anon_sym_PIPE_PIPE] = ACTIONS(991), + [anon_sym_LT] = ACTIONS(991), + [anon_sym_GT] = ACTIONS(991), + [anon_sym_GT_GT] = ACTIONS(865), + [anon_sym_AMP_GT] = ACTIONS(991), + [anon_sym_AMP_GT_GT] = ACTIONS(865), + [anon_sym_LT_AMP] = ACTIONS(865), + [anon_sym_GT_AMP] = ACTIONS(865), + [anon_sym_LT_LT] = ACTIONS(991), + [anon_sym_LT_LT_DASH] = ACTIONS(865), + [anon_sym_DQUOTE] = ACTIONS(865), + [sym_raw_string] = ACTIONS(991), + [anon_sym_DOLLAR] = ACTIONS(991), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(865), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(115), + }, [600] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_COLON] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_leading_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(963), + [anon_sym_PIPE] = ACTIONS(965), + [anon_sym_PIPE_AMP] = ACTIONS(963), + [anon_sym_AMP_AMP] = ACTIONS(963), + [anon_sym_PIPE_PIPE] = ACTIONS(963), + [anon_sym_LT] = ACTIONS(965), + [anon_sym_GT] = ACTIONS(965), + [anon_sym_GT_GT] = ACTIONS(963), + [anon_sym_AMP_GT] = ACTIONS(965), + [anon_sym_AMP_GT_GT] = ACTIONS(963), + [anon_sym_LT_AMP] = ACTIONS(963), + [anon_sym_GT_AMP] = ACTIONS(963), + [anon_sym_LT_LT] = ACTIONS(965), + [anon_sym_LT_LT_DASH] = ACTIONS(963), + [anon_sym_BQUOTE] = ACTIONS(963), + [sym_comment] = ACTIONS(115), }, [601] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_COLON] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_leading_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [anon_sym_RPAREN] = ACTIONS(1535), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), }, [602] = { - [anon_sym_esac] = ACTIONS(1521), - [anon_sym_LPAREN] = ACTIONS(1523), - [anon_sym_LT] = ACTIONS(1523), - [anon_sym_GT] = ACTIONS(1523), - [anon_sym_DQUOTE] = ACTIONS(1523), - [sym_raw_string] = ACTIONS(1521), - [anon_sym_DOLLAR] = ACTIONS(1521), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1523), - [anon_sym_BQUOTE] = ACTIONS(1523), - [sym_word] = ACTIONS(1525), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1535), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [603] = { - [sym__heredoc_middle] = ACTIONS(1389), - [sym__heredoc_end] = ACTIONS(1389), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1389), + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(755), + [anon_sym_PIPE] = ACTIONS(969), + [anon_sym_PIPE_AMP] = ACTIONS(755), + [anon_sym_AMP_AMP] = ACTIONS(755), + [anon_sym_PIPE_PIPE] = ACTIONS(755), + [anon_sym_LT] = ACTIONS(969), + [anon_sym_GT] = ACTIONS(969), + [anon_sym_GT_GT] = ACTIONS(755), + [anon_sym_AMP_GT] = ACTIONS(969), + [anon_sym_AMP_GT_GT] = ACTIONS(755), + [anon_sym_LT_AMP] = ACTIONS(755), + [anon_sym_GT_AMP] = ACTIONS(755), + [anon_sym_LT_LT] = ACTIONS(969), + [anon_sym_LT_LT_DASH] = ACTIONS(755), + [anon_sym_BQUOTE] = ACTIONS(755), [sym_comment] = ACTIONS(115), }, [604] = { - [sym__heredoc_middle] = ACTIONS(1393), - [sym__heredoc_end] = ACTIONS(1393), - [anon_sym_DOLLAR] = ACTIONS(1395), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), + [anon_sym_RBRACE] = ACTIONS(1537), [sym_comment] = ACTIONS(115), }, [605] = { - [anon_sym_RPAREN] = ACTIONS(1527), - [anon_sym_PIPE] = ACTIONS(1529), - [anon_sym_PIPE_AMP] = ACTIONS(1527), - [anon_sym_AMP_AMP] = ACTIONS(1527), - [anon_sym_PIPE_PIPE] = ACTIONS(1527), - [anon_sym_BQUOTE] = ACTIONS(1527), + [anon_sym_RBRACE] = ACTIONS(1539), [sym_comment] = ACTIONS(115), }, [606] = { - [anon_sym_RPAREN] = ACTIONS(1531), - [anon_sym_PIPE] = ACTIONS(1533), - [anon_sym_PIPE_AMP] = ACTIONS(1531), - [anon_sym_AMP_AMP] = ACTIONS(1531), - [anon_sym_PIPE_PIPE] = ACTIONS(1531), - [anon_sym_BQUOTE] = ACTIONS(1531), + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(975), + [anon_sym_PIPE] = ACTIONS(977), + [anon_sym_PIPE_AMP] = ACTIONS(975), + [anon_sym_AMP_AMP] = ACTIONS(975), + [anon_sym_PIPE_PIPE] = ACTIONS(975), + [anon_sym_LT] = ACTIONS(977), + [anon_sym_GT] = ACTIONS(977), + [anon_sym_GT_GT] = ACTIONS(975), + [anon_sym_AMP_GT] = ACTIONS(977), + [anon_sym_AMP_GT_GT] = ACTIONS(975), + [anon_sym_LT_AMP] = ACTIONS(975), + [anon_sym_GT_AMP] = ACTIONS(975), + [anon_sym_LT_LT] = ACTIONS(977), + [anon_sym_LT_LT_DASH] = ACTIONS(975), + [anon_sym_BQUOTE] = ACTIONS(975), [sym_comment] = ACTIONS(115), }, [607] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1389), - [anon_sym_LPAREN] = ACTIONS(1389), - [anon_sym_PIPE] = ACTIONS(1391), - [anon_sym_PIPE_AMP] = ACTIONS(1389), - [anon_sym_AMP_AMP] = ACTIONS(1389), - [anon_sym_PIPE_PIPE] = ACTIONS(1391), - [anon_sym_LT] = ACTIONS(1391), - [anon_sym_GT] = ACTIONS(1391), - [anon_sym_GT_GT] = ACTIONS(1389), - [anon_sym_AMP_GT] = ACTIONS(1391), - [anon_sym_AMP_GT_GT] = ACTIONS(1389), - [anon_sym_LT_AMP] = ACTIONS(1389), - [anon_sym_GT_AMP] = ACTIONS(1389), - [anon_sym_LT_LT] = ACTIONS(1391), - [anon_sym_LT_LT_DASH] = ACTIONS(1389), - [anon_sym_DQUOTE] = ACTIONS(1389), - [sym_raw_string] = ACTIONS(1391), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1389), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1389), - [anon_sym_BQUOTE] = ACTIONS(1389), - [sym_word] = ACTIONS(1385), + [sym_string] = STATE(647), + [sym_array] = STATE(647), + [sym_simple_expansion] = STATE(647), + [sym_expansion] = STATE(647), + [sym_command_substitution] = STATE(647), + [sym_process_substitution] = STATE(647), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1541), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1543), [sym_comment] = ACTIONS(115), }, [608] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1393), - [anon_sym_LPAREN] = ACTIONS(1393), - [anon_sym_PIPE] = ACTIONS(1395), - [anon_sym_PIPE_AMP] = ACTIONS(1393), - [anon_sym_AMP_AMP] = ACTIONS(1393), - [anon_sym_PIPE_PIPE] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1395), - [anon_sym_GT] = ACTIONS(1395), - [anon_sym_GT_GT] = ACTIONS(1393), - [anon_sym_AMP_GT] = ACTIONS(1395), - [anon_sym_AMP_GT_GT] = ACTIONS(1393), - [anon_sym_LT_AMP] = ACTIONS(1393), - [anon_sym_GT_AMP] = ACTIONS(1393), - [anon_sym_LT_LT] = ACTIONS(1395), - [anon_sym_LT_LT_DASH] = ACTIONS(1393), - [anon_sym_DQUOTE] = ACTIONS(1393), - [sym_raw_string] = ACTIONS(1395), - [anon_sym_DOLLAR] = ACTIONS(1395), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1393), - [anon_sym_BQUOTE] = ACTIONS(1393), - [sym_word] = ACTIONS(1387), + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(983), + [anon_sym_PIPE] = ACTIONS(985), + [anon_sym_PIPE_AMP] = ACTIONS(983), + [anon_sym_AMP_AMP] = ACTIONS(983), + [anon_sym_PIPE_PIPE] = ACTIONS(983), + [anon_sym_LT] = ACTIONS(985), + [anon_sym_GT] = ACTIONS(985), + [anon_sym_GT_GT] = ACTIONS(983), + [anon_sym_AMP_GT] = ACTIONS(985), + [anon_sym_AMP_GT_GT] = ACTIONS(983), + [anon_sym_LT_AMP] = ACTIONS(983), + [anon_sym_GT_AMP] = ACTIONS(983), + [anon_sym_LT_LT] = ACTIONS(985), + [anon_sym_LT_LT_DASH] = ACTIONS(983), + [anon_sym_BQUOTE] = ACTIONS(983), [sym_comment] = ACTIONS(115), }, [609] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1389), - [anon_sym_PIPE] = ACTIONS(1391), - [anon_sym_PIPE_AMP] = ACTIONS(1389), - [anon_sym_AMP_AMP] = ACTIONS(1389), - [anon_sym_PIPE_PIPE] = ACTIONS(1389), - [anon_sym_LT] = ACTIONS(1391), - [anon_sym_GT] = ACTIONS(1391), - [anon_sym_GT_GT] = ACTIONS(1389), - [anon_sym_AMP_GT] = ACTIONS(1391), - [anon_sym_AMP_GT_GT] = ACTIONS(1389), - [anon_sym_LT_AMP] = ACTIONS(1389), - [anon_sym_GT_AMP] = ACTIONS(1389), - [anon_sym_LT_LT] = ACTIONS(1391), - [anon_sym_LT_LT_DASH] = ACTIONS(1389), - [anon_sym_BQUOTE] = ACTIONS(1389), + [sym_string] = STATE(648), + [sym_array] = STATE(648), + [sym_simple_expansion] = STATE(648), + [sym_expansion] = STATE(648), + [sym_command_substitution] = STATE(648), + [sym_process_substitution] = STATE(648), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1545), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1547), [sym_comment] = ACTIONS(115), }, [610] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1393), - [anon_sym_PIPE] = ACTIONS(1395), - [anon_sym_PIPE_AMP] = ACTIONS(1393), - [anon_sym_AMP_AMP] = ACTIONS(1393), - [anon_sym_PIPE_PIPE] = ACTIONS(1393), - [anon_sym_LT] = ACTIONS(1395), - [anon_sym_GT] = ACTIONS(1395), - [anon_sym_GT_GT] = ACTIONS(1393), - [anon_sym_AMP_GT] = ACTIONS(1395), - [anon_sym_AMP_GT_GT] = ACTIONS(1393), - [anon_sym_LT_AMP] = ACTIONS(1393), - [anon_sym_GT_AMP] = ACTIONS(1393), - [anon_sym_LT_LT] = ACTIONS(1395), - [anon_sym_LT_LT_DASH] = ACTIONS(1393), - [anon_sym_BQUOTE] = ACTIONS(1393), + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(865), + [anon_sym_PIPE] = ACTIONS(991), + [anon_sym_PIPE_AMP] = ACTIONS(865), + [anon_sym_AMP_AMP] = ACTIONS(865), + [anon_sym_PIPE_PIPE] = ACTIONS(865), + [anon_sym_LT] = ACTIONS(991), + [anon_sym_GT] = ACTIONS(991), + [anon_sym_GT_GT] = ACTIONS(865), + [anon_sym_AMP_GT] = ACTIONS(991), + [anon_sym_AMP_GT_GT] = ACTIONS(865), + [anon_sym_LT_AMP] = ACTIONS(865), + [anon_sym_GT_AMP] = ACTIONS(865), + [anon_sym_LT_LT] = ACTIONS(991), + [anon_sym_LT_LT_DASH] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), [sym_comment] = ACTIONS(115), }, [611] = { - [sym_word] = ACTIONS(1535), + [sym_file_descriptor] = ACTIONS(1325), + [anon_sym_RPAREN] = ACTIONS(1325), + [anon_sym_PIPE] = ACTIONS(1549), + [anon_sym_PIPE_AMP] = ACTIONS(1325), + [anon_sym_AMP_AMP] = ACTIONS(1325), + [anon_sym_PIPE_PIPE] = ACTIONS(1325), + [anon_sym_LT] = ACTIONS(1549), + [anon_sym_GT] = ACTIONS(1549), + [anon_sym_GT_GT] = ACTIONS(1325), + [anon_sym_AMP_GT] = ACTIONS(1549), + [anon_sym_AMP_GT_GT] = ACTIONS(1325), + [anon_sym_LT_AMP] = ACTIONS(1325), + [anon_sym_GT_AMP] = ACTIONS(1325), + [anon_sym_LT_LT] = ACTIONS(1549), + [anon_sym_LT_LT_DASH] = ACTIONS(1325), + [anon_sym_BQUOTE] = ACTIONS(1325), [sym_comment] = ACTIONS(115), }, [612] = { - [sym__terminated_statement] = STATE(672), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1537), - [anon_sym_while] = ACTIONS(1539), - [anon_sym_if] = ACTIONS(1541), - [anon_sym_case] = ACTIONS(1543), - [anon_sym_SEMI_SEMI] = ACTIONS(1545), - [anon_sym_function] = ACTIONS(1547), - [anon_sym_LPAREN] = ACTIONS(1549), - [anon_sym_LBRACK] = ACTIONS(1551), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1553), - [anon_sym_COLON] = ACTIONS(1555), - [anon_sym_LT] = ACTIONS(1557), - [anon_sym_GT] = ACTIONS(1557), - [anon_sym_GT_GT] = ACTIONS(1557), - [anon_sym_AMP_GT] = ACTIONS(1557), - [anon_sym_AMP_GT_GT] = ACTIONS(1557), - [anon_sym_LT_AMP] = ACTIONS(1557), - [anon_sym_GT_AMP] = ACTIONS(1557), - [anon_sym_DQUOTE] = ACTIONS(1559), - [sym_raw_string] = ACTIONS(1555), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1561), - [anon_sym_BQUOTE] = ACTIONS(1563), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1545), - [anon_sym_LF] = ACTIONS(1545), - [anon_sym_AMP] = ACTIONS(1545), + [anon_sym_RPAREN] = ACTIONS(1551), + [anon_sym_PIPE] = ACTIONS(1553), + [anon_sym_PIPE_AMP] = ACTIONS(1551), + [anon_sym_AMP_AMP] = ACTIONS(1551), + [anon_sym_PIPE_PIPE] = ACTIONS(1551), + [anon_sym_BQUOTE] = ACTIONS(1551), + [sym_comment] = ACTIONS(115), }, [613] = { - [sym__terminated_statement] = STATE(673), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), @@ -23101,6 +23276,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(1555), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -23119,7 +23295,143 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [614] = { - [sym__terminated_statement] = STATE(18), + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1557), + [anon_sym_PIPE] = ACTIONS(1559), + [anon_sym_PIPE_AMP] = ACTIONS(1557), + [anon_sym_AMP_AMP] = ACTIONS(1557), + [anon_sym_PIPE_PIPE] = ACTIONS(1557), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1557), + [sym_comment] = ACTIONS(115), + }, + [615] = { + [sym_file_redirect] = STATE(375), + [sym_heredoc_redirect] = STATE(375), + [sym_file_descriptor] = ACTIONS(451), + [anon_sym_RPAREN] = ACTIONS(1561), + [anon_sym_PIPE] = ACTIONS(1563), + [anon_sym_PIPE_AMP] = ACTIONS(1561), + [anon_sym_AMP_AMP] = ACTIONS(1561), + [anon_sym_PIPE_PIPE] = ACTIONS(1561), + [anon_sym_LT] = ACTIONS(797), + [anon_sym_GT] = ACTIONS(797), + [anon_sym_GT_GT] = ACTIONS(795), + [anon_sym_AMP_GT] = ACTIONS(797), + [anon_sym_AMP_GT_GT] = ACTIONS(795), + [anon_sym_LT_AMP] = ACTIONS(795), + [anon_sym_GT_AMP] = ACTIONS(795), + [anon_sym_LT_LT] = ACTIONS(799), + [anon_sym_LT_LT_DASH] = ACTIONS(801), + [anon_sym_BQUOTE] = ACTIONS(1561), + [sym_comment] = ACTIONS(115), + }, + [616] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1565), + [anon_sym_PIPE] = ACTIONS(1565), + [anon_sym_PIPE_AMP] = ACTIONS(1565), + [anon_sym_AMP_AMP] = ACTIONS(1565), + [anon_sym_PIPE_PIPE] = ACTIONS(1565), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1565), + [anon_sym_LF] = ACTIONS(1565), + [anon_sym_AMP] = ACTIONS(1565), + }, + [617] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_COLON] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_leading_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), + }, + [618] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_COLON] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_leading_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [619] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_COLON] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_leading_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [620] = { + [anon_sym_RBRACE] = ACTIONS(1567), + [sym_comment] = ACTIONS(115), + }, + [621] = { + [anon_sym_RBRACE] = ACTIONS(1569), + [sym_comment] = ACTIONS(115), + }, + [622] = { + [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), @@ -23134,13 +23446,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(675), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(1565), [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1571), + [anon_sym_elif] = ACTIONS(1571), + [anon_sym_else] = ACTIONS(1571), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -23161,21 +23474,646 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [615] = { - [anon_sym_RPAREN] = ACTIONS(1567), - [anon_sym_SEMI_SEMI] = ACTIONS(1567), - [anon_sym_PIPE] = ACTIONS(1567), - [anon_sym_PIPE_AMP] = ACTIONS(1567), - [anon_sym_AMP_AMP] = ACTIONS(1567), - [anon_sym_PIPE_PIPE] = ACTIONS(1567), - [anon_sym_BQUOTE] = ACTIONS(1567), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1567), - [anon_sym_LF] = ACTIONS(1567), - [anon_sym_AMP] = ACTIONS(1567), + [623] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1573), + [anon_sym_PIPE] = ACTIONS(1573), + [anon_sym_PIPE_AMP] = ACTIONS(1573), + [anon_sym_AMP_AMP] = ACTIONS(1573), + [anon_sym_PIPE_PIPE] = ACTIONS(1573), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1573), + [anon_sym_LF] = ACTIONS(1573), + [anon_sym_AMP] = ACTIONS(1573), }, - [616] = { - [sym__terminated_statement] = STATE(676), + [624] = { + [anon_sym_esac] = ACTIONS(1575), + [anon_sym_LPAREN] = ACTIONS(1577), + [anon_sym_LT] = ACTIONS(1577), + [anon_sym_GT] = ACTIONS(1577), + [anon_sym_DQUOTE] = ACTIONS(1577), + [sym_raw_string] = ACTIONS(1575), + [anon_sym_DOLLAR] = ACTIONS(1575), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1577), + [anon_sym_BQUOTE] = ACTIONS(1577), + [sym_word] = ACTIONS(1579), + [sym_comment] = ACTIONS(115), + }, + [625] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_SEMI_SEMI] = ACTIONS(1581), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [626] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1583), + [anon_sym_PIPE] = ACTIONS(1583), + [anon_sym_PIPE_AMP] = ACTIONS(1583), + [anon_sym_AMP_AMP] = ACTIONS(1583), + [anon_sym_PIPE_PIPE] = ACTIONS(1583), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1583), + [anon_sym_LF] = ACTIONS(1583), + [anon_sym_AMP] = ACTIONS(1583), + }, + [627] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_LPAREN] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR] = ACTIONS(1465), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), + }, + [628] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_LPAREN] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR] = ACTIONS(1467), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), + }, + [629] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), + }, + [630] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), + }, + [631] = { + [sym__heredoc_middle] = ACTIONS(1267), + [sym__heredoc_end] = ACTIONS(1267), + [anon_sym_DOLLAR] = ACTIONS(1269), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1267), + [sym_comment] = ACTIONS(115), + }, + [632] = { + [sym__heredoc_middle] = ACTIONS(1271), + [sym__heredoc_end] = ACTIONS(1271), + [anon_sym_DOLLAR] = ACTIONS(1273), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1271), + [sym_comment] = ACTIONS(115), + }, + [633] = { + [anon_sym_RBRACE] = ACTIONS(1585), + [sym_comment] = ACTIONS(115), + }, + [634] = { + [anon_sym_RBRACE] = ACTIONS(1587), + [sym_comment] = ACTIONS(115), + }, + [635] = { + [anon_sym_RPAREN] = ACTIONS(1589), + [anon_sym_PIPE] = ACTIONS(1591), + [anon_sym_PIPE_AMP] = ACTIONS(1589), + [anon_sym_AMP_AMP] = ACTIONS(1589), + [anon_sym_PIPE_PIPE] = ACTIONS(1589), + [anon_sym_BQUOTE] = ACTIONS(1589), + [sym_comment] = ACTIONS(115), + }, + [636] = { + [anon_sym_fi] = ACTIONS(1593), + [sym_comment] = ACTIONS(115), + }, + [637] = { + [anon_sym_RPAREN] = ACTIONS(1595), + [anon_sym_PIPE] = ACTIONS(1597), + [anon_sym_PIPE_AMP] = ACTIONS(1595), + [anon_sym_AMP_AMP] = ACTIONS(1595), + [anon_sym_PIPE_PIPE] = ACTIONS(1595), + [anon_sym_BQUOTE] = ACTIONS(1595), + [sym_comment] = ACTIONS(115), + }, + [638] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(1599), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [639] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1263), + [anon_sym_LPAREN] = ACTIONS(1263), + [anon_sym_PIPE] = ACTIONS(1265), + [anon_sym_PIPE_AMP] = ACTIONS(1263), + [anon_sym_AMP_AMP] = ACTIONS(1263), + [anon_sym_PIPE_PIPE] = ACTIONS(1265), + [anon_sym_LT] = ACTIONS(1265), + [anon_sym_GT] = ACTIONS(1265), + [anon_sym_GT_GT] = ACTIONS(1263), + [anon_sym_AMP_GT] = ACTIONS(1265), + [anon_sym_AMP_GT_GT] = ACTIONS(1263), + [anon_sym_LT_AMP] = ACTIONS(1263), + [anon_sym_GT_AMP] = ACTIONS(1263), + [anon_sym_LT_LT] = ACTIONS(1265), + [anon_sym_LT_LT_DASH] = ACTIONS(1263), + [anon_sym_DQUOTE] = ACTIONS(1263), + [sym_raw_string] = ACTIONS(1265), + [anon_sym_DOLLAR] = ACTIONS(1265), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1263), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1263), + [anon_sym_BQUOTE] = ACTIONS(1263), + [sym_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(115), + }, + [640] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1267), + [anon_sym_LPAREN] = ACTIONS(1267), + [anon_sym_PIPE] = ACTIONS(1269), + [anon_sym_PIPE_AMP] = ACTIONS(1267), + [anon_sym_AMP_AMP] = ACTIONS(1267), + [anon_sym_PIPE_PIPE] = ACTIONS(1269), + [anon_sym_LT] = ACTIONS(1269), + [anon_sym_GT] = ACTIONS(1269), + [anon_sym_GT_GT] = ACTIONS(1267), + [anon_sym_AMP_GT] = ACTIONS(1269), + [anon_sym_AMP_GT_GT] = ACTIONS(1267), + [anon_sym_LT_AMP] = ACTIONS(1267), + [anon_sym_GT_AMP] = ACTIONS(1267), + [anon_sym_LT_LT] = ACTIONS(1269), + [anon_sym_LT_LT_DASH] = ACTIONS(1267), + [anon_sym_DQUOTE] = ACTIONS(1267), + [sym_raw_string] = ACTIONS(1269), + [anon_sym_DOLLAR] = ACTIONS(1269), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1267), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1267), + [anon_sym_BQUOTE] = ACTIONS(1267), + [sym_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(115), + }, + [641] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1271), + [anon_sym_LPAREN] = ACTIONS(1271), + [anon_sym_PIPE] = ACTIONS(1273), + [anon_sym_PIPE_AMP] = ACTIONS(1271), + [anon_sym_AMP_AMP] = ACTIONS(1271), + [anon_sym_PIPE_PIPE] = ACTIONS(1273), + [anon_sym_LT] = ACTIONS(1273), + [anon_sym_GT] = ACTIONS(1273), + [anon_sym_GT_GT] = ACTIONS(1271), + [anon_sym_AMP_GT] = ACTIONS(1273), + [anon_sym_AMP_GT_GT] = ACTIONS(1271), + [anon_sym_LT_AMP] = ACTIONS(1271), + [anon_sym_GT_AMP] = ACTIONS(1271), + [anon_sym_LT_LT] = ACTIONS(1273), + [anon_sym_LT_LT_DASH] = ACTIONS(1271), + [anon_sym_DQUOTE] = ACTIONS(1271), + [sym_raw_string] = ACTIONS(1273), + [anon_sym_DOLLAR] = ACTIONS(1273), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1271), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1271), + [anon_sym_BQUOTE] = ACTIONS(1271), + [sym_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(115), + }, + [642] = { + [anon_sym_RBRACE] = ACTIONS(1601), + [sym_comment] = ACTIONS(115), + }, + [643] = { + [anon_sym_RBRACE] = ACTIONS(1603), + [sym_comment] = ACTIONS(115), + }, + [644] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1263), + [anon_sym_PIPE] = ACTIONS(1265), + [anon_sym_PIPE_AMP] = ACTIONS(1263), + [anon_sym_AMP_AMP] = ACTIONS(1263), + [anon_sym_PIPE_PIPE] = ACTIONS(1263), + [anon_sym_LT] = ACTIONS(1265), + [anon_sym_GT] = ACTIONS(1265), + [anon_sym_GT_GT] = ACTIONS(1263), + [anon_sym_AMP_GT] = ACTIONS(1265), + [anon_sym_AMP_GT_GT] = ACTIONS(1263), + [anon_sym_LT_AMP] = ACTIONS(1263), + [anon_sym_GT_AMP] = ACTIONS(1263), + [anon_sym_LT_LT] = ACTIONS(1265), + [anon_sym_LT_LT_DASH] = ACTIONS(1263), + [anon_sym_BQUOTE] = ACTIONS(1263), + [sym_comment] = ACTIONS(115), + }, + [645] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1267), + [anon_sym_PIPE] = ACTIONS(1269), + [anon_sym_PIPE_AMP] = ACTIONS(1267), + [anon_sym_AMP_AMP] = ACTIONS(1267), + [anon_sym_PIPE_PIPE] = ACTIONS(1267), + [anon_sym_LT] = ACTIONS(1269), + [anon_sym_GT] = ACTIONS(1269), + [anon_sym_GT_GT] = ACTIONS(1267), + [anon_sym_AMP_GT] = ACTIONS(1269), + [anon_sym_AMP_GT_GT] = ACTIONS(1267), + [anon_sym_LT_AMP] = ACTIONS(1267), + [anon_sym_GT_AMP] = ACTIONS(1267), + [anon_sym_LT_LT] = ACTIONS(1269), + [anon_sym_LT_LT_DASH] = ACTIONS(1267), + [anon_sym_BQUOTE] = ACTIONS(1267), + [sym_comment] = ACTIONS(115), + }, + [646] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1271), + [anon_sym_PIPE] = ACTIONS(1273), + [anon_sym_PIPE_AMP] = ACTIONS(1271), + [anon_sym_AMP_AMP] = ACTIONS(1271), + [anon_sym_PIPE_PIPE] = ACTIONS(1271), + [anon_sym_LT] = ACTIONS(1273), + [anon_sym_GT] = ACTIONS(1273), + [anon_sym_GT_GT] = ACTIONS(1271), + [anon_sym_AMP_GT] = ACTIONS(1273), + [anon_sym_AMP_GT_GT] = ACTIONS(1271), + [anon_sym_LT_AMP] = ACTIONS(1271), + [anon_sym_GT_AMP] = ACTIONS(1271), + [anon_sym_LT_LT] = ACTIONS(1273), + [anon_sym_LT_LT_DASH] = ACTIONS(1271), + [anon_sym_BQUOTE] = ACTIONS(1271), + [sym_comment] = ACTIONS(115), + }, + [647] = { + [anon_sym_RBRACE] = ACTIONS(1605), + [sym_comment] = ACTIONS(115), + }, + [648] = { + [anon_sym_RBRACE] = ACTIONS(1607), + [sym_comment] = ACTIONS(115), + }, + [649] = { + [anon_sym_RPAREN] = ACTIONS(1609), + [anon_sym_PIPE] = ACTIONS(1611), + [anon_sym_PIPE_AMP] = ACTIONS(1609), + [anon_sym_AMP_AMP] = ACTIONS(1609), + [anon_sym_PIPE_PIPE] = ACTIONS(1609), + [anon_sym_BQUOTE] = ACTIONS(1609), + [sym_comment] = ACTIONS(115), + }, + [650] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_COLON] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_leading_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), + }, + [651] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_COLON] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_leading_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), + }, + [652] = { + [anon_sym_esac] = ACTIONS(1613), + [anon_sym_LPAREN] = ACTIONS(1615), + [anon_sym_LT] = ACTIONS(1615), + [anon_sym_GT] = ACTIONS(1615), + [anon_sym_DQUOTE] = ACTIONS(1615), + [sym_raw_string] = ACTIONS(1613), + [anon_sym_DOLLAR] = ACTIONS(1613), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1615), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1615), + [anon_sym_BQUOTE] = ACTIONS(1615), + [sym_word] = ACTIONS(1617), + [sym_comment] = ACTIONS(115), + }, + [653] = { + [sym__heredoc_middle] = ACTIONS(1469), + [sym__heredoc_end] = ACTIONS(1469), + [anon_sym_DOLLAR] = ACTIONS(1471), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1469), + [sym_comment] = ACTIONS(115), + }, + [654] = { + [sym__heredoc_middle] = ACTIONS(1473), + [sym__heredoc_end] = ACTIONS(1473), + [anon_sym_DOLLAR] = ACTIONS(1475), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1473), + [sym_comment] = ACTIONS(115), + }, + [655] = { + [anon_sym_RPAREN] = ACTIONS(1619), + [anon_sym_PIPE] = ACTIONS(1621), + [anon_sym_PIPE_AMP] = ACTIONS(1619), + [anon_sym_AMP_AMP] = ACTIONS(1619), + [anon_sym_PIPE_PIPE] = ACTIONS(1619), + [anon_sym_BQUOTE] = ACTIONS(1619), + [sym_comment] = ACTIONS(115), + }, + [656] = { + [anon_sym_RPAREN] = ACTIONS(1623), + [anon_sym_PIPE] = ACTIONS(1625), + [anon_sym_PIPE_AMP] = ACTIONS(1623), + [anon_sym_AMP_AMP] = ACTIONS(1623), + [anon_sym_PIPE_PIPE] = ACTIONS(1623), + [anon_sym_BQUOTE] = ACTIONS(1623), + [sym_comment] = ACTIONS(115), + }, + [657] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1469), + [anon_sym_LPAREN] = ACTIONS(1469), + [anon_sym_PIPE] = ACTIONS(1471), + [anon_sym_PIPE_AMP] = ACTIONS(1469), + [anon_sym_AMP_AMP] = ACTIONS(1469), + [anon_sym_PIPE_PIPE] = ACTIONS(1471), + [anon_sym_LT] = ACTIONS(1471), + [anon_sym_GT] = ACTIONS(1471), + [anon_sym_GT_GT] = ACTIONS(1469), + [anon_sym_AMP_GT] = ACTIONS(1471), + [anon_sym_AMP_GT_GT] = ACTIONS(1469), + [anon_sym_LT_AMP] = ACTIONS(1469), + [anon_sym_GT_AMP] = ACTIONS(1469), + [anon_sym_LT_LT] = ACTIONS(1471), + [anon_sym_LT_LT_DASH] = ACTIONS(1469), + [anon_sym_DQUOTE] = ACTIONS(1469), + [sym_raw_string] = ACTIONS(1471), + [anon_sym_DOLLAR] = ACTIONS(1471), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1469), + [anon_sym_BQUOTE] = ACTIONS(1469), + [sym_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(115), + }, + [658] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1473), + [anon_sym_LPAREN] = ACTIONS(1473), + [anon_sym_PIPE] = ACTIONS(1475), + [anon_sym_PIPE_AMP] = ACTIONS(1473), + [anon_sym_AMP_AMP] = ACTIONS(1473), + [anon_sym_PIPE_PIPE] = ACTIONS(1475), + [anon_sym_LT] = ACTIONS(1475), + [anon_sym_GT] = ACTIONS(1475), + [anon_sym_GT_GT] = ACTIONS(1473), + [anon_sym_AMP_GT] = ACTIONS(1475), + [anon_sym_AMP_GT_GT] = ACTIONS(1473), + [anon_sym_LT_AMP] = ACTIONS(1473), + [anon_sym_GT_AMP] = ACTIONS(1473), + [anon_sym_LT_LT] = ACTIONS(1475), + [anon_sym_LT_LT_DASH] = ACTIONS(1473), + [anon_sym_DQUOTE] = ACTIONS(1473), + [sym_raw_string] = ACTIONS(1475), + [anon_sym_DOLLAR] = ACTIONS(1475), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1473), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1473), + [anon_sym_BQUOTE] = ACTIONS(1473), + [sym_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(115), + }, + [659] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1469), + [anon_sym_PIPE] = ACTIONS(1471), + [anon_sym_PIPE_AMP] = ACTIONS(1469), + [anon_sym_AMP_AMP] = ACTIONS(1469), + [anon_sym_PIPE_PIPE] = ACTIONS(1469), + [anon_sym_LT] = ACTIONS(1471), + [anon_sym_GT] = ACTIONS(1471), + [anon_sym_GT_GT] = ACTIONS(1469), + [anon_sym_AMP_GT] = ACTIONS(1471), + [anon_sym_AMP_GT_GT] = ACTIONS(1469), + [anon_sym_LT_AMP] = ACTIONS(1469), + [anon_sym_GT_AMP] = ACTIONS(1469), + [anon_sym_LT_LT] = ACTIONS(1471), + [anon_sym_LT_LT_DASH] = ACTIONS(1469), + [anon_sym_BQUOTE] = ACTIONS(1469), + [sym_comment] = ACTIONS(115), + }, + [660] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1473), + [anon_sym_PIPE] = ACTIONS(1475), + [anon_sym_PIPE_AMP] = ACTIONS(1473), + [anon_sym_AMP_AMP] = ACTIONS(1473), + [anon_sym_PIPE_PIPE] = ACTIONS(1473), + [anon_sym_LT] = ACTIONS(1475), + [anon_sym_GT] = ACTIONS(1475), + [anon_sym_GT_GT] = ACTIONS(1473), + [anon_sym_AMP_GT] = ACTIONS(1475), + [anon_sym_AMP_GT_GT] = ACTIONS(1473), + [anon_sym_LT_AMP] = ACTIONS(1473), + [anon_sym_GT_AMP] = ACTIONS(1473), + [anon_sym_LT_LT] = ACTIONS(1475), + [anon_sym_LT_LT_DASH] = ACTIONS(1473), + [anon_sym_BQUOTE] = ACTIONS(1473), + [sym_comment] = ACTIONS(115), + }, + [661] = { + [sym_word] = ACTIONS(1627), + [sym_comment] = ACTIONS(115), + }, + [662] = { + [sym__terminated_statement] = STATE(723), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1629), + [anon_sym_while] = ACTIONS(1631), + [anon_sym_if] = ACTIONS(1633), + [anon_sym_case] = ACTIONS(1635), + [anon_sym_SEMI_SEMI] = ACTIONS(1637), + [anon_sym_function] = ACTIONS(1639), + [anon_sym_LPAREN] = ACTIONS(1641), + [anon_sym_LBRACK] = ACTIONS(1643), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1645), + [anon_sym_COLON] = ACTIONS(1647), + [anon_sym_LT] = ACTIONS(1649), + [anon_sym_GT] = ACTIONS(1649), + [anon_sym_GT_GT] = ACTIONS(1649), + [anon_sym_AMP_GT] = ACTIONS(1649), + [anon_sym_AMP_GT_GT] = ACTIONS(1649), + [anon_sym_LT_AMP] = ACTIONS(1649), + [anon_sym_GT_AMP] = ACTIONS(1649), + [anon_sym_DQUOTE] = ACTIONS(1651), + [sym_raw_string] = ACTIONS(1647), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1653), + [anon_sym_BQUOTE] = ACTIONS(1655), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1637), + [anon_sym_LF] = ACTIONS(1637), + [anon_sym_AMP] = ACTIONS(1637), + }, + [663] = { + [sym__terminated_statement] = STATE(724), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -23215,13 +24153,11 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [617] = { + [664] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(678), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -23233,16 +24169,13 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(679), - [aux_sym_if_statement_repeat1] = STATE(680), + [aux_sym_program_repeat1] = STATE(726), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(1657), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1570), - [anon_sym_elif] = ACTIONS(1573), - [anon_sym_else] = ACTIONS(1576), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -23263,59 +24196,161 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [618] = { - [anon_sym_RPAREN] = ACTIONS(1579), - [anon_sym_SEMI_SEMI] = ACTIONS(1579), - [anon_sym_PIPE] = ACTIONS(1579), - [anon_sym_PIPE_AMP] = ACTIONS(1579), - [anon_sym_AMP_AMP] = ACTIONS(1579), - [anon_sym_PIPE_PIPE] = ACTIONS(1579), - [anon_sym_BQUOTE] = ACTIONS(1579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1579), - [anon_sym_LF] = ACTIONS(1579), - [anon_sym_AMP] = ACTIONS(1579), + [665] = { + [anon_sym_RPAREN] = ACTIONS(1659), + [anon_sym_SEMI_SEMI] = ACTIONS(1659), + [anon_sym_PIPE] = ACTIONS(1659), + [anon_sym_PIPE_AMP] = ACTIONS(1659), + [anon_sym_AMP_AMP] = ACTIONS(1659), + [anon_sym_PIPE_PIPE] = ACTIONS(1659), + [anon_sym_BQUOTE] = ACTIONS(1659), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1659), + [anon_sym_LF] = ACTIONS(1659), + [anon_sym_AMP] = ACTIONS(1659), }, - [619] = { - [sym_string] = STATE(681), - [sym_array] = STATE(681), - [sym_simple_expansion] = STATE(681), - [sym_expansion] = STATE(681), - [sym_command_substitution] = STATE(681), - [sym_process_substitution] = STATE(681), + [666] = { + [sym__terminated_statement] = STATE(727), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [667] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(729), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(730), + [aux_sym_if_statement_repeat1] = STATE(731), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1662), + [anon_sym_elif] = ACTIONS(1665), + [anon_sym_else] = ACTIONS(1668), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [668] = { + [anon_sym_RPAREN] = ACTIONS(1671), + [anon_sym_SEMI_SEMI] = ACTIONS(1671), + [anon_sym_PIPE] = ACTIONS(1671), + [anon_sym_PIPE_AMP] = ACTIONS(1671), + [anon_sym_AMP_AMP] = ACTIONS(1671), + [anon_sym_PIPE_PIPE] = ACTIONS(1671), + [anon_sym_BQUOTE] = ACTIONS(1671), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1671), + [anon_sym_LF] = ACTIONS(1671), + [anon_sym_AMP] = ACTIONS(1671), + }, + [669] = { + [sym_string] = STATE(732), + [sym_array] = STATE(732), + [sym_simple_expansion] = STATE(732), + [sym_expansion] = STATE(732), + [sym_command_substitution] = STATE(732), + [sym_process_substitution] = STATE(732), [anon_sym_LPAREN] = ACTIONS(123), [anon_sym_LT] = ACTIONS(125), [anon_sym_GT] = ACTIONS(125), [anon_sym_DQUOTE] = ACTIONS(127), - [sym_raw_string] = ACTIONS(1584), + [sym_raw_string] = ACTIONS(1676), [anon_sym_DOLLAR] = ACTIONS(131), [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), [anon_sym_BQUOTE] = ACTIONS(137), - [sym_word] = ACTIONS(1586), + [sym_word] = ACTIONS(1678), [sym_comment] = ACTIONS(115), }, - [620] = { - [anon_sym_RPAREN] = ACTIONS(1588), - [anon_sym_SEMI_SEMI] = ACTIONS(1588), - [anon_sym_PIPE] = ACTIONS(1588), - [anon_sym_PIPE_AMP] = ACTIONS(1588), - [anon_sym_AMP_AMP] = ACTIONS(1588), - [anon_sym_PIPE_PIPE] = ACTIONS(1588), - [anon_sym_BQUOTE] = ACTIONS(1588), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1588), - [anon_sym_LF] = ACTIONS(1588), - [anon_sym_AMP] = ACTIONS(1588), + [670] = { + [anon_sym_RPAREN] = ACTIONS(1680), + [anon_sym_SEMI_SEMI] = ACTIONS(1680), + [anon_sym_PIPE] = ACTIONS(1680), + [anon_sym_PIPE_AMP] = ACTIONS(1680), + [anon_sym_AMP_AMP] = ACTIONS(1680), + [anon_sym_PIPE_PIPE] = ACTIONS(1680), + [anon_sym_BQUOTE] = ACTIONS(1680), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1680), + [anon_sym_LF] = ACTIONS(1680), + [anon_sym_AMP] = ACTIONS(1680), }, - [621] = { + [671] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), - [sym_compound_statement] = STATE(651), + [sym_compound_statement] = STATE(702), [sym_subshell] = STATE(19), [sym_pipeline] = STATE(19), [sym_list] = STATE(19), @@ -23325,87 +24360,87 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(581), + [aux_sym_program_repeat1] = STATE(625), [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(1592), - [anon_sym_for] = ACTIONS(1537), - [anon_sym_in] = ACTIONS(1598), - [anon_sym_while] = ACTIONS(1539), - [anon_sym_if] = ACTIONS(1541), - [anon_sym_case] = ACTIONS(1543), - [anon_sym_RPAREN] = ACTIONS(1603), - [anon_sym_SEMI_SEMI] = ACTIONS(1610), - [anon_sym_function] = ACTIONS(1547), - [anon_sym_LPAREN] = ACTIONS(1618), - [anon_sym_LBRACE] = ACTIONS(1624), - [anon_sym_RBRACE] = ACTIONS(1598), - [anon_sym_PIPE] = ACTIONS(1603), - [anon_sym_PIPE_AMP] = ACTIONS(1603), - [anon_sym_AMP_AMP] = ACTIONS(1603), - [anon_sym_PIPE_PIPE] = ACTIONS(1603), - [anon_sym_LBRACK] = ACTIONS(1551), - [anon_sym_RBRACK] = ACTIONS(1598), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1553), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1598), - [anon_sym_COLON] = ACTIONS(1626), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(1632), - [anon_sym_GT] = ACTIONS(1632), - [anon_sym_GT_GT] = ACTIONS(1632), - [anon_sym_AMP_GT] = ACTIONS(1632), - [anon_sym_AMP_GT_GT] = ACTIONS(1632), - [anon_sym_LT_AMP] = ACTIONS(1632), - [anon_sym_GT_AMP] = ACTIONS(1632), - [anon_sym_LT_LT] = ACTIONS(1598), - [anon_sym_LT_LT_DASH] = ACTIONS(1598), - [anon_sym_DQUOTE] = ACTIONS(1638), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), - [sym_raw_string] = ACTIONS(1626), - [anon_sym_DOLLAR] = ACTIONS(1598), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1598), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1644), - [anon_sym_BQUOTE] = ACTIONS(1650), - [sym_leading_word] = ACTIONS(1658), - [sym_word] = ACTIONS(1598), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1603), - [anon_sym_LF] = ACTIONS(1603), - [anon_sym_AMP] = ACTIONS(1603), + [sym_file_descriptor] = ACTIONS(1684), + [anon_sym_for] = ACTIONS(1629), + [anon_sym_in] = ACTIONS(1690), + [anon_sym_while] = ACTIONS(1631), + [anon_sym_if] = ACTIONS(1633), + [anon_sym_case] = ACTIONS(1635), + [anon_sym_RPAREN] = ACTIONS(1695), + [anon_sym_SEMI_SEMI] = ACTIONS(1702), + [anon_sym_function] = ACTIONS(1639), + [anon_sym_LPAREN] = ACTIONS(1710), + [anon_sym_LBRACE] = ACTIONS(1716), + [anon_sym_RBRACE] = ACTIONS(1690), + [anon_sym_PIPE] = ACTIONS(1695), + [anon_sym_PIPE_AMP] = ACTIONS(1695), + [anon_sym_AMP_AMP] = ACTIONS(1695), + [anon_sym_PIPE_PIPE] = ACTIONS(1695), + [anon_sym_LBRACK] = ACTIONS(1643), + [anon_sym_RBRACK] = ACTIONS(1690), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1645), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1690), + [anon_sym_COLON] = ACTIONS(1718), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(1724), + [anon_sym_GT] = ACTIONS(1724), + [anon_sym_GT_GT] = ACTIONS(1724), + [anon_sym_AMP_GT] = ACTIONS(1724), + [anon_sym_AMP_GT_GT] = ACTIONS(1724), + [anon_sym_LT_AMP] = ACTIONS(1724), + [anon_sym_GT_AMP] = ACTIONS(1724), + [anon_sym_LT_LT] = ACTIONS(1690), + [anon_sym_LT_LT_DASH] = ACTIONS(1690), + [anon_sym_DQUOTE] = ACTIONS(1730), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(867), + [sym_raw_string] = ACTIONS(1718), + [anon_sym_DOLLAR] = ACTIONS(1690), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1690), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1736), + [anon_sym_BQUOTE] = ACTIONS(1742), + [sym_leading_word] = ACTIONS(1750), + [sym_word] = ACTIONS(1690), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1695), + [anon_sym_LF] = ACTIONS(1695), + [anon_sym_AMP] = ACTIONS(1695), }, - [622] = { - [sym_leading_word] = ACTIONS(1664), + [672] = { + [sym_leading_word] = ACTIONS(1756), [sym_comment] = ACTIONS(115), }, - [623] = { + [673] = { [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(697), - [sym_while_statement] = STATE(697), - [sym_if_statement] = STATE(697), - [sym_case_statement] = STATE(697), - [sym_function_definition] = STATE(697), - [sym_subshell] = STATE(697), - [sym_pipeline] = STATE(697), - [sym_list] = STATE(697), - [sym_bracket_command] = STATE(697), - [sym_command] = STATE(697), - [sym_environment_variable_assignment] = STATE(698), + [sym_for_statement] = STATE(748), + [sym_while_statement] = STATE(748), + [sym_if_statement] = STATE(748), + [sym_case_statement] = STATE(748), + [sym_function_definition] = STATE(748), + [sym_subshell] = STATE(748), + [sym_pipeline] = STATE(748), + [sym_list] = STATE(748), + [sym_bracket_command] = STATE(748), + [sym_command] = STATE(748), + [sym_environment_variable_assignment] = STATE(749), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(692), - [sym_command_substitution] = STATE(692), - [aux_sym_program_repeat1] = STATE(699), - [aux_sym_command_repeat1] = STATE(700), - [aux_sym_array_repeat1] = STATE(669), + [sym_string] = STATE(743), + [sym_command_substitution] = STATE(743), + [aux_sym_program_repeat1] = STATE(750), + [aux_sym_command_repeat1] = STATE(751), + [aux_sym_array_repeat1] = STATE(720), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1666), - [anon_sym_while] = ACTIONS(1668), - [anon_sym_if] = ACTIONS(1670), - [anon_sym_case] = ACTIONS(1672), - [anon_sym_RPAREN] = ACTIONS(1674), - [anon_sym_function] = ACTIONS(1676), - [anon_sym_LPAREN] = ACTIONS(1678), - [anon_sym_LBRACK] = ACTIONS(1680), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1682), - [anon_sym_COLON] = ACTIONS(1684), + [anon_sym_for] = ACTIONS(1758), + [anon_sym_while] = ACTIONS(1760), + [anon_sym_if] = ACTIONS(1762), + [anon_sym_case] = ACTIONS(1764), + [anon_sym_RPAREN] = ACTIONS(1766), + [anon_sym_function] = ACTIONS(1768), + [anon_sym_LPAREN] = ACTIONS(1770), + [anon_sym_LBRACK] = ACTIONS(1772), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1774), + [anon_sym_COLON] = ACTIONS(1776), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -23413,15 +24448,15 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1686), - [sym_raw_string] = ACTIONS(1684), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), - [anon_sym_BQUOTE] = ACTIONS(1690), - [sym_leading_word] = ACTIONS(1692), - [sym_word] = ACTIONS(965), + [anon_sym_DQUOTE] = ACTIONS(1778), + [sym_raw_string] = ACTIONS(1776), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1780), + [anon_sym_BQUOTE] = ACTIONS(1782), + [sym_leading_word] = ACTIONS(1784), + [sym_word] = ACTIONS(995), [sym_comment] = ACTIONS(115), }, - [624] = { + [674] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -23437,7 +24472,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(702), + [aux_sym_program_repeat1] = STATE(753), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), @@ -23446,7 +24481,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1694), + [anon_sym_RBRACE] = ACTIONS(1786), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -23464,71 +24499,71 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [625] = { - [sym__heredoc_middle] = ACTIONS(1696), - [sym__heredoc_end] = ACTIONS(1696), - [sym_file_descriptor] = ACTIONS(1696), - [anon_sym_in] = ACTIONS(1701), - [anon_sym_RPAREN] = ACTIONS(1706), - [anon_sym_SEMI_SEMI] = ACTIONS(1706), - [anon_sym_LPAREN] = ACTIONS(1701), - [anon_sym_RBRACE] = ACTIONS(1701), - [anon_sym_PIPE] = ACTIONS(1706), - [anon_sym_PIPE_AMP] = ACTIONS(1706), - [anon_sym_AMP_AMP] = ACTIONS(1706), - [anon_sym_PIPE_PIPE] = ACTIONS(1706), - [anon_sym_RBRACK] = ACTIONS(1701), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1701), - [anon_sym_COLON] = ACTIONS(1701), - [anon_sym_LT] = ACTIONS(1701), - [anon_sym_GT] = ACTIONS(1701), - [anon_sym_GT_GT] = ACTIONS(1701), - [anon_sym_AMP_GT] = ACTIONS(1701), - [anon_sym_AMP_GT_GT] = ACTIONS(1701), - [anon_sym_LT_AMP] = ACTIONS(1701), - [anon_sym_GT_AMP] = ACTIONS(1701), - [anon_sym_LT_LT] = ACTIONS(1701), - [anon_sym_LT_LT_DASH] = ACTIONS(1701), - [anon_sym_DQUOTE] = ACTIONS(1701), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1701), - [sym_raw_string] = ACTIONS(1701), - [anon_sym_DOLLAR] = ACTIONS(1701), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1701), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1701), - [anon_sym_BQUOTE] = ACTIONS(1706), - [sym_leading_word] = ACTIONS(1701), - [sym_word] = ACTIONS(1701), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1706), - [anon_sym_LF] = ACTIONS(1706), - [anon_sym_AMP] = ACTIONS(1706), + [675] = { + [sym__heredoc_middle] = ACTIONS(1788), + [sym__heredoc_end] = ACTIONS(1788), + [sym_file_descriptor] = ACTIONS(1788), + [anon_sym_in] = ACTIONS(1795), + [anon_sym_RPAREN] = ACTIONS(1802), + [anon_sym_SEMI_SEMI] = ACTIONS(1802), + [anon_sym_LPAREN] = ACTIONS(1795), + [anon_sym_RBRACE] = ACTIONS(1795), + [anon_sym_PIPE] = ACTIONS(1802), + [anon_sym_PIPE_AMP] = ACTIONS(1802), + [anon_sym_AMP_AMP] = ACTIONS(1802), + [anon_sym_PIPE_PIPE] = ACTIONS(1802), + [anon_sym_RBRACK] = ACTIONS(1795), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1795), + [anon_sym_COLON] = ACTIONS(1795), + [anon_sym_LT] = ACTIONS(1795), + [anon_sym_GT] = ACTIONS(1795), + [anon_sym_GT_GT] = ACTIONS(1795), + [anon_sym_AMP_GT] = ACTIONS(1795), + [anon_sym_AMP_GT_GT] = ACTIONS(1795), + [anon_sym_LT_AMP] = ACTIONS(1795), + [anon_sym_GT_AMP] = ACTIONS(1795), + [anon_sym_LT_LT] = ACTIONS(1795), + [anon_sym_LT_LT_DASH] = ACTIONS(1795), + [anon_sym_DQUOTE] = ACTIONS(1795), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1795), + [sym_raw_string] = ACTIONS(1795), + [anon_sym_DOLLAR] = ACTIONS(1795), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1795), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1795), + [anon_sym_BQUOTE] = ACTIONS(1802), + [sym_leading_word] = ACTIONS(1795), + [sym_word] = ACTIONS(1795), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1802), + [anon_sym_LF] = ACTIONS(1802), + [anon_sym_AMP] = ACTIONS(1802), }, - [626] = { - [sym_for_statement] = STATE(710), - [sym_while_statement] = STATE(710), - [sym_if_statement] = STATE(710), - [sym_case_statement] = STATE(710), - [sym_function_definition] = STATE(710), - [sym_subshell] = STATE(710), - [sym_pipeline] = STATE(710), - [sym_list] = STATE(710), - [sym_bracket_command] = STATE(710), - [sym_command] = STATE(710), - [sym_environment_variable_assignment] = STATE(711), + [676] = { + [sym_for_statement] = STATE(761), + [sym_while_statement] = STATE(761), + [sym_if_statement] = STATE(761), + [sym_case_statement] = STATE(761), + [sym_function_definition] = STATE(761), + [sym_subshell] = STATE(761), + [sym_pipeline] = STATE(761), + [sym_list] = STATE(761), + [sym_bracket_command] = STATE(761), + [sym_command] = STATE(761), + [sym_environment_variable_assignment] = STATE(762), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(705), - [sym_command_substitution] = STATE(705), - [aux_sym_command_repeat1] = STATE(665), + [sym_string] = STATE(756), + [sym_command_substitution] = STATE(756), + [aux_sym_command_repeat1] = STATE(716), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1713), - [anon_sym_while] = ACTIONS(1715), - [anon_sym_if] = ACTIONS(1717), - [anon_sym_case] = ACTIONS(1719), - [anon_sym_function] = ACTIONS(1721), - [anon_sym_LPAREN] = ACTIONS(1723), - [anon_sym_LBRACK] = ACTIONS(1725), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1727), - [anon_sym_COLON] = ACTIONS(1729), + [anon_sym_for] = ACTIONS(1811), + [anon_sym_while] = ACTIONS(1813), + [anon_sym_if] = ACTIONS(1815), + [anon_sym_case] = ACTIONS(1817), + [anon_sym_function] = ACTIONS(1819), + [anon_sym_LPAREN] = ACTIONS(1821), + [anon_sym_LBRACK] = ACTIONS(1823), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1825), + [anon_sym_COLON] = ACTIONS(1827), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -23536,39 +24571,39 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1731), - [sym_raw_string] = ACTIONS(1733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1735), - [anon_sym_BQUOTE] = ACTIONS(1737), - [sym_leading_word] = ACTIONS(1739), + [anon_sym_DQUOTE] = ACTIONS(1829), + [sym_raw_string] = ACTIONS(1831), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1833), + [anon_sym_BQUOTE] = ACTIONS(1835), + [sym_leading_word] = ACTIONS(1837), [sym_comment] = ACTIONS(115), }, - [627] = { - [sym_for_statement] = STATE(712), - [sym_while_statement] = STATE(712), - [sym_if_statement] = STATE(712), - [sym_case_statement] = STATE(712), - [sym_function_definition] = STATE(712), - [sym_subshell] = STATE(712), - [sym_pipeline] = STATE(712), - [sym_list] = STATE(712), - [sym_bracket_command] = STATE(712), - [sym_command] = STATE(712), - [sym_environment_variable_assignment] = STATE(713), + [677] = { + [sym_for_statement] = STATE(763), + [sym_while_statement] = STATE(763), + [sym_if_statement] = STATE(763), + [sym_case_statement] = STATE(763), + [sym_function_definition] = STATE(763), + [sym_subshell] = STATE(763), + [sym_pipeline] = STATE(763), + [sym_list] = STATE(763), + [sym_bracket_command] = STATE(763), + [sym_command] = STATE(763), + [sym_environment_variable_assignment] = STATE(764), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(705), - [sym_command_substitution] = STATE(705), - [aux_sym_command_repeat1] = STATE(665), + [sym_string] = STATE(756), + [sym_command_substitution] = STATE(756), + [aux_sym_command_repeat1] = STATE(716), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1713), - [anon_sym_while] = ACTIONS(1715), - [anon_sym_if] = ACTIONS(1717), - [anon_sym_case] = ACTIONS(1719), - [anon_sym_function] = ACTIONS(1721), - [anon_sym_LPAREN] = ACTIONS(1723), - [anon_sym_LBRACK] = ACTIONS(1725), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1727), - [anon_sym_COLON] = ACTIONS(1729), + [anon_sym_for] = ACTIONS(1811), + [anon_sym_while] = ACTIONS(1813), + [anon_sym_if] = ACTIONS(1815), + [anon_sym_case] = ACTIONS(1817), + [anon_sym_function] = ACTIONS(1819), + [anon_sym_LPAREN] = ACTIONS(1821), + [anon_sym_LBRACK] = ACTIONS(1823), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1825), + [anon_sym_COLON] = ACTIONS(1827), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -23576,21 +24611,21 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1731), - [sym_raw_string] = ACTIONS(1733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1735), - [anon_sym_BQUOTE] = ACTIONS(1737), - [sym_leading_word] = ACTIONS(1739), + [anon_sym_DQUOTE] = ACTIONS(1829), + [sym_raw_string] = ACTIONS(1831), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1833), + [anon_sym_BQUOTE] = ACTIONS(1835), + [sym_leading_word] = ACTIONS(1837), [sym_comment] = ACTIONS(115), }, - [628] = { + [678] = { [sym_string] = STATE(44), [sym_array] = STATE(44), [sym_simple_expansion] = STATE(44), [sym_expansion] = STATE(44), [sym_command_substitution] = STATE(44), [sym_process_substitution] = STATE(44), - [aux_sym_bracket_command_repeat1] = STATE(714), + [aux_sym_bracket_command_repeat1] = STATE(765), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), @@ -23603,864 +24638,915 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, - [629] = { - [anon_sym_RPAREN] = ACTIONS(637), - [anon_sym_SEMI_SEMI] = ACTIONS(637), - [anon_sym_PIPE] = ACTIONS(637), - [anon_sym_PIPE_AMP] = ACTIONS(637), - [anon_sym_AMP_AMP] = ACTIONS(637), - [anon_sym_PIPE_PIPE] = ACTIONS(637), - [anon_sym_BQUOTE] = ACTIONS(637), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(637), - [anon_sym_LF] = ACTIONS(637), - [anon_sym_AMP] = ACTIONS(637), + [679] = { + [anon_sym_RPAREN] = ACTIONS(649), + [anon_sym_SEMI_SEMI] = ACTIONS(649), + [anon_sym_PIPE] = ACTIONS(649), + [anon_sym_PIPE_AMP] = ACTIONS(649), + [anon_sym_AMP_AMP] = ACTIONS(649), + [anon_sym_PIPE_PIPE] = ACTIONS(649), + [anon_sym_BQUOTE] = ACTIONS(649), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(649), + [anon_sym_LF] = ACTIONS(649), + [anon_sym_AMP] = ACTIONS(649), }, - [630] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(720), - [sym_array] = STATE(720), - [sym_simple_expansion] = STATE(720), - [sym_expansion] = STATE(720), - [sym_command_substitution] = STATE(720), - [sym_process_substitution] = STATE(720), - [aux_sym_command_repeat2] = STATE(722), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1743), - [anon_sym_SEMI_SEMI] = ACTIONS(1743), - [anon_sym_LPAREN] = ACTIONS(1746), - [anon_sym_PIPE] = ACTIONS(1743), - [anon_sym_PIPE_AMP] = ACTIONS(1743), - [anon_sym_AMP_AMP] = ACTIONS(1743), - [anon_sym_PIPE_PIPE] = ACTIONS(1743), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1748), - [anon_sym_LT] = ACTIONS(1750), - [anon_sym_GT] = ACTIONS(1750), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(1756), - [sym_raw_string] = ACTIONS(1758), - [anon_sym_DOLLAR] = ACTIONS(1760), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1764), - [anon_sym_BQUOTE] = ACTIONS(1766), - [sym_word] = ACTIONS(1758), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1743), - [anon_sym_LF] = ACTIONS(1743), - [anon_sym_AMP] = ACTIONS(1743), + [680] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(771), + [sym_array] = STATE(771), + [sym_simple_expansion] = STATE(771), + [sym_expansion] = STATE(771), + [sym_command_substitution] = STATE(771), + [sym_process_substitution] = STATE(771), + [aux_sym_command_repeat2] = STATE(773), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1841), + [anon_sym_SEMI_SEMI] = ACTIONS(1841), + [anon_sym_LPAREN] = ACTIONS(1844), + [anon_sym_PIPE] = ACTIONS(1841), + [anon_sym_PIPE_AMP] = ACTIONS(1841), + [anon_sym_AMP_AMP] = ACTIONS(1841), + [anon_sym_PIPE_PIPE] = ACTIONS(1841), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1846), + [anon_sym_LT] = ACTIONS(1848), + [anon_sym_GT] = ACTIONS(1848), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(1854), + [sym_raw_string] = ACTIONS(1856), + [anon_sym_DOLLAR] = ACTIONS(1858), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1860), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1862), + [anon_sym_BQUOTE] = ACTIONS(1864), + [sym_word] = ACTIONS(1856), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1841), + [anon_sym_LF] = ACTIONS(1841), + [anon_sym_AMP] = ACTIONS(1841), }, - [631] = { - [sym_string] = STATE(726), - [sym_array] = STATE(726), - [sym_simple_expansion] = STATE(726), - [sym_expansion] = STATE(726), - [sym_command_substitution] = STATE(726), - [sym_process_substitution] = STATE(726), - [sym__empty_value] = ACTIONS(1770), - [anon_sym_LPAREN] = ACTIONS(1772), - [anon_sym_LT] = ACTIONS(1774), - [anon_sym_GT] = ACTIONS(1774), - [anon_sym_DQUOTE] = ACTIONS(1776), - [sym_raw_string] = ACTIONS(1778), - [anon_sym_DOLLAR] = ACTIONS(1780), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1782), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1784), - [anon_sym_BQUOTE] = ACTIONS(1786), - [sym_word] = ACTIONS(1788), + [681] = { + [sym_string] = STATE(777), + [sym_array] = STATE(777), + [sym_simple_expansion] = STATE(777), + [sym_expansion] = STATE(777), + [sym_command_substitution] = STATE(777), + [sym_process_substitution] = STATE(777), + [sym__empty_value] = ACTIONS(1868), + [anon_sym_LPAREN] = ACTIONS(1870), + [anon_sym_LT] = ACTIONS(1872), + [anon_sym_GT] = ACTIONS(1872), + [anon_sym_DQUOTE] = ACTIONS(1874), + [sym_raw_string] = ACTIONS(1876), + [anon_sym_DOLLAR] = ACTIONS(1878), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1880), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1882), + [anon_sym_BQUOTE] = ACTIONS(1884), + [sym_word] = ACTIONS(1886), [sym_comment] = ACTIONS(115), }, - [632] = { - [sym_string] = STATE(734), - [sym_array] = STATE(734), - [sym_simple_expansion] = STATE(734), - [sym_expansion] = STATE(734), - [sym_command_substitution] = STATE(734), - [sym_process_substitution] = STATE(734), - [anon_sym_LPAREN] = ACTIONS(1790), - [anon_sym_LT] = ACTIONS(1792), - [anon_sym_GT] = ACTIONS(1792), - [anon_sym_DQUOTE] = ACTIONS(1794), - [sym_raw_string] = ACTIONS(1796), - [anon_sym_DOLLAR] = ACTIONS(1798), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1800), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1802), - [anon_sym_BQUOTE] = ACTIONS(1804), - [sym_word] = ACTIONS(1806), + [682] = { + [sym_string] = STATE(785), + [sym_array] = STATE(785), + [sym_simple_expansion] = STATE(785), + [sym_expansion] = STATE(785), + [sym_command_substitution] = STATE(785), + [sym_process_substitution] = STATE(785), + [anon_sym_LPAREN] = ACTIONS(1888), + [anon_sym_LT] = ACTIONS(1890), + [anon_sym_GT] = ACTIONS(1890), + [anon_sym_DQUOTE] = ACTIONS(1892), + [sym_raw_string] = ACTIONS(1894), + [anon_sym_DOLLAR] = ACTIONS(1896), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1898), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1900), + [anon_sym_BQUOTE] = ACTIONS(1902), + [sym_word] = ACTIONS(1904), [sym_comment] = ACTIONS(115), }, - [633] = { - [sym_string] = STATE(734), - [sym_array] = STATE(734), - [sym_simple_expansion] = STATE(734), - [sym_expansion] = STATE(734), - [sym_command_substitution] = STATE(734), - [sym_process_substitution] = STATE(734), - [anon_sym_LPAREN] = ACTIONS(1808), - [anon_sym_LT] = ACTIONS(1792), - [anon_sym_GT] = ACTIONS(1792), - [anon_sym_DQUOTE] = ACTIONS(1794), - [sym_raw_string] = ACTIONS(1796), - [anon_sym_DOLLAR] = ACTIONS(1798), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1800), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1802), - [anon_sym_BQUOTE] = ACTIONS(1804), - [sym_word] = ACTIONS(1806), + [683] = { + [sym_string] = STATE(785), + [sym_array] = STATE(785), + [sym_simple_expansion] = STATE(785), + [sym_expansion] = STATE(785), + [sym_command_substitution] = STATE(785), + [sym_process_substitution] = STATE(785), + [anon_sym_LPAREN] = ACTIONS(1906), + [anon_sym_LT] = ACTIONS(1890), + [anon_sym_GT] = ACTIONS(1890), + [anon_sym_DQUOTE] = ACTIONS(1892), + [sym_raw_string] = ACTIONS(1894), + [anon_sym_DOLLAR] = ACTIONS(1896), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1898), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1900), + [anon_sym_BQUOTE] = ACTIONS(1902), + [sym_word] = ACTIONS(1904), [sym_comment] = ACTIONS(115), }, - [634] = { + [684] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(668), - [sym_file_descriptor] = ACTIONS(1810), - [anon_sym_in] = ACTIONS(1813), - [anon_sym_RPAREN] = ACTIONS(1813), - [anon_sym_SEMI_SEMI] = ACTIONS(1813), - [anon_sym_LPAREN] = ACTIONS(1813), - [anon_sym_RBRACE] = ACTIONS(1813), - [anon_sym_PIPE] = ACTIONS(1813), - [anon_sym_PIPE_AMP] = ACTIONS(1813), - [anon_sym_AMP_AMP] = ACTIONS(1813), - [anon_sym_PIPE_PIPE] = ACTIONS(1813), - [anon_sym_RBRACK] = ACTIONS(1813), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1813), - [anon_sym_COLON] = ACTIONS(1813), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1813), - [anon_sym_LT] = ACTIONS(1813), - [anon_sym_GT] = ACTIONS(1813), - [anon_sym_GT_GT] = ACTIONS(1813), - [anon_sym_AMP_GT] = ACTIONS(1813), - [anon_sym_AMP_GT_GT] = ACTIONS(1813), - [anon_sym_LT_AMP] = ACTIONS(1813), - [anon_sym_GT_AMP] = ACTIONS(1813), - [anon_sym_LT_LT] = ACTIONS(1813), - [anon_sym_LT_LT_DASH] = ACTIONS(1813), - [anon_sym_DQUOTE] = ACTIONS(1816), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1820), - [sym_raw_string] = ACTIONS(1813), - [anon_sym_DOLLAR] = ACTIONS(1822), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1826), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1830), - [anon_sym_BQUOTE] = ACTIONS(1834), - [sym_leading_word] = ACTIONS(1813), - [sym_word] = ACTIONS(1813), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1813), - [anon_sym_LF] = ACTIONS(1813), - [anon_sym_AMP] = ACTIONS(1813), + [aux_sym_string_repeat1] = STATE(719), + [sym_file_descriptor] = ACTIONS(1908), + [anon_sym_in] = ACTIONS(1911), + [anon_sym_RPAREN] = ACTIONS(1911), + [anon_sym_SEMI_SEMI] = ACTIONS(1911), + [anon_sym_LPAREN] = ACTIONS(1911), + [anon_sym_RBRACE] = ACTIONS(1911), + [anon_sym_PIPE] = ACTIONS(1911), + [anon_sym_PIPE_AMP] = ACTIONS(1911), + [anon_sym_AMP_AMP] = ACTIONS(1911), + [anon_sym_PIPE_PIPE] = ACTIONS(1911), + [anon_sym_RBRACK] = ACTIONS(1911), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1911), + [anon_sym_COLON] = ACTIONS(1911), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1911), + [anon_sym_LT] = ACTIONS(1911), + [anon_sym_GT] = ACTIONS(1911), + [anon_sym_GT_GT] = ACTIONS(1911), + [anon_sym_AMP_GT] = ACTIONS(1911), + [anon_sym_AMP_GT_GT] = ACTIONS(1911), + [anon_sym_LT_AMP] = ACTIONS(1911), + [anon_sym_GT_AMP] = ACTIONS(1911), + [anon_sym_LT_LT] = ACTIONS(1911), + [anon_sym_LT_LT_DASH] = ACTIONS(1911), + [anon_sym_DQUOTE] = ACTIONS(1914), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1918), + [sym_raw_string] = ACTIONS(1911), + [anon_sym_DOLLAR] = ACTIONS(1920), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1924), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1928), + [anon_sym_BQUOTE] = ACTIONS(1932), + [sym_leading_word] = ACTIONS(1911), + [sym_word] = ACTIONS(1911), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1911), + [anon_sym_LF] = ACTIONS(1911), + [anon_sym_AMP] = ACTIONS(1911), }, - [635] = { - [sym_special_variable_name] = STATE(743), - [sym__heredoc_middle] = ACTIONS(583), - [sym__heredoc_end] = ACTIONS(583), - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_in] = ACTIONS(577), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_LPAREN] = ACTIONS(577), - [anon_sym_RBRACE] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_RBRACK] = ACTIONS(577), - [anon_sym_RBRACK_RBRACK] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_EQ] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR] = ACTIONS(1838), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_COLON_QMARK] = ACTIONS(585), - [anon_sym_COLON_DASH] = ACTIONS(585), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(1841), - [anon_sym_STAR] = ACTIONS(1843), - [anon_sym_AT] = ACTIONS(1843), - [anon_sym_POUND] = ACTIONS(1843), - [anon_sym_QMARK] = ACTIONS(1843), - [anon_sym_DASH] = ACTIONS(1843), - [anon_sym_BANG] = ACTIONS(1843), - [anon_sym_0] = ACTIONS(1843), - [anon_sym__] = ACTIONS(1843), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), + [685] = { + [sym_special_variable_name] = STATE(794), + [sym__heredoc_middle] = ACTIONS(591), + [sym__heredoc_end] = ACTIONS(591), + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_in] = ACTIONS(585), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_RBRACE] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_RBRACK] = ACTIONS(585), + [anon_sym_RBRACK_RBRACK] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_EQ] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(1936), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_POUND] = ACTIONS(1939), + [anon_sym_COLON_QMARK] = ACTIONS(593), + [anon_sym_COLON_DASH] = ACTIONS(593), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(1941), + [anon_sym_STAR] = ACTIONS(1939), + [anon_sym_AT] = ACTIONS(1939), + [anon_sym_QMARK] = ACTIONS(1939), + [anon_sym_DASH] = ACTIONS(1939), + [anon_sym_BANG] = ACTIONS(1939), + [anon_sym_0] = ACTIONS(1939), + [anon_sym__] = ACTIONS(1939), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, - [636] = { - [sym_for_statement] = STATE(744), - [sym_while_statement] = STATE(744), - [sym_if_statement] = STATE(744), - [sym_case_statement] = STATE(744), - [sym_function_definition] = STATE(744), - [sym_subshell] = STATE(744), - [sym_pipeline] = STATE(744), - [sym_list] = STATE(744), - [sym_bracket_command] = STATE(744), - [sym_command] = STATE(744), - [sym_environment_variable_assignment] = STATE(745), + [686] = { + [sym_special_variable_name] = STATE(796), + [sym__heredoc_middle] = ACTIONS(591), + [sym__heredoc_end] = ACTIONS(591), + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_in] = ACTIONS(585), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_RBRACE] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_RBRACK] = ACTIONS(585), + [anon_sym_RBRACK_RBRACK] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_EQ] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(1943), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(593), + [anon_sym_COLON_DASH] = ACTIONS(593), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(1946), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [687] = { + [sym_for_statement] = STATE(797), + [sym_while_statement] = STATE(797), + [sym_if_statement] = STATE(797), + [sym_case_statement] = STATE(797), + [sym_function_definition] = STATE(797), + [sym_subshell] = STATE(797), + [sym_pipeline] = STATE(797), + [sym_list] = STATE(797), + [sym_bracket_command] = STATE(797), + [sym_command] = STATE(797), + [sym_environment_variable_assignment] = STATE(798), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(1845), - [anon_sym_for] = ACTIONS(1848), - [anon_sym_in] = ACTIONS(847), - [anon_sym_while] = ACTIONS(1850), - [anon_sym_if] = ACTIONS(1852), - [anon_sym_case] = ACTIONS(1854), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_function] = ACTIONS(1856), - [anon_sym_LPAREN] = ACTIONS(1858), - [anon_sym_RBRACE] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_LBRACK] = ACTIONS(1861), - [anon_sym_RBRACK] = ACTIONS(847), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1863), - [anon_sym_RBRACK_RBRACK] = ACTIONS(847), - [anon_sym_COLON] = ACTIONS(1865), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(1868), - [anon_sym_GT] = ACTIONS(1868), - [anon_sym_GT_GT] = ACTIONS(1868), - [anon_sym_AMP_GT] = ACTIONS(1868), - [anon_sym_AMP_GT_GT] = ACTIONS(1868), - [anon_sym_LT_AMP] = ACTIONS(1868), - [anon_sym_GT_AMP] = ACTIONS(1868), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(1871), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), - [sym_raw_string] = ACTIONS(1865), - [anon_sym_DOLLAR] = ACTIONS(847), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1874), - [anon_sym_BQUOTE] = ACTIONS(1877), - [sym_leading_word] = ACTIONS(1880), - [sym_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), + [sym_file_descriptor] = ACTIONS(1949), + [anon_sym_for] = ACTIONS(1952), + [anon_sym_in] = ACTIONS(867), + [anon_sym_while] = ACTIONS(1954), + [anon_sym_if] = ACTIONS(1956), + [anon_sym_case] = ACTIONS(1958), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_function] = ACTIONS(1960), + [anon_sym_LPAREN] = ACTIONS(1962), + [anon_sym_RBRACE] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_LBRACK] = ACTIONS(1965), + [anon_sym_RBRACK] = ACTIONS(867), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1967), + [anon_sym_RBRACK_RBRACK] = ACTIONS(867), + [anon_sym_COLON] = ACTIONS(1969), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(1972), + [anon_sym_GT] = ACTIONS(1972), + [anon_sym_GT_GT] = ACTIONS(1972), + [anon_sym_AMP_GT] = ACTIONS(1972), + [anon_sym_AMP_GT_GT] = ACTIONS(1972), + [anon_sym_LT_AMP] = ACTIONS(1972), + [anon_sym_GT_AMP] = ACTIONS(1972), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(1975), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(867), + [sym_raw_string] = ACTIONS(1969), + [anon_sym_DOLLAR] = ACTIONS(867), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1978), + [anon_sym_BQUOTE] = ACTIONS(1981), + [sym_leading_word] = ACTIONS(1984), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, - [637] = { - [sym__heredoc_middle] = ACTIONS(583), - [sym__heredoc_end] = ACTIONS(583), - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_in] = ACTIONS(577), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_LPAREN] = ACTIONS(577), - [anon_sym_RBRACE] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_RBRACK] = ACTIONS(577), - [anon_sym_RBRACK_RBRACK] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_EQ] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR] = ACTIONS(577), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_COLON_QMARK] = ACTIONS(585), - [anon_sym_COLON_DASH] = ACTIONS(585), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), + [688] = { + [sym__heredoc_middle] = ACTIONS(591), + [sym__heredoc_end] = ACTIONS(591), + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_in] = ACTIONS(585), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_RBRACE] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_RBRACK] = ACTIONS(585), + [anon_sym_RBRACK_RBRACK] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_EQ] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_COLON_QMARK] = ACTIONS(593), + [anon_sym_COLON_DASH] = ACTIONS(593), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, - [638] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(663), - [sym_file_descriptor] = ACTIONS(521), - [ts_builtin_sym_end] = ACTIONS(521), - [anon_sym_for] = ACTIONS(523), - [anon_sym_in] = ACTIONS(1883), - [anon_sym_while] = ACTIONS(523), - [anon_sym_do] = ACTIONS(523), - [anon_sym_done] = ACTIONS(523), - [anon_sym_if] = ACTIONS(523), - [anon_sym_then] = ACTIONS(523), - [anon_sym_fi] = ACTIONS(523), - [anon_sym_elif] = ACTIONS(523), - [anon_sym_else] = ACTIONS(523), - [anon_sym_case] = ACTIONS(523), - [anon_sym_esac] = ACTIONS(1885), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_function] = ACTIONS(523), - [anon_sym_LPAREN] = ACTIONS(1887), - [anon_sym_RBRACE] = ACTIONS(521), - [anon_sym_LBRACK] = ACTIONS(523), - [anon_sym_LBRACK_LBRACK] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(1890), - [anon_sym_GT] = ACTIONS(1890), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(1893), - [sym_raw_string] = ACTIONS(1896), - [anon_sym_DOLLAR] = ACTIONS(919), + [689] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(714), + [sym_file_descriptor] = ACTIONS(529), + [ts_builtin_sym_end] = ACTIONS(529), + [anon_sym_for] = ACTIONS(531), + [anon_sym_in] = ACTIONS(1987), + [anon_sym_while] = ACTIONS(531), + [anon_sym_do] = ACTIONS(531), + [anon_sym_done] = ACTIONS(531), + [anon_sym_if] = ACTIONS(531), + [anon_sym_then] = ACTIONS(531), + [anon_sym_fi] = ACTIONS(531), + [anon_sym_elif] = ACTIONS(531), + [anon_sym_else] = ACTIONS(531), + [anon_sym_case] = ACTIONS(531), + [anon_sym_esac] = ACTIONS(1989), + [anon_sym_RPAREN] = ACTIONS(529), + [anon_sym_SEMI_SEMI] = ACTIONS(529), + [anon_sym_function] = ACTIONS(531), + [anon_sym_LPAREN] = ACTIONS(1991), + [anon_sym_RBRACE] = ACTIONS(529), + [anon_sym_LBRACK] = ACTIONS(531), + [anon_sym_LBRACK_LBRACK] = ACTIONS(531), + [anon_sym_COLON] = ACTIONS(531), + [anon_sym_LT] = ACTIONS(1994), + [anon_sym_GT] = ACTIONS(1994), + [anon_sym_GT_GT] = ACTIONS(531), + [anon_sym_AMP_GT] = ACTIONS(531), + [anon_sym_AMP_GT_GT] = ACTIONS(531), + [anon_sym_LT_AMP] = ACTIONS(531), + [anon_sym_GT_AMP] = ACTIONS(531), + [anon_sym_DQUOTE] = ACTIONS(1997), + [sym_raw_string] = ACTIONS(2000), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1899), - [anon_sym_BQUOTE] = ACTIONS(1902), - [sym_leading_word] = ACTIONS(525), - [sym_word] = ACTIONS(921), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2003), + [anon_sym_BQUOTE] = ACTIONS(2006), + [sym_leading_word] = ACTIONS(533), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, - [639] = { - [sym_file_descriptor] = ACTIONS(683), - [anon_sym_RPAREN] = ACTIONS(685), - [anon_sym_SEMI_SEMI] = ACTIONS(685), - [anon_sym_PIPE] = ACTIONS(685), - [anon_sym_PIPE_AMP] = ACTIONS(685), - [anon_sym_AMP_AMP] = ACTIONS(685), - [anon_sym_PIPE_PIPE] = ACTIONS(685), - [anon_sym_LT] = ACTIONS(685), - [anon_sym_GT] = ACTIONS(685), - [anon_sym_GT_GT] = ACTIONS(685), - [anon_sym_AMP_GT] = ACTIONS(685), - [anon_sym_AMP_GT_GT] = ACTIONS(685), - [anon_sym_LT_AMP] = ACTIONS(685), - [anon_sym_GT_AMP] = ACTIONS(685), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(685), - [anon_sym_BQUOTE] = ACTIONS(685), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(685), - [anon_sym_LF] = ACTIONS(685), - [anon_sym_AMP] = ACTIONS(685), + [690] = { + [sym_file_descriptor] = ACTIONS(699), + [anon_sym_RPAREN] = ACTIONS(701), + [anon_sym_SEMI_SEMI] = ACTIONS(701), + [anon_sym_PIPE] = ACTIONS(701), + [anon_sym_PIPE_AMP] = ACTIONS(701), + [anon_sym_AMP_AMP] = ACTIONS(701), + [anon_sym_PIPE_PIPE] = ACTIONS(701), + [anon_sym_LT] = ACTIONS(701), + [anon_sym_GT] = ACTIONS(701), + [anon_sym_GT_GT] = ACTIONS(701), + [anon_sym_AMP_GT] = ACTIONS(701), + [anon_sym_AMP_GT_GT] = ACTIONS(701), + [anon_sym_LT_AMP] = ACTIONS(701), + [anon_sym_GT_AMP] = ACTIONS(701), + [anon_sym_LT_LT] = ACTIONS(701), + [anon_sym_LT_LT_DASH] = ACTIONS(701), + [anon_sym_BQUOTE] = ACTIONS(701), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(701), + [anon_sym_LF] = ACTIONS(701), + [anon_sym_AMP] = ACTIONS(701), }, - [640] = { - [sym_simple_expansion] = STATE(311), - [sym_expansion] = STATE(311), - [aux_sym_heredoc_repeat1] = STATE(667), - [sym__heredoc_middle] = ACTIONS(687), - [sym__heredoc_end] = ACTIONS(1905), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [691] = { + [sym_simple_expansion] = STATE(321), + [sym_expansion] = STATE(321), + [aux_sym_heredoc_repeat1] = STATE(718), + [sym__heredoc_middle] = ACTIONS(703), + [sym__heredoc_end] = ACTIONS(2009), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), [sym_comment] = ACTIONS(115), }, - [641] = { - [sym__heredoc_middle] = ACTIONS(1907), - [sym__heredoc_end] = ACTIONS(1907), - [anon_sym_DOLLAR] = ACTIONS(1910), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1907), + [692] = { + [sym__heredoc_middle] = ACTIONS(2011), + [sym__heredoc_end] = ACTIONS(2011), + [anon_sym_DOLLAR] = ACTIONS(2014), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2011), [sym_comment] = ACTIONS(115), }, - [642] = { - [sym_file_descriptor] = ACTIONS(1913), - [anon_sym_RPAREN] = ACTIONS(1916), - [anon_sym_SEMI_SEMI] = ACTIONS(1916), - [anon_sym_PIPE] = ACTIONS(1916), - [anon_sym_PIPE_AMP] = ACTIONS(1916), - [anon_sym_AMP_AMP] = ACTIONS(1916), - [anon_sym_PIPE_PIPE] = ACTIONS(1916), - [anon_sym_LT] = ACTIONS(1916), - [anon_sym_GT] = ACTIONS(1916), - [anon_sym_GT_GT] = ACTIONS(1916), - [anon_sym_AMP_GT] = ACTIONS(1916), - [anon_sym_AMP_GT_GT] = ACTIONS(1916), - [anon_sym_LT_AMP] = ACTIONS(1916), - [anon_sym_GT_AMP] = ACTIONS(1916), - [anon_sym_LT_LT] = ACTIONS(1916), - [anon_sym_LT_LT_DASH] = ACTIONS(1916), - [anon_sym_BQUOTE] = ACTIONS(1916), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1916), - [anon_sym_LF] = ACTIONS(1916), - [anon_sym_AMP] = ACTIONS(1916), + [693] = { + [sym_file_descriptor] = ACTIONS(2017), + [anon_sym_RPAREN] = ACTIONS(2020), + [anon_sym_SEMI_SEMI] = ACTIONS(2020), + [anon_sym_PIPE] = ACTIONS(2020), + [anon_sym_PIPE_AMP] = ACTIONS(2020), + [anon_sym_AMP_AMP] = ACTIONS(2020), + [anon_sym_PIPE_PIPE] = ACTIONS(2020), + [anon_sym_LT] = ACTIONS(2020), + [anon_sym_GT] = ACTIONS(2020), + [anon_sym_GT_GT] = ACTIONS(2020), + [anon_sym_AMP_GT] = ACTIONS(2020), + [anon_sym_AMP_GT_GT] = ACTIONS(2020), + [anon_sym_LT_AMP] = ACTIONS(2020), + [anon_sym_GT_AMP] = ACTIONS(2020), + [anon_sym_LT_LT] = ACTIONS(2020), + [anon_sym_LT_LT_DASH] = ACTIONS(2020), + [anon_sym_BQUOTE] = ACTIONS(2020), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2020), + [anon_sym_LF] = ACTIONS(2020), + [anon_sym_AMP] = ACTIONS(2020), }, - [643] = { - [anon_sym_LT] = ACTIONS(1919), - [anon_sym_GT] = ACTIONS(1919), - [anon_sym_GT_GT] = ACTIONS(1921), - [anon_sym_AMP_GT] = ACTIONS(1919), - [anon_sym_AMP_GT_GT] = ACTIONS(1921), - [anon_sym_LT_AMP] = ACTIONS(1921), - [anon_sym_GT_AMP] = ACTIONS(1921), + [694] = { + [anon_sym_LT] = ACTIONS(2023), + [anon_sym_GT] = ACTIONS(2023), + [anon_sym_GT_GT] = ACTIONS(2025), + [anon_sym_AMP_GT] = ACTIONS(2023), + [anon_sym_AMP_GT_GT] = ACTIONS(2025), + [anon_sym_LT_AMP] = ACTIONS(2025), + [anon_sym_GT_AMP] = ACTIONS(2025), [sym_comment] = ACTIONS(115), }, - [644] = { - [sym_file_descriptor] = ACTIONS(863), - [anon_sym_RPAREN] = ACTIONS(865), - [anon_sym_SEMI_SEMI] = ACTIONS(865), - [anon_sym_PIPE] = ACTIONS(865), - [anon_sym_PIPE_AMP] = ACTIONS(865), - [anon_sym_AMP_AMP] = ACTIONS(865), - [anon_sym_PIPE_PIPE] = ACTIONS(865), - [anon_sym_COLON] = ACTIONS(865), - [anon_sym_LT] = ACTIONS(865), - [anon_sym_GT] = ACTIONS(865), - [anon_sym_GT_GT] = ACTIONS(865), - [anon_sym_AMP_GT] = ACTIONS(865), - [anon_sym_AMP_GT_GT] = ACTIONS(865), - [anon_sym_LT_AMP] = ACTIONS(865), - [anon_sym_GT_AMP] = ACTIONS(865), - [anon_sym_DQUOTE] = ACTIONS(865), - [sym_raw_string] = ACTIONS(865), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), - [anon_sym_BQUOTE] = ACTIONS(865), - [sym_leading_word] = ACTIONS(865), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(865), - [anon_sym_LF] = ACTIONS(865), - [anon_sym_AMP] = ACTIONS(865), + [695] = { + [sym_file_descriptor] = ACTIONS(883), + [anon_sym_RPAREN] = ACTIONS(885), + [anon_sym_SEMI_SEMI] = ACTIONS(885), + [anon_sym_PIPE] = ACTIONS(885), + [anon_sym_PIPE_AMP] = ACTIONS(885), + [anon_sym_AMP_AMP] = ACTIONS(885), + [anon_sym_PIPE_PIPE] = ACTIONS(885), + [anon_sym_COLON] = ACTIONS(885), + [anon_sym_LT] = ACTIONS(885), + [anon_sym_GT] = ACTIONS(885), + [anon_sym_GT_GT] = ACTIONS(885), + [anon_sym_AMP_GT] = ACTIONS(885), + [anon_sym_AMP_GT_GT] = ACTIONS(885), + [anon_sym_LT_AMP] = ACTIONS(885), + [anon_sym_GT_AMP] = ACTIONS(885), + [anon_sym_DQUOTE] = ACTIONS(885), + [sym_raw_string] = ACTIONS(885), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(885), + [anon_sym_BQUOTE] = ACTIONS(885), + [sym_leading_word] = ACTIONS(885), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(885), + [anon_sym_LF] = ACTIONS(885), + [anon_sym_AMP] = ACTIONS(885), }, - [645] = { - [sym_do_group] = STATE(647), - [sym_file_descriptor] = ACTIONS(1923), - [ts_builtin_sym_end] = ACTIONS(1923), - [anon_sym_for] = ACTIONS(1926), - [anon_sym_while] = ACTIONS(1926), - [anon_sym_do] = ACTIONS(1929), - [anon_sym_done] = ACTIONS(1926), - [anon_sym_if] = ACTIONS(1926), - [anon_sym_then] = ACTIONS(1931), - [anon_sym_fi] = ACTIONS(1926), - [anon_sym_elif] = ACTIONS(1926), - [anon_sym_else] = ACTIONS(1926), - [anon_sym_case] = ACTIONS(1926), - [anon_sym_RPAREN] = ACTIONS(1923), - [anon_sym_SEMI_SEMI] = ACTIONS(1923), - [anon_sym_function] = ACTIONS(1926), - [anon_sym_LPAREN] = ACTIONS(1923), - [anon_sym_RBRACE] = ACTIONS(1923), - [anon_sym_LBRACK] = ACTIONS(1926), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1926), - [anon_sym_COLON] = ACTIONS(1923), - [anon_sym_LT] = ACTIONS(1926), - [anon_sym_GT] = ACTIONS(1926), - [anon_sym_GT_GT] = ACTIONS(1926), - [anon_sym_AMP_GT] = ACTIONS(1926), - [anon_sym_AMP_GT_GT] = ACTIONS(1926), - [anon_sym_LT_AMP] = ACTIONS(1926), - [anon_sym_GT_AMP] = ACTIONS(1926), - [anon_sym_DQUOTE] = ACTIONS(1923), - [sym_raw_string] = ACTIONS(1926), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1923), - [anon_sym_BQUOTE] = ACTIONS(1923), - [sym_leading_word] = ACTIONS(1933), + [696] = { + [sym_do_group] = STATE(698), + [sym_file_descriptor] = ACTIONS(2027), + [ts_builtin_sym_end] = ACTIONS(2027), + [anon_sym_for] = ACTIONS(2030), + [anon_sym_while] = ACTIONS(2030), + [anon_sym_do] = ACTIONS(2033), + [anon_sym_done] = ACTIONS(2030), + [anon_sym_if] = ACTIONS(2030), + [anon_sym_then] = ACTIONS(2035), + [anon_sym_fi] = ACTIONS(2030), + [anon_sym_elif] = ACTIONS(2030), + [anon_sym_else] = ACTIONS(2030), + [anon_sym_case] = ACTIONS(2030), + [anon_sym_RPAREN] = ACTIONS(2027), + [anon_sym_SEMI_SEMI] = ACTIONS(2027), + [anon_sym_function] = ACTIONS(2030), + [anon_sym_LPAREN] = ACTIONS(2027), + [anon_sym_RBRACE] = ACTIONS(2027), + [anon_sym_LBRACK] = ACTIONS(2030), + [anon_sym_LBRACK_LBRACK] = ACTIONS(2030), + [anon_sym_COLON] = ACTIONS(2027), + [anon_sym_LT] = ACTIONS(2030), + [anon_sym_GT] = ACTIONS(2030), + [anon_sym_GT_GT] = ACTIONS(2030), + [anon_sym_AMP_GT] = ACTIONS(2030), + [anon_sym_AMP_GT_GT] = ACTIONS(2030), + [anon_sym_LT_AMP] = ACTIONS(2030), + [anon_sym_GT_AMP] = ACTIONS(2030), + [anon_sym_DQUOTE] = ACTIONS(2027), + [sym_raw_string] = ACTIONS(2030), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2027), + [anon_sym_BQUOTE] = ACTIONS(2027), + [sym_leading_word] = ACTIONS(2037), [sym_comment] = ACTIONS(115), }, - [646] = { - [anon_sym_RPAREN] = ACTIONS(1936), - [anon_sym_SEMI_SEMI] = ACTIONS(1940), - [anon_sym_PIPE] = ACTIONS(1944), - [anon_sym_PIPE_AMP] = ACTIONS(1944), - [anon_sym_AMP_AMP] = ACTIONS(1948), - [anon_sym_PIPE_PIPE] = ACTIONS(1948), - [anon_sym_BQUOTE] = ACTIONS(1952), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1940), - [anon_sym_LF] = ACTIONS(1940), - [anon_sym_AMP] = ACTIONS(1940), + [697] = { + [anon_sym_RPAREN] = ACTIONS(2040), + [anon_sym_SEMI_SEMI] = ACTIONS(2044), + [anon_sym_PIPE] = ACTIONS(2048), + [anon_sym_PIPE_AMP] = ACTIONS(2048), + [anon_sym_AMP_AMP] = ACTIONS(2052), + [anon_sym_PIPE_PIPE] = ACTIONS(2052), + [anon_sym_BQUOTE] = ACTIONS(2056), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2044), + [anon_sym_LF] = ACTIONS(2044), + [anon_sym_AMP] = ACTIONS(2044), }, - [647] = { - [anon_sym_RPAREN] = ACTIONS(1956), - [anon_sym_SEMI_SEMI] = ACTIONS(1956), - [anon_sym_PIPE] = ACTIONS(1956), - [anon_sym_PIPE_AMP] = ACTIONS(1956), - [anon_sym_AMP_AMP] = ACTIONS(1956), - [anon_sym_PIPE_PIPE] = ACTIONS(1956), - [anon_sym_BQUOTE] = ACTIONS(1956), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1956), - [anon_sym_LF] = ACTIONS(1956), - [anon_sym_AMP] = ACTIONS(1956), + [698] = { + [anon_sym_RPAREN] = ACTIONS(2060), + [anon_sym_SEMI_SEMI] = ACTIONS(2060), + [anon_sym_PIPE] = ACTIONS(2060), + [anon_sym_PIPE_AMP] = ACTIONS(2060), + [anon_sym_AMP_AMP] = ACTIONS(2060), + [anon_sym_PIPE_PIPE] = ACTIONS(2060), + [anon_sym_BQUOTE] = ACTIONS(2060), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2060), + [anon_sym_LF] = ACTIONS(2060), + [anon_sym_AMP] = ACTIONS(2060), }, - [648] = { - [anon_sym_fi] = ACTIONS(1959), - [anon_sym_elif] = ACTIONS(1959), - [anon_sym_else] = ACTIONS(1959), + [699] = { + [anon_sym_fi] = ACTIONS(2063), + [anon_sym_elif] = ACTIONS(2063), + [anon_sym_else] = ACTIONS(2063), [sym_comment] = ACTIONS(115), }, - [649] = { - [anon_sym_fi] = ACTIONS(1962), + [700] = { + [anon_sym_fi] = ACTIONS(2066), [sym_comment] = ACTIONS(115), }, - [650] = { - [anon_sym_esac] = ACTIONS(1964), - [anon_sym_LPAREN] = ACTIONS(1967), - [anon_sym_LT] = ACTIONS(1967), - [anon_sym_GT] = ACTIONS(1967), - [anon_sym_DQUOTE] = ACTIONS(1967), - [sym_raw_string] = ACTIONS(1964), - [anon_sym_DOLLAR] = ACTIONS(1964), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1967), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1967), - [anon_sym_BQUOTE] = ACTIONS(1967), - [sym_word] = ACTIONS(1970), + [701] = { + [anon_sym_esac] = ACTIONS(2068), + [anon_sym_LPAREN] = ACTIONS(2071), + [anon_sym_LT] = ACTIONS(2071), + [anon_sym_GT] = ACTIONS(2071), + [anon_sym_DQUOTE] = ACTIONS(2071), + [sym_raw_string] = ACTIONS(2068), + [anon_sym_DOLLAR] = ACTIONS(2068), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2071), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2071), + [anon_sym_BQUOTE] = ACTIONS(2071), + [sym_word] = ACTIONS(2074), [sym_comment] = ACTIONS(115), }, - [651] = { - [anon_sym_RPAREN] = ACTIONS(1973), - [anon_sym_SEMI_SEMI] = ACTIONS(1973), - [anon_sym_PIPE] = ACTIONS(1973), - [anon_sym_PIPE_AMP] = ACTIONS(1973), - [anon_sym_AMP_AMP] = ACTIONS(1973), - [anon_sym_PIPE_PIPE] = ACTIONS(1973), - [anon_sym_BQUOTE] = ACTIONS(1973), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1973), - [anon_sym_LF] = ACTIONS(1973), - [anon_sym_AMP] = ACTIONS(1973), + [702] = { + [anon_sym_RPAREN] = ACTIONS(2077), + [anon_sym_SEMI_SEMI] = ACTIONS(2077), + [anon_sym_PIPE] = ACTIONS(2077), + [anon_sym_PIPE_AMP] = ACTIONS(2077), + [anon_sym_AMP_AMP] = ACTIONS(2077), + [anon_sym_PIPE_PIPE] = ACTIONS(2077), + [anon_sym_BQUOTE] = ACTIONS(2077), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2077), + [anon_sym_LF] = ACTIONS(2077), + [anon_sym_AMP] = ACTIONS(2077), }, - [652] = { - [sym_file_descriptor] = ACTIONS(1976), - [anon_sym_RPAREN] = ACTIONS(1936), - [anon_sym_SEMI_SEMI] = ACTIONS(1940), - [anon_sym_PIPE] = ACTIONS(1944), - [anon_sym_PIPE_AMP] = ACTIONS(1944), - [anon_sym_AMP_AMP] = ACTIONS(1948), - [anon_sym_PIPE_PIPE] = ACTIONS(1948), - [anon_sym_COLON] = ACTIONS(1979), - [anon_sym_LT] = ACTIONS(1979), - [anon_sym_GT] = ACTIONS(1979), - [anon_sym_GT_GT] = ACTIONS(1979), - [anon_sym_AMP_GT] = ACTIONS(1979), - [anon_sym_AMP_GT_GT] = ACTIONS(1979), - [anon_sym_LT_AMP] = ACTIONS(1979), - [anon_sym_GT_AMP] = ACTIONS(1979), - [anon_sym_DQUOTE] = ACTIONS(1979), - [sym_raw_string] = ACTIONS(1979), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1979), - [anon_sym_BQUOTE] = ACTIONS(1982), - [sym_leading_word] = ACTIONS(1979), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1940), - [anon_sym_LF] = ACTIONS(1940), - [anon_sym_AMP] = ACTIONS(1940), + [703] = { + [sym_file_descriptor] = ACTIONS(2080), + [anon_sym_RPAREN] = ACTIONS(2040), + [anon_sym_SEMI_SEMI] = ACTIONS(2044), + [anon_sym_PIPE] = ACTIONS(2048), + [anon_sym_PIPE_AMP] = ACTIONS(2048), + [anon_sym_AMP_AMP] = ACTIONS(2052), + [anon_sym_PIPE_PIPE] = ACTIONS(2052), + [anon_sym_COLON] = ACTIONS(2083), + [anon_sym_LT] = ACTIONS(2083), + [anon_sym_GT] = ACTIONS(2083), + [anon_sym_GT_GT] = ACTIONS(2083), + [anon_sym_AMP_GT] = ACTIONS(2083), + [anon_sym_AMP_GT_GT] = ACTIONS(2083), + [anon_sym_LT_AMP] = ACTIONS(2083), + [anon_sym_GT_AMP] = ACTIONS(2083), + [anon_sym_DQUOTE] = ACTIONS(2083), + [sym_raw_string] = ACTIONS(2083), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2083), + [anon_sym_BQUOTE] = ACTIONS(2086), + [sym_leading_word] = ACTIONS(2083), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2044), + [anon_sym_LF] = ACTIONS(2044), + [anon_sym_AMP] = ACTIONS(2044), }, - [653] = { - [sym_file_descriptor] = ACTIONS(1988), - [anon_sym_RPAREN] = ACTIONS(1993), - [anon_sym_SEMI_SEMI] = ACTIONS(1993), - [anon_sym_PIPE] = ACTIONS(1993), - [anon_sym_PIPE_AMP] = ACTIONS(1993), - [anon_sym_AMP_AMP] = ACTIONS(1993), - [anon_sym_PIPE_PIPE] = ACTIONS(1993), - [anon_sym_COLON] = ACTIONS(1996), - [anon_sym_LT] = ACTIONS(1999), - [anon_sym_GT] = ACTIONS(1999), - [anon_sym_GT_GT] = ACTIONS(1999), - [anon_sym_AMP_GT] = ACTIONS(1999), - [anon_sym_AMP_GT_GT] = ACTIONS(1999), - [anon_sym_LT_AMP] = ACTIONS(1999), - [anon_sym_GT_AMP] = ACTIONS(1999), - [anon_sym_LT_LT] = ACTIONS(1993), - [anon_sym_LT_LT_DASH] = ACTIONS(1993), - [anon_sym_DQUOTE] = ACTIONS(1996), - [sym_raw_string] = ACTIONS(1996), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1996), - [anon_sym_BQUOTE] = ACTIONS(1999), - [sym_leading_word] = ACTIONS(1996), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1993), - [anon_sym_LF] = ACTIONS(1993), - [anon_sym_AMP] = ACTIONS(1993), + [704] = { + [sym_file_descriptor] = ACTIONS(2092), + [anon_sym_RPAREN] = ACTIONS(2097), + [anon_sym_SEMI_SEMI] = ACTIONS(2097), + [anon_sym_PIPE] = ACTIONS(2097), + [anon_sym_PIPE_AMP] = ACTIONS(2097), + [anon_sym_AMP_AMP] = ACTIONS(2097), + [anon_sym_PIPE_PIPE] = ACTIONS(2097), + [anon_sym_COLON] = ACTIONS(2100), + [anon_sym_LT] = ACTIONS(2103), + [anon_sym_GT] = ACTIONS(2103), + [anon_sym_GT_GT] = ACTIONS(2103), + [anon_sym_AMP_GT] = ACTIONS(2103), + [anon_sym_AMP_GT_GT] = ACTIONS(2103), + [anon_sym_LT_AMP] = ACTIONS(2103), + [anon_sym_GT_AMP] = ACTIONS(2103), + [anon_sym_LT_LT] = ACTIONS(2097), + [anon_sym_LT_LT_DASH] = ACTIONS(2097), + [anon_sym_DQUOTE] = ACTIONS(2100), + [sym_raw_string] = ACTIONS(2100), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2100), + [anon_sym_BQUOTE] = ACTIONS(2103), + [sym_leading_word] = ACTIONS(2100), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2097), + [anon_sym_LF] = ACTIONS(2097), + [anon_sym_AMP] = ACTIONS(2097), }, - [654] = { - [sym_file_descriptor] = ACTIONS(2004), - [anon_sym_RPAREN] = ACTIONS(1993), - [anon_sym_SEMI_SEMI] = ACTIONS(1993), - [anon_sym_PIPE] = ACTIONS(1993), - [anon_sym_PIPE_AMP] = ACTIONS(1993), - [anon_sym_AMP_AMP] = ACTIONS(1993), - [anon_sym_PIPE_PIPE] = ACTIONS(1993), - [anon_sym_LT] = ACTIONS(1993), - [anon_sym_GT] = ACTIONS(1993), - [anon_sym_GT_GT] = ACTIONS(1993), - [anon_sym_AMP_GT] = ACTIONS(1993), - [anon_sym_AMP_GT_GT] = ACTIONS(1993), - [anon_sym_LT_AMP] = ACTIONS(1993), - [anon_sym_GT_AMP] = ACTIONS(1993), - [anon_sym_LT_LT] = ACTIONS(1993), - [anon_sym_LT_LT_DASH] = ACTIONS(1993), - [anon_sym_BQUOTE] = ACTIONS(1993), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1993), - [anon_sym_LF] = ACTIONS(1993), - [anon_sym_AMP] = ACTIONS(1993), + [705] = { + [sym_file_descriptor] = ACTIONS(2108), + [anon_sym_RPAREN] = ACTIONS(2097), + [anon_sym_SEMI_SEMI] = ACTIONS(2097), + [anon_sym_PIPE] = ACTIONS(2097), + [anon_sym_PIPE_AMP] = ACTIONS(2097), + [anon_sym_AMP_AMP] = ACTIONS(2097), + [anon_sym_PIPE_PIPE] = ACTIONS(2097), + [anon_sym_LT] = ACTIONS(2097), + [anon_sym_GT] = ACTIONS(2097), + [anon_sym_GT_GT] = ACTIONS(2097), + [anon_sym_AMP_GT] = ACTIONS(2097), + [anon_sym_AMP_GT_GT] = ACTIONS(2097), + [anon_sym_LT_AMP] = ACTIONS(2097), + [anon_sym_GT_AMP] = ACTIONS(2097), + [anon_sym_LT_LT] = ACTIONS(2097), + [anon_sym_LT_LT_DASH] = ACTIONS(2097), + [anon_sym_BQUOTE] = ACTIONS(2097), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2097), + [anon_sym_LF] = ACTIONS(2097), + [anon_sym_AMP] = ACTIONS(2097), }, - [655] = { - [sym_file_descriptor] = ACTIONS(695), - [anon_sym_RPAREN] = ACTIONS(697), - [anon_sym_SEMI_SEMI] = ACTIONS(697), - [anon_sym_PIPE] = ACTIONS(697), - [anon_sym_PIPE_AMP] = ACTIONS(697), - [anon_sym_AMP_AMP] = ACTIONS(697), - [anon_sym_PIPE_PIPE] = ACTIONS(697), - [anon_sym_LT] = ACTIONS(697), - [anon_sym_GT] = ACTIONS(697), - [anon_sym_GT_GT] = ACTIONS(697), - [anon_sym_AMP_GT] = ACTIONS(697), - [anon_sym_AMP_GT_GT] = ACTIONS(697), - [anon_sym_LT_AMP] = ACTIONS(697), - [anon_sym_GT_AMP] = ACTIONS(697), - [anon_sym_LT_LT] = ACTIONS(697), - [anon_sym_LT_LT_DASH] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(697), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(697), - [anon_sym_LF] = ACTIONS(697), - [anon_sym_AMP] = ACTIONS(697), + [706] = { + [sym_file_descriptor] = ACTIONS(711), + [anon_sym_RPAREN] = ACTIONS(713), + [anon_sym_SEMI_SEMI] = ACTIONS(713), + [anon_sym_PIPE] = ACTIONS(713), + [anon_sym_PIPE_AMP] = ACTIONS(713), + [anon_sym_AMP_AMP] = ACTIONS(713), + [anon_sym_PIPE_PIPE] = ACTIONS(713), + [anon_sym_LT] = ACTIONS(713), + [anon_sym_GT] = ACTIONS(713), + [anon_sym_GT_GT] = ACTIONS(713), + [anon_sym_AMP_GT] = ACTIONS(713), + [anon_sym_AMP_GT_GT] = ACTIONS(713), + [anon_sym_LT_AMP] = ACTIONS(713), + [anon_sym_GT_AMP] = ACTIONS(713), + [anon_sym_LT_LT] = ACTIONS(713), + [anon_sym_LT_LT_DASH] = ACTIONS(713), + [anon_sym_BQUOTE] = ACTIONS(713), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(713), + [anon_sym_LF] = ACTIONS(713), + [anon_sym_AMP] = ACTIONS(713), }, - [656] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [aux_sym_command_repeat2] = STATE(722), - [sym_file_descriptor] = ACTIONS(2007), - [anon_sym_in] = ACTIONS(2014), - [anon_sym_RPAREN] = ACTIONS(2016), - [anon_sym_SEMI_SEMI] = ACTIONS(2025), - [anon_sym_LPAREN] = ACTIONS(2034), - [anon_sym_RBRACE] = ACTIONS(2037), - [anon_sym_PIPE] = ACTIONS(2039), - [anon_sym_PIPE_AMP] = ACTIONS(2039), - [anon_sym_AMP_AMP] = ACTIONS(2039), - [anon_sym_PIPE_PIPE] = ACTIONS(2039), - [anon_sym_RBRACK] = ACTIONS(2034), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), - [anon_sym_COLON] = ACTIONS(2047), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1748), - [anon_sym_LT] = ACTIONS(2051), - [anon_sym_GT] = ACTIONS(2051), - [anon_sym_GT_GT] = ACTIONS(2051), - [anon_sym_AMP_GT] = ACTIONS(2051), - [anon_sym_AMP_GT_GT] = ACTIONS(2051), - [anon_sym_LT_AMP] = ACTIONS(2051), - [anon_sym_GT_AMP] = ACTIONS(2051), - [anon_sym_LT_LT] = ACTIONS(2058), - [anon_sym_LT_LT_DASH] = ACTIONS(2058), - [anon_sym_DQUOTE] = ACTIONS(2064), - [sym_raw_string] = ACTIONS(2064), - [anon_sym_DOLLAR] = ACTIONS(2034), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2034), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2064), - [anon_sym_BQUOTE] = ACTIONS(2039), - [sym_leading_word] = ACTIONS(2047), - [sym_word] = ACTIONS(2034), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2025), - [anon_sym_LF] = ACTIONS(2025), - [anon_sym_AMP] = ACTIONS(2025), + [707] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [aux_sym_command_repeat2] = STATE(773), + [sym_file_descriptor] = ACTIONS(2111), + [anon_sym_in] = ACTIONS(2118), + [anon_sym_RPAREN] = ACTIONS(2120), + [anon_sym_SEMI_SEMI] = ACTIONS(2129), + [anon_sym_LPAREN] = ACTIONS(2138), + [anon_sym_RBRACE] = ACTIONS(2141), + [anon_sym_PIPE] = ACTIONS(2143), + [anon_sym_PIPE_AMP] = ACTIONS(2143), + [anon_sym_AMP_AMP] = ACTIONS(2143), + [anon_sym_PIPE_PIPE] = ACTIONS(2143), + [anon_sym_RBRACK] = ACTIONS(2138), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2138), + [anon_sym_COLON] = ACTIONS(2151), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1846), + [anon_sym_LT] = ACTIONS(2155), + [anon_sym_GT] = ACTIONS(2155), + [anon_sym_GT_GT] = ACTIONS(2155), + [anon_sym_AMP_GT] = ACTIONS(2155), + [anon_sym_AMP_GT_GT] = ACTIONS(2155), + [anon_sym_LT_AMP] = ACTIONS(2155), + [anon_sym_GT_AMP] = ACTIONS(2155), + [anon_sym_LT_LT] = ACTIONS(2162), + [anon_sym_LT_LT_DASH] = ACTIONS(2162), + [anon_sym_DQUOTE] = ACTIONS(2168), + [sym_raw_string] = ACTIONS(2168), + [anon_sym_DOLLAR] = ACTIONS(2138), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2138), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2168), + [anon_sym_BQUOTE] = ACTIONS(2143), + [sym_leading_word] = ACTIONS(2151), + [sym_word] = ACTIONS(2138), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2129), + [anon_sym_LF] = ACTIONS(2129), + [anon_sym_AMP] = ACTIONS(2129), }, - [657] = { - [sym_file_descriptor] = ACTIONS(2070), - [anon_sym_in] = ACTIONS(2014), - [anon_sym_RPAREN] = ACTIONS(2076), - [anon_sym_SEMI_SEMI] = ACTIONS(2083), - [anon_sym_LPAREN] = ACTIONS(2034), - [anon_sym_RBRACE] = ACTIONS(2037), - [anon_sym_PIPE] = ACTIONS(2064), - [anon_sym_PIPE_AMP] = ACTIONS(2064), - [anon_sym_AMP_AMP] = ACTIONS(2064), - [anon_sym_PIPE_PIPE] = ACTIONS(2064), - [anon_sym_RBRACK] = ACTIONS(2034), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), - [anon_sym_COLON] = ACTIONS(2047), - [anon_sym_LT] = ACTIONS(2064), - [anon_sym_GT] = ACTIONS(2064), - [anon_sym_GT_GT] = ACTIONS(2064), - [anon_sym_AMP_GT] = ACTIONS(2064), - [anon_sym_AMP_GT_GT] = ACTIONS(2064), - [anon_sym_LT_AMP] = ACTIONS(2064), - [anon_sym_GT_AMP] = ACTIONS(2064), - [anon_sym_LT_LT] = ACTIONS(2090), - [anon_sym_LT_LT_DASH] = ACTIONS(2090), - [anon_sym_DQUOTE] = ACTIONS(2064), - [sym_raw_string] = ACTIONS(2064), - [anon_sym_DOLLAR] = ACTIONS(2034), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2034), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2064), - [anon_sym_BQUOTE] = ACTIONS(2064), - [sym_leading_word] = ACTIONS(2047), - [sym_word] = ACTIONS(2034), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2083), - [anon_sym_LF] = ACTIONS(2083), - [anon_sym_AMP] = ACTIONS(2083), + [708] = { + [sym_file_descriptor] = ACTIONS(2174), + [anon_sym_in] = ACTIONS(2118), + [anon_sym_RPAREN] = ACTIONS(2180), + [anon_sym_SEMI_SEMI] = ACTIONS(2187), + [anon_sym_LPAREN] = ACTIONS(2138), + [anon_sym_RBRACE] = ACTIONS(2141), + [anon_sym_PIPE] = ACTIONS(2168), + [anon_sym_PIPE_AMP] = ACTIONS(2168), + [anon_sym_AMP_AMP] = ACTIONS(2168), + [anon_sym_PIPE_PIPE] = ACTIONS(2168), + [anon_sym_RBRACK] = ACTIONS(2138), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2138), + [anon_sym_COLON] = ACTIONS(2151), + [anon_sym_LT] = ACTIONS(2168), + [anon_sym_GT] = ACTIONS(2168), + [anon_sym_GT_GT] = ACTIONS(2168), + [anon_sym_AMP_GT] = ACTIONS(2168), + [anon_sym_AMP_GT_GT] = ACTIONS(2168), + [anon_sym_LT_AMP] = ACTIONS(2168), + [anon_sym_GT_AMP] = ACTIONS(2168), + [anon_sym_LT_LT] = ACTIONS(2194), + [anon_sym_LT_LT_DASH] = ACTIONS(2194), + [anon_sym_DQUOTE] = ACTIONS(2168), + [sym_raw_string] = ACTIONS(2168), + [anon_sym_DOLLAR] = ACTIONS(2138), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2138), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2168), + [anon_sym_BQUOTE] = ACTIONS(2168), + [sym_leading_word] = ACTIONS(2151), + [sym_word] = ACTIONS(2138), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2187), + [anon_sym_LF] = ACTIONS(2187), + [anon_sym_AMP] = ACTIONS(2187), }, - [658] = { - [sym__heredoc_middle] = ACTIONS(1907), - [sym__heredoc_end] = ACTIONS(1907), - [sym_file_descriptor] = ACTIONS(2070), - [anon_sym_in] = ACTIONS(2014), - [anon_sym_RPAREN] = ACTIONS(2076), - [anon_sym_SEMI_SEMI] = ACTIONS(2083), - [anon_sym_LPAREN] = ACTIONS(2034), - [anon_sym_RBRACE] = ACTIONS(2037), - [anon_sym_PIPE] = ACTIONS(2064), - [anon_sym_PIPE_AMP] = ACTIONS(2064), - [anon_sym_AMP_AMP] = ACTIONS(2064), - [anon_sym_PIPE_PIPE] = ACTIONS(2064), - [anon_sym_RBRACK] = ACTIONS(2034), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), - [anon_sym_COLON] = ACTIONS(2047), - [anon_sym_LT] = ACTIONS(2064), - [anon_sym_GT] = ACTIONS(2064), - [anon_sym_GT_GT] = ACTIONS(2064), - [anon_sym_AMP_GT] = ACTIONS(2064), - [anon_sym_AMP_GT_GT] = ACTIONS(2064), - [anon_sym_LT_AMP] = ACTIONS(2064), - [anon_sym_GT_AMP] = ACTIONS(2064), - [anon_sym_LT_LT] = ACTIONS(2090), - [anon_sym_LT_LT_DASH] = ACTIONS(2090), - [anon_sym_DQUOTE] = ACTIONS(2095), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2103), - [sym_raw_string] = ACTIONS(2064), - [anon_sym_DOLLAR] = ACTIONS(2106), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2106), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2095), - [anon_sym_BQUOTE] = ACTIONS(2095), - [sym_leading_word] = ACTIONS(2047), - [sym_word] = ACTIONS(2034), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2083), - [anon_sym_LF] = ACTIONS(2083), - [anon_sym_AMP] = ACTIONS(2083), + [709] = { + [sym__heredoc_middle] = ACTIONS(2011), + [sym__heredoc_end] = ACTIONS(2011), + [sym_file_descriptor] = ACTIONS(2174), + [anon_sym_in] = ACTIONS(2118), + [anon_sym_RPAREN] = ACTIONS(2180), + [anon_sym_SEMI_SEMI] = ACTIONS(2187), + [anon_sym_LPAREN] = ACTIONS(2138), + [anon_sym_RBRACE] = ACTIONS(2141), + [anon_sym_PIPE] = ACTIONS(2168), + [anon_sym_PIPE_AMP] = ACTIONS(2168), + [anon_sym_AMP_AMP] = ACTIONS(2168), + [anon_sym_PIPE_PIPE] = ACTIONS(2168), + [anon_sym_RBRACK] = ACTIONS(2138), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2138), + [anon_sym_COLON] = ACTIONS(2151), + [anon_sym_LT] = ACTIONS(2168), + [anon_sym_GT] = ACTIONS(2168), + [anon_sym_GT_GT] = ACTIONS(2168), + [anon_sym_AMP_GT] = ACTIONS(2168), + [anon_sym_AMP_GT_GT] = ACTIONS(2168), + [anon_sym_LT_AMP] = ACTIONS(2168), + [anon_sym_GT_AMP] = ACTIONS(2168), + [anon_sym_LT_LT] = ACTIONS(2194), + [anon_sym_LT_LT_DASH] = ACTIONS(2194), + [anon_sym_DQUOTE] = ACTIONS(2199), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2207), + [sym_raw_string] = ACTIONS(2168), + [anon_sym_DOLLAR] = ACTIONS(2210), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2210), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2199), + [anon_sym_BQUOTE] = ACTIONS(2199), + [sym_leading_word] = ACTIONS(2151), + [sym_word] = ACTIONS(2138), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2187), + [anon_sym_LF] = ACTIONS(2187), + [anon_sym_AMP] = ACTIONS(2187), }, - [659] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [aux_sym_command_repeat2] = STATE(722), - [sym_file_descriptor] = ACTIONS(2007), - [anon_sym_in] = ACTIONS(2014), - [anon_sym_RPAREN] = ACTIONS(2016), - [anon_sym_SEMI_SEMI] = ACTIONS(2025), - [anon_sym_LPAREN] = ACTIONS(2034), - [anon_sym_RBRACE] = ACTIONS(2037), - [anon_sym_PIPE] = ACTIONS(2039), - [anon_sym_PIPE_AMP] = ACTIONS(2039), - [anon_sym_AMP_AMP] = ACTIONS(2039), - [anon_sym_PIPE_PIPE] = ACTIONS(2039), - [anon_sym_RBRACK] = ACTIONS(2034), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), - [anon_sym_COLON] = ACTIONS(2047), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1748), - [anon_sym_LT] = ACTIONS(2051), - [anon_sym_GT] = ACTIONS(2051), - [anon_sym_GT_GT] = ACTIONS(2051), - [anon_sym_AMP_GT] = ACTIONS(2051), - [anon_sym_AMP_GT_GT] = ACTIONS(2051), - [anon_sym_LT_AMP] = ACTIONS(2051), - [anon_sym_GT_AMP] = ACTIONS(2051), - [anon_sym_LT_LT] = ACTIONS(2058), - [anon_sym_LT_LT_DASH] = ACTIONS(2058), - [anon_sym_DQUOTE] = ACTIONS(2095), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2103), - [sym_raw_string] = ACTIONS(2064), - [anon_sym_DOLLAR] = ACTIONS(2113), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2113), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2095), - [anon_sym_BQUOTE] = ACTIONS(2118), - [sym_leading_word] = ACTIONS(2047), - [sym_word] = ACTIONS(2034), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2025), - [anon_sym_LF] = ACTIONS(2025), - [anon_sym_AMP] = ACTIONS(2025), + [710] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [aux_sym_command_repeat2] = STATE(773), + [sym_file_descriptor] = ACTIONS(2111), + [anon_sym_in] = ACTIONS(2118), + [anon_sym_RPAREN] = ACTIONS(2120), + [anon_sym_SEMI_SEMI] = ACTIONS(2129), + [anon_sym_LPAREN] = ACTIONS(2138), + [anon_sym_RBRACE] = ACTIONS(2141), + [anon_sym_PIPE] = ACTIONS(2143), + [anon_sym_PIPE_AMP] = ACTIONS(2143), + [anon_sym_AMP_AMP] = ACTIONS(2143), + [anon_sym_PIPE_PIPE] = ACTIONS(2143), + [anon_sym_RBRACK] = ACTIONS(2138), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2138), + [anon_sym_COLON] = ACTIONS(2151), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1846), + [anon_sym_LT] = ACTIONS(2155), + [anon_sym_GT] = ACTIONS(2155), + [anon_sym_GT_GT] = ACTIONS(2155), + [anon_sym_AMP_GT] = ACTIONS(2155), + [anon_sym_AMP_GT_GT] = ACTIONS(2155), + [anon_sym_LT_AMP] = ACTIONS(2155), + [anon_sym_GT_AMP] = ACTIONS(2155), + [anon_sym_LT_LT] = ACTIONS(2162), + [anon_sym_LT_LT_DASH] = ACTIONS(2162), + [anon_sym_DQUOTE] = ACTIONS(2199), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2207), + [sym_raw_string] = ACTIONS(2168), + [anon_sym_DOLLAR] = ACTIONS(2217), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2217), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2199), + [anon_sym_BQUOTE] = ACTIONS(2222), + [sym_leading_word] = ACTIONS(2151), + [sym_word] = ACTIONS(2138), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2129), + [anon_sym_LF] = ACTIONS(2129), + [anon_sym_AMP] = ACTIONS(2129), }, - [660] = { - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(619), - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_in] = ACTIONS(581), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_LPAREN] = ACTIONS(581), - [anon_sym_RBRACE] = ACTIONS(2128), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_RBRACK] = ACTIONS(581), - [anon_sym_RBRACK_RBRACK] = ACTIONS(581), - [anon_sym_COLON] = ACTIONS(2131), - [anon_sym_EQ] = ACTIONS(2134), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR] = ACTIONS(581), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), - [anon_sym_COLON_QMARK] = ACTIONS(2136), - [anon_sym_COLON_DASH] = ACTIONS(2136), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_leading_word] = ACTIONS(581), - [sym_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), + [711] = { + [sym__heredoc_middle] = ACTIONS(629), + [sym__heredoc_end] = ACTIONS(629), + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_in] = ACTIONS(589), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_LPAREN] = ACTIONS(589), + [anon_sym_RBRACE] = ACTIONS(2232), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_RBRACK] = ACTIONS(589), + [anon_sym_RBRACK_RBRACK] = ACTIONS(589), + [anon_sym_COLON] = ACTIONS(2235), + [anon_sym_EQ] = ACTIONS(2238), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR] = ACTIONS(589), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(589), + [anon_sym_COLON_QMARK] = ACTIONS(2240), + [anon_sym_COLON_DASH] = ACTIONS(2240), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_leading_word] = ACTIONS(589), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), }, - [661] = { + [712] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(762), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(815), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -24472,23 +25558,23 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(763), + [aux_sym_if_statement_repeat1] = STATE(816), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [ts_builtin_sym_end] = ACTIONS(269), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(2138), + [anon_sym_done] = ACTIONS(2242), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2140), - [anon_sym_elif] = ACTIONS(2144), - [anon_sym_else] = ACTIONS(2147), + [anon_sym_fi] = ACTIONS(2244), + [anon_sym_elif] = ACTIONS(2248), + [anon_sym_else] = ACTIONS(2251), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2150), - [anon_sym_SEMI_SEMI] = ACTIONS(1489), + [anon_sym_RPAREN] = ACTIONS(2254), + [anon_sym_SEMI_SEMI] = ACTIONS(1581), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(2152), + [anon_sym_RBRACE] = ACTIONS(2256), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -24506,83 +25592,83 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [662] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(765), - [anon_sym_fi] = ACTIONS(2154), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), + [713] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(818), + [anon_sym_fi] = ACTIONS(2258), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), [sym_comment] = ACTIONS(115), }, - [663] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(2156), + [714] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(2260), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, - [664] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(770), - [sym_array] = STATE(770), - [sym_simple_expansion] = STATE(770), - [sym_expansion] = STATE(770), - [sym_command_substitution] = STATE(770), - [sym_process_substitution] = STATE(770), - [aux_sym_command_repeat2] = STATE(775), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2158), - [anon_sym_SEMI_SEMI] = ACTIONS(2158), - [anon_sym_LPAREN] = ACTIONS(2163), - [anon_sym_PIPE] = ACTIONS(2158), - [anon_sym_PIPE_AMP] = ACTIONS(2158), - [anon_sym_AMP_AMP] = ACTIONS(2158), - [anon_sym_PIPE_PIPE] = ACTIONS(2158), - [anon_sym_RBRACK] = ACTIONS(2165), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2165), - [anon_sym_LT] = ACTIONS(2167), - [anon_sym_GT] = ACTIONS(2167), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2169), - [sym_raw_string] = ACTIONS(2171), - [anon_sym_DOLLAR] = ACTIONS(2173), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2175), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2177), - [anon_sym_BQUOTE] = ACTIONS(2179), - [sym_word] = ACTIONS(2171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2158), - [anon_sym_LF] = ACTIONS(2158), - [anon_sym_AMP] = ACTIONS(2158), + [715] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(823), + [sym_array] = STATE(823), + [sym_simple_expansion] = STATE(823), + [sym_expansion] = STATE(823), + [sym_command_substitution] = STATE(823), + [sym_process_substitution] = STATE(823), + [aux_sym_command_repeat2] = STATE(828), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2262), + [anon_sym_SEMI_SEMI] = ACTIONS(2262), + [anon_sym_LPAREN] = ACTIONS(2267), + [anon_sym_PIPE] = ACTIONS(2262), + [anon_sym_PIPE_AMP] = ACTIONS(2262), + [anon_sym_AMP_AMP] = ACTIONS(2262), + [anon_sym_PIPE_PIPE] = ACTIONS(2262), + [anon_sym_RBRACK] = ACTIONS(2269), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2269), + [anon_sym_LT] = ACTIONS(2271), + [anon_sym_GT] = ACTIONS(2271), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2273), + [sym_raw_string] = ACTIONS(2275), + [anon_sym_DOLLAR] = ACTIONS(2277), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2279), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2281), + [anon_sym_BQUOTE] = ACTIONS(2283), + [sym_word] = ACTIONS(2275), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2262), + [anon_sym_LF] = ACTIONS(2262), + [anon_sym_AMP] = ACTIONS(2262), }, - [665] = { + [716] = { [sym_environment_variable_assignment] = STATE(103), [sym_file_redirect] = STATE(103), - [sym_string] = STATE(776), - [sym_command_substitution] = STATE(776), + [sym_string] = STATE(829), + [sym_command_substitution] = STATE(829), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(2185), + [anon_sym_COLON] = ACTIONS(2289), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -24590,114 +25676,114 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1731), - [sym_raw_string] = ACTIONS(2187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1735), - [anon_sym_BQUOTE] = ACTIONS(1737), - [sym_leading_word] = ACTIONS(2189), + [anon_sym_DQUOTE] = ACTIONS(1829), + [sym_raw_string] = ACTIONS(2291), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1833), + [anon_sym_BQUOTE] = ACTIONS(1835), + [sym_leading_word] = ACTIONS(2293), [sym_comment] = ACTIONS(115), }, - [666] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2191), - [anon_sym_SEMI_SEMI] = ACTIONS(2191), - [anon_sym_PIPE] = ACTIONS(2191), - [anon_sym_PIPE_AMP] = ACTIONS(2191), - [anon_sym_AMP_AMP] = ACTIONS(2191), - [anon_sym_PIPE_PIPE] = ACTIONS(2191), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(2191), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2191), - [anon_sym_LF] = ACTIONS(2191), - [anon_sym_AMP] = ACTIONS(2191), + [717] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2295), + [anon_sym_SEMI_SEMI] = ACTIONS(2295), + [anon_sym_PIPE] = ACTIONS(2295), + [anon_sym_PIPE_AMP] = ACTIONS(2295), + [anon_sym_AMP_AMP] = ACTIONS(2295), + [anon_sym_PIPE_PIPE] = ACTIONS(2295), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(2295), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2295), + [anon_sym_LF] = ACTIONS(2295), + [anon_sym_AMP] = ACTIONS(2295), }, - [667] = { - [sym_simple_expansion] = STATE(446), - [sym_expansion] = STATE(446), - [sym__heredoc_middle] = ACTIONS(1019), - [sym__heredoc_end] = ACTIONS(2202), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [718] = { + [sym_simple_expansion] = STATE(470), + [sym_expansion] = STATE(470), + [sym__heredoc_middle] = ACTIONS(1055), + [sym__heredoc_end] = ACTIONS(2306), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), [sym_comment] = ACTIONS(115), }, - [668] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2204), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [719] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2308), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [669] = { - [anon_sym_RPAREN] = ACTIONS(2206), - [sym_word] = ACTIONS(569), + [720] = { + [anon_sym_RPAREN] = ACTIONS(2310), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, - [670] = { - [anon_sym_in] = ACTIONS(2208), + [721] = { + [anon_sym_in] = ACTIONS(2312), [sym_comment] = ACTIONS(115), }, - [671] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(663), - [anon_sym_esac] = ACTIONS(1885), + [722] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(714), + [anon_sym_esac] = ACTIONS(1989), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, - [672] = { - [sym_do_group] = STATE(783), - [anon_sym_do] = ACTIONS(2210), + [723] = { + [sym_do_group] = STATE(836), + [anon_sym_do] = ACTIONS(2314), [sym_comment] = ACTIONS(115), }, - [673] = { - [sym_do_group] = STATE(784), - [anon_sym_do] = ACTIONS(2210), + [724] = { + [sym_do_group] = STATE(837), + [anon_sym_do] = ACTIONS(2314), [sym_comment] = ACTIONS(115), }, - [674] = { - [anon_sym_RPAREN] = ACTIONS(889), - [anon_sym_SEMI_SEMI] = ACTIONS(889), - [anon_sym_PIPE] = ACTIONS(889), - [anon_sym_PIPE_AMP] = ACTIONS(889), - [anon_sym_AMP_AMP] = ACTIONS(889), - [anon_sym_PIPE_PIPE] = ACTIONS(889), - [anon_sym_BQUOTE] = ACTIONS(889), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(889), - [anon_sym_LF] = ACTIONS(889), - [anon_sym_AMP] = ACTIONS(889), + [725] = { + [anon_sym_RPAREN] = ACTIONS(911), + [anon_sym_SEMI_SEMI] = ACTIONS(911), + [anon_sym_PIPE] = ACTIONS(911), + [anon_sym_PIPE_AMP] = ACTIONS(911), + [anon_sym_AMP_AMP] = ACTIONS(911), + [anon_sym_PIPE_PIPE] = ACTIONS(911), + [anon_sym_BQUOTE] = ACTIONS(911), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(911), + [anon_sym_LF] = ACTIONS(911), + [anon_sym_AMP] = ACTIONS(911), }, - [675] = { + [726] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -24717,7 +25803,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(2138), + [anon_sym_done] = ACTIONS(2242), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), @@ -24739,34 +25825,34 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [676] = { - [anon_sym_then] = ACTIONS(2212), + [727] = { + [anon_sym_then] = ACTIONS(2316), [sym_comment] = ACTIONS(115), }, - [677] = { - [anon_sym_RPAREN] = ACTIONS(893), - [anon_sym_SEMI_SEMI] = ACTIONS(893), - [anon_sym_PIPE] = ACTIONS(893), - [anon_sym_PIPE_AMP] = ACTIONS(893), - [anon_sym_AMP_AMP] = ACTIONS(893), - [anon_sym_PIPE_PIPE] = ACTIONS(893), - [anon_sym_BQUOTE] = ACTIONS(893), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(893), - [anon_sym_LF] = ACTIONS(893), - [anon_sym_AMP] = ACTIONS(893), + [728] = { + [anon_sym_RPAREN] = ACTIONS(915), + [anon_sym_SEMI_SEMI] = ACTIONS(915), + [anon_sym_PIPE] = ACTIONS(915), + [anon_sym_PIPE_AMP] = ACTIONS(915), + [anon_sym_AMP_AMP] = ACTIONS(915), + [anon_sym_PIPE_PIPE] = ACTIONS(915), + [anon_sym_BQUOTE] = ACTIONS(915), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(915), + [anon_sym_LF] = ACTIONS(915), + [anon_sym_AMP] = ACTIONS(915), }, - [678] = { - [anon_sym_fi] = ACTIONS(2214), + [729] = { + [anon_sym_fi] = ACTIONS(2318), [sym_comment] = ACTIONS(115), }, - [679] = { + [730] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(762), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(815), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -24778,15 +25864,15 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(763), + [aux_sym_if_statement_repeat1] = STATE(816), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2216), - [anon_sym_elif] = ACTIONS(2144), - [anon_sym_else] = ACTIONS(2147), + [anon_sym_fi] = ACTIONS(2320), + [anon_sym_elif] = ACTIONS(2248), + [anon_sym_else] = ACTIONS(2251), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -24807,32 +25893,32 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [680] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(762), - [anon_sym_fi] = ACTIONS(2214), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), + [731] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(815), + [anon_sym_fi] = ACTIONS(2318), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), [sym_comment] = ACTIONS(115), }, - [681] = { - [anon_sym_in] = ACTIONS(2014), - [anon_sym_SEMI_SEMI] = ACTIONS(2219), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2219), - [anon_sym_LF] = ACTIONS(2219), - [anon_sym_AMP] = ACTIONS(2219), + [732] = { + [anon_sym_in] = ACTIONS(2118), + [anon_sym_SEMI_SEMI] = ACTIONS(2323), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2323), + [anon_sym_LF] = ACTIONS(2323), + [anon_sym_AMP] = ACTIONS(2323), }, - [682] = { - [anon_sym_LPAREN] = ACTIONS(2221), + [733] = { + [anon_sym_LPAREN] = ACTIONS(2325), [sym_comment] = ACTIONS(115), }, - [683] = { - [sym_word] = ACTIONS(2223), + [734] = { + [sym_word] = ACTIONS(2327), [sym_comment] = ACTIONS(115), }, - [684] = { - [sym__terminated_statement] = STATE(788), + [735] = { + [sym__terminated_statement] = STATE(841), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -24872,8 +25958,8 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [685] = { - [sym__terminated_statement] = STATE(789), + [736] = { + [sym__terminated_statement] = STATE(842), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -24913,68 +25999,68 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [686] = { - [sym_string] = STATE(790), - [sym_array] = STATE(790), - [sym_simple_expansion] = STATE(790), - [sym_expansion] = STATE(790), - [sym_command_substitution] = STATE(790), - [sym_process_substitution] = STATE(790), + [737] = { + [sym_string] = STATE(843), + [sym_array] = STATE(843), + [sym_simple_expansion] = STATE(843), + [sym_expansion] = STATE(843), + [sym_command_substitution] = STATE(843), + [sym_process_substitution] = STATE(843), [anon_sym_LPAREN] = ACTIONS(123), [anon_sym_LT] = ACTIONS(125), [anon_sym_GT] = ACTIONS(125), [anon_sym_DQUOTE] = ACTIONS(127), - [sym_raw_string] = ACTIONS(2225), + [sym_raw_string] = ACTIONS(2329), [anon_sym_DOLLAR] = ACTIONS(131), [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), [anon_sym_BQUOTE] = ACTIONS(137), - [sym_word] = ACTIONS(2227), + [sym_word] = ACTIONS(2331), [sym_comment] = ACTIONS(115), }, - [687] = { - [sym_compound_statement] = STATE(651), - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_in] = ACTIONS(561), - [anon_sym_RPAREN] = ACTIONS(2229), - [anon_sym_SEMI_SEMI] = ACTIONS(2229), - [anon_sym_LPAREN] = ACTIONS(561), - [anon_sym_LBRACE] = ACTIONS(1624), - [anon_sym_RBRACE] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(2229), - [anon_sym_PIPE_AMP] = ACTIONS(2229), - [anon_sym_AMP_AMP] = ACTIONS(2229), - [anon_sym_PIPE_PIPE] = ACTIONS(2229), - [anon_sym_RBRACK] = ACTIONS(561), - [anon_sym_RBRACK_RBRACK] = ACTIONS(561), - [anon_sym_COLON] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR] = ACTIONS(561), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(2229), - [sym_leading_word] = ACTIONS(561), - [sym_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2229), - [anon_sym_LF] = ACTIONS(2229), - [anon_sym_AMP] = ACTIONS(2229), + [738] = { + [sym_compound_statement] = STATE(702), + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_in] = ACTIONS(569), + [anon_sym_RPAREN] = ACTIONS(2333), + [anon_sym_SEMI_SEMI] = ACTIONS(2333), + [anon_sym_LPAREN] = ACTIONS(569), + [anon_sym_LBRACE] = ACTIONS(1716), + [anon_sym_RBRACE] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(2333), + [anon_sym_PIPE_AMP] = ACTIONS(2333), + [anon_sym_AMP_AMP] = ACTIONS(2333), + [anon_sym_PIPE_PIPE] = ACTIONS(2333), + [anon_sym_RBRACK] = ACTIONS(569), + [anon_sym_RBRACK_RBRACK] = ACTIONS(569), + [anon_sym_COLON] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR] = ACTIONS(569), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(2333), + [sym_leading_word] = ACTIONS(569), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2333), + [anon_sym_LF] = ACTIONS(2333), + [anon_sym_AMP] = ACTIONS(2333), }, - [688] = { - [sym_leading_word] = ACTIONS(2232), + [739] = { + [sym_leading_word] = ACTIONS(2336), [sym_comment] = ACTIONS(115), }, - [689] = { + [740] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -24990,14 +26076,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(793), + [aux_sym_program_repeat1] = STATE(846), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2234), + [anon_sym_RPAREN] = ACTIONS(2338), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -25017,14 +26103,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [690] = { + [741] = { [sym_string] = STATE(44), [sym_array] = STATE(44), [sym_simple_expansion] = STATE(44), [sym_expansion] = STATE(44), [sym_command_substitution] = STATE(44), [sym_process_substitution] = STATE(44), - [aux_sym_bracket_command_repeat1] = STATE(794), + [aux_sym_bracket_command_repeat1] = STATE(847), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), @@ -25037,14 +26123,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, - [691] = { + [742] = { [sym_string] = STATE(44), [sym_array] = STATE(44), [sym_simple_expansion] = STATE(44), [sym_expansion] = STATE(44), [sym_command_substitution] = STATE(44), [sym_process_substitution] = STATE(44), - [aux_sym_bracket_command_repeat1] = STATE(795), + [aux_sym_bracket_command_repeat1] = STATE(848), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), @@ -25057,57 +26143,57 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, - [692] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [aux_sym_command_repeat2] = STATE(801), - [sym_file_descriptor] = ACTIONS(2236), + [743] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [aux_sym_command_repeat2] = STATE(854), + [sym_file_descriptor] = ACTIONS(2340), [anon_sym_RPAREN] = ACTIONS(165), [anon_sym_SEMI_SEMI] = ACTIONS(165), [anon_sym_PIPE] = ACTIONS(165), [anon_sym_PIPE_AMP] = ACTIONS(165), [anon_sym_AMP_AMP] = ACTIONS(165), [anon_sym_PIPE_PIPE] = ACTIONS(165), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2238), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2342), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(165), [anon_sym_LF] = ACTIONS(165), [anon_sym_AMP] = ACTIONS(165), }, - [693] = { + [744] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(803), - [anon_sym_DQUOTE] = ACTIONS(2244), + [aux_sym_string_repeat1] = STATE(856), + [anon_sym_DQUOTE] = ACTIONS(2348), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [694] = { - [sym_for_statement] = STATE(804), - [sym_while_statement] = STATE(804), - [sym_if_statement] = STATE(804), - [sym_case_statement] = STATE(804), - [sym_function_definition] = STATE(804), - [sym_subshell] = STATE(804), - [sym_pipeline] = STATE(804), - [sym_list] = STATE(804), - [sym_bracket_command] = STATE(804), - [sym_command] = STATE(804), - [sym_environment_variable_assignment] = STATE(805), + [745] = { + [sym_for_statement] = STATE(857), + [sym_while_statement] = STATE(857), + [sym_if_statement] = STATE(857), + [sym_case_statement] = STATE(857), + [sym_function_definition] = STATE(857), + [sym_subshell] = STATE(857), + [sym_pipeline] = STATE(857), + [sym_list] = STATE(857), + [sym_bracket_command] = STATE(857), + [sym_command] = STATE(857), + [sym_environment_variable_assignment] = STATE(858), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -25136,18 +26222,18 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [695] = { - [sym_for_statement] = STATE(806), - [sym_while_statement] = STATE(806), - [sym_if_statement] = STATE(806), - [sym_case_statement] = STATE(806), - [sym_function_definition] = STATE(806), - [sym_subshell] = STATE(806), - [sym_pipeline] = STATE(806), - [sym_list] = STATE(806), - [sym_bracket_command] = STATE(806), - [sym_command] = STATE(806), - [sym_environment_variable_assignment] = STATE(807), + [746] = { + [sym_for_statement] = STATE(859), + [sym_while_statement] = STATE(859), + [sym_if_statement] = STATE(859), + [sym_case_statement] = STATE(859), + [sym_function_definition] = STATE(859), + [sym_subshell] = STATE(859), + [sym_pipeline] = STATE(859), + [sym_list] = STATE(859), + [sym_bracket_command] = STATE(859), + [sym_command] = STATE(859), + [sym_environment_variable_assignment] = STATE(860), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -25176,54 +26262,54 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [696] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [aux_sym_command_repeat2] = STATE(811), - [sym_file_descriptor] = ACTIONS(2236), + [747] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [aux_sym_command_repeat2] = STATE(864), + [sym_file_descriptor] = ACTIONS(2340), [anon_sym_RPAREN] = ACTIONS(237), [anon_sym_SEMI_SEMI] = ACTIONS(237), - [anon_sym_LPAREN] = ACTIONS(2246), + [anon_sym_LPAREN] = ACTIONS(2350), [anon_sym_PIPE] = ACTIONS(237), [anon_sym_PIPE_AMP] = ACTIONS(237), [anon_sym_AMP_AMP] = ACTIONS(237), [anon_sym_PIPE_PIPE] = ACTIONS(237), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2248), - [anon_sym_EQ] = ACTIONS(2250), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2352), + [anon_sym_EQ] = ACTIONS(2354), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(237), [anon_sym_LF] = ACTIONS(237), [anon_sym_AMP] = ACTIONS(237), }, - [697] = { - [anon_sym_RPAREN] = ACTIONS(2252), + [748] = { + [anon_sym_RPAREN] = ACTIONS(2356), [anon_sym_SEMI_SEMI] = ACTIONS(253), - [anon_sym_PIPE] = ACTIONS(2254), - [anon_sym_PIPE_AMP] = ACTIONS(2254), - [anon_sym_AMP_AMP] = ACTIONS(2256), - [anon_sym_PIPE_PIPE] = ACTIONS(2256), - [sym_comment] = ACTIONS(73), + [anon_sym_PIPE] = ACTIONS(2358), + [anon_sym_PIPE_AMP] = ACTIONS(2358), + [anon_sym_AMP_AMP] = ACTIONS(2360), + [anon_sym_PIPE_PIPE] = ACTIONS(2360), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(253), [anon_sym_LF] = ACTIONS(253), [anon_sym_AMP] = ACTIONS(253), }, - [698] = { + [749] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2252), + [anon_sym_RPAREN] = ACTIONS(2356), [anon_sym_SEMI_SEMI] = ACTIONS(253), - [anon_sym_PIPE] = ACTIONS(2254), - [anon_sym_PIPE_AMP] = ACTIONS(2254), - [anon_sym_AMP_AMP] = ACTIONS(2256), - [anon_sym_PIPE_PIPE] = ACTIONS(2256), + [anon_sym_PIPE] = ACTIONS(2358), + [anon_sym_PIPE_AMP] = ACTIONS(2358), + [anon_sym_AMP_AMP] = ACTIONS(2360), + [anon_sym_PIPE_PIPE] = ACTIONS(2360), [anon_sym_COLON] = ACTIONS(261), [anon_sym_LT] = ACTIONS(261), [anon_sym_GT] = ACTIONS(261), @@ -25237,12 +26323,12 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), [anon_sym_BQUOTE] = ACTIONS(261), [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(253), [anon_sym_LF] = ACTIONS(253), [anon_sym_AMP] = ACTIONS(253), }, - [699] = { + [750] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -25264,7 +26350,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2150), + [anon_sym_RPAREN] = ACTIONS(2254), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -25284,13 +26370,13 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [700] = { + [751] = { [sym_environment_variable_assignment] = STATE(103), [sym_file_redirect] = STATE(103), - [sym_string] = STATE(815), - [sym_command_substitution] = STATE(815), + [sym_string] = STATE(868), + [sym_command_substitution] = STATE(868), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(2258), + [anon_sym_COLON] = ACTIONS(2362), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -25298,27 +26384,27 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1686), - [sym_raw_string] = ACTIONS(2260), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), - [anon_sym_BQUOTE] = ACTIONS(1690), - [sym_leading_word] = ACTIONS(2262), + [anon_sym_DQUOTE] = ACTIONS(1778), + [sym_raw_string] = ACTIONS(2364), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1780), + [anon_sym_BQUOTE] = ACTIONS(1782), + [sym_leading_word] = ACTIONS(2366), [sym_comment] = ACTIONS(115), }, - [701] = { - [anon_sym_RPAREN] = ACTIONS(1349), - [anon_sym_SEMI_SEMI] = ACTIONS(1349), - [anon_sym_PIPE] = ACTIONS(1349), - [anon_sym_PIPE_AMP] = ACTIONS(1349), - [anon_sym_AMP_AMP] = ACTIONS(1349), - [anon_sym_PIPE_PIPE] = ACTIONS(1349), - [anon_sym_BQUOTE] = ACTIONS(1349), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1349), - [anon_sym_LF] = ACTIONS(1349), - [anon_sym_AMP] = ACTIONS(1349), + [752] = { + [anon_sym_RPAREN] = ACTIONS(1425), + [anon_sym_SEMI_SEMI] = ACTIONS(1425), + [anon_sym_PIPE] = ACTIONS(1425), + [anon_sym_PIPE_AMP] = ACTIONS(1425), + [anon_sym_AMP_AMP] = ACTIONS(1425), + [anon_sym_PIPE_PIPE] = ACTIONS(1425), + [anon_sym_BQUOTE] = ACTIONS(1425), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1425), + [anon_sym_LF] = ACTIONS(1425), + [anon_sym_AMP] = ACTIONS(1425), }, - [702] = { + [753] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -25342,7 +26428,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(2152), + [anon_sym_RBRACE] = ACTIONS(2256), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -25360,7 +26446,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [703] = { + [754] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -25376,14 +26462,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(699), + [aux_sym_program_repeat1] = STATE(750), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2264), + [anon_sym_RPAREN] = ACTIONS(2368), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -25403,14 +26489,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [704] = { + [755] = { [sym_string] = STATE(44), [sym_array] = STATE(44), [sym_simple_expansion] = STATE(44), [sym_expansion] = STATE(44), [sym_command_substitution] = STATE(44), [sym_process_substitution] = STATE(44), - [aux_sym_bracket_command_repeat1] = STATE(818), + [aux_sym_bracket_command_repeat1] = STATE(871), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), @@ -25423,674 +26509,47 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, - [705] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [aux_sym_command_repeat2] = STATE(820), - [sym_file_descriptor] = ACTIONS(1741), + [756] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [aux_sym_command_repeat2] = STATE(873), + [sym_file_descriptor] = ACTIONS(1839), [anon_sym_RPAREN] = ACTIONS(165), [anon_sym_SEMI_SEMI] = ACTIONS(165), [anon_sym_PIPE] = ACTIONS(165), [anon_sym_PIPE_AMP] = ACTIONS(165), [anon_sym_AMP_AMP] = ACTIONS(165), [anon_sym_PIPE_PIPE] = ACTIONS(165), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2266), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2370), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), [anon_sym_BQUOTE] = ACTIONS(165), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(165), [anon_sym_LF] = ACTIONS(165), [anon_sym_AMP] = ACTIONS(165), }, - [706] = { + [757] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(822), - [anon_sym_DQUOTE] = ACTIONS(2268), + [aux_sym_string_repeat1] = STATE(875), + [anon_sym_DQUOTE] = ACTIONS(2372), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [707] = { - [sym_for_statement] = STATE(823), - [sym_while_statement] = STATE(823), - [sym_if_statement] = STATE(823), - [sym_case_statement] = STATE(823), - [sym_function_definition] = STATE(823), - [sym_subshell] = STATE(823), - [sym_pipeline] = STATE(823), - [sym_list] = STATE(823), - [sym_bracket_command] = STATE(823), - [sym_command] = STATE(823), - [sym_environment_variable_assignment] = STATE(824), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [708] = { - [sym_for_statement] = STATE(825), - [sym_while_statement] = STATE(825), - [sym_if_statement] = STATE(825), - [sym_case_statement] = STATE(825), - [sym_function_definition] = STATE(825), - [sym_subshell] = STATE(825), - [sym_pipeline] = STATE(825), - [sym_list] = STATE(825), - [sym_bracket_command] = STATE(825), - [sym_command] = STATE(825), - [sym_environment_variable_assignment] = STATE(826), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), - [sym_comment] = ACTIONS(115), - }, - [709] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [aux_sym_command_repeat2] = STATE(829), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(237), - [anon_sym_SEMI_SEMI] = ACTIONS(237), - [anon_sym_LPAREN] = ACTIONS(2270), - [anon_sym_PIPE] = ACTIONS(237), - [anon_sym_PIPE_AMP] = ACTIONS(237), - [anon_sym_AMP_AMP] = ACTIONS(237), - [anon_sym_PIPE_PIPE] = ACTIONS(237), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2272), - [anon_sym_EQ] = ACTIONS(2250), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(237), - [anon_sym_LF] = ACTIONS(237), - [anon_sym_AMP] = ACTIONS(237), - }, - [710] = { - [anon_sym_RPAREN] = ACTIONS(881), - [anon_sym_SEMI_SEMI] = ACTIONS(881), - [anon_sym_PIPE] = ACTIONS(2274), - [anon_sym_PIPE_AMP] = ACTIONS(2274), - [anon_sym_AMP_AMP] = ACTIONS(2277), - [anon_sym_PIPE_PIPE] = ACTIONS(2277), - [anon_sym_BQUOTE] = ACTIONS(881), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(881), - [anon_sym_LF] = ACTIONS(881), - [anon_sym_AMP] = ACTIONS(881), - }, - [711] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(881), - [anon_sym_SEMI_SEMI] = ACTIONS(881), - [anon_sym_PIPE] = ACTIONS(2274), - [anon_sym_PIPE_AMP] = ACTIONS(2274), - [anon_sym_AMP_AMP] = ACTIONS(2277), - [anon_sym_PIPE_PIPE] = ACTIONS(2277), - [anon_sym_COLON] = ACTIONS(261), - [anon_sym_LT] = ACTIONS(261), - [anon_sym_GT] = ACTIONS(261), - [anon_sym_GT_GT] = ACTIONS(261), - [anon_sym_AMP_GT] = ACTIONS(261), - [anon_sym_AMP_GT_GT] = ACTIONS(261), - [anon_sym_LT_AMP] = ACTIONS(261), - [anon_sym_GT_AMP] = ACTIONS(261), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_raw_string] = ACTIONS(261), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), - [anon_sym_BQUOTE] = ACTIONS(2280), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(881), - [anon_sym_LF] = ACTIONS(881), - [anon_sym_AMP] = ACTIONS(881), - }, - [712] = { - [anon_sym_RPAREN] = ACTIONS(883), - [anon_sym_SEMI_SEMI] = ACTIONS(883), - [anon_sym_PIPE] = ACTIONS(2283), - [anon_sym_PIPE_AMP] = ACTIONS(2283), - [anon_sym_AMP_AMP] = ACTIONS(2286), - [anon_sym_PIPE_PIPE] = ACTIONS(2286), - [anon_sym_BQUOTE] = ACTIONS(883), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(883), - [anon_sym_LF] = ACTIONS(883), - [anon_sym_AMP] = ACTIONS(883), - }, - [713] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(883), - [anon_sym_SEMI_SEMI] = ACTIONS(883), - [anon_sym_PIPE] = ACTIONS(2283), - [anon_sym_PIPE_AMP] = ACTIONS(2283), - [anon_sym_AMP_AMP] = ACTIONS(2286), - [anon_sym_PIPE_PIPE] = ACTIONS(2286), - [anon_sym_COLON] = ACTIONS(261), - [anon_sym_LT] = ACTIONS(261), - [anon_sym_GT] = ACTIONS(261), - [anon_sym_GT_GT] = ACTIONS(261), - [anon_sym_AMP_GT] = ACTIONS(261), - [anon_sym_AMP_GT_GT] = ACTIONS(261), - [anon_sym_LT_AMP] = ACTIONS(261), - [anon_sym_GT_AMP] = ACTIONS(261), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_raw_string] = ACTIONS(261), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), - [anon_sym_BQUOTE] = ACTIONS(2289), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(883), - [anon_sym_LF] = ACTIONS(883), - [anon_sym_AMP] = ACTIONS(883), - }, - [714] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK] = ACTIONS(2292), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), - [sym_comment] = ACTIONS(115), - }, - [715] = { - [anon_sym_LT] = ACTIONS(2294), - [anon_sym_GT] = ACTIONS(2294), - [anon_sym_GT_GT] = ACTIONS(2296), - [anon_sym_AMP_GT] = ACTIONS(2294), - [anon_sym_AMP_GT_GT] = ACTIONS(2296), - [anon_sym_LT_AMP] = ACTIONS(2296), - [anon_sym_GT_AMP] = ACTIONS(2296), - [sym_comment] = ACTIONS(115), - }, - [716] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(839), - [aux_sym_command_repeat2] = STATE(840), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2298), - [anon_sym_SEMI_SEMI] = ACTIONS(2298), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(2298), - [anon_sym_PIPE_AMP] = ACTIONS(2298), - [anon_sym_AMP_AMP] = ACTIONS(2298), - [anon_sym_PIPE_PIPE] = ACTIONS(2298), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2315), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2298), - [anon_sym_LF] = ACTIONS(2298), - [anon_sym_AMP] = ACTIONS(2298), - }, - [717] = { - [sym_string] = STATE(844), - [sym_array] = STATE(844), - [sym_simple_expansion] = STATE(844), - [sym_expansion] = STATE(844), - [sym_command_substitution] = STATE(844), - [sym_process_substitution] = STATE(844), - [anon_sym_LPAREN] = ACTIONS(2319), - [anon_sym_LT] = ACTIONS(2321), - [anon_sym_GT] = ACTIONS(2321), - [anon_sym_DQUOTE] = ACTIONS(2323), - [sym_raw_string] = ACTIONS(2325), - [anon_sym_DOLLAR] = ACTIONS(2327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), - [anon_sym_BQUOTE] = ACTIONS(2333), - [sym_word] = ACTIONS(2335), - [sym_comment] = ACTIONS(115), - }, - [718] = { - [sym_string] = STATE(844), - [sym_array] = STATE(844), - [sym_simple_expansion] = STATE(844), - [sym_expansion] = STATE(844), - [sym_command_substitution] = STATE(844), - [sym_process_substitution] = STATE(844), - [anon_sym_LPAREN] = ACTIONS(2337), - [anon_sym_LT] = ACTIONS(2321), - [anon_sym_GT] = ACTIONS(2321), - [anon_sym_DQUOTE] = ACTIONS(2323), - [sym_raw_string] = ACTIONS(2325), - [anon_sym_DOLLAR] = ACTIONS(2327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), - [anon_sym_BQUOTE] = ACTIONS(2333), - [sym_word] = ACTIONS(2335), - [sym_comment] = ACTIONS(115), - }, - [719] = { - [sym_heredoc] = STATE(655), - [sym__simple_heredoc] = ACTIONS(2339), - [sym__heredoc_beginning] = ACTIONS(2341), - [sym_comment] = ACTIONS(115), - }, - [720] = { - [anon_sym_RBRACE] = ACTIONS(2343), - [sym_comment] = ACTIONS(115), - }, - [721] = { - [sym_file_descriptor] = ACTIONS(387), - [anon_sym_RPAREN] = ACTIONS(389), - [anon_sym_SEMI_SEMI] = ACTIONS(389), - [anon_sym_PIPE] = ACTIONS(389), - [anon_sym_PIPE_AMP] = ACTIONS(389), - [anon_sym_AMP_AMP] = ACTIONS(389), - [anon_sym_PIPE_PIPE] = ACTIONS(389), - [anon_sym_LT] = ACTIONS(389), - [anon_sym_GT] = ACTIONS(389), - [anon_sym_GT_GT] = ACTIONS(389), - [anon_sym_AMP_GT] = ACTIONS(389), - [anon_sym_AMP_GT_GT] = ACTIONS(389), - [anon_sym_LT_AMP] = ACTIONS(389), - [anon_sym_GT_AMP] = ACTIONS(389), - [anon_sym_LT_LT] = ACTIONS(389), - [anon_sym_LT_LT_DASH] = ACTIONS(389), - [anon_sym_BQUOTE] = ACTIONS(389), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(389), - [anon_sym_LF] = ACTIONS(389), - [anon_sym_AMP] = ACTIONS(389), - }, - [722] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2345), - [anon_sym_SEMI_SEMI] = ACTIONS(2345), - [anon_sym_PIPE] = ACTIONS(2345), - [anon_sym_PIPE_AMP] = ACTIONS(2345), - [anon_sym_AMP_AMP] = ACTIONS(2345), - [anon_sym_PIPE_PIPE] = ACTIONS(2345), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(2345), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2345), - [anon_sym_LF] = ACTIONS(2345), - [anon_sym_AMP] = ACTIONS(2345), - }, - [723] = { - [aux_sym_array_repeat1] = STATE(851), - [anon_sym_RPAREN] = ACTIONS(2348), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, - [724] = { - [anon_sym_LPAREN] = ACTIONS(2350), - [sym_comment] = ACTIONS(115), - }, - [725] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(854), - [anon_sym_DQUOTE] = ACTIONS(2352), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [726] = { - [sym_file_descriptor] = ACTIONS(863), - [anon_sym_RPAREN] = ACTIONS(865), - [anon_sym_SEMI_SEMI] = ACTIONS(865), - [anon_sym_RBRACE] = ACTIONS(2037), - [anon_sym_PIPE] = ACTIONS(865), - [anon_sym_PIPE_AMP] = ACTIONS(865), - [anon_sym_AMP_AMP] = ACTIONS(865), - [anon_sym_PIPE_PIPE] = ACTIONS(865), - [anon_sym_COLON] = ACTIONS(865), - [anon_sym_LT] = ACTIONS(865), - [anon_sym_GT] = ACTIONS(865), - [anon_sym_GT_GT] = ACTIONS(865), - [anon_sym_AMP_GT] = ACTIONS(865), - [anon_sym_AMP_GT_GT] = ACTIONS(865), - [anon_sym_LT_AMP] = ACTIONS(865), - [anon_sym_GT_AMP] = ACTIONS(865), - [anon_sym_DQUOTE] = ACTIONS(865), - [sym_raw_string] = ACTIONS(865), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), - [anon_sym_BQUOTE] = ACTIONS(865), - [sym_leading_word] = ACTIONS(865), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(865), - [anon_sym_LF] = ACTIONS(865), - [anon_sym_AMP] = ACTIONS(865), - }, - [727] = { - [sym_special_variable_name] = STATE(857), - [anon_sym_DOLLAR] = ACTIONS(2354), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2356), - [anon_sym_STAR] = ACTIONS(2354), - [anon_sym_AT] = ACTIONS(2354), - [anon_sym_POUND] = ACTIONS(2358), - [anon_sym_QMARK] = ACTIONS(2354), - [anon_sym_DASH] = ACTIONS(2354), - [anon_sym_BANG] = ACTIONS(2354), - [anon_sym_0] = ACTIONS(2358), - [anon_sym__] = ACTIONS(2358), - }, - [728] = { - [sym_special_variable_name] = STATE(859), - [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(307), - [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(307), - [anon_sym_DASH] = ACTIONS(307), - [anon_sym_BANG] = ACTIONS(307), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), - }, - [729] = { - [sym_for_statement] = STATE(860), - [sym_while_statement] = STATE(860), - [sym_if_statement] = STATE(860), - [sym_case_statement] = STATE(860), - [sym_function_definition] = STATE(860), - [sym_subshell] = STATE(860), - [sym_pipeline] = STATE(860), - [sym_list] = STATE(860), - [sym_bracket_command] = STATE(860), - [sym_command] = STATE(860), - [sym_environment_variable_assignment] = STATE(861), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [730] = { - [sym_for_statement] = STATE(862), - [sym_while_statement] = STATE(862), - [sym_if_statement] = STATE(862), - [sym_case_statement] = STATE(862), - [sym_function_definition] = STATE(862), - [sym_subshell] = STATE(862), - [sym_pipeline] = STATE(862), - [sym_list] = STATE(862), - [sym_bracket_command] = STATE(862), - [sym_command] = STATE(862), - [sym_environment_variable_assignment] = STATE(863), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), - [sym_comment] = ACTIONS(115), - }, - [731] = { - [sym_for_statement] = STATE(865), - [sym_while_statement] = STATE(865), - [sym_if_statement] = STATE(865), - [sym_case_statement] = STATE(865), - [sym_function_definition] = STATE(865), - [sym_subshell] = STATE(865), - [sym_pipeline] = STATE(865), - [sym_list] = STATE(865), - [sym_bracket_command] = STATE(865), - [sym_command] = STATE(865), - [sym_environment_variable_assignment] = STATE(866), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(867), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(2362), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(223), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), - [sym_comment] = ACTIONS(115), - }, - [732] = { - [anon_sym_LPAREN] = ACTIONS(2364), - [sym_comment] = ACTIONS(115), - }, - [733] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(870), - [anon_sym_DQUOTE] = ACTIONS(2366), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [734] = { - [sym_file_descriptor] = ACTIONS(2368), - [anon_sym_RPAREN] = ACTIONS(2371), - [anon_sym_SEMI_SEMI] = ACTIONS(2371), - [anon_sym_PIPE] = ACTIONS(2371), - [anon_sym_PIPE_AMP] = ACTIONS(2371), - [anon_sym_AMP_AMP] = ACTIONS(2371), - [anon_sym_PIPE_PIPE] = ACTIONS(2371), - [anon_sym_COLON] = ACTIONS(2371), - [anon_sym_LT] = ACTIONS(2371), - [anon_sym_GT] = ACTIONS(2371), - [anon_sym_GT_GT] = ACTIONS(2371), - [anon_sym_AMP_GT] = ACTIONS(2371), - [anon_sym_AMP_GT_GT] = ACTIONS(2371), - [anon_sym_LT_AMP] = ACTIONS(2371), - [anon_sym_GT_AMP] = ACTIONS(2371), - [anon_sym_LT_LT] = ACTIONS(2371), - [anon_sym_LT_LT_DASH] = ACTIONS(2371), - [anon_sym_DQUOTE] = ACTIONS(2371), - [sym_raw_string] = ACTIONS(2371), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2371), - [anon_sym_BQUOTE] = ACTIONS(2371), - [sym_leading_word] = ACTIONS(2371), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2371), - [anon_sym_LF] = ACTIONS(2371), - [anon_sym_AMP] = ACTIONS(2371), - }, - [735] = { - [sym_special_variable_name] = STATE(873), - [anon_sym_DOLLAR] = ACTIONS(2374), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2376), - [anon_sym_STAR] = ACTIONS(2374), - [anon_sym_AT] = ACTIONS(2374), - [anon_sym_POUND] = ACTIONS(2378), - [anon_sym_QMARK] = ACTIONS(2374), - [anon_sym_DASH] = ACTIONS(2374), - [anon_sym_BANG] = ACTIONS(2374), - [anon_sym_0] = ACTIONS(2378), - [anon_sym__] = ACTIONS(2378), - }, - [736] = { - [sym_special_variable_name] = STATE(875), - [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2380), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(307), - [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(307), - [anon_sym_DASH] = ACTIONS(307), - [anon_sym_BANG] = ACTIONS(307), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), - }, - [737] = { + [758] = { [sym_for_statement] = STATE(876), [sym_while_statement] = STATE(876), [sym_if_statement] = STATE(876), @@ -26130,7 +26589,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [738] = { + [759] = { [sym_for_statement] = STATE(878), [sym_while_statement] = STATE(878), [sym_if_statement] = STATE(878), @@ -26170,658 +26629,369 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [739] = { - [aux_sym_array_repeat1] = STATE(867), - [anon_sym_RPAREN] = ACTIONS(2362), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), + [760] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [aux_sym_command_repeat2] = STATE(882), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(237), + [anon_sym_SEMI_SEMI] = ACTIONS(237), + [anon_sym_LPAREN] = ACTIONS(2374), + [anon_sym_PIPE] = ACTIONS(237), + [anon_sym_PIPE_AMP] = ACTIONS(237), + [anon_sym_AMP_AMP] = ACTIONS(237), + [anon_sym_PIPE_PIPE] = ACTIONS(237), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2376), + [anon_sym_EQ] = ACTIONS(2354), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(237), + [anon_sym_LF] = ACTIONS(237), + [anon_sym_AMP] = ACTIONS(237), }, - [740] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_in] = ACTIONS(415), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_LPAREN] = ACTIONS(415), - [anon_sym_RBRACE] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_RBRACK] = ACTIONS(415), - [anon_sym_RBRACK_RBRACK] = ACTIONS(415), - [anon_sym_COLON] = ACTIONS(415), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR] = ACTIONS(415), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_leading_word] = ACTIONS(415), - [sym_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [761] = { + [anon_sym_RPAREN] = ACTIONS(903), + [anon_sym_SEMI_SEMI] = ACTIONS(903), + [anon_sym_PIPE] = ACTIONS(2378), + [anon_sym_PIPE_AMP] = ACTIONS(2378), + [anon_sym_AMP_AMP] = ACTIONS(2381), + [anon_sym_PIPE_PIPE] = ACTIONS(2381), + [anon_sym_BQUOTE] = ACTIONS(903), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(903), + [anon_sym_LF] = ACTIONS(903), + [anon_sym_AMP] = ACTIONS(903), }, - [741] = { - [sym__heredoc_middle] = ACTIONS(583), - [sym__heredoc_end] = ACTIONS(583), - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_in] = ACTIONS(577), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_LPAREN] = ACTIONS(577), - [anon_sym_RBRACE] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_RBRACK] = ACTIONS(577), - [anon_sym_RBRACK_RBRACK] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR] = ACTIONS(577), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [742] = { - [sym__heredoc_middle] = ACTIONS(615), - [sym__heredoc_end] = ACTIONS(615), - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_in] = ACTIONS(579), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_LPAREN] = ACTIONS(579), - [anon_sym_RBRACE] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_RBRACK] = ACTIONS(579), - [anon_sym_RBRACK_RBRACK] = ACTIONS(579), - [anon_sym_COLON] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR] = ACTIONS(579), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_leading_word] = ACTIONS(579), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [743] = { - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(619), - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_in] = ACTIONS(581), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_LPAREN] = ACTIONS(581), - [anon_sym_RBRACE] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_RBRACK] = ACTIONS(581), - [anon_sym_RBRACK_RBRACK] = ACTIONS(581), - [anon_sym_COLON] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR] = ACTIONS(581), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_leading_word] = ACTIONS(581), - [sym_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), - }, - [744] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2382), - [sym_comment] = ACTIONS(115), - }, - [745] = { + [762] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(903), + [anon_sym_SEMI_SEMI] = ACTIONS(903), + [anon_sym_PIPE] = ACTIONS(2378), + [anon_sym_PIPE_AMP] = ACTIONS(2378), + [anon_sym_AMP_AMP] = ACTIONS(2381), + [anon_sym_PIPE_PIPE] = ACTIONS(2381), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), [anon_sym_BQUOTE] = ACTIONS(2384), [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(903), + [anon_sym_LF] = ACTIONS(903), + [anon_sym_AMP] = ACTIONS(903), + }, + [763] = { + [anon_sym_RPAREN] = ACTIONS(905), + [anon_sym_SEMI_SEMI] = ACTIONS(905), + [anon_sym_PIPE] = ACTIONS(2387), + [anon_sym_PIPE_AMP] = ACTIONS(2387), + [anon_sym_AMP_AMP] = ACTIONS(2390), + [anon_sym_PIPE_PIPE] = ACTIONS(2390), + [anon_sym_BQUOTE] = ACTIONS(905), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(905), + [anon_sym_LF] = ACTIONS(905), + [anon_sym_AMP] = ACTIONS(905), + }, + [764] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(905), + [anon_sym_SEMI_SEMI] = ACTIONS(905), + [anon_sym_PIPE] = ACTIONS(2387), + [anon_sym_PIPE_AMP] = ACTIONS(2387), + [anon_sym_AMP_AMP] = ACTIONS(2390), + [anon_sym_PIPE_PIPE] = ACTIONS(2390), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(2393), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(905), + [anon_sym_LF] = ACTIONS(905), + [anon_sym_AMP] = ACTIONS(905), + }, + [765] = { + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(2396), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(343), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(345), [sym_comment] = ACTIONS(115), }, - [746] = { - [anon_sym_SEMI_SEMI] = ACTIONS(2387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2387), - [anon_sym_LF] = ACTIONS(2387), - [anon_sym_AMP] = ACTIONS(2387), - }, - [747] = { - [anon_sym_RPAREN] = ACTIONS(2389), - [anon_sym_SEMI_SEMI] = ACTIONS(2389), - [anon_sym_PIPE] = ACTIONS(2389), - [anon_sym_PIPE_AMP] = ACTIONS(2389), - [anon_sym_AMP_AMP] = ACTIONS(2389), - [anon_sym_PIPE_PIPE] = ACTIONS(2389), - [anon_sym_BQUOTE] = ACTIONS(2389), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2389), - [anon_sym_LF] = ACTIONS(2389), - [anon_sym_AMP] = ACTIONS(2389), - }, - [748] = { - [sym_file_descriptor] = ACTIONS(1007), - [anon_sym_RPAREN] = ACTIONS(1009), - [anon_sym_SEMI_SEMI] = ACTIONS(1009), - [anon_sym_PIPE] = ACTIONS(1009), - [anon_sym_PIPE_AMP] = ACTIONS(1009), - [anon_sym_AMP_AMP] = ACTIONS(1009), - [anon_sym_PIPE_PIPE] = ACTIONS(1009), - [anon_sym_LT] = ACTIONS(1009), - [anon_sym_GT] = ACTIONS(1009), - [anon_sym_GT_GT] = ACTIONS(1009), - [anon_sym_AMP_GT] = ACTIONS(1009), - [anon_sym_AMP_GT_GT] = ACTIONS(1009), - [anon_sym_LT_AMP] = ACTIONS(1009), - [anon_sym_GT_AMP] = ACTIONS(1009), - [anon_sym_LT_LT] = ACTIONS(1009), - [anon_sym_LT_LT_DASH] = ACTIONS(1009), - [anon_sym_BQUOTE] = ACTIONS(1009), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1009), - [anon_sym_LF] = ACTIONS(1009), - [anon_sym_AMP] = ACTIONS(1009), - }, - [749] = { - [sym_string] = STATE(881), - [sym_array] = STATE(881), - [sym_simple_expansion] = STATE(881), - [sym_expansion] = STATE(881), - [sym_command_substitution] = STATE(881), - [sym_process_substitution] = STATE(881), - [anon_sym_LPAREN] = ACTIONS(1808), - [anon_sym_LT] = ACTIONS(1792), - [anon_sym_GT] = ACTIONS(1792), - [anon_sym_DQUOTE] = ACTIONS(1794), - [sym_raw_string] = ACTIONS(2392), - [anon_sym_DOLLAR] = ACTIONS(1798), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1800), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1802), - [anon_sym_BQUOTE] = ACTIONS(1804), - [sym_word] = ACTIONS(2394), + [766] = { + [anon_sym_LT] = ACTIONS(2398), + [anon_sym_GT] = ACTIONS(2398), + [anon_sym_GT_GT] = ACTIONS(2400), + [anon_sym_AMP_GT] = ACTIONS(2398), + [anon_sym_AMP_GT_GT] = ACTIONS(2400), + [anon_sym_LT_AMP] = ACTIONS(2400), + [anon_sym_GT_AMP] = ACTIONS(2400), [sym_comment] = ACTIONS(115), }, - [750] = { - [sym_file_descriptor] = ACTIONS(2396), - [anon_sym_in] = ACTIONS(2399), - [anon_sym_RPAREN] = ACTIONS(2399), - [anon_sym_SEMI_SEMI] = ACTIONS(2399), - [anon_sym_LPAREN] = ACTIONS(2399), - [anon_sym_RBRACE] = ACTIONS(2399), - [anon_sym_PIPE] = ACTIONS(2399), - [anon_sym_PIPE_AMP] = ACTIONS(2399), - [anon_sym_AMP_AMP] = ACTIONS(2399), - [anon_sym_PIPE_PIPE] = ACTIONS(2399), - [anon_sym_RBRACK] = ACTIONS(2399), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2399), - [anon_sym_COLON] = ACTIONS(2399), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(2399), - [anon_sym_GT] = ACTIONS(2399), - [anon_sym_GT_GT] = ACTIONS(2399), - [anon_sym_AMP_GT] = ACTIONS(2399), - [anon_sym_AMP_GT_GT] = ACTIONS(2399), - [anon_sym_LT_AMP] = ACTIONS(2399), - [anon_sym_GT_AMP] = ACTIONS(2399), - [anon_sym_LT_LT] = ACTIONS(2399), - [anon_sym_LT_LT_DASH] = ACTIONS(2399), - [anon_sym_DQUOTE] = ACTIONS(2399), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), - [sym_raw_string] = ACTIONS(2399), - [anon_sym_DOLLAR] = ACTIONS(2399), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2399), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2399), - [anon_sym_BQUOTE] = ACTIONS(2399), - [sym_leading_word] = ACTIONS(2399), - [sym_word] = ACTIONS(2399), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2399), - [anon_sym_LF] = ACTIONS(2399), - [anon_sym_AMP] = ACTIONS(2399), - }, - [751] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_in] = ACTIONS(847), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_LPAREN] = ACTIONS(847), - [anon_sym_RBRACE] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_RBRACK] = ACTIONS(847), - [anon_sym_RBRACK_RBRACK] = ACTIONS(847), - [anon_sym_COLON] = ACTIONS(847), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR] = ACTIONS(847), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_leading_word] = ACTIONS(847), - [sym_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [752] = { + [767] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(892), + [aux_sym_command_repeat2] = STATE(893), + [sym_file_descriptor] = ACTIONS(1839), [anon_sym_RPAREN] = ACTIONS(2402), [anon_sym_SEMI_SEMI] = ACTIONS(2402), + [anon_sym_LPAREN] = ACTIONS(2405), [anon_sym_PIPE] = ACTIONS(2402), [anon_sym_PIPE_AMP] = ACTIONS(2402), [anon_sym_AMP_AMP] = ACTIONS(2402), [anon_sym_PIPE_PIPE] = ACTIONS(2402), - [anon_sym_BQUOTE] = ACTIONS(2402), - [sym_comment] = ACTIONS(73), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2419), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(2402), [anon_sym_LF] = ACTIONS(2402), [anon_sym_AMP] = ACTIONS(2402), }, - [753] = { - [anon_sym_SEMI_SEMI] = ACTIONS(2406), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2406), - [anon_sym_LF] = ACTIONS(2406), - [anon_sym_AMP] = ACTIONS(2406), - }, - [754] = { - [anon_sym_in] = ACTIONS(2408), - [sym_comment] = ACTIONS(115), - }, - [755] = { - [sym__heredoc_middle] = ACTIONS(2410), - [sym__heredoc_end] = ACTIONS(2410), - [sym_file_descriptor] = ACTIONS(2410), - [anon_sym_in] = ACTIONS(2413), - [anon_sym_RPAREN] = ACTIONS(2413), - [anon_sym_SEMI_SEMI] = ACTIONS(2413), - [anon_sym_LPAREN] = ACTIONS(2413), - [anon_sym_RBRACE] = ACTIONS(2413), - [anon_sym_PIPE] = ACTIONS(2413), - [anon_sym_PIPE_AMP] = ACTIONS(2413), - [anon_sym_AMP_AMP] = ACTIONS(2413), - [anon_sym_PIPE_PIPE] = ACTIONS(2413), - [anon_sym_RBRACK] = ACTIONS(2413), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2413), - [anon_sym_COLON] = ACTIONS(2413), - [anon_sym_LT] = ACTIONS(2413), - [anon_sym_GT] = ACTIONS(2413), - [anon_sym_GT_GT] = ACTIONS(2413), - [anon_sym_AMP_GT] = ACTIONS(2413), - [anon_sym_AMP_GT_GT] = ACTIONS(2413), - [anon_sym_LT_AMP] = ACTIONS(2413), - [anon_sym_GT_AMP] = ACTIONS(2413), - [anon_sym_LT_LT] = ACTIONS(2413), - [anon_sym_LT_LT_DASH] = ACTIONS(2413), - [anon_sym_DQUOTE] = ACTIONS(2413), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2413), - [sym_raw_string] = ACTIONS(2413), - [anon_sym_DOLLAR] = ACTIONS(2413), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2413), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2413), - [anon_sym_BQUOTE] = ACTIONS(2413), - [sym_leading_word] = ACTIONS(2413), - [sym_word] = ACTIONS(2413), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2413), - [anon_sym_LF] = ACTIONS(2413), - [anon_sym_AMP] = ACTIONS(2413), - }, - [756] = { - [sym__heredoc_middle] = ACTIONS(953), - [sym__heredoc_end] = ACTIONS(953), - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_in] = ACTIONS(931), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_LPAREN] = ACTIONS(931), - [anon_sym_RBRACE] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_RBRACK] = ACTIONS(931), - [anon_sym_RBRACK_RBRACK] = ACTIONS(931), - [anon_sym_COLON] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR] = ACTIONS(931), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_leading_word] = ACTIONS(931), - [sym_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [757] = { - [sym_string] = STATE(883), - [sym_array] = STATE(883), - [sym_simple_expansion] = STATE(883), - [sym_expansion] = STATE(883), - [sym_command_substitution] = STATE(883), - [sym_process_substitution] = STATE(883), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2416), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2418), - [sym_comment] = ACTIONS(115), - }, - [758] = { - [anon_sym_RPAREN] = ACTIONS(1175), - [anon_sym_SEMI_SEMI] = ACTIONS(1175), - [anon_sym_PIPE] = ACTIONS(1175), - [anon_sym_PIPE_AMP] = ACTIONS(1175), - [anon_sym_AMP_AMP] = ACTIONS(1175), - [anon_sym_PIPE_PIPE] = ACTIONS(1175), - [anon_sym_BQUOTE] = ACTIONS(1175), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1175), - [anon_sym_LF] = ACTIONS(1175), - [anon_sym_AMP] = ACTIONS(1175), - }, - [759] = { - [anon_sym_RPAREN] = ACTIONS(1181), - [anon_sym_SEMI_SEMI] = ACTIONS(1181), - [anon_sym_PIPE] = ACTIONS(1181), - [anon_sym_PIPE_AMP] = ACTIONS(1181), - [anon_sym_AMP_AMP] = ACTIONS(1181), - [anon_sym_PIPE_PIPE] = ACTIONS(1181), - [anon_sym_BQUOTE] = ACTIONS(1181), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1181), - [anon_sym_LF] = ACTIONS(1181), - [anon_sym_AMP] = ACTIONS(1181), - }, - [760] = { - [anon_sym_RPAREN] = ACTIONS(603), - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [anon_sym_PIPE] = ACTIONS(603), - [anon_sym_PIPE_AMP] = ACTIONS(603), - [anon_sym_AMP_AMP] = ACTIONS(603), - [anon_sym_PIPE_PIPE] = ACTIONS(603), - [anon_sym_BQUOTE] = ACTIONS(603), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), - }, - [761] = { - [anon_sym_RPAREN] = ACTIONS(1473), - [anon_sym_SEMI_SEMI] = ACTIONS(1473), - [anon_sym_PIPE] = ACTIONS(1473), - [anon_sym_PIPE_AMP] = ACTIONS(1473), - [anon_sym_AMP_AMP] = ACTIONS(1473), - [anon_sym_PIPE_PIPE] = ACTIONS(1473), - [anon_sym_BQUOTE] = ACTIONS(1473), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1473), - [anon_sym_LF] = ACTIONS(1473), - [anon_sym_AMP] = ACTIONS(1473), - }, - [762] = { - [anon_sym_fi] = ACTIONS(2420), - [sym_comment] = ACTIONS(115), - }, - [763] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(885), - [anon_sym_fi] = ACTIONS(2420), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), - [sym_comment] = ACTIONS(115), - }, - [764] = { - [anon_sym_RPAREN] = ACTIONS(2422), - [anon_sym_SEMI_SEMI] = ACTIONS(2422), - [anon_sym_PIPE] = ACTIONS(2422), - [anon_sym_PIPE_AMP] = ACTIONS(2422), - [anon_sym_AMP_AMP] = ACTIONS(2422), - [anon_sym_PIPE_PIPE] = ACTIONS(2422), - [anon_sym_BQUOTE] = ACTIONS(2422), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2422), - [anon_sym_LF] = ACTIONS(2422), - [anon_sym_AMP] = ACTIONS(2422), - }, - [765] = { - [anon_sym_fi] = ACTIONS(2425), - [sym_comment] = ACTIONS(115), - }, - [766] = { - [anon_sym_RPAREN] = ACTIONS(2427), - [anon_sym_SEMI_SEMI] = ACTIONS(2427), - [anon_sym_PIPE] = ACTIONS(2427), - [anon_sym_PIPE_AMP] = ACTIONS(2427), - [anon_sym_AMP_AMP] = ACTIONS(2427), - [anon_sym_PIPE_PIPE] = ACTIONS(2427), - [anon_sym_BQUOTE] = ACTIONS(2427), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2427), - [anon_sym_LF] = ACTIONS(2427), - [anon_sym_AMP] = ACTIONS(2427), - }, - [767] = { - [aux_sym_array_repeat1] = STATE(888), - [anon_sym_RPAREN] = ACTIONS(2430), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, [768] = { - [sym_string] = STATE(844), - [sym_array] = STATE(844), - [sym_simple_expansion] = STATE(844), - [sym_expansion] = STATE(844), - [sym_command_substitution] = STATE(844), - [sym_process_substitution] = STATE(844), - [anon_sym_LPAREN] = ACTIONS(2432), - [anon_sym_LT] = ACTIONS(2321), - [anon_sym_GT] = ACTIONS(2321), - [anon_sym_DQUOTE] = ACTIONS(2323), - [sym_raw_string] = ACTIONS(2325), - [anon_sym_DOLLAR] = ACTIONS(2327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), - [anon_sym_BQUOTE] = ACTIONS(2333), - [sym_word] = ACTIONS(2335), + [sym_string] = STATE(897), + [sym_array] = STATE(897), + [sym_simple_expansion] = STATE(897), + [sym_expansion] = STATE(897), + [sym_command_substitution] = STATE(897), + [sym_process_substitution] = STATE(897), + [anon_sym_LPAREN] = ACTIONS(2423), + [anon_sym_LT] = ACTIONS(2425), + [anon_sym_GT] = ACTIONS(2425), + [anon_sym_DQUOTE] = ACTIONS(2427), + [sym_raw_string] = ACTIONS(2429), + [anon_sym_DOLLAR] = ACTIONS(2431), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2433), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2435), + [anon_sym_BQUOTE] = ACTIONS(2437), + [sym_word] = ACTIONS(2439), [sym_comment] = ACTIONS(115), }, [769] = { + [sym_string] = STATE(897), + [sym_array] = STATE(897), + [sym_simple_expansion] = STATE(897), + [sym_expansion] = STATE(897), + [sym_command_substitution] = STATE(897), + [sym_process_substitution] = STATE(897), + [anon_sym_LPAREN] = ACTIONS(2441), + [anon_sym_LT] = ACTIONS(2425), + [anon_sym_GT] = ACTIONS(2425), + [anon_sym_DQUOTE] = ACTIONS(2427), + [sym_raw_string] = ACTIONS(2429), + [anon_sym_DOLLAR] = ACTIONS(2431), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2433), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2435), + [anon_sym_BQUOTE] = ACTIONS(2437), + [sym_word] = ACTIONS(2439), + [sym_comment] = ACTIONS(115), + }, + [770] = { + [sym_heredoc] = STATE(706), + [sym__simple_heredoc] = ACTIONS(2443), + [sym__heredoc_beginning] = ACTIONS(2445), + [sym_comment] = ACTIONS(115), + }, + [771] = { + [anon_sym_RBRACE] = ACTIONS(2447), + [sym_comment] = ACTIONS(115), + }, + [772] = { + [sym_file_descriptor] = ACTIONS(391), + [anon_sym_RPAREN] = ACTIONS(393), + [anon_sym_SEMI_SEMI] = ACTIONS(393), + [anon_sym_PIPE] = ACTIONS(393), + [anon_sym_PIPE_AMP] = ACTIONS(393), + [anon_sym_AMP_AMP] = ACTIONS(393), + [anon_sym_PIPE_PIPE] = ACTIONS(393), + [anon_sym_LT] = ACTIONS(393), + [anon_sym_GT] = ACTIONS(393), + [anon_sym_GT_GT] = ACTIONS(393), + [anon_sym_AMP_GT] = ACTIONS(393), + [anon_sym_AMP_GT_GT] = ACTIONS(393), + [anon_sym_LT_AMP] = ACTIONS(393), + [anon_sym_GT_AMP] = ACTIONS(393), + [anon_sym_LT_LT] = ACTIONS(393), + [anon_sym_LT_LT_DASH] = ACTIONS(393), + [anon_sym_BQUOTE] = ACTIONS(393), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(393), + [anon_sym_LF] = ACTIONS(393), + [anon_sym_AMP] = ACTIONS(393), + }, + [773] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2449), + [anon_sym_SEMI_SEMI] = ACTIONS(2449), + [anon_sym_PIPE] = ACTIONS(2449), + [anon_sym_PIPE_AMP] = ACTIONS(2449), + [anon_sym_AMP_AMP] = ACTIONS(2449), + [anon_sym_PIPE_PIPE] = ACTIONS(2449), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(2449), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2449), + [anon_sym_LF] = ACTIONS(2449), + [anon_sym_AMP] = ACTIONS(2449), + }, + [774] = { + [aux_sym_array_repeat1] = STATE(904), + [anon_sym_RPAREN] = ACTIONS(2452), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [775] = { + [anon_sym_LPAREN] = ACTIONS(2454), + [sym_comment] = ACTIONS(115), + }, + [776] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(891), - [anon_sym_DQUOTE] = ACTIONS(2434), + [aux_sym_string_repeat1] = STATE(907), + [anon_sym_DQUOTE] = ACTIONS(2456), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [770] = { - [sym_file_descriptor] = ACTIONS(639), - [anon_sym_RPAREN] = ACTIONS(643), - [anon_sym_SEMI_SEMI] = ACTIONS(643), - [anon_sym_LPAREN] = ACTIONS(643), - [anon_sym_PIPE] = ACTIONS(643), - [anon_sym_PIPE_AMP] = ACTIONS(643), - [anon_sym_AMP_AMP] = ACTIONS(643), - [anon_sym_PIPE_PIPE] = ACTIONS(643), - [anon_sym_RBRACK] = ACTIONS(643), - [anon_sym_RBRACK_RBRACK] = ACTIONS(643), - [anon_sym_LT] = ACTIONS(643), - [anon_sym_GT] = ACTIONS(643), - [anon_sym_GT_GT] = ACTIONS(643), - [anon_sym_AMP_GT] = ACTIONS(643), - [anon_sym_AMP_GT_GT] = ACTIONS(643), - [anon_sym_LT_AMP] = ACTIONS(643), - [anon_sym_GT_AMP] = ACTIONS(643), - [anon_sym_LT_LT] = ACTIONS(643), - [anon_sym_LT_LT_DASH] = ACTIONS(643), - [anon_sym_DQUOTE] = ACTIONS(643), - [sym_raw_string] = ACTIONS(643), - [anon_sym_DOLLAR] = ACTIONS(643), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(643), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(643), - [anon_sym_BQUOTE] = ACTIONS(643), - [sym_word] = ACTIONS(643), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(643), - [anon_sym_LF] = ACTIONS(643), - [anon_sym_AMP] = ACTIONS(643), + [777] = { + [sym_file_descriptor] = ACTIONS(883), + [anon_sym_RPAREN] = ACTIONS(885), + [anon_sym_SEMI_SEMI] = ACTIONS(885), + [anon_sym_RBRACE] = ACTIONS(2141), + [anon_sym_PIPE] = ACTIONS(885), + [anon_sym_PIPE_AMP] = ACTIONS(885), + [anon_sym_AMP_AMP] = ACTIONS(885), + [anon_sym_PIPE_PIPE] = ACTIONS(885), + [anon_sym_COLON] = ACTIONS(885), + [anon_sym_LT] = ACTIONS(885), + [anon_sym_GT] = ACTIONS(885), + [anon_sym_GT_GT] = ACTIONS(885), + [anon_sym_AMP_GT] = ACTIONS(885), + [anon_sym_AMP_GT_GT] = ACTIONS(885), + [anon_sym_LT_AMP] = ACTIONS(885), + [anon_sym_GT_AMP] = ACTIONS(885), + [anon_sym_DQUOTE] = ACTIONS(885), + [sym_raw_string] = ACTIONS(885), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(885), + [anon_sym_BQUOTE] = ACTIONS(885), + [sym_leading_word] = ACTIONS(885), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(885), + [anon_sym_LF] = ACTIONS(885), + [anon_sym_AMP] = ACTIONS(885), }, - [771] = { - [sym_special_variable_name] = STATE(894), - [anon_sym_DOLLAR] = ACTIONS(2436), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2438), - [anon_sym_STAR] = ACTIONS(2436), - [anon_sym_AT] = ACTIONS(2436), - [anon_sym_POUND] = ACTIONS(2440), - [anon_sym_QMARK] = ACTIONS(2436), - [anon_sym_DASH] = ACTIONS(2436), - [anon_sym_BANG] = ACTIONS(2436), - [anon_sym_0] = ACTIONS(2440), - [anon_sym__] = ACTIONS(2440), + [778] = { + [sym_special_variable_name] = STATE(910), + [anon_sym_DOLLAR] = ACTIONS(2458), + [anon_sym_POUND] = ACTIONS(2460), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2462), + [anon_sym_STAR] = ACTIONS(2458), + [anon_sym_AT] = ACTIONS(2458), + [anon_sym_QMARK] = ACTIONS(2458), + [anon_sym_DASH] = ACTIONS(2458), + [anon_sym_BANG] = ACTIONS(2458), + [anon_sym_0] = ACTIONS(2460), + [anon_sym__] = ACTIONS(2460), }, - [772] = { - [sym_special_variable_name] = STATE(896), + [779] = { + [sym_special_variable_name] = STATE(913), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2442), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(2464), + [sym_leading_word] = ACTIONS(2466), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), [anon_sym_0] = ACTIONS(307), [anon_sym__] = ACTIONS(307), }, - [773] = { - [sym_for_statement] = STATE(897), - [sym_while_statement] = STATE(897), - [sym_if_statement] = STATE(897), - [sym_case_statement] = STATE(897), - [sym_function_definition] = STATE(897), - [sym_subshell] = STATE(897), - [sym_pipeline] = STATE(897), - [sym_list] = STATE(897), - [sym_bracket_command] = STATE(897), - [sym_command] = STATE(897), - [sym_environment_variable_assignment] = STATE(898), + [780] = { + [sym_for_statement] = STATE(914), + [sym_while_statement] = STATE(914), + [sym_if_statement] = STATE(914), + [sym_case_statement] = STATE(914), + [sym_function_definition] = STATE(914), + [sym_subshell] = STATE(914), + [sym_pipeline] = STATE(914), + [sym_list] = STATE(914), + [sym_bracket_command] = STATE(914), + [sym_command] = STATE(914), + [sym_environment_variable_assignment] = STATE(915), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -26850,18 +27020,18 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [774] = { - [sym_for_statement] = STATE(899), - [sym_while_statement] = STATE(899), - [sym_if_statement] = STATE(899), - [sym_case_statement] = STATE(899), - [sym_function_definition] = STATE(899), - [sym_subshell] = STATE(899), - [sym_pipeline] = STATE(899), - [sym_list] = STATE(899), - [sym_bracket_command] = STATE(899), - [sym_command] = STATE(899), - [sym_environment_variable_assignment] = STATE(900), + [781] = { + [sym_for_statement] = STATE(916), + [sym_while_statement] = STATE(916), + [sym_if_statement] = STATE(916), + [sym_case_statement] = STATE(916), + [sym_function_definition] = STATE(916), + [sym_subshell] = STATE(916), + [sym_pipeline] = STATE(916), + [sym_list] = STATE(916), + [sym_bracket_command] = STATE(916), + [sym_command] = STATE(916), + [sym_environment_variable_assignment] = STATE(917), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -26890,207 +27060,1131 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [775] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2444), - [anon_sym_SEMI_SEMI] = ACTIONS(2444), - [anon_sym_PIPE] = ACTIONS(2444), - [anon_sym_PIPE_AMP] = ACTIONS(2444), - [anon_sym_AMP_AMP] = ACTIONS(2444), - [anon_sym_PIPE_PIPE] = ACTIONS(2444), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(2444), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2444), - [anon_sym_LF] = ACTIONS(2444), - [anon_sym_AMP] = ACTIONS(2444), - }, - [776] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [aux_sym_command_repeat2] = STATE(902), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(391), - [anon_sym_SEMI_SEMI] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2449), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(391), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(391), - [anon_sym_LF] = ACTIONS(391), - [anon_sym_AMP] = ACTIONS(391), - }, - [777] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [aux_sym_command_repeat2] = STATE(904), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(535), - [anon_sym_SEMI_SEMI] = ACTIONS(535), - [anon_sym_PIPE] = ACTIONS(535), - [anon_sym_PIPE_AMP] = ACTIONS(535), - [anon_sym_AMP_AMP] = ACTIONS(535), - [anon_sym_PIPE_PIPE] = ACTIONS(535), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2451), - [anon_sym_EQ] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(535), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(535), - [anon_sym_LF] = ACTIONS(535), - [anon_sym_AMP] = ACTIONS(535), - }, - [778] = { - [sym_file_descriptor] = ACTIONS(699), - [anon_sym_RPAREN] = ACTIONS(701), - [anon_sym_SEMI_SEMI] = ACTIONS(701), - [anon_sym_PIPE] = ACTIONS(701), - [anon_sym_PIPE_AMP] = ACTIONS(701), - [anon_sym_AMP_AMP] = ACTIONS(701), - [anon_sym_PIPE_PIPE] = ACTIONS(701), - [anon_sym_LT] = ACTIONS(701), - [anon_sym_GT] = ACTIONS(701), - [anon_sym_GT_GT] = ACTIONS(701), - [anon_sym_AMP_GT] = ACTIONS(701), - [anon_sym_AMP_GT_GT] = ACTIONS(701), - [anon_sym_LT_AMP] = ACTIONS(701), - [anon_sym_GT_AMP] = ACTIONS(701), - [anon_sym_LT_LT] = ACTIONS(701), - [anon_sym_LT_LT_DASH] = ACTIONS(701), - [anon_sym_BQUOTE] = ACTIONS(701), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(701), - [anon_sym_LF] = ACTIONS(701), - [anon_sym_AMP] = ACTIONS(701), - }, - [779] = { - [sym_file_descriptor] = ACTIONS(1253), - [anon_sym_RPAREN] = ACTIONS(1255), - [anon_sym_SEMI_SEMI] = ACTIONS(1255), - [anon_sym_PIPE] = ACTIONS(1255), - [anon_sym_PIPE_AMP] = ACTIONS(1255), - [anon_sym_AMP_AMP] = ACTIONS(1255), - [anon_sym_PIPE_PIPE] = ACTIONS(1255), - [anon_sym_LT] = ACTIONS(1255), - [anon_sym_GT] = ACTIONS(1255), - [anon_sym_GT_GT] = ACTIONS(1255), - [anon_sym_AMP_GT] = ACTIONS(1255), - [anon_sym_AMP_GT_GT] = ACTIONS(1255), - [anon_sym_LT_AMP] = ACTIONS(1255), - [anon_sym_GT_AMP] = ACTIONS(1255), - [anon_sym_LT_LT] = ACTIONS(1255), - [anon_sym_LT_LT_DASH] = ACTIONS(1255), - [anon_sym_BQUOTE] = ACTIONS(1255), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1255), - [anon_sym_LF] = ACTIONS(1255), - [anon_sym_AMP] = ACTIONS(1255), - }, - [780] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_in] = ACTIONS(737), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_LPAREN] = ACTIONS(737), - [anon_sym_RBRACE] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_RBRACK] = ACTIONS(737), - [anon_sym_RBRACK_RBRACK] = ACTIONS(737), - [anon_sym_COLON] = ACTIONS(737), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR] = ACTIONS(737), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_leading_word] = ACTIONS(737), - [sym_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [781] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_in] = ACTIONS(907), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_LPAREN] = ACTIONS(907), - [anon_sym_RBRACE] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_RBRACK] = ACTIONS(907), - [anon_sym_RBRACK_RBRACK] = ACTIONS(907), - [anon_sym_COLON] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR] = ACTIONS(907), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_leading_word] = ACTIONS(907), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), - }, [782] = { - [sym__terminated_statement] = STATE(672), + [sym_for_statement] = STATE(919), + [sym_while_statement] = STATE(919), + [sym_if_statement] = STATE(919), + [sym_case_statement] = STATE(919), + [sym_function_definition] = STATE(919), + [sym_subshell] = STATE(919), + [sym_pipeline] = STATE(919), + [sym_list] = STATE(919), + [sym_bracket_command] = STATE(919), + [sym_command] = STATE(919), + [sym_environment_variable_assignment] = STATE(920), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(921), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2468), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(995), + [sym_comment] = ACTIONS(115), + }, + [783] = { + [anon_sym_LPAREN] = ACTIONS(2470), + [sym_comment] = ACTIONS(115), + }, + [784] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(924), + [anon_sym_DQUOTE] = ACTIONS(2472), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [785] = { + [sym_file_descriptor] = ACTIONS(2474), + [anon_sym_RPAREN] = ACTIONS(2477), + [anon_sym_SEMI_SEMI] = ACTIONS(2477), + [anon_sym_PIPE] = ACTIONS(2477), + [anon_sym_PIPE_AMP] = ACTIONS(2477), + [anon_sym_AMP_AMP] = ACTIONS(2477), + [anon_sym_PIPE_PIPE] = ACTIONS(2477), + [anon_sym_COLON] = ACTIONS(2477), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2477), + [anon_sym_AMP_GT] = ACTIONS(2477), + [anon_sym_AMP_GT_GT] = ACTIONS(2477), + [anon_sym_LT_AMP] = ACTIONS(2477), + [anon_sym_GT_AMP] = ACTIONS(2477), + [anon_sym_LT_LT] = ACTIONS(2477), + [anon_sym_LT_LT_DASH] = ACTIONS(2477), + [anon_sym_DQUOTE] = ACTIONS(2477), + [sym_raw_string] = ACTIONS(2477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2477), + [anon_sym_BQUOTE] = ACTIONS(2477), + [sym_leading_word] = ACTIONS(2477), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2477), + [anon_sym_LF] = ACTIONS(2477), + [anon_sym_AMP] = ACTIONS(2477), + }, + [786] = { + [sym_special_variable_name] = STATE(927), + [anon_sym_DOLLAR] = ACTIONS(2480), + [anon_sym_POUND] = ACTIONS(2482), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2484), + [anon_sym_STAR] = ACTIONS(2480), + [anon_sym_AT] = ACTIONS(2480), + [anon_sym_QMARK] = ACTIONS(2480), + [anon_sym_DASH] = ACTIONS(2480), + [anon_sym_BANG] = ACTIONS(2480), + [anon_sym_0] = ACTIONS(2482), + [anon_sym__] = ACTIONS(2482), + }, + [787] = { + [sym_special_variable_name] = STATE(930), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(2486), + [sym_leading_word] = ACTIONS(2488), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [788] = { + [sym_for_statement] = STATE(931), + [sym_while_statement] = STATE(931), + [sym_if_statement] = STATE(931), + [sym_case_statement] = STATE(931), + [sym_function_definition] = STATE(931), + [sym_subshell] = STATE(931), + [sym_pipeline] = STATE(931), + [sym_list] = STATE(931), + [sym_bracket_command] = STATE(931), + [sym_command] = STATE(931), + [sym_environment_variable_assignment] = STATE(932), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [789] = { + [sym_for_statement] = STATE(933), + [sym_while_statement] = STATE(933), + [sym_if_statement] = STATE(933), + [sym_case_statement] = STATE(933), + [sym_function_definition] = STATE(933), + [sym_subshell] = STATE(933), + [sym_pipeline] = STATE(933), + [sym_list] = STATE(933), + [sym_bracket_command] = STATE(933), + [sym_command] = STATE(933), + [sym_environment_variable_assignment] = STATE(934), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [790] = { + [aux_sym_array_repeat1] = STATE(921), + [anon_sym_RPAREN] = ACTIONS(2468), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [791] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_in] = ACTIONS(421), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_LPAREN] = ACTIONS(421), + [anon_sym_RBRACE] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_RBRACK] = ACTIONS(421), + [anon_sym_RBRACK_RBRACK] = ACTIONS(421), + [anon_sym_COLON] = ACTIONS(421), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR] = ACTIONS(421), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_leading_word] = ACTIONS(421), + [sym_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [792] = { + [sym__heredoc_middle] = ACTIONS(591), + [sym__heredoc_end] = ACTIONS(591), + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_in] = ACTIONS(585), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_RBRACE] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_RBRACK] = ACTIONS(585), + [anon_sym_RBRACK_RBRACK] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [793] = { + [sym__heredoc_middle] = ACTIONS(625), + [sym__heredoc_end] = ACTIONS(625), + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_in] = ACTIONS(587), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_LPAREN] = ACTIONS(587), + [anon_sym_RBRACE] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_RBRACK] = ACTIONS(587), + [anon_sym_RBRACK_RBRACK] = ACTIONS(587), + [anon_sym_COLON] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR] = ACTIONS(587), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_leading_word] = ACTIONS(587), + [sym_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [794] = { + [sym__heredoc_middle] = ACTIONS(629), + [sym__heredoc_end] = ACTIONS(629), + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_in] = ACTIONS(589), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_LPAREN] = ACTIONS(589), + [anon_sym_RBRACE] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_RBRACK] = ACTIONS(589), + [anon_sym_RBRACK_RBRACK] = ACTIONS(589), + [anon_sym_COLON] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR] = ACTIONS(589), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_leading_word] = ACTIONS(589), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [795] = { + [anon_sym_RBRACE] = ACTIONS(2490), + [sym_comment] = ACTIONS(115), + }, + [796] = { + [anon_sym_RBRACE] = ACTIONS(2492), + [sym_comment] = ACTIONS(115), + }, + [797] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2494), + [sym_comment] = ACTIONS(115), + }, + [798] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2496), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [799] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2499), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2499), + [anon_sym_LF] = ACTIONS(2499), + [anon_sym_AMP] = ACTIONS(2499), + }, + [800] = { + [anon_sym_RPAREN] = ACTIONS(2501), + [anon_sym_SEMI_SEMI] = ACTIONS(2501), + [anon_sym_PIPE] = ACTIONS(2501), + [anon_sym_PIPE_AMP] = ACTIONS(2501), + [anon_sym_AMP_AMP] = ACTIONS(2501), + [anon_sym_PIPE_PIPE] = ACTIONS(2501), + [anon_sym_BQUOTE] = ACTIONS(2501), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2501), + [anon_sym_LF] = ACTIONS(2501), + [anon_sym_AMP] = ACTIONS(2501), + }, + [801] = { + [sym_file_descriptor] = ACTIONS(1041), + [anon_sym_RPAREN] = ACTIONS(1043), + [anon_sym_SEMI_SEMI] = ACTIONS(1043), + [anon_sym_PIPE] = ACTIONS(1043), + [anon_sym_PIPE_AMP] = ACTIONS(1043), + [anon_sym_AMP_AMP] = ACTIONS(1043), + [anon_sym_PIPE_PIPE] = ACTIONS(1043), + [anon_sym_LT] = ACTIONS(1043), + [anon_sym_GT] = ACTIONS(1043), + [anon_sym_GT_GT] = ACTIONS(1043), + [anon_sym_AMP_GT] = ACTIONS(1043), + [anon_sym_AMP_GT_GT] = ACTIONS(1043), + [anon_sym_LT_AMP] = ACTIONS(1043), + [anon_sym_GT_AMP] = ACTIONS(1043), + [anon_sym_LT_LT] = ACTIONS(1043), + [anon_sym_LT_LT_DASH] = ACTIONS(1043), + [anon_sym_BQUOTE] = ACTIONS(1043), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1043), + [anon_sym_LF] = ACTIONS(1043), + [anon_sym_AMP] = ACTIONS(1043), + }, + [802] = { + [sym_string] = STATE(938), + [sym_array] = STATE(938), + [sym_simple_expansion] = STATE(938), + [sym_expansion] = STATE(938), + [sym_command_substitution] = STATE(938), + [sym_process_substitution] = STATE(938), + [anon_sym_LPAREN] = ACTIONS(1906), + [anon_sym_LT] = ACTIONS(1890), + [anon_sym_GT] = ACTIONS(1890), + [anon_sym_DQUOTE] = ACTIONS(1892), + [sym_raw_string] = ACTIONS(2504), + [anon_sym_DOLLAR] = ACTIONS(1896), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1898), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1900), + [anon_sym_BQUOTE] = ACTIONS(1902), + [sym_word] = ACTIONS(2506), + [sym_comment] = ACTIONS(115), + }, + [803] = { + [sym_file_descriptor] = ACTIONS(2508), + [anon_sym_in] = ACTIONS(2511), + [anon_sym_RPAREN] = ACTIONS(2511), + [anon_sym_SEMI_SEMI] = ACTIONS(2511), + [anon_sym_LPAREN] = ACTIONS(2511), + [anon_sym_RBRACE] = ACTIONS(2511), + [anon_sym_PIPE] = ACTIONS(2511), + [anon_sym_PIPE_AMP] = ACTIONS(2511), + [anon_sym_AMP_AMP] = ACTIONS(2511), + [anon_sym_PIPE_PIPE] = ACTIONS(2511), + [anon_sym_RBRACK] = ACTIONS(2511), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2511), + [anon_sym_COLON] = ACTIONS(2511), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(2511), + [anon_sym_GT] = ACTIONS(2511), + [anon_sym_GT_GT] = ACTIONS(2511), + [anon_sym_AMP_GT] = ACTIONS(2511), + [anon_sym_AMP_GT_GT] = ACTIONS(2511), + [anon_sym_LT_AMP] = ACTIONS(2511), + [anon_sym_GT_AMP] = ACTIONS(2511), + [anon_sym_LT_LT] = ACTIONS(2511), + [anon_sym_LT_LT_DASH] = ACTIONS(2511), + [anon_sym_DQUOTE] = ACTIONS(2511), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(867), + [sym_raw_string] = ACTIONS(2511), + [anon_sym_DOLLAR] = ACTIONS(2511), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2511), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2511), + [anon_sym_BQUOTE] = ACTIONS(2511), + [sym_leading_word] = ACTIONS(2511), + [sym_word] = ACTIONS(2511), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2511), + [anon_sym_LF] = ACTIONS(2511), + [anon_sym_AMP] = ACTIONS(2511), + }, + [804] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_in] = ACTIONS(867), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_LPAREN] = ACTIONS(867), + [anon_sym_RBRACE] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_RBRACK] = ACTIONS(867), + [anon_sym_RBRACK_RBRACK] = ACTIONS(867), + [anon_sym_COLON] = ACTIONS(867), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR] = ACTIONS(867), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_leading_word] = ACTIONS(867), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [805] = { + [anon_sym_RPAREN] = ACTIONS(2514), + [anon_sym_SEMI_SEMI] = ACTIONS(2514), + [anon_sym_PIPE] = ACTIONS(2514), + [anon_sym_PIPE_AMP] = ACTIONS(2514), + [anon_sym_AMP_AMP] = ACTIONS(2514), + [anon_sym_PIPE_PIPE] = ACTIONS(2514), + [anon_sym_BQUOTE] = ACTIONS(2514), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2514), + [anon_sym_LF] = ACTIONS(2514), + [anon_sym_AMP] = ACTIONS(2514), + }, + [806] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2518), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2518), + [anon_sym_LF] = ACTIONS(2518), + [anon_sym_AMP] = ACTIONS(2518), + }, + [807] = { + [anon_sym_in] = ACTIONS(2520), + [sym_comment] = ACTIONS(115), + }, + [808] = { + [sym__heredoc_middle] = ACTIONS(2522), + [sym__heredoc_end] = ACTIONS(2522), + [sym_file_descriptor] = ACTIONS(2522), + [anon_sym_in] = ACTIONS(2525), + [anon_sym_RPAREN] = ACTIONS(2525), + [anon_sym_SEMI_SEMI] = ACTIONS(2525), + [anon_sym_LPAREN] = ACTIONS(2525), + [anon_sym_RBRACE] = ACTIONS(2525), + [anon_sym_PIPE] = ACTIONS(2525), + [anon_sym_PIPE_AMP] = ACTIONS(2525), + [anon_sym_AMP_AMP] = ACTIONS(2525), + [anon_sym_PIPE_PIPE] = ACTIONS(2525), + [anon_sym_RBRACK] = ACTIONS(2525), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2525), + [anon_sym_COLON] = ACTIONS(2525), + [anon_sym_LT] = ACTIONS(2525), + [anon_sym_GT] = ACTIONS(2525), + [anon_sym_GT_GT] = ACTIONS(2525), + [anon_sym_AMP_GT] = ACTIONS(2525), + [anon_sym_AMP_GT_GT] = ACTIONS(2525), + [anon_sym_LT_AMP] = ACTIONS(2525), + [anon_sym_GT_AMP] = ACTIONS(2525), + [anon_sym_LT_LT] = ACTIONS(2525), + [anon_sym_LT_LT_DASH] = ACTIONS(2525), + [anon_sym_DQUOTE] = ACTIONS(2525), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2525), + [sym_raw_string] = ACTIONS(2525), + [anon_sym_DOLLAR] = ACTIONS(2525), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2525), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2525), + [anon_sym_BQUOTE] = ACTIONS(2525), + [sym_leading_word] = ACTIONS(2525), + [sym_word] = ACTIONS(2525), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2525), + [anon_sym_LF] = ACTIONS(2525), + [anon_sym_AMP] = ACTIONS(2525), + }, + [809] = { + [sym__heredoc_middle] = ACTIONS(2528), + [sym__heredoc_end] = ACTIONS(2528), + [sym_file_descriptor] = ACTIONS(2528), + [anon_sym_in] = ACTIONS(2531), + [anon_sym_RPAREN] = ACTIONS(2531), + [anon_sym_SEMI_SEMI] = ACTIONS(2531), + [anon_sym_LPAREN] = ACTIONS(2531), + [anon_sym_RBRACE] = ACTIONS(2531), + [anon_sym_PIPE] = ACTIONS(2531), + [anon_sym_PIPE_AMP] = ACTIONS(2531), + [anon_sym_AMP_AMP] = ACTIONS(2531), + [anon_sym_PIPE_PIPE] = ACTIONS(2531), + [anon_sym_RBRACK] = ACTIONS(2531), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2531), + [anon_sym_COLON] = ACTIONS(2531), + [anon_sym_LT] = ACTIONS(2531), + [anon_sym_GT] = ACTIONS(2531), + [anon_sym_GT_GT] = ACTIONS(2531), + [anon_sym_AMP_GT] = ACTIONS(2531), + [anon_sym_AMP_GT_GT] = ACTIONS(2531), + [anon_sym_LT_AMP] = ACTIONS(2531), + [anon_sym_GT_AMP] = ACTIONS(2531), + [anon_sym_LT_LT] = ACTIONS(2531), + [anon_sym_LT_LT_DASH] = ACTIONS(2531), + [anon_sym_DQUOTE] = ACTIONS(2531), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2531), + [sym_raw_string] = ACTIONS(2531), + [anon_sym_DOLLAR] = ACTIONS(2531), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2531), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2531), + [anon_sym_BQUOTE] = ACTIONS(2531), + [sym_leading_word] = ACTIONS(2531), + [sym_word] = ACTIONS(2531), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2531), + [anon_sym_LF] = ACTIONS(2531), + [anon_sym_AMP] = ACTIONS(2531), + }, + [810] = { + [sym_string] = STATE(940), + [sym_array] = STATE(940), + [sym_simple_expansion] = STATE(940), + [sym_expansion] = STATE(940), + [sym_command_substitution] = STATE(940), + [sym_process_substitution] = STATE(940), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2534), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2536), + [sym_comment] = ACTIONS(115), + }, + [811] = { + [anon_sym_RPAREN] = ACTIONS(1225), + [anon_sym_SEMI_SEMI] = ACTIONS(1225), + [anon_sym_PIPE] = ACTIONS(1225), + [anon_sym_PIPE_AMP] = ACTIONS(1225), + [anon_sym_AMP_AMP] = ACTIONS(1225), + [anon_sym_PIPE_PIPE] = ACTIONS(1225), + [anon_sym_BQUOTE] = ACTIONS(1225), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1225), + [anon_sym_LF] = ACTIONS(1225), + [anon_sym_AMP] = ACTIONS(1225), + }, + [812] = { + [anon_sym_RPAREN] = ACTIONS(1231), + [anon_sym_SEMI_SEMI] = ACTIONS(1231), + [anon_sym_PIPE] = ACTIONS(1231), + [anon_sym_PIPE_AMP] = ACTIONS(1231), + [anon_sym_AMP_AMP] = ACTIONS(1231), + [anon_sym_PIPE_PIPE] = ACTIONS(1231), + [anon_sym_BQUOTE] = ACTIONS(1231), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1231), + [anon_sym_LF] = ACTIONS(1231), + [anon_sym_AMP] = ACTIONS(1231), + }, + [813] = { + [anon_sym_RPAREN] = ACTIONS(613), + [anon_sym_SEMI_SEMI] = ACTIONS(613), + [anon_sym_PIPE] = ACTIONS(613), + [anon_sym_PIPE_AMP] = ACTIONS(613), + [anon_sym_AMP_AMP] = ACTIONS(613), + [anon_sym_PIPE_PIPE] = ACTIONS(613), + [anon_sym_BQUOTE] = ACTIONS(613), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(613), + [anon_sym_LF] = ACTIONS(613), + [anon_sym_AMP] = ACTIONS(613), + }, + [814] = { + [anon_sym_RPAREN] = ACTIONS(1565), + [anon_sym_SEMI_SEMI] = ACTIONS(1565), + [anon_sym_PIPE] = ACTIONS(1565), + [anon_sym_PIPE_AMP] = ACTIONS(1565), + [anon_sym_AMP_AMP] = ACTIONS(1565), + [anon_sym_PIPE_PIPE] = ACTIONS(1565), + [anon_sym_BQUOTE] = ACTIONS(1565), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1565), + [anon_sym_LF] = ACTIONS(1565), + [anon_sym_AMP] = ACTIONS(1565), + }, + [815] = { + [anon_sym_fi] = ACTIONS(2538), + [sym_comment] = ACTIONS(115), + }, + [816] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(942), + [anon_sym_fi] = ACTIONS(2538), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), + [sym_comment] = ACTIONS(115), + }, + [817] = { + [anon_sym_RPAREN] = ACTIONS(2540), + [anon_sym_SEMI_SEMI] = ACTIONS(2540), + [anon_sym_PIPE] = ACTIONS(2540), + [anon_sym_PIPE_AMP] = ACTIONS(2540), + [anon_sym_AMP_AMP] = ACTIONS(2540), + [anon_sym_PIPE_PIPE] = ACTIONS(2540), + [anon_sym_BQUOTE] = ACTIONS(2540), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2540), + [anon_sym_LF] = ACTIONS(2540), + [anon_sym_AMP] = ACTIONS(2540), + }, + [818] = { + [anon_sym_fi] = ACTIONS(2543), + [sym_comment] = ACTIONS(115), + }, + [819] = { + [anon_sym_RPAREN] = ACTIONS(2545), + [anon_sym_SEMI_SEMI] = ACTIONS(2545), + [anon_sym_PIPE] = ACTIONS(2545), + [anon_sym_PIPE_AMP] = ACTIONS(2545), + [anon_sym_AMP_AMP] = ACTIONS(2545), + [anon_sym_PIPE_PIPE] = ACTIONS(2545), + [anon_sym_BQUOTE] = ACTIONS(2545), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2545), + [anon_sym_LF] = ACTIONS(2545), + [anon_sym_AMP] = ACTIONS(2545), + }, + [820] = { + [aux_sym_array_repeat1] = STATE(945), + [anon_sym_RPAREN] = ACTIONS(2548), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [821] = { + [sym_string] = STATE(897), + [sym_array] = STATE(897), + [sym_simple_expansion] = STATE(897), + [sym_expansion] = STATE(897), + [sym_command_substitution] = STATE(897), + [sym_process_substitution] = STATE(897), + [anon_sym_LPAREN] = ACTIONS(2550), + [anon_sym_LT] = ACTIONS(2425), + [anon_sym_GT] = ACTIONS(2425), + [anon_sym_DQUOTE] = ACTIONS(2427), + [sym_raw_string] = ACTIONS(2429), + [anon_sym_DOLLAR] = ACTIONS(2431), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2433), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2435), + [anon_sym_BQUOTE] = ACTIONS(2437), + [sym_word] = ACTIONS(2439), + [sym_comment] = ACTIONS(115), + }, + [822] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(948), + [anon_sym_DQUOTE] = ACTIONS(2552), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [823] = { + [sym_file_descriptor] = ACTIONS(651), + [anon_sym_RPAREN] = ACTIONS(655), + [anon_sym_SEMI_SEMI] = ACTIONS(655), + [anon_sym_LPAREN] = ACTIONS(655), + [anon_sym_PIPE] = ACTIONS(655), + [anon_sym_PIPE_AMP] = ACTIONS(655), + [anon_sym_AMP_AMP] = ACTIONS(655), + [anon_sym_PIPE_PIPE] = ACTIONS(655), + [anon_sym_RBRACK] = ACTIONS(655), + [anon_sym_RBRACK_RBRACK] = ACTIONS(655), + [anon_sym_LT] = ACTIONS(655), + [anon_sym_GT] = ACTIONS(655), + [anon_sym_GT_GT] = ACTIONS(655), + [anon_sym_AMP_GT] = ACTIONS(655), + [anon_sym_AMP_GT_GT] = ACTIONS(655), + [anon_sym_LT_AMP] = ACTIONS(655), + [anon_sym_GT_AMP] = ACTIONS(655), + [anon_sym_LT_LT] = ACTIONS(655), + [anon_sym_LT_LT_DASH] = ACTIONS(655), + [anon_sym_DQUOTE] = ACTIONS(655), + [sym_raw_string] = ACTIONS(655), + [anon_sym_DOLLAR] = ACTIONS(655), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(655), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(655), + [anon_sym_BQUOTE] = ACTIONS(655), + [sym_word] = ACTIONS(655), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(655), + [anon_sym_LF] = ACTIONS(655), + [anon_sym_AMP] = ACTIONS(655), + }, + [824] = { + [sym_special_variable_name] = STATE(951), + [anon_sym_DOLLAR] = ACTIONS(2554), + [anon_sym_POUND] = ACTIONS(2556), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2558), + [anon_sym_STAR] = ACTIONS(2554), + [anon_sym_AT] = ACTIONS(2554), + [anon_sym_QMARK] = ACTIONS(2554), + [anon_sym_DASH] = ACTIONS(2554), + [anon_sym_BANG] = ACTIONS(2554), + [anon_sym_0] = ACTIONS(2556), + [anon_sym__] = ACTIONS(2556), + }, + [825] = { + [sym_special_variable_name] = STATE(954), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(2560), + [sym_leading_word] = ACTIONS(2562), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [826] = { + [sym_for_statement] = STATE(955), + [sym_while_statement] = STATE(955), + [sym_if_statement] = STATE(955), + [sym_case_statement] = STATE(955), + [sym_function_definition] = STATE(955), + [sym_subshell] = STATE(955), + [sym_pipeline] = STATE(955), + [sym_list] = STATE(955), + [sym_bracket_command] = STATE(955), + [sym_command] = STATE(955), + [sym_environment_variable_assignment] = STATE(956), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [827] = { + [sym_for_statement] = STATE(957), + [sym_while_statement] = STATE(957), + [sym_if_statement] = STATE(957), + [sym_case_statement] = STATE(957), + [sym_function_definition] = STATE(957), + [sym_subshell] = STATE(957), + [sym_pipeline] = STATE(957), + [sym_list] = STATE(957), + [sym_bracket_command] = STATE(957), + [sym_command] = STATE(957), + [sym_environment_variable_assignment] = STATE(958), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [828] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2564), + [anon_sym_SEMI_SEMI] = ACTIONS(2564), + [anon_sym_PIPE] = ACTIONS(2564), + [anon_sym_PIPE_AMP] = ACTIONS(2564), + [anon_sym_AMP_AMP] = ACTIONS(2564), + [anon_sym_PIPE_PIPE] = ACTIONS(2564), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(2564), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2564), + [anon_sym_LF] = ACTIONS(2564), + [anon_sym_AMP] = ACTIONS(2564), + }, + [829] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [aux_sym_command_repeat2] = STATE(960), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(395), + [anon_sym_SEMI_SEMI] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2569), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(395), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(395), + [anon_sym_LF] = ACTIONS(395), + [anon_sym_AMP] = ACTIONS(395), + }, + [830] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [aux_sym_command_repeat2] = STATE(962), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(543), + [anon_sym_PIPE] = ACTIONS(543), + [anon_sym_PIPE_AMP] = ACTIONS(543), + [anon_sym_AMP_AMP] = ACTIONS(543), + [anon_sym_PIPE_PIPE] = ACTIONS(543), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2571), + [anon_sym_EQ] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(543), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(543), + [anon_sym_LF] = ACTIONS(543), + [anon_sym_AMP] = ACTIONS(543), + }, + [831] = { + [sym_file_descriptor] = ACTIONS(715), + [anon_sym_RPAREN] = ACTIONS(717), + [anon_sym_SEMI_SEMI] = ACTIONS(717), + [anon_sym_PIPE] = ACTIONS(717), + [anon_sym_PIPE_AMP] = ACTIONS(717), + [anon_sym_AMP_AMP] = ACTIONS(717), + [anon_sym_PIPE_PIPE] = ACTIONS(717), + [anon_sym_LT] = ACTIONS(717), + [anon_sym_GT] = ACTIONS(717), + [anon_sym_GT_GT] = ACTIONS(717), + [anon_sym_AMP_GT] = ACTIONS(717), + [anon_sym_AMP_GT_GT] = ACTIONS(717), + [anon_sym_LT_AMP] = ACTIONS(717), + [anon_sym_GT_AMP] = ACTIONS(717), + [anon_sym_LT_LT] = ACTIONS(717), + [anon_sym_LT_LT_DASH] = ACTIONS(717), + [anon_sym_BQUOTE] = ACTIONS(717), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(717), + [anon_sym_LF] = ACTIONS(717), + [anon_sym_AMP] = ACTIONS(717), + }, + [832] = { + [sym_file_descriptor] = ACTIONS(1325), + [anon_sym_RPAREN] = ACTIONS(1327), + [anon_sym_SEMI_SEMI] = ACTIONS(1327), + [anon_sym_PIPE] = ACTIONS(1327), + [anon_sym_PIPE_AMP] = ACTIONS(1327), + [anon_sym_AMP_AMP] = ACTIONS(1327), + [anon_sym_PIPE_PIPE] = ACTIONS(1327), + [anon_sym_LT] = ACTIONS(1327), + [anon_sym_GT] = ACTIONS(1327), + [anon_sym_GT_GT] = ACTIONS(1327), + [anon_sym_AMP_GT] = ACTIONS(1327), + [anon_sym_AMP_GT_GT] = ACTIONS(1327), + [anon_sym_LT_AMP] = ACTIONS(1327), + [anon_sym_GT_AMP] = ACTIONS(1327), + [anon_sym_LT_LT] = ACTIONS(1327), + [anon_sym_LT_LT_DASH] = ACTIONS(1327), + [anon_sym_BQUOTE] = ACTIONS(1327), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1327), + [anon_sym_LF] = ACTIONS(1327), + [anon_sym_AMP] = ACTIONS(1327), + }, + [833] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_in] = ACTIONS(757), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_LPAREN] = ACTIONS(757), + [anon_sym_RBRACE] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_RBRACK] = ACTIONS(757), + [anon_sym_RBRACK_RBRACK] = ACTIONS(757), + [anon_sym_COLON] = ACTIONS(757), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR] = ACTIONS(757), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_leading_word] = ACTIONS(757), + [sym_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [834] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_in] = ACTIONS(929), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_LPAREN] = ACTIONS(929), + [anon_sym_RBRACE] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_RBRACK] = ACTIONS(929), + [anon_sym_RBRACK_RBRACK] = ACTIONS(929), + [anon_sym_COLON] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR] = ACTIONS(929), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_leading_word] = ACTIONS(929), + [sym_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), + }, + [835] = { + [sym__terminated_statement] = STATE(723), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -27130,39 +28224,39 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [783] = { - [anon_sym_RPAREN] = ACTIONS(1173), - [anon_sym_SEMI_SEMI] = ACTIONS(1173), - [anon_sym_PIPE] = ACTIONS(1173), - [anon_sym_PIPE_AMP] = ACTIONS(1173), - [anon_sym_AMP_AMP] = ACTIONS(1173), - [anon_sym_PIPE_PIPE] = ACTIONS(1173), - [anon_sym_BQUOTE] = ACTIONS(1173), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1173), - [anon_sym_LF] = ACTIONS(1173), - [anon_sym_AMP] = ACTIONS(1173), + [836] = { + [anon_sym_RPAREN] = ACTIONS(1223), + [anon_sym_SEMI_SEMI] = ACTIONS(1223), + [anon_sym_PIPE] = ACTIONS(1223), + [anon_sym_PIPE_AMP] = ACTIONS(1223), + [anon_sym_AMP_AMP] = ACTIONS(1223), + [anon_sym_PIPE_PIPE] = ACTIONS(1223), + [anon_sym_BQUOTE] = ACTIONS(1223), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1223), + [anon_sym_LF] = ACTIONS(1223), + [anon_sym_AMP] = ACTIONS(1223), }, - [784] = { - [anon_sym_RPAREN] = ACTIONS(553), - [anon_sym_SEMI_SEMI] = ACTIONS(553), - [anon_sym_PIPE] = ACTIONS(553), - [anon_sym_PIPE_AMP] = ACTIONS(553), - [anon_sym_AMP_AMP] = ACTIONS(553), - [anon_sym_PIPE_PIPE] = ACTIONS(553), - [anon_sym_BQUOTE] = ACTIONS(553), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(553), - [anon_sym_LF] = ACTIONS(553), - [anon_sym_AMP] = ACTIONS(553), + [837] = { + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), }, - [785] = { + [838] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(678), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(729), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -27174,16 +28268,16 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(905), - [aux_sym_if_statement_repeat1] = STATE(680), + [aux_sym_program_repeat1] = STATE(963), + [aux_sym_if_statement_repeat1] = STATE(731), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2453), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), + [anon_sym_fi] = ACTIONS(2573), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -27204,48 +28298,48 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [786] = { - [anon_sym_RPAREN] = ACTIONS(2455), + [839] = { + [anon_sym_RPAREN] = ACTIONS(2575), [sym_comment] = ACTIONS(115), }, - [787] = { - [anon_sym_in] = ACTIONS(2457), + [840] = { + [anon_sym_in] = ACTIONS(2577), [sym_comment] = ACTIONS(115), }, - [788] = { - [sym_do_group] = STATE(909), - [anon_sym_do] = ACTIONS(2459), + [841] = { + [sym_do_group] = STATE(967), + [anon_sym_do] = ACTIONS(2579), [sym_comment] = ACTIONS(115), }, - [789] = { - [anon_sym_then] = ACTIONS(2461), + [842] = { + [anon_sym_then] = ACTIONS(2581), [sym_comment] = ACTIONS(115), }, - [790] = { - [anon_sym_in] = ACTIONS(2463), - [anon_sym_SEMI_SEMI] = ACTIONS(2465), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2465), - [anon_sym_LF] = ACTIONS(2465), - [anon_sym_AMP] = ACTIONS(2465), + [843] = { + [anon_sym_in] = ACTIONS(2583), + [anon_sym_SEMI_SEMI] = ACTIONS(2585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2585), + [anon_sym_LF] = ACTIONS(2585), + [anon_sym_AMP] = ACTIONS(2585), }, - [791] = { - [anon_sym_LPAREN] = ACTIONS(2467), + [844] = { + [anon_sym_LPAREN] = ACTIONS(2587), [sym_comment] = ACTIONS(115), }, - [792] = { - [anon_sym_RPAREN] = ACTIONS(313), - [anon_sym_SEMI_SEMI] = ACTIONS(313), - [anon_sym_PIPE] = ACTIONS(313), - [anon_sym_PIPE_AMP] = ACTIONS(313), - [anon_sym_AMP_AMP] = ACTIONS(313), - [anon_sym_PIPE_PIPE] = ACTIONS(313), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(313), - [anon_sym_LF] = ACTIONS(313), - [anon_sym_AMP] = ACTIONS(313), + [845] = { + [anon_sym_RPAREN] = ACTIONS(315), + [anon_sym_SEMI_SEMI] = ACTIONS(315), + [anon_sym_PIPE] = ACTIONS(315), + [anon_sym_PIPE_AMP] = ACTIONS(315), + [anon_sym_AMP_AMP] = ACTIONS(315), + [anon_sym_PIPE_PIPE] = ACTIONS(315), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(315), + [anon_sym_LF] = ACTIONS(315), + [anon_sym_AMP] = ACTIONS(315), }, - [793] = { + [846] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -27267,7 +28361,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2469), + [anon_sym_RPAREN] = ACTIONS(2589), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -27287,1592 +28381,411 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [794] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK] = ACTIONS(2471), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), - [sym_comment] = ACTIONS(115), - }, - [795] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2471), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), - [sym_comment] = ACTIONS(115), - }, - [796] = { - [anon_sym_LT] = ACTIONS(2473), - [anon_sym_GT] = ACTIONS(2473), - [anon_sym_GT_GT] = ACTIONS(2475), - [anon_sym_AMP_GT] = ACTIONS(2473), - [anon_sym_AMP_GT_GT] = ACTIONS(2475), - [anon_sym_LT_AMP] = ACTIONS(2475), - [anon_sym_GT_AMP] = ACTIONS(2475), - [sym_comment] = ACTIONS(115), - }, - [797] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(918), - [aux_sym_command_repeat2] = STATE(919), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(347), - [anon_sym_SEMI_SEMI] = ACTIONS(347), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(347), - [anon_sym_PIPE_AMP] = ACTIONS(347), - [anon_sym_AMP_AMP] = ACTIONS(347), - [anon_sym_PIPE_PIPE] = ACTIONS(347), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(347), - [anon_sym_LF] = ACTIONS(347), - [anon_sym_AMP] = ACTIONS(347), - }, - [798] = { - [sym_string] = STATE(923), - [sym_array] = STATE(923), - [sym_simple_expansion] = STATE(923), - [sym_expansion] = STATE(923), - [sym_command_substitution] = STATE(923), - [sym_process_substitution] = STATE(923), - [anon_sym_LPAREN] = ACTIONS(2481), - [anon_sym_LT] = ACTIONS(2483), - [anon_sym_GT] = ACTIONS(2483), - [anon_sym_DQUOTE] = ACTIONS(2485), - [sym_raw_string] = ACTIONS(2487), - [anon_sym_DOLLAR] = ACTIONS(2489), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2491), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2493), - [anon_sym_BQUOTE] = ACTIONS(2495), - [sym_word] = ACTIONS(2497), - [sym_comment] = ACTIONS(115), - }, - [799] = { - [sym_heredoc] = STATE(930), - [sym__simple_heredoc] = ACTIONS(2499), - [sym__heredoc_beginning] = ACTIONS(2501), - [sym_comment] = ACTIONS(115), - }, - [800] = { - [sym_file_descriptor] = ACTIONS(387), - [anon_sym_RPAREN] = ACTIONS(389), - [anon_sym_SEMI_SEMI] = ACTIONS(389), - [anon_sym_PIPE] = ACTIONS(389), - [anon_sym_PIPE_AMP] = ACTIONS(389), - [anon_sym_AMP_AMP] = ACTIONS(389), - [anon_sym_PIPE_PIPE] = ACTIONS(389), - [anon_sym_LT] = ACTIONS(389), - [anon_sym_GT] = ACTIONS(389), - [anon_sym_GT_GT] = ACTIONS(389), - [anon_sym_AMP_GT] = ACTIONS(389), - [anon_sym_AMP_GT_GT] = ACTIONS(389), - [anon_sym_LT_AMP] = ACTIONS(389), - [anon_sym_GT_AMP] = ACTIONS(389), - [anon_sym_LT_LT] = ACTIONS(389), - [anon_sym_LT_LT_DASH] = ACTIONS(389), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(389), - [anon_sym_LF] = ACTIONS(389), - [anon_sym_AMP] = ACTIONS(389), - }, - [801] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(391), - [anon_sym_SEMI_SEMI] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(391), - [anon_sym_LF] = ACTIONS(391), - [anon_sym_AMP] = ACTIONS(391), - }, - [802] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), - }, - [803] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2503), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [804] = { - [anon_sym_RPAREN] = ACTIONS(2505), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [805] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2505), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [806] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2505), - [sym_comment] = ACTIONS(115), - }, - [807] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2507), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [808] = { - [anon_sym_RPAREN] = ACTIONS(2510), - [sym_comment] = ACTIONS(115), - }, - [809] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(935), - [aux_sym_command_repeat2] = STATE(936), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(497), - [anon_sym_SEMI_SEMI] = ACTIONS(497), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(497), - [anon_sym_PIPE_AMP] = ACTIONS(497), - [anon_sym_AMP_AMP] = ACTIONS(497), - [anon_sym_PIPE_PIPE] = ACTIONS(497), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(497), - [anon_sym_LF] = ACTIONS(497), - [anon_sym_AMP] = ACTIONS(497), - }, - [810] = { - [sym_string] = STATE(644), - [sym_array] = STATE(644), - [sym_simple_expansion] = STATE(644), - [sym_expansion] = STATE(644), - [sym_command_substitution] = STATE(644), - [sym_process_substitution] = STATE(644), - [sym__empty_value] = ACTIONS(1770), - [anon_sym_LPAREN] = ACTIONS(2512), - [anon_sym_LT] = ACTIONS(2514), - [anon_sym_GT] = ACTIONS(2514), - [anon_sym_DQUOTE] = ACTIONS(2516), - [sym_raw_string] = ACTIONS(2518), - [anon_sym_DOLLAR] = ACTIONS(2520), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2522), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2524), - [anon_sym_BQUOTE] = ACTIONS(2526), - [sym_word] = ACTIONS(2528), - [sym_comment] = ACTIONS(115), - }, - [811] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [812] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_in] = ACTIONS(1187), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_LPAREN] = ACTIONS(1187), - [anon_sym_RBRACE] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_RBRACK] = ACTIONS(1187), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1187), - [anon_sym_COLON] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR] = ACTIONS(1187), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_leading_word] = ACTIONS(1187), - [sym_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), - }, - [813] = { - [sym_for_statement] = STATE(944), - [sym_while_statement] = STATE(944), - [sym_if_statement] = STATE(944), - [sym_case_statement] = STATE(944), - [sym_function_definition] = STATE(944), - [sym_subshell] = STATE(944), - [sym_pipeline] = STATE(944), - [sym_list] = STATE(944), - [sym_bracket_command] = STATE(944), - [sym_command] = STATE(944), - [sym_environment_variable_assignment] = STATE(945), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(692), - [sym_command_substitution] = STATE(692), - [aux_sym_command_repeat1] = STATE(700), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1666), - [anon_sym_while] = ACTIONS(1668), - [anon_sym_if] = ACTIONS(1670), - [anon_sym_case] = ACTIONS(1672), - [anon_sym_function] = ACTIONS(1676), - [anon_sym_LPAREN] = ACTIONS(1678), - [anon_sym_LBRACK] = ACTIONS(1680), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1682), - [anon_sym_COLON] = ACTIONS(2530), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1686), - [sym_raw_string] = ACTIONS(1684), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), - [anon_sym_BQUOTE] = ACTIONS(1690), - [sym_leading_word] = ACTIONS(1692), - [sym_comment] = ACTIONS(115), - }, - [814] = { - [sym_for_statement] = STATE(946), - [sym_while_statement] = STATE(946), - [sym_if_statement] = STATE(946), - [sym_case_statement] = STATE(946), - [sym_function_definition] = STATE(946), - [sym_subshell] = STATE(946), - [sym_pipeline] = STATE(946), - [sym_list] = STATE(946), - [sym_bracket_command] = STATE(946), - [sym_command] = STATE(946), - [sym_environment_variable_assignment] = STATE(947), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(692), - [sym_command_substitution] = STATE(692), - [aux_sym_command_repeat1] = STATE(700), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1666), - [anon_sym_while] = ACTIONS(1668), - [anon_sym_if] = ACTIONS(1670), - [anon_sym_case] = ACTIONS(1672), - [anon_sym_function] = ACTIONS(1676), - [anon_sym_LPAREN] = ACTIONS(1678), - [anon_sym_LBRACK] = ACTIONS(1680), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1682), - [anon_sym_COLON] = ACTIONS(2530), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1686), - [sym_raw_string] = ACTIONS(1684), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), - [anon_sym_BQUOTE] = ACTIONS(1690), - [sym_leading_word] = ACTIONS(1692), - [sym_comment] = ACTIONS(115), - }, - [815] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [aux_sym_command_repeat2] = STATE(919), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(391), - [anon_sym_SEMI_SEMI] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2532), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(391), - [anon_sym_LF] = ACTIONS(391), - [anon_sym_AMP] = ACTIONS(391), - }, - [816] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [aux_sym_command_repeat2] = STATE(950), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(535), - [anon_sym_SEMI_SEMI] = ACTIONS(535), - [anon_sym_PIPE] = ACTIONS(535), - [anon_sym_PIPE_AMP] = ACTIONS(535), - [anon_sym_AMP_AMP] = ACTIONS(535), - [anon_sym_PIPE_PIPE] = ACTIONS(535), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2534), - [anon_sym_EQ] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(535), - [anon_sym_LF] = ACTIONS(535), - [anon_sym_AMP] = ACTIONS(535), - }, - [817] = { - [anon_sym_RPAREN] = ACTIONS(313), - [anon_sym_SEMI_SEMI] = ACTIONS(313), - [anon_sym_PIPE] = ACTIONS(313), - [anon_sym_PIPE_AMP] = ACTIONS(313), - [anon_sym_AMP_AMP] = ACTIONS(313), - [anon_sym_PIPE_PIPE] = ACTIONS(313), - [anon_sym_BQUOTE] = ACTIONS(313), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(313), - [anon_sym_LF] = ACTIONS(313), - [anon_sym_AMP] = ACTIONS(313), - }, - [818] = { - [sym_string] = STATE(145), - [sym_array] = STATE(145), - [sym_simple_expansion] = STATE(145), - [sym_expansion] = STATE(145), - [sym_command_substitution] = STATE(145), - [sym_process_substitution] = STATE(145), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2292), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(341), - [sym_comment] = ACTIONS(115), - }, - [819] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(951), - [aux_sym_command_repeat2] = STATE(902), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(347), - [anon_sym_SEMI_SEMI] = ACTIONS(347), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(347), - [anon_sym_PIPE_AMP] = ACTIONS(347), - [anon_sym_AMP_AMP] = ACTIONS(347), - [anon_sym_PIPE_PIPE] = ACTIONS(347), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2536), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(347), - [anon_sym_LF] = ACTIONS(347), - [anon_sym_AMP] = ACTIONS(347), - }, - [820] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(391), - [anon_sym_SEMI_SEMI] = ACTIONS(391), - [anon_sym_PIPE] = ACTIONS(391), - [anon_sym_PIPE_AMP] = ACTIONS(391), - [anon_sym_AMP_AMP] = ACTIONS(391), - [anon_sym_PIPE_PIPE] = ACTIONS(391), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(391), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(391), - [anon_sym_LF] = ACTIONS(391), - [anon_sym_AMP] = ACTIONS(391), - }, - [821] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), - }, - [822] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2539), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [823] = { - [anon_sym_RPAREN] = ACTIONS(2541), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [824] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2541), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [825] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2541), - [sym_comment] = ACTIONS(115), - }, - [826] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2543), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [827] = { - [anon_sym_RPAREN] = ACTIONS(2546), - [sym_comment] = ACTIONS(115), - }, - [828] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(955), - [aux_sym_command_repeat2] = STATE(956), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(497), - [anon_sym_SEMI_SEMI] = ACTIONS(497), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(497), - [anon_sym_PIPE_AMP] = ACTIONS(497), - [anon_sym_AMP_AMP] = ACTIONS(497), - [anon_sym_PIPE_PIPE] = ACTIONS(497), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2548), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(497), - [anon_sym_LF] = ACTIONS(497), - [anon_sym_AMP] = ACTIONS(497), - }, - [829] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [830] = { - [sym_string] = STATE(957), - [sym_array] = STATE(957), - [sym_simple_expansion] = STATE(957), - [sym_expansion] = STATE(957), - [sym_command_substitution] = STATE(957), - [sym_process_substitution] = STATE(957), - [anon_sym_LPAREN] = ACTIONS(2337), - [anon_sym_LT] = ACTIONS(2321), - [anon_sym_GT] = ACTIONS(2321), - [anon_sym_DQUOTE] = ACTIONS(2323), - [sym_raw_string] = ACTIONS(2551), - [anon_sym_DOLLAR] = ACTIONS(2327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), - [anon_sym_BQUOTE] = ACTIONS(2333), - [sym_word] = ACTIONS(2553), - [sym_comment] = ACTIONS(115), - }, - [831] = { - [aux_sym_array_repeat1] = STATE(959), - [anon_sym_RPAREN] = ACTIONS(2555), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, - [832] = { - [sym_string] = STATE(844), - [sym_array] = STATE(844), - [sym_simple_expansion] = STATE(844), - [sym_expansion] = STATE(844), - [sym_command_substitution] = STATE(844), - [sym_process_substitution] = STATE(844), - [anon_sym_LPAREN] = ACTIONS(2557), - [anon_sym_LT] = ACTIONS(2321), - [anon_sym_GT] = ACTIONS(2321), - [anon_sym_DQUOTE] = ACTIONS(2323), - [sym_raw_string] = ACTIONS(2325), - [anon_sym_DOLLAR] = ACTIONS(2327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), - [anon_sym_BQUOTE] = ACTIONS(2333), - [sym_word] = ACTIONS(2335), - [sym_comment] = ACTIONS(115), - }, - [833] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(962), - [anon_sym_DQUOTE] = ACTIONS(2559), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [834] = { - [sym_file_descriptor] = ACTIONS(323), - [anon_sym_RPAREN] = ACTIONS(327), - [anon_sym_SEMI_SEMI] = ACTIONS(327), - [anon_sym_LPAREN] = ACTIONS(327), - [anon_sym_PIPE] = ACTIONS(327), - [anon_sym_PIPE_AMP] = ACTIONS(327), - [anon_sym_AMP_AMP] = ACTIONS(327), - [anon_sym_PIPE_PIPE] = ACTIONS(327), - [anon_sym_LT] = ACTIONS(327), - [anon_sym_GT] = ACTIONS(327), - [anon_sym_GT_GT] = ACTIONS(327), - [anon_sym_AMP_GT] = ACTIONS(327), - [anon_sym_AMP_GT_GT] = ACTIONS(327), - [anon_sym_LT_AMP] = ACTIONS(327), - [anon_sym_GT_AMP] = ACTIONS(327), - [anon_sym_LT_LT] = ACTIONS(327), - [anon_sym_LT_LT_DASH] = ACTIONS(327), - [anon_sym_DQUOTE] = ACTIONS(327), - [sym_raw_string] = ACTIONS(327), - [anon_sym_DOLLAR] = ACTIONS(327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(327), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(327), - [sym_word] = ACTIONS(327), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(327), - [anon_sym_LF] = ACTIONS(327), - [anon_sym_AMP] = ACTIONS(327), - }, - [835] = { - [sym_special_variable_name] = STATE(965), - [anon_sym_DOLLAR] = ACTIONS(2561), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2563), - [anon_sym_STAR] = ACTIONS(2561), - [anon_sym_AT] = ACTIONS(2561), - [anon_sym_POUND] = ACTIONS(2565), - [anon_sym_QMARK] = ACTIONS(2561), - [anon_sym_DASH] = ACTIONS(2561), - [anon_sym_BANG] = ACTIONS(2561), - [anon_sym_0] = ACTIONS(2565), - [anon_sym__] = ACTIONS(2565), - }, - [836] = { - [sym_special_variable_name] = STATE(967), - [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2567), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(307), - [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(307), - [anon_sym_DASH] = ACTIONS(307), - [anon_sym_BANG] = ACTIONS(307), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), - }, - [837] = { - [sym_for_statement] = STATE(968), - [sym_while_statement] = STATE(968), - [sym_if_statement] = STATE(968), - [sym_case_statement] = STATE(968), - [sym_function_definition] = STATE(968), - [sym_subshell] = STATE(968), - [sym_pipeline] = STATE(968), - [sym_list] = STATE(968), - [sym_bracket_command] = STATE(968), - [sym_command] = STATE(968), - [sym_environment_variable_assignment] = STATE(969), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [838] = { - [sym_for_statement] = STATE(970), - [sym_while_statement] = STATE(970), - [sym_if_statement] = STATE(970), - [sym_case_statement] = STATE(970), - [sym_function_definition] = STATE(970), - [sym_subshell] = STATE(970), - [sym_pipeline] = STATE(970), - [sym_list] = STATE(970), - [sym_bracket_command] = STATE(970), - [sym_command] = STATE(970), - [sym_environment_variable_assignment] = STATE(971), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), - [sym_comment] = ACTIONS(115), - }, - [839] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(973), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2569), - [anon_sym_SEMI_SEMI] = ACTIONS(2569), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(2569), - [anon_sym_PIPE_AMP] = ACTIONS(2569), - [anon_sym_AMP_AMP] = ACTIONS(2569), - [anon_sym_PIPE_PIPE] = ACTIONS(2569), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2574), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2569), - [anon_sym_LF] = ACTIONS(2569), - [anon_sym_AMP] = ACTIONS(2569), - }, - [840] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2578), - [anon_sym_SEMI_SEMI] = ACTIONS(2578), - [anon_sym_PIPE] = ACTIONS(2578), - [anon_sym_PIPE_AMP] = ACTIONS(2578), - [anon_sym_AMP_AMP] = ACTIONS(2578), - [anon_sym_PIPE_PIPE] = ACTIONS(2578), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(2578), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2578), - [anon_sym_LF] = ACTIONS(2578), - [anon_sym_AMP] = ACTIONS(2578), - }, - [841] = { - [sym_for_statement] = STATE(272), - [sym_while_statement] = STATE(272), - [sym_if_statement] = STATE(272), - [sym_case_statement] = STATE(272), - [sym_function_definition] = STATE(272), - [sym_subshell] = STATE(272), - [sym_pipeline] = STATE(272), - [sym_list] = STATE(272), - [sym_bracket_command] = STATE(272), - [sym_command] = STATE(272), - [sym_environment_variable_assignment] = STATE(273), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(975), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(2581), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(223), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), - [sym_comment] = ACTIONS(115), - }, - [842] = { - [anon_sym_LPAREN] = ACTIONS(2583), - [sym_comment] = ACTIONS(115), - }, - [843] = { - [sym_simple_expansion] = STATE(66), - [sym_expansion] = STATE(66), - [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(978), - [anon_sym_DQUOTE] = ACTIONS(2585), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [844] = { - [sym_file_descriptor] = ACTIONS(399), - [anon_sym_RPAREN] = ACTIONS(403), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_PIPE] = ACTIONS(403), - [anon_sym_PIPE_AMP] = ACTIONS(403), - [anon_sym_AMP_AMP] = ACTIONS(403), - [anon_sym_PIPE_PIPE] = ACTIONS(403), - [anon_sym_LT] = ACTIONS(403), - [anon_sym_GT] = ACTIONS(403), - [anon_sym_GT_GT] = ACTIONS(403), - [anon_sym_AMP_GT] = ACTIONS(403), - [anon_sym_AMP_GT_GT] = ACTIONS(403), - [anon_sym_LT_AMP] = ACTIONS(403), - [anon_sym_GT_AMP] = ACTIONS(403), - [anon_sym_LT_LT] = ACTIONS(403), - [anon_sym_LT_LT_DASH] = ACTIONS(403), - [anon_sym_BQUOTE] = ACTIONS(403), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), - }, - [845] = { - [sym_special_variable_name] = STATE(981), - [anon_sym_DOLLAR] = ACTIONS(2587), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2589), - [anon_sym_STAR] = ACTIONS(2587), - [anon_sym_AT] = ACTIONS(2587), - [anon_sym_POUND] = ACTIONS(2591), - [anon_sym_QMARK] = ACTIONS(2587), - [anon_sym_DASH] = ACTIONS(2587), - [anon_sym_BANG] = ACTIONS(2587), - [anon_sym_0] = ACTIONS(2591), - [anon_sym__] = ACTIONS(2591), - }, - [846] = { - [sym_special_variable_name] = STATE(983), - [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2593), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(307), - [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), - [anon_sym_QMARK] = ACTIONS(307), - [anon_sym_DASH] = ACTIONS(307), - [anon_sym_BANG] = ACTIONS(307), - [anon_sym_0] = ACTIONS(307), - [anon_sym__] = ACTIONS(307), - }, [847] = { - [sym_for_statement] = STATE(984), - [sym_while_statement] = STATE(984), - [sym_if_statement] = STATE(984), - [sym_case_statement] = STATE(984), - [sym_function_definition] = STATE(984), - [sym_subshell] = STATE(984), - [sym_pipeline] = STATE(984), - [sym_list] = STATE(984), - [sym_bracket_command] = STATE(984), - [sym_command] = STATE(984), - [sym_environment_variable_assignment] = STATE(985), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(2591), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(343), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(345), [sym_comment] = ACTIONS(115), }, [848] = { - [sym_for_statement] = STATE(986), - [sym_while_statement] = STATE(986), - [sym_if_statement] = STATE(986), - [sym_case_statement] = STATE(986), - [sym_function_definition] = STATE(986), - [sym_subshell] = STATE(986), - [sym_pipeline] = STATE(986), - [sym_list] = STATE(986), - [sym_bracket_command] = STATE(986), - [sym_command] = STATE(986), - [sym_environment_variable_assignment] = STATE(987), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), - [aux_sym_command_repeat1] = STATE(92), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(231), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(235), + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2591), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(343), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(345), [sym_comment] = ACTIONS(115), }, [849] = { - [aux_sym_array_repeat1] = STATE(975), - [anon_sym_RPAREN] = ACTIONS(2581), - [sym_word] = ACTIONS(291), + [anon_sym_LT] = ACTIONS(2593), + [anon_sym_GT] = ACTIONS(2593), + [anon_sym_GT_GT] = ACTIONS(2595), + [anon_sym_AMP_GT] = ACTIONS(2593), + [anon_sym_AMP_GT_GT] = ACTIONS(2595), + [anon_sym_LT_AMP] = ACTIONS(2595), + [anon_sym_GT_AMP] = ACTIONS(2595), [sym_comment] = ACTIONS(115), }, [850] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_RBRACE] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_COLON] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(976), + [aux_sym_command_repeat2] = STATE(977), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(351), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(351), + [anon_sym_PIPE_AMP] = ACTIONS(351), + [anon_sym_AMP_AMP] = ACTIONS(351), + [anon_sym_PIPE_PIPE] = ACTIONS(351), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(351), + [anon_sym_LF] = ACTIONS(351), + [anon_sym_AMP] = ACTIONS(351), }, [851] = { - [anon_sym_RPAREN] = ACTIONS(2595), - [sym_word] = ACTIONS(569), + [sym_string] = STATE(981), + [sym_array] = STATE(981), + [sym_simple_expansion] = STATE(981), + [sym_expansion] = STATE(981), + [sym_command_substitution] = STATE(981), + [sym_process_substitution] = STATE(981), + [anon_sym_LPAREN] = ACTIONS(2601), + [anon_sym_LT] = ACTIONS(2603), + [anon_sym_GT] = ACTIONS(2603), + [anon_sym_DQUOTE] = ACTIONS(2605), + [sym_raw_string] = ACTIONS(2607), + [anon_sym_DOLLAR] = ACTIONS(2609), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2611), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2613), + [anon_sym_BQUOTE] = ACTIONS(2615), + [sym_word] = ACTIONS(2617), [sym_comment] = ACTIONS(115), }, [852] = { - [sym_for_statement] = STATE(989), - [sym_while_statement] = STATE(989), - [sym_if_statement] = STATE(989), - [sym_case_statement] = STATE(989), - [sym_function_definition] = STATE(989), - [sym_subshell] = STATE(989), - [sym_pipeline] = STATE(989), - [sym_list] = STATE(989), - [sym_bracket_command] = STATE(989), - [sym_command] = STATE(989), - [sym_environment_variable_assignment] = STATE(990), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), + [sym_heredoc] = STATE(988), + [sym__simple_heredoc] = ACTIONS(2619), + [sym__heredoc_beginning] = ACTIONS(2621), [sym_comment] = ACTIONS(115), }, [853] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_RBRACE] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_COLON] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_leading_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [sym_file_descriptor] = ACTIONS(391), + [anon_sym_RPAREN] = ACTIONS(393), + [anon_sym_SEMI_SEMI] = ACTIONS(393), + [anon_sym_PIPE] = ACTIONS(393), + [anon_sym_PIPE_AMP] = ACTIONS(393), + [anon_sym_AMP_AMP] = ACTIONS(393), + [anon_sym_PIPE_PIPE] = ACTIONS(393), + [anon_sym_LT] = ACTIONS(393), + [anon_sym_GT] = ACTIONS(393), + [anon_sym_GT_GT] = ACTIONS(393), + [anon_sym_AMP_GT] = ACTIONS(393), + [anon_sym_AMP_GT_GT] = ACTIONS(393), + [anon_sym_LT_AMP] = ACTIONS(393), + [anon_sym_GT_AMP] = ACTIONS(393), + [anon_sym_LT_LT] = ACTIONS(393), + [anon_sym_LT_LT_DASH] = ACTIONS(393), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(393), + [anon_sym_LF] = ACTIONS(393), + [anon_sym_AMP] = ACTIONS(393), }, [854] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2597), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(395), + [anon_sym_SEMI_SEMI] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(395), + [anon_sym_LF] = ACTIONS(395), + [anon_sym_AMP] = ACTIONS(395), + }, + [855] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [856] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2623), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [855] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_RBRACE] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [856] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_RBRACE] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_COLON] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_leading_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), + [sym_comment] = ACTIONS(75), }, [857] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_RBRACE] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_COLON] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_leading_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), + [anon_sym_RPAREN] = ACTIONS(2625), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), }, [858] = { - [anon_sym_RBRACE] = ACTIONS(2599), - [anon_sym_COLON] = ACTIONS(2601), - [anon_sym_EQ] = ACTIONS(2603), - [anon_sym_COLON_QMARK] = ACTIONS(2603), - [anon_sym_COLON_DASH] = ACTIONS(2603), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2625), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [859] = { - [anon_sym_RBRACE] = ACTIONS(2605), - [anon_sym_COLON] = ACTIONS(2607), - [anon_sym_EQ] = ACTIONS(2609), - [anon_sym_COLON_QMARK] = ACTIONS(2609), - [anon_sym_COLON_DASH] = ACTIONS(2609), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2625), [sym_comment] = ACTIONS(115), }, [860] = { - [anon_sym_RPAREN] = ACTIONS(2611), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2627), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [861] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2611), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), + [anon_sym_RPAREN] = ACTIONS(2630), [sym_comment] = ACTIONS(115), }, [862] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2611), - [sym_comment] = ACTIONS(115), + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(993), + [aux_sym_command_repeat2] = STATE(994), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(505), + [anon_sym_SEMI_SEMI] = ACTIONS(505), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(505), + [anon_sym_PIPE_AMP] = ACTIONS(505), + [anon_sym_AMP_AMP] = ACTIONS(505), + [anon_sym_PIPE_PIPE] = ACTIONS(505), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(505), + [anon_sym_LF] = ACTIONS(505), + [anon_sym_AMP] = ACTIONS(505), }, [863] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2613), - [sym_leading_word] = ACTIONS(261), + [sym_string] = STATE(695), + [sym_array] = STATE(695), + [sym_simple_expansion] = STATE(695), + [sym_expansion] = STATE(695), + [sym_command_substitution] = STATE(695), + [sym_process_substitution] = STATE(695), + [sym__empty_value] = ACTIONS(1868), + [anon_sym_LPAREN] = ACTIONS(2632), + [anon_sym_LT] = ACTIONS(2634), + [anon_sym_GT] = ACTIONS(2634), + [anon_sym_DQUOTE] = ACTIONS(2636), + [sym_raw_string] = ACTIONS(2638), + [anon_sym_DOLLAR] = ACTIONS(2640), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2642), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2644), + [anon_sym_BQUOTE] = ACTIONS(2646), + [sym_word] = ACTIONS(2648), [sym_comment] = ACTIONS(115), }, [864] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_COLON] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(527), + [anon_sym_SEMI_SEMI] = ACTIONS(527), + [anon_sym_PIPE] = ACTIONS(527), + [anon_sym_PIPE_AMP] = ACTIONS(527), + [anon_sym_AMP_AMP] = ACTIONS(527), + [anon_sym_PIPE_PIPE] = ACTIONS(527), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(527), + [anon_sym_LF] = ACTIONS(527), + [anon_sym_AMP] = ACTIONS(527), }, [865] = { - [anon_sym_RPAREN] = ACTIONS(2616), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_in] = ACTIONS(1237), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_LPAREN] = ACTIONS(1237), + [anon_sym_RBRACE] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_RBRACK] = ACTIONS(1237), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1237), + [anon_sym_COLON] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR] = ACTIONS(1237), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_leading_word] = ACTIONS(1237), + [sym_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, [866] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2616), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [867] = { - [anon_sym_RPAREN] = ACTIONS(2618), - [sym_word] = ACTIONS(569), - [sym_comment] = ACTIONS(115), - }, - [868] = { - [sym_for_statement] = STATE(998), - [sym_while_statement] = STATE(998), - [sym_if_statement] = STATE(998), - [sym_case_statement] = STATE(998), - [sym_function_definition] = STATE(998), - [sym_subshell] = STATE(998), - [sym_pipeline] = STATE(998), - [sym_list] = STATE(998), - [sym_bracket_command] = STATE(998), - [sym_command] = STATE(998), - [sym_environment_variable_assignment] = STATE(999), + [sym_for_statement] = STATE(1002), + [sym_while_statement] = STATE(1002), + [sym_if_statement] = STATE(1002), + [sym_case_statement] = STATE(1002), + [sym_function_definition] = STATE(1002), + [sym_subshell] = STATE(1002), + [sym_pipeline] = STATE(1002), + [sym_list] = STATE(1002), + [sym_bracket_command] = STATE(1002), + [sym_command] = STATE(1002), + [sym_environment_variable_assignment] = STATE(1003), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), + [sym_string] = STATE(743), + [sym_command_substitution] = STATE(743), + [aux_sym_command_repeat1] = STATE(751), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), + [anon_sym_for] = ACTIONS(1758), + [anon_sym_while] = ACTIONS(1760), + [anon_sym_if] = ACTIONS(1762), + [anon_sym_case] = ACTIONS(1764), + [anon_sym_function] = ACTIONS(1768), + [anon_sym_LPAREN] = ACTIONS(1770), + [anon_sym_LBRACK] = ACTIONS(1772), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1774), + [anon_sym_COLON] = ACTIONS(2650), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -28880,378 +28793,650 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), + [anon_sym_DQUOTE] = ACTIONS(1778), + [sym_raw_string] = ACTIONS(1776), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1780), + [anon_sym_BQUOTE] = ACTIONS(1782), + [sym_leading_word] = ACTIONS(1784), [sym_comment] = ACTIONS(115), }, + [867] = { + [sym_for_statement] = STATE(1004), + [sym_while_statement] = STATE(1004), + [sym_if_statement] = STATE(1004), + [sym_case_statement] = STATE(1004), + [sym_function_definition] = STATE(1004), + [sym_subshell] = STATE(1004), + [sym_pipeline] = STATE(1004), + [sym_list] = STATE(1004), + [sym_bracket_command] = STATE(1004), + [sym_command] = STATE(1004), + [sym_environment_variable_assignment] = STATE(1005), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(743), + [sym_command_substitution] = STATE(743), + [aux_sym_command_repeat1] = STATE(751), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1758), + [anon_sym_while] = ACTIONS(1760), + [anon_sym_if] = ACTIONS(1762), + [anon_sym_case] = ACTIONS(1764), + [anon_sym_function] = ACTIONS(1768), + [anon_sym_LPAREN] = ACTIONS(1770), + [anon_sym_LBRACK] = ACTIONS(1772), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1774), + [anon_sym_COLON] = ACTIONS(2650), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1778), + [sym_raw_string] = ACTIONS(1776), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1780), + [anon_sym_BQUOTE] = ACTIONS(1782), + [sym_leading_word] = ACTIONS(1784), + [sym_comment] = ACTIONS(115), + }, + [868] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [aux_sym_command_repeat2] = STATE(977), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(395), + [anon_sym_SEMI_SEMI] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2652), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(395), + [anon_sym_LF] = ACTIONS(395), + [anon_sym_AMP] = ACTIONS(395), + }, [869] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_COLON] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_leading_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [aux_sym_command_repeat2] = STATE(1008), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(543), + [anon_sym_PIPE] = ACTIONS(543), + [anon_sym_PIPE_AMP] = ACTIONS(543), + [anon_sym_AMP_AMP] = ACTIONS(543), + [anon_sym_PIPE_PIPE] = ACTIONS(543), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2654), + [anon_sym_EQ] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(543), + [anon_sym_LF] = ACTIONS(543), + [anon_sym_AMP] = ACTIONS(543), }, [870] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2620), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_RPAREN] = ACTIONS(315), + [anon_sym_SEMI_SEMI] = ACTIONS(315), + [anon_sym_PIPE] = ACTIONS(315), + [anon_sym_PIPE_AMP] = ACTIONS(315), + [anon_sym_AMP_AMP] = ACTIONS(315), + [anon_sym_PIPE_PIPE] = ACTIONS(315), + [anon_sym_BQUOTE] = ACTIONS(315), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(315), + [anon_sym_LF] = ACTIONS(315), + [anon_sym_AMP] = ACTIONS(315), + }, + [871] = { + [sym_string] = STATE(147), + [sym_array] = STATE(147), + [sym_simple_expansion] = STATE(147), + [sym_expansion] = STATE(147), + [sym_command_substitution] = STATE(147), + [sym_process_substitution] = STATE(147), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2396), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(343), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(345), + [sym_comment] = ACTIONS(115), + }, + [872] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(1009), + [aux_sym_command_repeat2] = STATE(960), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(351), + [anon_sym_SEMI_SEMI] = ACTIONS(351), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(351), + [anon_sym_PIPE_AMP] = ACTIONS(351), + [anon_sym_AMP_AMP] = ACTIONS(351), + [anon_sym_PIPE_PIPE] = ACTIONS(351), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2656), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(351), + [anon_sym_LF] = ACTIONS(351), + [anon_sym_AMP] = ACTIONS(351), + }, + [873] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(395), + [anon_sym_SEMI_SEMI] = ACTIONS(395), + [anon_sym_PIPE] = ACTIONS(395), + [anon_sym_PIPE_AMP] = ACTIONS(395), + [anon_sym_AMP_AMP] = ACTIONS(395), + [anon_sym_PIPE_PIPE] = ACTIONS(395), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(395), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(395), + [anon_sym_LF] = ACTIONS(395), + [anon_sym_AMP] = ACTIONS(395), + }, + [874] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [875] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2659), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [871] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [872] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_COLON] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_leading_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [873] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_COLON] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_leading_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), - }, - [874] = { - [anon_sym_RBRACE] = ACTIONS(2622), - [anon_sym_COLON] = ACTIONS(2624), - [anon_sym_EQ] = ACTIONS(2626), - [anon_sym_COLON_QMARK] = ACTIONS(2626), - [anon_sym_COLON_DASH] = ACTIONS(2626), - [sym_comment] = ACTIONS(115), - }, - [875] = { - [anon_sym_RBRACE] = ACTIONS(2628), - [anon_sym_COLON] = ACTIONS(2630), - [anon_sym_EQ] = ACTIONS(2632), - [anon_sym_COLON_QMARK] = ACTIONS(2632), - [anon_sym_COLON_DASH] = ACTIONS(2632), - [sym_comment] = ACTIONS(115), + [sym_comment] = ACTIONS(75), }, [876] = { - [anon_sym_RPAREN] = ACTIONS(2634), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(2661), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, [877] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2634), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(2661), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [878] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2634), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2661), [sym_comment] = ACTIONS(115), }, [879] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2636), + [anon_sym_BQUOTE] = ACTIONS(2663), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [880] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(1007), - [anon_sym_esac] = ACTIONS(2639), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(2666), [sym_comment] = ACTIONS(115), }, [881] = { - [sym_file_descriptor] = ACTIONS(545), - [anon_sym_RPAREN] = ACTIONS(549), - [anon_sym_SEMI_SEMI] = ACTIONS(549), - [anon_sym_PIPE] = ACTIONS(549), - [anon_sym_PIPE_AMP] = ACTIONS(549), - [anon_sym_AMP_AMP] = ACTIONS(549), - [anon_sym_PIPE_PIPE] = ACTIONS(549), - [anon_sym_COLON] = ACTIONS(549), - [anon_sym_LT] = ACTIONS(549), - [anon_sym_GT] = ACTIONS(549), - [anon_sym_GT_GT] = ACTIONS(549), - [anon_sym_AMP_GT] = ACTIONS(549), - [anon_sym_AMP_GT_GT] = ACTIONS(549), - [anon_sym_LT_AMP] = ACTIONS(549), - [anon_sym_GT_AMP] = ACTIONS(549), - [anon_sym_LT_LT] = ACTIONS(549), - [anon_sym_LT_LT_DASH] = ACTIONS(549), - [anon_sym_DQUOTE] = ACTIONS(549), - [sym_raw_string] = ACTIONS(549), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(549), - [anon_sym_BQUOTE] = ACTIONS(549), - [sym_leading_word] = ACTIONS(549), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(549), - [anon_sym_LF] = ACTIONS(549), - [anon_sym_AMP] = ACTIONS(549), + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(1013), + [aux_sym_command_repeat2] = STATE(1014), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(505), + [anon_sym_SEMI_SEMI] = ACTIONS(505), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(505), + [anon_sym_PIPE_AMP] = ACTIONS(505), + [anon_sym_AMP_AMP] = ACTIONS(505), + [anon_sym_PIPE_PIPE] = ACTIONS(505), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2668), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(505), + [anon_sym_LF] = ACTIONS(505), + [anon_sym_AMP] = ACTIONS(505), }, [882] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(1009), - [anon_sym_esac] = ACTIONS(2641), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(527), + [anon_sym_SEMI_SEMI] = ACTIONS(527), + [anon_sym_PIPE] = ACTIONS(527), + [anon_sym_PIPE_AMP] = ACTIONS(527), + [anon_sym_AMP_AMP] = ACTIONS(527), + [anon_sym_PIPE_PIPE] = ACTIONS(527), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(527), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(527), + [anon_sym_LF] = ACTIONS(527), + [anon_sym_AMP] = ACTIONS(527), }, [883] = { - [anon_sym_RBRACE] = ACTIONS(2643), + [sym_string] = STATE(1015), + [sym_array] = STATE(1015), + [sym_simple_expansion] = STATE(1015), + [sym_expansion] = STATE(1015), + [sym_command_substitution] = STATE(1015), + [sym_process_substitution] = STATE(1015), + [anon_sym_LPAREN] = ACTIONS(2441), + [anon_sym_LT] = ACTIONS(2425), + [anon_sym_GT] = ACTIONS(2425), + [anon_sym_DQUOTE] = ACTIONS(2427), + [sym_raw_string] = ACTIONS(2671), + [anon_sym_DOLLAR] = ACTIONS(2431), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2433), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2435), + [anon_sym_BQUOTE] = ACTIONS(2437), + [sym_word] = ACTIONS(2673), [sym_comment] = ACTIONS(115), }, [884] = { - [anon_sym_RPAREN] = ACTIONS(1369), - [anon_sym_SEMI_SEMI] = ACTIONS(1369), - [anon_sym_PIPE] = ACTIONS(1369), - [anon_sym_PIPE_AMP] = ACTIONS(1369), - [anon_sym_AMP_AMP] = ACTIONS(1369), - [anon_sym_PIPE_PIPE] = ACTIONS(1369), - [anon_sym_BQUOTE] = ACTIONS(1369), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1369), - [anon_sym_LF] = ACTIONS(1369), - [anon_sym_AMP] = ACTIONS(1369), + [aux_sym_array_repeat1] = STATE(1017), + [anon_sym_RPAREN] = ACTIONS(2675), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), }, [885] = { - [anon_sym_fi] = ACTIONS(2645), + [sym_string] = STATE(897), + [sym_array] = STATE(897), + [sym_simple_expansion] = STATE(897), + [sym_expansion] = STATE(897), + [sym_command_substitution] = STATE(897), + [sym_process_substitution] = STATE(897), + [anon_sym_LPAREN] = ACTIONS(2677), + [anon_sym_LT] = ACTIONS(2425), + [anon_sym_GT] = ACTIONS(2425), + [anon_sym_DQUOTE] = ACTIONS(2427), + [sym_raw_string] = ACTIONS(2429), + [anon_sym_DOLLAR] = ACTIONS(2431), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2433), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2435), + [anon_sym_BQUOTE] = ACTIONS(2437), + [sym_word] = ACTIONS(2439), [sym_comment] = ACTIONS(115), }, [886] = { - [anon_sym_RPAREN] = ACTIONS(2647), - [anon_sym_SEMI_SEMI] = ACTIONS(2647), - [anon_sym_PIPE] = ACTIONS(2647), - [anon_sym_PIPE_AMP] = ACTIONS(2647), - [anon_sym_AMP_AMP] = ACTIONS(2647), - [anon_sym_PIPE_PIPE] = ACTIONS(2647), - [anon_sym_BQUOTE] = ACTIONS(2647), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2647), - [anon_sym_LF] = ACTIONS(2647), - [anon_sym_AMP] = ACTIONS(2647), + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(1020), + [anon_sym_DQUOTE] = ACTIONS(2679), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), }, [887] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_LPAREN] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_RBRACK] = ACTIONS(561), - [anon_sym_RBRACK_RBRACK] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR] = ACTIONS(561), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [sym_file_descriptor] = ACTIONS(325), + [anon_sym_RPAREN] = ACTIONS(329), + [anon_sym_SEMI_SEMI] = ACTIONS(329), + [anon_sym_LPAREN] = ACTIONS(329), + [anon_sym_PIPE] = ACTIONS(329), + [anon_sym_PIPE_AMP] = ACTIONS(329), + [anon_sym_AMP_AMP] = ACTIONS(329), + [anon_sym_PIPE_PIPE] = ACTIONS(329), + [anon_sym_LT] = ACTIONS(329), + [anon_sym_GT] = ACTIONS(329), + [anon_sym_GT_GT] = ACTIONS(329), + [anon_sym_AMP_GT] = ACTIONS(329), + [anon_sym_AMP_GT_GT] = ACTIONS(329), + [anon_sym_LT_AMP] = ACTIONS(329), + [anon_sym_GT_AMP] = ACTIONS(329), + [anon_sym_LT_LT] = ACTIONS(329), + [anon_sym_LT_LT_DASH] = ACTIONS(329), + [anon_sym_DQUOTE] = ACTIONS(329), + [sym_raw_string] = ACTIONS(329), + [anon_sym_DOLLAR] = ACTIONS(329), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(329), + [anon_sym_BQUOTE] = ACTIONS(329), + [sym_word] = ACTIONS(329), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(329), + [anon_sym_LF] = ACTIONS(329), + [anon_sym_AMP] = ACTIONS(329), }, [888] = { - [anon_sym_RPAREN] = ACTIONS(2650), - [sym_word] = ACTIONS(569), - [sym_comment] = ACTIONS(115), + [sym_special_variable_name] = STATE(1023), + [anon_sym_DOLLAR] = ACTIONS(2681), + [anon_sym_POUND] = ACTIONS(2683), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2685), + [anon_sym_STAR] = ACTIONS(2681), + [anon_sym_AT] = ACTIONS(2681), + [anon_sym_QMARK] = ACTIONS(2681), + [anon_sym_DASH] = ACTIONS(2681), + [anon_sym_BANG] = ACTIONS(2681), + [anon_sym_0] = ACTIONS(2683), + [anon_sym__] = ACTIONS(2683), }, [889] = { - [sym_for_statement] = STATE(1013), - [sym_while_statement] = STATE(1013), - [sym_if_statement] = STATE(1013), - [sym_case_statement] = STATE(1013), - [sym_function_definition] = STATE(1013), - [sym_subshell] = STATE(1013), - [sym_pipeline] = STATE(1013), - [sym_list] = STATE(1013), - [sym_bracket_command] = STATE(1013), - [sym_command] = STATE(1013), - [sym_environment_variable_assignment] = STATE(1014), + [sym_special_variable_name] = STATE(1026), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(2687), + [sym_leading_word] = ACTIONS(2689), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [890] = { + [sym_for_statement] = STATE(1027), + [sym_while_statement] = STATE(1027), + [sym_if_statement] = STATE(1027), + [sym_case_statement] = STATE(1027), + [sym_function_definition] = STATE(1027), + [sym_subshell] = STATE(1027), + [sym_pipeline] = STATE(1027), + [sym_list] = STATE(1027), + [sym_bracket_command] = STATE(1027), + [sym_command] = STATE(1027), + [sym_environment_variable_assignment] = STATE(1028), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(975), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(203), [anon_sym_while] = ACTIONS(205), [anon_sym_if] = ACTIONS(207), [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(2581), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [891] = { + [sym_for_statement] = STATE(1029), + [sym_while_statement] = STATE(1029), + [sym_if_statement] = STATE(1029), + [sym_case_statement] = STATE(1029), + [sym_function_definition] = STATE(1029), + [sym_subshell] = STATE(1029), + [sym_pipeline] = STATE(1029), + [sym_list] = STATE(1029), + [sym_bracket_command] = STATE(1029), + [sym_command] = STATE(1029), + [sym_environment_variable_assignment] = STATE(1030), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [892] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1032), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2691), + [anon_sym_SEMI_SEMI] = ACTIONS(2691), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(2691), + [anon_sym_PIPE_AMP] = ACTIONS(2691), + [anon_sym_AMP_AMP] = ACTIONS(2691), + [anon_sym_PIPE_PIPE] = ACTIONS(2691), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2696), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2691), + [anon_sym_LF] = ACTIONS(2691), + [anon_sym_AMP] = ACTIONS(2691), + }, + [893] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2700), + [anon_sym_SEMI_SEMI] = ACTIONS(2700), + [anon_sym_PIPE] = ACTIONS(2700), + [anon_sym_PIPE_AMP] = ACTIONS(2700), + [anon_sym_AMP_AMP] = ACTIONS(2700), + [anon_sym_PIPE_PIPE] = ACTIONS(2700), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(2700), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2700), + [anon_sym_LF] = ACTIONS(2700), + [anon_sym_AMP] = ACTIONS(2700), + }, + [894] = { + [sym_for_statement] = STATE(278), + [sym_while_statement] = STATE(278), + [sym_if_statement] = STATE(278), + [sym_case_statement] = STATE(278), + [sym_function_definition] = STATE(278), + [sym_subshell] = STATE(278), + [sym_pipeline] = STATE(278), + [sym_list] = STATE(278), + [sym_bracket_command] = STATE(278), + [sym_command] = STATE(278), + [sym_environment_variable_assignment] = STATE(279), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(1034), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2703), [anon_sym_function] = ACTIONS(211), [anon_sym_LPAREN] = ACTIONS(213), [anon_sym_LBRACK] = ACTIONS(215), @@ -29269,764 +29454,196 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), [anon_sym_BQUOTE] = ACTIONS(227), [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), + [sym_word] = ACTIONS(995), [sym_comment] = ACTIONS(115), }, - [890] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_LPAREN] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_RBRACK] = ACTIONS(415), - [anon_sym_RBRACK_RBRACK] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR] = ACTIONS(415), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), - }, - [891] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2652), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [892] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_LPAREN] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_RBRACK] = ACTIONS(577), - [anon_sym_RBRACK_RBRACK] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR] = ACTIONS(577), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [893] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_LPAREN] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_RBRACK] = ACTIONS(579), - [anon_sym_RBRACK_RBRACK] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR] = ACTIONS(579), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [894] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_LPAREN] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_RBRACK] = ACTIONS(581), - [anon_sym_RBRACK_RBRACK] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR] = ACTIONS(581), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), - }, [895] = { - [anon_sym_RBRACE] = ACTIONS(2654), - [anon_sym_COLON] = ACTIONS(2656), - [anon_sym_EQ] = ACTIONS(2658), - [anon_sym_COLON_QMARK] = ACTIONS(2658), - [anon_sym_COLON_DASH] = ACTIONS(2658), + [anon_sym_LPAREN] = ACTIONS(2705), [sym_comment] = ACTIONS(115), }, [896] = { - [anon_sym_RBRACE] = ACTIONS(2660), - [anon_sym_COLON] = ACTIONS(2662), - [anon_sym_EQ] = ACTIONS(2664), - [anon_sym_COLON_QMARK] = ACTIONS(2664), - [anon_sym_COLON_DASH] = ACTIONS(2664), - [sym_comment] = ACTIONS(115), - }, - [897] = { - [anon_sym_RPAREN] = ACTIONS(2666), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [898] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2666), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [899] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2666), - [sym_comment] = ACTIONS(115), - }, - [900] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2668), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [901] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(1021), - [aux_sym_command_repeat2] = STATE(1022), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(663), - [anon_sym_SEMI_SEMI] = ACTIONS(663), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(663), - [anon_sym_PIPE_AMP] = ACTIONS(663), - [anon_sym_AMP_AMP] = ACTIONS(663), - [anon_sym_PIPE_PIPE] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2671), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(663), - [anon_sym_LF] = ACTIONS(663), - [anon_sym_AMP] = ACTIONS(663), - }, - [902] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [903] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(1023), - [aux_sym_command_repeat2] = STATE(1024), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(885), - [anon_sym_SEMI_SEMI] = ACTIONS(885), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(885), - [anon_sym_PIPE_AMP] = ACTIONS(885), - [anon_sym_AMP_AMP] = ACTIONS(885), - [anon_sym_PIPE_PIPE] = ACTIONS(885), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2674), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(885), - [anon_sym_LF] = ACTIONS(885), - [anon_sym_AMP] = ACTIONS(885), - }, - [904] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(887), - [anon_sym_SEMI_SEMI] = ACTIONS(887), - [anon_sym_PIPE] = ACTIONS(887), - [anon_sym_PIPE_AMP] = ACTIONS(887), - [anon_sym_AMP_AMP] = ACTIONS(887), - [anon_sym_PIPE_PIPE] = ACTIONS(887), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(887), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(887), - [anon_sym_LF] = ACTIONS(887), - [anon_sym_AMP] = ACTIONS(887), - }, - [905] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(762), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(763), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2677), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [906] = { - [sym_compound_statement] = STATE(1025), - [anon_sym_LBRACE] = ACTIONS(2679), - [sym_comment] = ACTIONS(115), - }, - [907] = { - [sym__terminated_statement] = STATE(1026), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [908] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(1028), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(2681), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [909] = { - [anon_sym_RPAREN] = ACTIONS(553), - [anon_sym_SEMI_SEMI] = ACTIONS(553), - [anon_sym_PIPE] = ACTIONS(553), - [anon_sym_PIPE_AMP] = ACTIONS(553), - [anon_sym_AMP_AMP] = ACTIONS(553), - [anon_sym_PIPE_PIPE] = ACTIONS(553), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(553), - [anon_sym_LF] = ACTIONS(553), - [anon_sym_AMP] = ACTIONS(553), - }, - [910] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(1030), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(1031), - [aux_sym_if_statement_repeat1] = STATE(1032), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2683), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [911] = { - [anon_sym_SEMI_SEMI] = ACTIONS(2685), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2685), - [anon_sym_LF] = ACTIONS(2685), - [anon_sym_AMP] = ACTIONS(2685), - }, - [912] = { - [anon_sym_in] = ACTIONS(2687), - [sym_comment] = ACTIONS(115), - }, - [913] = { - [anon_sym_RPAREN] = ACTIONS(2689), - [sym_comment] = ACTIONS(115), - }, - [914] = { - [anon_sym_RPAREN] = ACTIONS(603), - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [anon_sym_PIPE] = ACTIONS(603), - [anon_sym_PIPE_AMP] = ACTIONS(603), - [anon_sym_AMP_AMP] = ACTIONS(603), - [anon_sym_PIPE_PIPE] = ACTIONS(603), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), - }, - [915] = { - [anon_sym_RPAREN] = ACTIONS(637), - [anon_sym_SEMI_SEMI] = ACTIONS(637), - [anon_sym_PIPE] = ACTIONS(637), - [anon_sym_PIPE_AMP] = ACTIONS(637), - [anon_sym_AMP_AMP] = ACTIONS(637), - [anon_sym_PIPE_PIPE] = ACTIONS(637), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(637), - [anon_sym_LF] = ACTIONS(637), - [anon_sym_AMP] = ACTIONS(637), - }, - [916] = { - [sym_string] = STATE(1036), - [sym_array] = STATE(1036), - [sym_simple_expansion] = STATE(1036), - [sym_expansion] = STATE(1036), - [sym_command_substitution] = STATE(1036), - [sym_process_substitution] = STATE(1036), - [anon_sym_LPAREN] = ACTIONS(2481), - [anon_sym_LT] = ACTIONS(2483), - [anon_sym_GT] = ACTIONS(2483), - [anon_sym_DQUOTE] = ACTIONS(2485), - [sym_raw_string] = ACTIONS(2691), - [anon_sym_DOLLAR] = ACTIONS(2489), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2491), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2493), - [anon_sym_BQUOTE] = ACTIONS(2495), - [sym_word] = ACTIONS(2693), - [sym_comment] = ACTIONS(115), - }, - [917] = { - [sym_string] = STATE(923), - [sym_array] = STATE(923), - [sym_simple_expansion] = STATE(923), - [sym_expansion] = STATE(923), - [sym_command_substitution] = STATE(923), - [sym_process_substitution] = STATE(923), - [anon_sym_LPAREN] = ACTIONS(2695), - [anon_sym_LT] = ACTIONS(2483), - [anon_sym_GT] = ACTIONS(2483), - [anon_sym_DQUOTE] = ACTIONS(2485), - [sym_raw_string] = ACTIONS(2487), - [anon_sym_DOLLAR] = ACTIONS(2489), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2491), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2493), - [anon_sym_BQUOTE] = ACTIONS(2495), - [sym_word] = ACTIONS(2497), - [sym_comment] = ACTIONS(115), - }, - [918] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1038), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(663), - [anon_sym_SEMI_SEMI] = ACTIONS(663), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(663), - [anon_sym_PIPE_AMP] = ACTIONS(663), - [anon_sym_AMP_AMP] = ACTIONS(663), - [anon_sym_PIPE_PIPE] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(663), - [anon_sym_LF] = ACTIONS(663), - [anon_sym_AMP] = ACTIONS(663), - }, - [919] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [920] = { - [aux_sym_array_repeat1] = STATE(1040), - [anon_sym_RPAREN] = ACTIONS(2697), - [sym_word] = ACTIONS(291), - [sym_comment] = ACTIONS(115), - }, - [921] = { - [anon_sym_LPAREN] = ACTIONS(2699), - [sym_comment] = ACTIONS(115), - }, - [922] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(1043), - [anon_sym_DQUOTE] = ACTIONS(2701), + [aux_sym_string_repeat1] = STATE(1037), + [anon_sym_DQUOTE] = ACTIONS(2707), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [923] = { - [sym_file_descriptor] = ACTIONS(399), - [anon_sym_RPAREN] = ACTIONS(403), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_PIPE] = ACTIONS(403), - [anon_sym_PIPE_AMP] = ACTIONS(403), - [anon_sym_AMP_AMP] = ACTIONS(403), - [anon_sym_PIPE_PIPE] = ACTIONS(403), - [anon_sym_LT] = ACTIONS(403), - [anon_sym_GT] = ACTIONS(403), - [anon_sym_GT_GT] = ACTIONS(403), - [anon_sym_AMP_GT] = ACTIONS(403), - [anon_sym_AMP_GT_GT] = ACTIONS(403), - [anon_sym_LT_AMP] = ACTIONS(403), - [anon_sym_GT_AMP] = ACTIONS(403), - [anon_sym_LT_LT] = ACTIONS(403), - [anon_sym_LT_LT_DASH] = ACTIONS(403), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), + [897] = { + [sym_file_descriptor] = ACTIONS(403), + [anon_sym_RPAREN] = ACTIONS(407), + [anon_sym_SEMI_SEMI] = ACTIONS(407), + [anon_sym_PIPE] = ACTIONS(407), + [anon_sym_PIPE_AMP] = ACTIONS(407), + [anon_sym_AMP_AMP] = ACTIONS(407), + [anon_sym_PIPE_PIPE] = ACTIONS(407), + [anon_sym_LT] = ACTIONS(407), + [anon_sym_GT] = ACTIONS(407), + [anon_sym_GT_GT] = ACTIONS(407), + [anon_sym_AMP_GT] = ACTIONS(407), + [anon_sym_AMP_GT_GT] = ACTIONS(407), + [anon_sym_LT_AMP] = ACTIONS(407), + [anon_sym_GT_AMP] = ACTIONS(407), + [anon_sym_LT_LT] = ACTIONS(407), + [anon_sym_LT_LT_DASH] = ACTIONS(407), + [anon_sym_BQUOTE] = ACTIONS(407), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(407), + [anon_sym_LF] = ACTIONS(407), + [anon_sym_AMP] = ACTIONS(407), }, - [924] = { - [sym_special_variable_name] = STATE(1046), - [anon_sym_DOLLAR] = ACTIONS(2703), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2705), - [anon_sym_STAR] = ACTIONS(2703), - [anon_sym_AT] = ACTIONS(2703), - [anon_sym_POUND] = ACTIONS(2707), - [anon_sym_QMARK] = ACTIONS(2703), - [anon_sym_DASH] = ACTIONS(2703), - [anon_sym_BANG] = ACTIONS(2703), - [anon_sym_0] = ACTIONS(2707), - [anon_sym__] = ACTIONS(2707), + [898] = { + [sym_special_variable_name] = STATE(1040), + [anon_sym_DOLLAR] = ACTIONS(2709), + [anon_sym_POUND] = ACTIONS(2711), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2713), + [anon_sym_STAR] = ACTIONS(2709), + [anon_sym_AT] = ACTIONS(2709), + [anon_sym_QMARK] = ACTIONS(2709), + [anon_sym_DASH] = ACTIONS(2709), + [anon_sym_BANG] = ACTIONS(2709), + [anon_sym_0] = ACTIONS(2711), + [anon_sym__] = ACTIONS(2711), }, - [925] = { - [sym_special_variable_name] = STATE(1048), + [899] = { + [sym_special_variable_name] = STATE(1043), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2709), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(2715), + [sym_leading_word] = ACTIONS(2717), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), [anon_sym_0] = ACTIONS(307), [anon_sym__] = ACTIONS(307), }, - [926] = { + [900] = { + [sym_for_statement] = STATE(1044), + [sym_while_statement] = STATE(1044), + [sym_if_statement] = STATE(1044), + [sym_case_statement] = STATE(1044), + [sym_function_definition] = STATE(1044), + [sym_subshell] = STATE(1044), + [sym_pipeline] = STATE(1044), + [sym_list] = STATE(1044), + [sym_bracket_command] = STATE(1044), + [sym_command] = STATE(1044), + [sym_environment_variable_assignment] = STATE(1045), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [901] = { + [sym_for_statement] = STATE(1046), + [sym_while_statement] = STATE(1046), + [sym_if_statement] = STATE(1046), + [sym_case_statement] = STATE(1046), + [sym_function_definition] = STATE(1046), + [sym_subshell] = STATE(1046), + [sym_pipeline] = STATE(1046), + [sym_list] = STATE(1046), + [sym_bracket_command] = STATE(1046), + [sym_command] = STATE(1046), + [sym_environment_variable_assignment] = STATE(1047), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [902] = { + [aux_sym_array_repeat1] = STATE(1034), + [anon_sym_RPAREN] = ACTIONS(2703), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [903] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_RBRACE] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_COLON] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [904] = { + [anon_sym_RPAREN] = ACTIONS(2719), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [905] = { [sym_for_statement] = STATE(1049), [sym_while_statement] = STATE(1049), [sym_if_statement] = STATE(1049), @@ -30066,18 +29683,1630 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, + [906] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_RBRACE] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_COLON] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_leading_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [907] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2721), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [908] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_RBRACE] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [909] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_RBRACE] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_COLON] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_leading_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [910] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_RBRACE] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_COLON] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_leading_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [911] = { + [sym_special_variable_name] = STATE(1053), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(2723), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [912] = { + [anon_sym_RBRACE] = ACTIONS(2725), + [anon_sym_COLON] = ACTIONS(2727), + [anon_sym_EQ] = ACTIONS(2729), + [anon_sym_COLON_QMARK] = ACTIONS(2729), + [anon_sym_COLON_DASH] = ACTIONS(2729), + [sym_comment] = ACTIONS(115), + }, + [913] = { + [anon_sym_RBRACE] = ACTIONS(2731), + [anon_sym_COLON] = ACTIONS(2733), + [anon_sym_EQ] = ACTIONS(2735), + [anon_sym_COLON_QMARK] = ACTIONS(2735), + [anon_sym_COLON_DASH] = ACTIONS(2735), + [sym_comment] = ACTIONS(115), + }, + [914] = { + [anon_sym_RPAREN] = ACTIONS(2737), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [915] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2737), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [916] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2737), + [sym_comment] = ACTIONS(115), + }, + [917] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2739), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [918] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_COLON] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [919] = { + [anon_sym_RPAREN] = ACTIONS(2742), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [920] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2742), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [921] = { + [anon_sym_RPAREN] = ACTIONS(2744), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [922] = { + [sym_for_statement] = STATE(1060), + [sym_while_statement] = STATE(1060), + [sym_if_statement] = STATE(1060), + [sym_case_statement] = STATE(1060), + [sym_function_definition] = STATE(1060), + [sym_subshell] = STATE(1060), + [sym_pipeline] = STATE(1060), + [sym_list] = STATE(1060), + [sym_bracket_command] = STATE(1060), + [sym_command] = STATE(1060), + [sym_environment_variable_assignment] = STATE(1061), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [923] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_COLON] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_leading_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [924] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2746), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [925] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [926] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_COLON] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_leading_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, [927] = { - [sym_for_statement] = STATE(1051), - [sym_while_statement] = STATE(1051), - [sym_if_statement] = STATE(1051), - [sym_case_statement] = STATE(1051), - [sym_function_definition] = STATE(1051), - [sym_subshell] = STATE(1051), - [sym_pipeline] = STATE(1051), - [sym_list] = STATE(1051), - [sym_bracket_command] = STATE(1051), - [sym_command] = STATE(1051), - [sym_environment_variable_assignment] = STATE(1052), + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_COLON] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_leading_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [928] = { + [sym_special_variable_name] = STATE(1064), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(2748), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [929] = { + [anon_sym_RBRACE] = ACTIONS(2750), + [anon_sym_COLON] = ACTIONS(2752), + [anon_sym_EQ] = ACTIONS(2754), + [anon_sym_COLON_QMARK] = ACTIONS(2754), + [anon_sym_COLON_DASH] = ACTIONS(2754), + [sym_comment] = ACTIONS(115), + }, + [930] = { + [anon_sym_RBRACE] = ACTIONS(2756), + [anon_sym_COLON] = ACTIONS(2758), + [anon_sym_EQ] = ACTIONS(2760), + [anon_sym_COLON_QMARK] = ACTIONS(2760), + [anon_sym_COLON_DASH] = ACTIONS(2760), + [sym_comment] = ACTIONS(115), + }, + [931] = { + [anon_sym_RPAREN] = ACTIONS(2762), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [932] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2762), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [933] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2762), + [sym_comment] = ACTIONS(115), + }, + [934] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2764), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [935] = { + [sym__heredoc_middle] = ACTIONS(1267), + [sym__heredoc_end] = ACTIONS(1267), + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_in] = ACTIONS(1253), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_LPAREN] = ACTIONS(1253), + [anon_sym_RBRACE] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_RBRACK] = ACTIONS(1253), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1253), + [anon_sym_COLON] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR] = ACTIONS(1253), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_leading_word] = ACTIONS(1253), + [sym_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [936] = { + [sym__heredoc_middle] = ACTIONS(1271), + [sym__heredoc_end] = ACTIONS(1271), + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_in] = ACTIONS(1255), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_LPAREN] = ACTIONS(1255), + [anon_sym_RBRACE] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_RBRACK] = ACTIONS(1255), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1255), + [anon_sym_COLON] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR] = ACTIONS(1255), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_leading_word] = ACTIONS(1255), + [sym_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [937] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(1071), + [anon_sym_esac] = ACTIONS(2767), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [938] = { + [sym_file_descriptor] = ACTIONS(553), + [anon_sym_RPAREN] = ACTIONS(557), + [anon_sym_SEMI_SEMI] = ACTIONS(557), + [anon_sym_PIPE] = ACTIONS(557), + [anon_sym_PIPE_AMP] = ACTIONS(557), + [anon_sym_AMP_AMP] = ACTIONS(557), + [anon_sym_PIPE_PIPE] = ACTIONS(557), + [anon_sym_COLON] = ACTIONS(557), + [anon_sym_LT] = ACTIONS(557), + [anon_sym_GT] = ACTIONS(557), + [anon_sym_GT_GT] = ACTIONS(557), + [anon_sym_AMP_GT] = ACTIONS(557), + [anon_sym_AMP_GT_GT] = ACTIONS(557), + [anon_sym_LT_AMP] = ACTIONS(557), + [anon_sym_GT_AMP] = ACTIONS(557), + [anon_sym_LT_LT] = ACTIONS(557), + [anon_sym_LT_LT_DASH] = ACTIONS(557), + [anon_sym_DQUOTE] = ACTIONS(557), + [sym_raw_string] = ACTIONS(557), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(557), + [anon_sym_BQUOTE] = ACTIONS(557), + [sym_leading_word] = ACTIONS(557), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(557), + [anon_sym_LF] = ACTIONS(557), + [anon_sym_AMP] = ACTIONS(557), + }, + [939] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(1073), + [anon_sym_esac] = ACTIONS(2769), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [940] = { + [anon_sym_RBRACE] = ACTIONS(2771), + [sym_comment] = ACTIONS(115), + }, + [941] = { + [anon_sym_RPAREN] = ACTIONS(1449), + [anon_sym_SEMI_SEMI] = ACTIONS(1449), + [anon_sym_PIPE] = ACTIONS(1449), + [anon_sym_PIPE_AMP] = ACTIONS(1449), + [anon_sym_AMP_AMP] = ACTIONS(1449), + [anon_sym_PIPE_PIPE] = ACTIONS(1449), + [anon_sym_BQUOTE] = ACTIONS(1449), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1449), + [anon_sym_LF] = ACTIONS(1449), + [anon_sym_AMP] = ACTIONS(1449), + }, + [942] = { + [anon_sym_fi] = ACTIONS(2773), + [sym_comment] = ACTIONS(115), + }, + [943] = { + [anon_sym_RPAREN] = ACTIONS(2775), + [anon_sym_SEMI_SEMI] = ACTIONS(2775), + [anon_sym_PIPE] = ACTIONS(2775), + [anon_sym_PIPE_AMP] = ACTIONS(2775), + [anon_sym_AMP_AMP] = ACTIONS(2775), + [anon_sym_PIPE_PIPE] = ACTIONS(2775), + [anon_sym_BQUOTE] = ACTIONS(2775), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2775), + [anon_sym_LF] = ACTIONS(2775), + [anon_sym_AMP] = ACTIONS(2775), + }, + [944] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_LPAREN] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_RBRACK] = ACTIONS(569), + [anon_sym_RBRACK_RBRACK] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR] = ACTIONS(569), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [945] = { + [anon_sym_RPAREN] = ACTIONS(2778), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [946] = { + [sym_for_statement] = STATE(1077), + [sym_while_statement] = STATE(1077), + [sym_if_statement] = STATE(1077), + [sym_case_statement] = STATE(1077), + [sym_function_definition] = STATE(1077), + [sym_subshell] = STATE(1077), + [sym_pipeline] = STATE(1077), + [sym_list] = STATE(1077), + [sym_bracket_command] = STATE(1077), + [sym_command] = STATE(1077), + [sym_environment_variable_assignment] = STATE(1078), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(1034), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2703), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(995), + [sym_comment] = ACTIONS(115), + }, + [947] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_LPAREN] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_RBRACK] = ACTIONS(421), + [anon_sym_RBRACK_RBRACK] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR] = ACTIONS(421), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [948] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2780), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [949] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_RBRACK] = ACTIONS(585), + [anon_sym_RBRACK_RBRACK] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [950] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_LPAREN] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_RBRACK] = ACTIONS(587), + [anon_sym_RBRACK_RBRACK] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR] = ACTIONS(587), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [951] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_LPAREN] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_RBRACK] = ACTIONS(589), + [anon_sym_RBRACK_RBRACK] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR] = ACTIONS(589), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [952] = { + [sym_special_variable_name] = STATE(1081), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(2782), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [953] = { + [anon_sym_RBRACE] = ACTIONS(2784), + [anon_sym_COLON] = ACTIONS(2786), + [anon_sym_EQ] = ACTIONS(2788), + [anon_sym_COLON_QMARK] = ACTIONS(2788), + [anon_sym_COLON_DASH] = ACTIONS(2788), + [sym_comment] = ACTIONS(115), + }, + [954] = { + [anon_sym_RBRACE] = ACTIONS(2790), + [anon_sym_COLON] = ACTIONS(2792), + [anon_sym_EQ] = ACTIONS(2794), + [anon_sym_COLON_QMARK] = ACTIONS(2794), + [anon_sym_COLON_DASH] = ACTIONS(2794), + [sym_comment] = ACTIONS(115), + }, + [955] = { + [anon_sym_RPAREN] = ACTIONS(2796), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [956] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2796), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [957] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2796), + [sym_comment] = ACTIONS(115), + }, + [958] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2798), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [959] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(1087), + [aux_sym_command_repeat2] = STATE(1088), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(677), + [anon_sym_SEMI_SEMI] = ACTIONS(677), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(677), + [anon_sym_PIPE_AMP] = ACTIONS(677), + [anon_sym_AMP_AMP] = ACTIONS(677), + [anon_sym_PIPE_PIPE] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2801), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(677), + [anon_sym_LF] = ACTIONS(677), + [anon_sym_AMP] = ACTIONS(677), + }, + [960] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(681), + [anon_sym_SEMI_SEMI] = ACTIONS(681), + [anon_sym_PIPE] = ACTIONS(681), + [anon_sym_PIPE_AMP] = ACTIONS(681), + [anon_sym_AMP_AMP] = ACTIONS(681), + [anon_sym_PIPE_PIPE] = ACTIONS(681), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(681), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(681), + [anon_sym_LF] = ACTIONS(681), + [anon_sym_AMP] = ACTIONS(681), + }, + [961] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(1089), + [aux_sym_command_repeat2] = STATE(1090), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2804), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [962] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(909), + [anon_sym_SEMI_SEMI] = ACTIONS(909), + [anon_sym_PIPE] = ACTIONS(909), + [anon_sym_PIPE_AMP] = ACTIONS(909), + [anon_sym_AMP_AMP] = ACTIONS(909), + [anon_sym_PIPE_PIPE] = ACTIONS(909), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(909), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(909), + [anon_sym_LF] = ACTIONS(909), + [anon_sym_AMP] = ACTIONS(909), + }, + [963] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(815), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(816), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2807), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [964] = { + [sym_compound_statement] = STATE(1091), + [anon_sym_LBRACE] = ACTIONS(2809), + [sym_comment] = ACTIONS(115), + }, + [965] = { + [sym__terminated_statement] = STATE(1092), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [966] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(1094), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(2811), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [967] = { + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [968] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(1096), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(1097), + [aux_sym_if_statement_repeat1] = STATE(1098), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2813), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [969] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2815), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2815), + [anon_sym_LF] = ACTIONS(2815), + [anon_sym_AMP] = ACTIONS(2815), + }, + [970] = { + [anon_sym_in] = ACTIONS(2817), + [sym_comment] = ACTIONS(115), + }, + [971] = { + [anon_sym_RPAREN] = ACTIONS(2819), + [sym_comment] = ACTIONS(115), + }, + [972] = { + [anon_sym_RPAREN] = ACTIONS(613), + [anon_sym_SEMI_SEMI] = ACTIONS(613), + [anon_sym_PIPE] = ACTIONS(613), + [anon_sym_PIPE_AMP] = ACTIONS(613), + [anon_sym_AMP_AMP] = ACTIONS(613), + [anon_sym_PIPE_PIPE] = ACTIONS(613), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(613), + [anon_sym_LF] = ACTIONS(613), + [anon_sym_AMP] = ACTIONS(613), + }, + [973] = { + [anon_sym_RPAREN] = ACTIONS(649), + [anon_sym_SEMI_SEMI] = ACTIONS(649), + [anon_sym_PIPE] = ACTIONS(649), + [anon_sym_PIPE_AMP] = ACTIONS(649), + [anon_sym_AMP_AMP] = ACTIONS(649), + [anon_sym_PIPE_PIPE] = ACTIONS(649), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(649), + [anon_sym_LF] = ACTIONS(649), + [anon_sym_AMP] = ACTIONS(649), + }, + [974] = { + [sym_string] = STATE(1102), + [sym_array] = STATE(1102), + [sym_simple_expansion] = STATE(1102), + [sym_expansion] = STATE(1102), + [sym_command_substitution] = STATE(1102), + [sym_process_substitution] = STATE(1102), + [anon_sym_LPAREN] = ACTIONS(2601), + [anon_sym_LT] = ACTIONS(2603), + [anon_sym_GT] = ACTIONS(2603), + [anon_sym_DQUOTE] = ACTIONS(2605), + [sym_raw_string] = ACTIONS(2821), + [anon_sym_DOLLAR] = ACTIONS(2609), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2611), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2613), + [anon_sym_BQUOTE] = ACTIONS(2615), + [sym_word] = ACTIONS(2823), + [sym_comment] = ACTIONS(115), + }, + [975] = { + [sym_string] = STATE(981), + [sym_array] = STATE(981), + [sym_simple_expansion] = STATE(981), + [sym_expansion] = STATE(981), + [sym_command_substitution] = STATE(981), + [sym_process_substitution] = STATE(981), + [anon_sym_LPAREN] = ACTIONS(2825), + [anon_sym_LT] = ACTIONS(2603), + [anon_sym_GT] = ACTIONS(2603), + [anon_sym_DQUOTE] = ACTIONS(2605), + [sym_raw_string] = ACTIONS(2607), + [anon_sym_DOLLAR] = ACTIONS(2609), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2611), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2613), + [anon_sym_BQUOTE] = ACTIONS(2615), + [sym_word] = ACTIONS(2617), + [sym_comment] = ACTIONS(115), + }, + [976] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1104), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(677), + [anon_sym_SEMI_SEMI] = ACTIONS(677), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(677), + [anon_sym_PIPE_AMP] = ACTIONS(677), + [anon_sym_AMP_AMP] = ACTIONS(677), + [anon_sym_PIPE_PIPE] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(677), + [anon_sym_LF] = ACTIONS(677), + [anon_sym_AMP] = ACTIONS(677), + }, + [977] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(681), + [anon_sym_SEMI_SEMI] = ACTIONS(681), + [anon_sym_PIPE] = ACTIONS(681), + [anon_sym_PIPE_AMP] = ACTIONS(681), + [anon_sym_AMP_AMP] = ACTIONS(681), + [anon_sym_PIPE_PIPE] = ACTIONS(681), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(681), + [anon_sym_LF] = ACTIONS(681), + [anon_sym_AMP] = ACTIONS(681), + }, + [978] = { + [aux_sym_array_repeat1] = STATE(1106), + [anon_sym_RPAREN] = ACTIONS(2827), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [979] = { + [anon_sym_LPAREN] = ACTIONS(2829), + [sym_comment] = ACTIONS(115), + }, + [980] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(1109), + [anon_sym_DQUOTE] = ACTIONS(2831), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [981] = { + [sym_file_descriptor] = ACTIONS(403), + [anon_sym_RPAREN] = ACTIONS(407), + [anon_sym_SEMI_SEMI] = ACTIONS(407), + [anon_sym_PIPE] = ACTIONS(407), + [anon_sym_PIPE_AMP] = ACTIONS(407), + [anon_sym_AMP_AMP] = ACTIONS(407), + [anon_sym_PIPE_PIPE] = ACTIONS(407), + [anon_sym_LT] = ACTIONS(407), + [anon_sym_GT] = ACTIONS(407), + [anon_sym_GT_GT] = ACTIONS(407), + [anon_sym_AMP_GT] = ACTIONS(407), + [anon_sym_AMP_GT_GT] = ACTIONS(407), + [anon_sym_LT_AMP] = ACTIONS(407), + [anon_sym_GT_AMP] = ACTIONS(407), + [anon_sym_LT_LT] = ACTIONS(407), + [anon_sym_LT_LT_DASH] = ACTIONS(407), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(407), + [anon_sym_LF] = ACTIONS(407), + [anon_sym_AMP] = ACTIONS(407), + }, + [982] = { + [sym_special_variable_name] = STATE(1112), + [anon_sym_DOLLAR] = ACTIONS(2833), + [anon_sym_POUND] = ACTIONS(2835), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2837), + [anon_sym_STAR] = ACTIONS(2833), + [anon_sym_AT] = ACTIONS(2833), + [anon_sym_QMARK] = ACTIONS(2833), + [anon_sym_DASH] = ACTIONS(2833), + [anon_sym_BANG] = ACTIONS(2833), + [anon_sym_0] = ACTIONS(2835), + [anon_sym__] = ACTIONS(2835), + }, + [983] = { + [sym_special_variable_name] = STATE(1115), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(2839), + [sym_leading_word] = ACTIONS(2841), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [984] = { + [sym_for_statement] = STATE(1116), + [sym_while_statement] = STATE(1116), + [sym_if_statement] = STATE(1116), + [sym_case_statement] = STATE(1116), + [sym_function_definition] = STATE(1116), + [sym_subshell] = STATE(1116), + [sym_pipeline] = STATE(1116), + [sym_list] = STATE(1116), + [sym_bracket_command] = STATE(1116), + [sym_command] = STATE(1116), + [sym_environment_variable_assignment] = STATE(1117), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [985] = { + [sym_for_statement] = STATE(1118), + [sym_while_statement] = STATE(1118), + [sym_if_statement] = STATE(1118), + [sym_case_statement] = STATE(1118), + [sym_function_definition] = STATE(1118), + [sym_subshell] = STATE(1118), + [sym_pipeline] = STATE(1118), + [sym_list] = STATE(1118), + [sym_bracket_command] = STATE(1118), + [sym_command] = STATE(1118), + [sym_environment_variable_assignment] = STATE(1119), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -30106,61 +31335,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [928] = { - [sym_file_descriptor] = ACTIONS(683), - [anon_sym_RPAREN] = ACTIONS(685), - [anon_sym_SEMI_SEMI] = ACTIONS(685), - [anon_sym_PIPE] = ACTIONS(685), - [anon_sym_PIPE_AMP] = ACTIONS(685), - [anon_sym_AMP_AMP] = ACTIONS(685), - [anon_sym_PIPE_PIPE] = ACTIONS(685), - [anon_sym_LT] = ACTIONS(685), - [anon_sym_GT] = ACTIONS(685), - [anon_sym_GT_GT] = ACTIONS(685), - [anon_sym_AMP_GT] = ACTIONS(685), - [anon_sym_AMP_GT_GT] = ACTIONS(685), - [anon_sym_LT_AMP] = ACTIONS(685), - [anon_sym_GT_AMP] = ACTIONS(685), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(685), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(685), - [anon_sym_LF] = ACTIONS(685), - [anon_sym_AMP] = ACTIONS(685), - }, - [929] = { - [sym_simple_expansion] = STATE(311), - [sym_expansion] = STATE(311), - [aux_sym_heredoc_repeat1] = STATE(1054), - [sym__heredoc_middle] = ACTIONS(687), - [sym__heredoc_end] = ACTIONS(2711), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), - [sym_comment] = ACTIONS(115), - }, - [930] = { - [sym_file_descriptor] = ACTIONS(695), - [anon_sym_RPAREN] = ACTIONS(697), - [anon_sym_SEMI_SEMI] = ACTIONS(697), - [anon_sym_PIPE] = ACTIONS(697), - [anon_sym_PIPE_AMP] = ACTIONS(697), - [anon_sym_AMP_AMP] = ACTIONS(697), - [anon_sym_PIPE_PIPE] = ACTIONS(697), - [anon_sym_LT] = ACTIONS(697), - [anon_sym_GT] = ACTIONS(697), - [anon_sym_GT_GT] = ACTIONS(697), - [anon_sym_AMP_GT] = ACTIONS(697), - [anon_sym_AMP_GT_GT] = ACTIONS(697), - [anon_sym_LT_AMP] = ACTIONS(697), - [anon_sym_GT_AMP] = ACTIONS(697), - [anon_sym_LT_LT] = ACTIONS(697), - [anon_sym_LT_LT_DASH] = ACTIONS(697), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(697), - [anon_sym_LF] = ACTIONS(697), - [anon_sym_AMP] = ACTIONS(697), - }, - [931] = { + [986] = { [sym_file_descriptor] = ACTIONS(699), [anon_sym_RPAREN] = ACTIONS(701), [anon_sym_SEMI_SEMI] = ACTIONS(701), @@ -30177,188 +31352,242 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(701), [anon_sym_LT_LT] = ACTIONS(701), [anon_sym_LT_LT_DASH] = ACTIONS(701), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(701), [anon_sym_LF] = ACTIONS(701), [anon_sym_AMP] = ACTIONS(701), }, - [932] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [933] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [934] = { - [sym_compound_statement] = STATE(1056), - [anon_sym_LBRACE] = ACTIONS(2713), + [987] = { + [sym_simple_expansion] = STATE(321), + [sym_expansion] = STATE(321), + [aux_sym_heredoc_repeat1] = STATE(1121), + [sym__heredoc_middle] = ACTIONS(703), + [sym__heredoc_end] = ACTIONS(2843), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), [sym_comment] = ACTIONS(115), }, - [935] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1057), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(859), - [anon_sym_SEMI_SEMI] = ACTIONS(859), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(859), - [anon_sym_PIPE_AMP] = ACTIONS(859), - [anon_sym_AMP_AMP] = ACTIONS(859), - [anon_sym_PIPE_PIPE] = ACTIONS(859), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(859), - [anon_sym_LF] = ACTIONS(859), - [anon_sym_AMP] = ACTIONS(859), + [988] = { + [sym_file_descriptor] = ACTIONS(711), + [anon_sym_RPAREN] = ACTIONS(713), + [anon_sym_SEMI_SEMI] = ACTIONS(713), + [anon_sym_PIPE] = ACTIONS(713), + [anon_sym_PIPE_AMP] = ACTIONS(713), + [anon_sym_AMP_AMP] = ACTIONS(713), + [anon_sym_PIPE_PIPE] = ACTIONS(713), + [anon_sym_LT] = ACTIONS(713), + [anon_sym_GT] = ACTIONS(713), + [anon_sym_GT_GT] = ACTIONS(713), + [anon_sym_AMP_GT] = ACTIONS(713), + [anon_sym_AMP_GT_GT] = ACTIONS(713), + [anon_sym_LT_AMP] = ACTIONS(713), + [anon_sym_GT_AMP] = ACTIONS(713), + [anon_sym_LT_LT] = ACTIONS(713), + [anon_sym_LT_LT_DASH] = ACTIONS(713), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(713), + [anon_sym_LF] = ACTIONS(713), + [anon_sym_AMP] = ACTIONS(713), }, - [936] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_PIPE] = ACTIONS(861), - [anon_sym_PIPE_AMP] = ACTIONS(861), - [anon_sym_AMP_AMP] = ACTIONS(861), - [anon_sym_PIPE_PIPE] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), + [989] = { + [sym_file_descriptor] = ACTIONS(715), + [anon_sym_RPAREN] = ACTIONS(717), + [anon_sym_SEMI_SEMI] = ACTIONS(717), + [anon_sym_PIPE] = ACTIONS(717), + [anon_sym_PIPE_AMP] = ACTIONS(717), + [anon_sym_AMP_AMP] = ACTIONS(717), + [anon_sym_PIPE_PIPE] = ACTIONS(717), + [anon_sym_LT] = ACTIONS(717), + [anon_sym_GT] = ACTIONS(717), + [anon_sym_GT_GT] = ACTIONS(717), + [anon_sym_AMP_GT] = ACTIONS(717), + [anon_sym_AMP_GT_GT] = ACTIONS(717), + [anon_sym_LT_AMP] = ACTIONS(717), + [anon_sym_GT_AMP] = ACTIONS(717), + [anon_sym_LT_LT] = ACTIONS(717), + [anon_sym_LT_LT_DASH] = ACTIONS(717), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(717), + [anon_sym_LF] = ACTIONS(717), + [anon_sym_AMP] = ACTIONS(717), }, - [937] = { - [aux_sym_array_repeat1] = STATE(1059), - [anon_sym_RPAREN] = ACTIONS(2715), + [990] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [991] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [992] = { + [sym_compound_statement] = STATE(1123), + [anon_sym_LBRACE] = ACTIONS(2845), + [sym_comment] = ACTIONS(115), + }, + [993] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1124), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(879), + [anon_sym_SEMI_SEMI] = ACTIONS(879), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(879), + [anon_sym_PIPE_AMP] = ACTIONS(879), + [anon_sym_AMP_AMP] = ACTIONS(879), + [anon_sym_PIPE_PIPE] = ACTIONS(879), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(879), + [anon_sym_LF] = ACTIONS(879), + [anon_sym_AMP] = ACTIONS(879), + }, + [994] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(881), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(881), + [anon_sym_PIPE_AMP] = ACTIONS(881), + [anon_sym_AMP_AMP] = ACTIONS(881), + [anon_sym_PIPE_PIPE] = ACTIONS(881), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [995] = { + [aux_sym_array_repeat1] = STATE(1126), + [anon_sym_RPAREN] = ACTIONS(2847), [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, - [938] = { - [anon_sym_LPAREN] = ACTIONS(2717), + [996] = { + [anon_sym_LPAREN] = ACTIONS(2849), [sym_comment] = ACTIONS(115), }, - [939] = { + [997] = { [sym_simple_expansion] = STATE(66), [sym_expansion] = STATE(66), [sym_command_substitution] = STATE(66), - [aux_sym_string_repeat1] = STATE(1062), - [anon_sym_DQUOTE] = ACTIONS(2719), + [aux_sym_string_repeat1] = STATE(1129), + [anon_sym_DQUOTE] = ACTIONS(2851), [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [940] = { - [sym_special_variable_name] = STATE(1065), - [anon_sym_DOLLAR] = ACTIONS(2721), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2723), - [anon_sym_STAR] = ACTIONS(2721), - [anon_sym_AT] = ACTIONS(2721), - [anon_sym_POUND] = ACTIONS(2725), - [anon_sym_QMARK] = ACTIONS(2721), - [anon_sym_DASH] = ACTIONS(2721), - [anon_sym_BANG] = ACTIONS(2721), - [anon_sym_0] = ACTIONS(2725), - [anon_sym__] = ACTIONS(2725), + [998] = { + [sym_special_variable_name] = STATE(1132), + [anon_sym_DOLLAR] = ACTIONS(2853), + [anon_sym_POUND] = ACTIONS(2855), + [sym_comment] = ACTIONS(75), + [sym_simple_variable_name] = ACTIONS(2857), + [anon_sym_STAR] = ACTIONS(2853), + [anon_sym_AT] = ACTIONS(2853), + [anon_sym_QMARK] = ACTIONS(2853), + [anon_sym_DASH] = ACTIONS(2853), + [anon_sym_BANG] = ACTIONS(2853), + [anon_sym_0] = ACTIONS(2855), + [anon_sym__] = ACTIONS(2855), }, - [941] = { - [sym_special_variable_name] = STATE(1067), + [999] = { + [sym_special_variable_name] = STATE(1135), [anon_sym_DOLLAR] = ACTIONS(307), - [sym_leading_word] = ACTIONS(2727), - [sym_comment] = ACTIONS(73), + [anon_sym_POUND] = ACTIONS(2859), + [sym_leading_word] = ACTIONS(2861), + [sym_comment] = ACTIONS(75), [anon_sym_STAR] = ACTIONS(307), [anon_sym_AT] = ACTIONS(307), - [anon_sym_POUND] = ACTIONS(307), [anon_sym_QMARK] = ACTIONS(307), [anon_sym_DASH] = ACTIONS(307), [anon_sym_BANG] = ACTIONS(307), [anon_sym_0] = ACTIONS(307), [anon_sym__] = ACTIONS(307), }, - [942] = { - [sym_for_statement] = STATE(1068), - [sym_while_statement] = STATE(1068), - [sym_if_statement] = STATE(1068), - [sym_case_statement] = STATE(1068), - [sym_function_definition] = STATE(1068), - [sym_subshell] = STATE(1068), - [sym_pipeline] = STATE(1068), - [sym_list] = STATE(1068), - [sym_bracket_command] = STATE(1068), - [sym_command] = STATE(1068), - [sym_environment_variable_assignment] = STATE(1069), + [1000] = { + [sym_for_statement] = STATE(1136), + [sym_while_statement] = STATE(1136), + [sym_if_statement] = STATE(1136), + [sym_case_statement] = STATE(1136), + [sym_function_definition] = STATE(1136), + [sym_subshell] = STATE(1136), + [sym_pipeline] = STATE(1136), + [sym_list] = STATE(1136), + [sym_bracket_command] = STATE(1136), + [sym_command] = STATE(1136), + [sym_environment_variable_assignment] = STATE(1137), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -30387,18 +31616,18 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [943] = { - [sym_for_statement] = STATE(1070), - [sym_while_statement] = STATE(1070), - [sym_if_statement] = STATE(1070), - [sym_case_statement] = STATE(1070), - [sym_function_definition] = STATE(1070), - [sym_subshell] = STATE(1070), - [sym_pipeline] = STATE(1070), - [sym_list] = STATE(1070), - [sym_bracket_command] = STATE(1070), - [sym_command] = STATE(1070), - [sym_environment_variable_assignment] = STATE(1071), + [1001] = { + [sym_for_statement] = STATE(1138), + [sym_while_statement] = STATE(1138), + [sym_if_statement] = STATE(1138), + [sym_case_statement] = STATE(1138), + [sym_function_definition] = STATE(1138), + [sym_subshell] = STATE(1138), + [sym_pipeline] = STATE(1138), + [sym_list] = STATE(1138), + [sym_bracket_command] = STATE(1138), + [sym_command] = STATE(1138), + [sym_environment_variable_assignment] = STATE(1139), [sym_file_redirect] = STATE(21), [sym_string] = STATE(88), [sym_command_substitution] = STATE(88), @@ -30427,2061 +31656,423 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [944] = { - [anon_sym_RPAREN] = ACTIONS(881), - [anon_sym_SEMI_SEMI] = ACTIONS(881), - [anon_sym_PIPE] = ACTIONS(2729), - [anon_sym_PIPE_AMP] = ACTIONS(2729), - [anon_sym_AMP_AMP] = ACTIONS(2732), - [anon_sym_PIPE_PIPE] = ACTIONS(2732), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(881), - [anon_sym_LF] = ACTIONS(881), - [anon_sym_AMP] = ACTIONS(881), - }, - [945] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(881), - [anon_sym_SEMI_SEMI] = ACTIONS(881), - [anon_sym_PIPE] = ACTIONS(2729), - [anon_sym_PIPE_AMP] = ACTIONS(2729), - [anon_sym_AMP_AMP] = ACTIONS(2732), - [anon_sym_PIPE_PIPE] = ACTIONS(2732), - [anon_sym_COLON] = ACTIONS(261), - [anon_sym_LT] = ACTIONS(261), - [anon_sym_GT] = ACTIONS(261), - [anon_sym_GT_GT] = ACTIONS(261), - [anon_sym_AMP_GT] = ACTIONS(261), - [anon_sym_AMP_GT_GT] = ACTIONS(261), - [anon_sym_LT_AMP] = ACTIONS(261), - [anon_sym_GT_AMP] = ACTIONS(261), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_raw_string] = ACTIONS(261), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), - [anon_sym_BQUOTE] = ACTIONS(261), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(881), - [anon_sym_LF] = ACTIONS(881), - [anon_sym_AMP] = ACTIONS(881), - }, - [946] = { - [anon_sym_RPAREN] = ACTIONS(883), - [anon_sym_SEMI_SEMI] = ACTIONS(883), - [anon_sym_PIPE] = ACTIONS(2735), - [anon_sym_PIPE_AMP] = ACTIONS(2735), - [anon_sym_AMP_AMP] = ACTIONS(2738), - [anon_sym_PIPE_PIPE] = ACTIONS(2738), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(883), - [anon_sym_LF] = ACTIONS(883), - [anon_sym_AMP] = ACTIONS(883), - }, - [947] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(883), - [anon_sym_SEMI_SEMI] = ACTIONS(883), - [anon_sym_PIPE] = ACTIONS(2735), - [anon_sym_PIPE_AMP] = ACTIONS(2735), - [anon_sym_AMP_AMP] = ACTIONS(2738), - [anon_sym_PIPE_PIPE] = ACTIONS(2738), - [anon_sym_COLON] = ACTIONS(261), - [anon_sym_LT] = ACTIONS(261), - [anon_sym_GT] = ACTIONS(261), - [anon_sym_GT_GT] = ACTIONS(261), - [anon_sym_AMP_GT] = ACTIONS(261), - [anon_sym_AMP_GT_GT] = ACTIONS(261), - [anon_sym_LT_AMP] = ACTIONS(261), - [anon_sym_GT_AMP] = ACTIONS(261), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_raw_string] = ACTIONS(261), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), - [anon_sym_BQUOTE] = ACTIONS(261), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(883), - [anon_sym_LF] = ACTIONS(883), - [anon_sym_AMP] = ACTIONS(883), - }, - [948] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(1072), - [aux_sym_command_repeat2] = STATE(1038), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(663), - [anon_sym_SEMI_SEMI] = ACTIONS(663), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(663), - [anon_sym_PIPE_AMP] = ACTIONS(663), - [anon_sym_AMP_AMP] = ACTIONS(663), - [anon_sym_PIPE_PIPE] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(663), - [anon_sym_LF] = ACTIONS(663), - [anon_sym_AMP] = ACTIONS(663), - }, - [949] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(834), - [sym_array] = STATE(834), - [sym_simple_expansion] = STATE(834), - [sym_expansion] = STATE(834), - [sym_command_substitution] = STATE(834), - [sym_process_substitution] = STATE(834), - [aux_sym_bracket_command_repeat1] = STATE(1073), - [aux_sym_command_repeat2] = STATE(1074), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(885), - [anon_sym_SEMI_SEMI] = ACTIONS(885), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(885), - [anon_sym_PIPE_AMP] = ACTIONS(885), - [anon_sym_AMP_AMP] = ACTIONS(885), - [anon_sym_PIPE_PIPE] = ACTIONS(885), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2307), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2307), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(885), - [anon_sym_LF] = ACTIONS(885), - [anon_sym_AMP] = ACTIONS(885), - }, - [950] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(887), - [anon_sym_SEMI_SEMI] = ACTIONS(887), - [anon_sym_PIPE] = ACTIONS(887), - [anon_sym_PIPE_AMP] = ACTIONS(887), - [anon_sym_AMP_AMP] = ACTIONS(887), - [anon_sym_PIPE_PIPE] = ACTIONS(887), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(887), - [anon_sym_LF] = ACTIONS(887), - [anon_sym_AMP] = ACTIONS(887), - }, - [951] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1022), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(663), - [anon_sym_SEMI_SEMI] = ACTIONS(663), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(663), - [anon_sym_PIPE_AMP] = ACTIONS(663), - [anon_sym_AMP_AMP] = ACTIONS(663), - [anon_sym_PIPE_PIPE] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2671), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(663), - [anon_sym_LF] = ACTIONS(663), - [anon_sym_AMP] = ACTIONS(663), - }, - [952] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [953] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [954] = { - [sym_compound_statement] = STATE(1075), - [anon_sym_LBRACE] = ACTIONS(2679), - [sym_comment] = ACTIONS(115), - }, - [955] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1076), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(859), - [anon_sym_SEMI_SEMI] = ACTIONS(859), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(859), - [anon_sym_PIPE_AMP] = ACTIONS(859), - [anon_sym_AMP_AMP] = ACTIONS(859), - [anon_sym_PIPE_PIPE] = ACTIONS(859), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2741), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(859), - [anon_sym_LF] = ACTIONS(859), - [anon_sym_AMP] = ACTIONS(859), - }, - [956] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_PIPE] = ACTIONS(861), - [anon_sym_PIPE_AMP] = ACTIONS(861), - [anon_sym_AMP_AMP] = ACTIONS(861), - [anon_sym_PIPE_PIPE] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(861), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), - }, - [957] = { - [sym_file_descriptor] = ACTIONS(545), - [anon_sym_RPAREN] = ACTIONS(549), - [anon_sym_SEMI_SEMI] = ACTIONS(549), - [anon_sym_PIPE] = ACTIONS(549), - [anon_sym_PIPE_AMP] = ACTIONS(549), - [anon_sym_AMP_AMP] = ACTIONS(549), - [anon_sym_PIPE_PIPE] = ACTIONS(549), - [anon_sym_LT] = ACTIONS(549), - [anon_sym_GT] = ACTIONS(549), - [anon_sym_GT_GT] = ACTIONS(549), - [anon_sym_AMP_GT] = ACTIONS(549), - [anon_sym_AMP_GT_GT] = ACTIONS(549), - [anon_sym_LT_AMP] = ACTIONS(549), - [anon_sym_GT_AMP] = ACTIONS(549), - [anon_sym_LT_LT] = ACTIONS(549), - [anon_sym_LT_LT_DASH] = ACTIONS(549), - [anon_sym_BQUOTE] = ACTIONS(549), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(549), - [anon_sym_LF] = ACTIONS(549), - [anon_sym_AMP] = ACTIONS(549), - }, - [958] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_LPAREN] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR] = ACTIONS(561), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), - }, - [959] = { - [anon_sym_RPAREN] = ACTIONS(2744), - [sym_word] = ACTIONS(569), - [sym_comment] = ACTIONS(115), - }, - [960] = { - [sym_for_statement] = STATE(1078), - [sym_while_statement] = STATE(1078), - [sym_if_statement] = STATE(1078), - [sym_case_statement] = STATE(1078), - [sym_function_definition] = STATE(1078), - [sym_subshell] = STATE(1078), - [sym_pipeline] = STATE(1078), - [sym_list] = STATE(1078), - [sym_bracket_command] = STATE(1078), - [sym_command] = STATE(1078), - [sym_environment_variable_assignment] = STATE(1079), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(975), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(2581), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(223), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), - [sym_comment] = ACTIONS(115), - }, - [961] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_LPAREN] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR] = ACTIONS(415), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), - }, - [962] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2746), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [963] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_LPAREN] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR] = ACTIONS(577), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [964] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_LPAREN] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR] = ACTIONS(579), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [965] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_LPAREN] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR] = ACTIONS(581), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), - }, - [966] = { - [anon_sym_RBRACE] = ACTIONS(2748), - [anon_sym_COLON] = ACTIONS(2750), - [anon_sym_EQ] = ACTIONS(2752), - [anon_sym_COLON_QMARK] = ACTIONS(2752), - [anon_sym_COLON_DASH] = ACTIONS(2752), - [sym_comment] = ACTIONS(115), - }, - [967] = { - [anon_sym_RBRACE] = ACTIONS(2754), - [anon_sym_COLON] = ACTIONS(2756), - [anon_sym_EQ] = ACTIONS(2758), - [anon_sym_COLON_QMARK] = ACTIONS(2758), - [anon_sym_COLON_DASH] = ACTIONS(2758), - [sym_comment] = ACTIONS(115), - }, - [968] = { - [anon_sym_RPAREN] = ACTIONS(2760), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [969] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2760), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [970] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2760), - [sym_comment] = ACTIONS(115), - }, - [971] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2762), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [972] = { - [sym_file_descriptor] = ACTIONS(639), - [anon_sym_RPAREN] = ACTIONS(643), - [anon_sym_SEMI_SEMI] = ACTIONS(643), - [anon_sym_LPAREN] = ACTIONS(643), - [anon_sym_PIPE] = ACTIONS(643), - [anon_sym_PIPE_AMP] = ACTIONS(643), - [anon_sym_AMP_AMP] = ACTIONS(643), - [anon_sym_PIPE_PIPE] = ACTIONS(643), - [anon_sym_LT] = ACTIONS(643), - [anon_sym_GT] = ACTIONS(643), - [anon_sym_GT_GT] = ACTIONS(643), - [anon_sym_AMP_GT] = ACTIONS(643), - [anon_sym_AMP_GT_GT] = ACTIONS(643), - [anon_sym_LT_AMP] = ACTIONS(643), - [anon_sym_GT_AMP] = ACTIONS(643), - [anon_sym_LT_LT] = ACTIONS(643), - [anon_sym_LT_LT_DASH] = ACTIONS(643), - [anon_sym_DQUOTE] = ACTIONS(643), - [sym_raw_string] = ACTIONS(643), - [anon_sym_DOLLAR] = ACTIONS(643), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(643), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(643), - [anon_sym_BQUOTE] = ACTIONS(643), - [sym_word] = ACTIONS(643), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(643), - [anon_sym_LF] = ACTIONS(643), - [anon_sym_AMP] = ACTIONS(643), - }, - [973] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(2765), - [anon_sym_SEMI_SEMI] = ACTIONS(2765), - [anon_sym_PIPE] = ACTIONS(2765), - [anon_sym_PIPE_AMP] = ACTIONS(2765), - [anon_sym_AMP_AMP] = ACTIONS(2765), - [anon_sym_PIPE_PIPE] = ACTIONS(2765), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(2765), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2765), - [anon_sym_LF] = ACTIONS(2765), - [anon_sym_AMP] = ACTIONS(2765), - }, - [974] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), - }, - [975] = { - [anon_sym_RPAREN] = ACTIONS(2768), - [sym_word] = ACTIONS(569), - [sym_comment] = ACTIONS(115), - }, - [976] = { - [sym_for_statement] = STATE(1087), - [sym_while_statement] = STATE(1087), - [sym_if_statement] = STATE(1087), - [sym_case_statement] = STATE(1087), - [sym_function_definition] = STATE(1087), - [sym_subshell] = STATE(1087), - [sym_pipeline] = STATE(1087), - [sym_list] = STATE(1087), - [sym_bracket_command] = STATE(1087), - [sym_command] = STATE(1087), - [sym_environment_variable_assignment] = STATE(1088), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(80), - [sym_command_substitution] = STATE(80), - [aux_sym_command_repeat1] = STATE(87), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(203), - [anon_sym_while] = ACTIONS(205), - [anon_sym_if] = ACTIONS(207), - [anon_sym_case] = ACTIONS(209), - [anon_sym_function] = ACTIONS(211), - [anon_sym_LPAREN] = ACTIONS(213), - [anon_sym_LBRACK] = ACTIONS(215), - [anon_sym_LBRACK_LBRACK] = ACTIONS(217), - [anon_sym_COLON] = ACTIONS(219), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(221), - [sym_raw_string] = ACTIONS(223), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(227), - [sym_leading_word] = ACTIONS(229), - [sym_comment] = ACTIONS(115), - }, - [977] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), - }, - [978] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2770), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), - [anon_sym_DOLLAR] = ACTIONS(195), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), - [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), - }, - [979] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [980] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), - }, - [981] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), - }, - [982] = { - [anon_sym_RBRACE] = ACTIONS(2772), - [anon_sym_COLON] = ACTIONS(2774), - [anon_sym_EQ] = ACTIONS(2776), - [anon_sym_COLON_QMARK] = ACTIONS(2776), - [anon_sym_COLON_DASH] = ACTIONS(2776), - [sym_comment] = ACTIONS(115), - }, - [983] = { - [anon_sym_RBRACE] = ACTIONS(2778), - [anon_sym_COLON] = ACTIONS(2780), - [anon_sym_EQ] = ACTIONS(2782), - [anon_sym_COLON_QMARK] = ACTIONS(2782), - [anon_sym_COLON_DASH] = ACTIONS(2782), - [sym_comment] = ACTIONS(115), - }, - [984] = { - [anon_sym_RPAREN] = ACTIONS(2784), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [985] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2784), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [986] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2784), - [sym_comment] = ACTIONS(115), - }, - [987] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2786), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [988] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_RBRACE] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_COLON] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_leading_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), - }, - [989] = { - [anon_sym_RPAREN] = ACTIONS(2789), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [990] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2789), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [991] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_RBRACE] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_COLON] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_leading_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [992] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_RBRACE] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_COLON] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_leading_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, - [993] = { - [sym_string] = STATE(1096), - [sym_array] = STATE(1096), - [sym_simple_expansion] = STATE(1096), - [sym_expansion] = STATE(1096), - [sym_command_substitution] = STATE(1096), - [sym_process_substitution] = STATE(1096), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2791), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2793), - [sym_comment] = ACTIONS(115), - }, - [994] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_RBRACE] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_COLON] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_leading_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [995] = { - [sym_string] = STATE(1097), - [sym_array] = STATE(1097), - [sym_simple_expansion] = STATE(1097), - [sym_expansion] = STATE(1097), - [sym_command_substitution] = STATE(1097), - [sym_process_substitution] = STATE(1097), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2795), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2797), - [sym_comment] = ACTIONS(115), - }, - [996] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_RBRACE] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_COLON] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_leading_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [997] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_COLON] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_leading_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), - }, - [998] = { - [anon_sym_RPAREN] = ACTIONS(2799), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [999] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2799), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [1000] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_COLON] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_leading_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [1001] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_COLON] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_leading_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, [1002] = { - [sym_string] = STATE(1099), - [sym_array] = STATE(1099), - [sym_simple_expansion] = STATE(1099), - [sym_expansion] = STATE(1099), - [sym_command_substitution] = STATE(1099), - [sym_process_substitution] = STATE(1099), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2801), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2803), - [sym_comment] = ACTIONS(115), + [anon_sym_RPAREN] = ACTIONS(903), + [anon_sym_SEMI_SEMI] = ACTIONS(903), + [anon_sym_PIPE] = ACTIONS(2863), + [anon_sym_PIPE_AMP] = ACTIONS(2863), + [anon_sym_AMP_AMP] = ACTIONS(2866), + [anon_sym_PIPE_PIPE] = ACTIONS(2866), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(903), + [anon_sym_LF] = ACTIONS(903), + [anon_sym_AMP] = ACTIONS(903), }, [1003] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_COLON] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_leading_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(903), + [anon_sym_SEMI_SEMI] = ACTIONS(903), + [anon_sym_PIPE] = ACTIONS(2863), + [anon_sym_PIPE_AMP] = ACTIONS(2863), + [anon_sym_AMP_AMP] = ACTIONS(2866), + [anon_sym_PIPE_PIPE] = ACTIONS(2866), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(903), + [anon_sym_LF] = ACTIONS(903), + [anon_sym_AMP] = ACTIONS(903), }, [1004] = { - [sym_string] = STATE(1100), - [sym_array] = STATE(1100), - [sym_simple_expansion] = STATE(1100), - [sym_expansion] = STATE(1100), - [sym_command_substitution] = STATE(1100), - [sym_process_substitution] = STATE(1100), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2805), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2807), - [sym_comment] = ACTIONS(115), + [anon_sym_RPAREN] = ACTIONS(905), + [anon_sym_SEMI_SEMI] = ACTIONS(905), + [anon_sym_PIPE] = ACTIONS(2869), + [anon_sym_PIPE_AMP] = ACTIONS(2869), + [anon_sym_AMP_AMP] = ACTIONS(2872), + [anon_sym_PIPE_PIPE] = ACTIONS(2872), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(905), + [anon_sym_LF] = ACTIONS(905), + [anon_sym_AMP] = ACTIONS(905), }, [1005] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_COLON] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_leading_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(905), + [anon_sym_SEMI_SEMI] = ACTIONS(905), + [anon_sym_PIPE] = ACTIONS(2869), + [anon_sym_PIPE_AMP] = ACTIONS(2869), + [anon_sym_AMP_AMP] = ACTIONS(2872), + [anon_sym_PIPE_PIPE] = ACTIONS(2872), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(905), + [anon_sym_LF] = ACTIONS(905), + [anon_sym_AMP] = ACTIONS(905), }, [1006] = { - [anon_sym_RPAREN] = ACTIONS(1375), - [anon_sym_SEMI_SEMI] = ACTIONS(1375), - [anon_sym_PIPE] = ACTIONS(1375), - [anon_sym_PIPE_AMP] = ACTIONS(1375), - [anon_sym_AMP_AMP] = ACTIONS(1375), - [anon_sym_PIPE_PIPE] = ACTIONS(1375), - [anon_sym_BQUOTE] = ACTIONS(1375), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1375), - [anon_sym_LF] = ACTIONS(1375), - [anon_sym_AMP] = ACTIONS(1375), + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(1140), + [aux_sym_command_repeat2] = STATE(1104), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(677), + [anon_sym_SEMI_SEMI] = ACTIONS(677), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(677), + [anon_sym_PIPE_AMP] = ACTIONS(677), + [anon_sym_AMP_AMP] = ACTIONS(677), + [anon_sym_PIPE_PIPE] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(677), + [anon_sym_LF] = ACTIONS(677), + [anon_sym_AMP] = ACTIONS(677), }, [1007] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(2809), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [1008] = { - [anon_sym_RPAREN] = ACTIONS(1189), - [anon_sym_SEMI_SEMI] = ACTIONS(1189), - [anon_sym_PIPE] = ACTIONS(1189), - [anon_sym_PIPE_AMP] = ACTIONS(1189), - [anon_sym_AMP_AMP] = ACTIONS(1189), - [anon_sym_PIPE_PIPE] = ACTIONS(1189), - [anon_sym_BQUOTE] = ACTIONS(1189), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1189), - [anon_sym_LF] = ACTIONS(1189), - [anon_sym_AMP] = ACTIONS(1189), - }, - [1009] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(2639), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [1010] = { - [sym__heredoc_middle] = ACTIONS(1393), - [sym__heredoc_end] = ACTIONS(1393), - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_in] = ACTIONS(1387), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_LPAREN] = ACTIONS(1387), - [anon_sym_RBRACE] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_RBRACK] = ACTIONS(1387), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1387), - [anon_sym_COLON] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR] = ACTIONS(1387), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_leading_word] = ACTIONS(1387), - [sym_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), - }, - [1011] = { - [anon_sym_RPAREN] = ACTIONS(1481), - [anon_sym_SEMI_SEMI] = ACTIONS(1481), - [anon_sym_PIPE] = ACTIONS(1481), - [anon_sym_PIPE_AMP] = ACTIONS(1481), - [anon_sym_AMP_AMP] = ACTIONS(1481), - [anon_sym_PIPE_PIPE] = ACTIONS(1481), - [anon_sym_BQUOTE] = ACTIONS(1481), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1481), - [anon_sym_LF] = ACTIONS(1481), - [anon_sym_AMP] = ACTIONS(1481), - }, - [1012] = { - [sym_file_descriptor] = ACTIONS(937), + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(887), + [sym_array] = STATE(887), + [sym_simple_expansion] = STATE(887), + [sym_expansion] = STATE(887), + [sym_command_substitution] = STATE(887), + [sym_process_substitution] = STATE(887), + [aux_sym_bracket_command_repeat1] = STATE(1141), + [aux_sym_command_repeat2] = STATE(1142), + [sym_file_descriptor] = ACTIONS(2340), [anon_sym_RPAREN] = ACTIONS(907), [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_LPAREN] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(2405), [anon_sym_PIPE] = ACTIONS(907), [anon_sym_PIPE_AMP] = ACTIONS(907), [anon_sym_AMP_AMP] = ACTIONS(907), [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_RBRACK] = ACTIONS(907), - [anon_sym_RBRACK_RBRACK] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR] = ACTIONS(907), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2411), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2411), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(907), [anon_sym_LF] = ACTIONS(907), [anon_sym_AMP] = ACTIONS(907), }, - [1013] = { - [anon_sym_RPAREN] = ACTIONS(2811), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [1008] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(909), + [anon_sym_SEMI_SEMI] = ACTIONS(909), + [anon_sym_PIPE] = ACTIONS(909), + [anon_sym_PIPE_AMP] = ACTIONS(909), + [anon_sym_AMP_AMP] = ACTIONS(909), + [anon_sym_PIPE_PIPE] = ACTIONS(909), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(909), + [anon_sym_LF] = ACTIONS(909), + [anon_sym_AMP] = ACTIONS(909), + }, + [1009] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1088), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(677), + [anon_sym_SEMI_SEMI] = ACTIONS(677), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(677), + [anon_sym_PIPE_AMP] = ACTIONS(677), + [anon_sym_AMP_AMP] = ACTIONS(677), + [anon_sym_PIPE_PIPE] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2801), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(677), + [anon_sym_LF] = ACTIONS(677), + [anon_sym_AMP] = ACTIONS(677), + }, + [1010] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [1011] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [1012] = { + [sym_compound_statement] = STATE(1143), + [anon_sym_LBRACE] = ACTIONS(2809), [sym_comment] = ACTIONS(115), }, + [1013] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1144), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(879), + [anon_sym_SEMI_SEMI] = ACTIONS(879), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(879), + [anon_sym_PIPE_AMP] = ACTIONS(879), + [anon_sym_AMP_AMP] = ACTIONS(879), + [anon_sym_PIPE_PIPE] = ACTIONS(879), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2875), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(879), + [anon_sym_LF] = ACTIONS(879), + [anon_sym_AMP] = ACTIONS(879), + }, [1014] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2811), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(881), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(881), + [anon_sym_PIPE_AMP] = ACTIONS(881), + [anon_sym_AMP_AMP] = ACTIONS(881), + [anon_sym_PIPE_PIPE] = ACTIONS(881), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(881), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), }, [1015] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_LPAREN] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_RBRACK] = ACTIONS(737), - [anon_sym_RBRACK_RBRACK] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR] = ACTIONS(737), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), + [sym_file_descriptor] = ACTIONS(553), + [anon_sym_RPAREN] = ACTIONS(557), + [anon_sym_SEMI_SEMI] = ACTIONS(557), + [anon_sym_PIPE] = ACTIONS(557), + [anon_sym_PIPE_AMP] = ACTIONS(557), + [anon_sym_AMP_AMP] = ACTIONS(557), + [anon_sym_PIPE_PIPE] = ACTIONS(557), + [anon_sym_LT] = ACTIONS(557), + [anon_sym_GT] = ACTIONS(557), + [anon_sym_GT_GT] = ACTIONS(557), + [anon_sym_AMP_GT] = ACTIONS(557), + [anon_sym_AMP_GT_GT] = ACTIONS(557), + [anon_sym_LT_AMP] = ACTIONS(557), + [anon_sym_GT_AMP] = ACTIONS(557), + [anon_sym_LT_LT] = ACTIONS(557), + [anon_sym_LT_LT_DASH] = ACTIONS(557), + [anon_sym_BQUOTE] = ACTIONS(557), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(557), + [anon_sym_LF] = ACTIONS(557), + [anon_sym_AMP] = ACTIONS(557), }, [1016] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_LPAREN] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_RBRACK] = ACTIONS(925), - [anon_sym_RBRACK_RBRACK] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR] = ACTIONS(925), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_LPAREN] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR] = ACTIONS(569), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), }, [1017] = { - [sym_string] = STATE(1103), - [sym_array] = STATE(1103), - [sym_simple_expansion] = STATE(1103), - [sym_expansion] = STATE(1103), - [sym_command_substitution] = STATE(1103), - [sym_process_substitution] = STATE(1103), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2813), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2815), + [anon_sym_RPAREN] = ACTIONS(2878), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, [1018] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_LPAREN] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_RBRACK] = ACTIONS(931), - [anon_sym_RBRACK_RBRACK] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR] = ACTIONS(931), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [1019] = { - [sym_string] = STATE(1104), - [sym_array] = STATE(1104), - [sym_simple_expansion] = STATE(1104), - [sym_expansion] = STATE(1104), - [sym_command_substitution] = STATE(1104), - [sym_process_substitution] = STATE(1104), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2817), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2819), - [sym_comment] = ACTIONS(115), - }, - [1020] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_LPAREN] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_RBRACK] = ACTIONS(847), - [anon_sym_RBRACK_RBRACK] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR] = ACTIONS(847), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [1021] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1105), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1167), - [anon_sym_SEMI_SEMI] = ACTIONS(1167), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(1167), - [anon_sym_PIPE_AMP] = ACTIONS(1167), - [anon_sym_AMP_AMP] = ACTIONS(1167), - [anon_sym_PIPE_PIPE] = ACTIONS(1167), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2821), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1167), - [anon_sym_LF] = ACTIONS(1167), - [anon_sym_AMP] = ACTIONS(1167), - }, - [1022] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(983), - [anon_sym_SEMI_SEMI] = ACTIONS(983), - [anon_sym_PIPE] = ACTIONS(983), - [anon_sym_PIPE_AMP] = ACTIONS(983), - [anon_sym_AMP_AMP] = ACTIONS(983), - [anon_sym_PIPE_PIPE] = ACTIONS(983), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(983), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(983), - [anon_sym_LF] = ACTIONS(983), - [anon_sym_AMP] = ACTIONS(983), - }, - [1023] = { - [sym_file_redirect] = STATE(721), - [sym_heredoc_redirect] = STATE(721), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1106), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1169), - [anon_sym_SEMI_SEMI] = ACTIONS(1169), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(1169), - [anon_sym_PIPE_AMP] = ACTIONS(1169), - [anon_sym_AMP_AMP] = ACTIONS(1169), - [anon_sym_PIPE_PIPE] = ACTIONS(1169), - [anon_sym_LT] = ACTIONS(2303), - [anon_sym_GT] = ACTIONS(2303), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2824), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1169), - [anon_sym_LF] = ACTIONS(1169), - [anon_sym_AMP] = ACTIONS(1169), - }, - [1024] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1171), - [anon_sym_SEMI_SEMI] = ACTIONS(1171), - [anon_sym_PIPE] = ACTIONS(1171), - [anon_sym_PIPE_AMP] = ACTIONS(1171), - [anon_sym_AMP_AMP] = ACTIONS(1171), - [anon_sym_PIPE_PIPE] = ACTIONS(1171), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(1171), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1171), - [anon_sym_LF] = ACTIONS(1171), - [anon_sym_AMP] = ACTIONS(1171), - }, - [1025] = { - [anon_sym_RPAREN] = ACTIONS(1207), - [anon_sym_SEMI_SEMI] = ACTIONS(1207), - [anon_sym_PIPE] = ACTIONS(1207), - [anon_sym_PIPE_AMP] = ACTIONS(1207), - [anon_sym_AMP_AMP] = ACTIONS(1207), - [anon_sym_PIPE_PIPE] = ACTIONS(1207), - [anon_sym_BQUOTE] = ACTIONS(1207), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1207), - [anon_sym_LF] = ACTIONS(1207), - [anon_sym_AMP] = ACTIONS(1207), - }, - [1026] = { - [sym_do_group] = STATE(1107), - [anon_sym_do] = ACTIONS(2459), - [sym_comment] = ACTIONS(115), - }, - [1027] = { - [anon_sym_RPAREN] = ACTIONS(889), - [anon_sym_SEMI_SEMI] = ACTIONS(889), - [anon_sym_PIPE] = ACTIONS(889), - [anon_sym_PIPE_AMP] = ACTIONS(889), - [anon_sym_AMP_AMP] = ACTIONS(889), - [anon_sym_PIPE_PIPE] = ACTIONS(889), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(889), - [anon_sym_LF] = ACTIONS(889), - [anon_sym_AMP] = ACTIONS(889), - }, - [1028] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(2827), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [1029] = { - [anon_sym_RPAREN] = ACTIONS(893), - [anon_sym_SEMI_SEMI] = ACTIONS(893), - [anon_sym_PIPE] = ACTIONS(893), - [anon_sym_PIPE_AMP] = ACTIONS(893), - [anon_sym_AMP_AMP] = ACTIONS(893), - [anon_sym_PIPE_PIPE] = ACTIONS(893), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(893), - [anon_sym_LF] = ACTIONS(893), - [anon_sym_AMP] = ACTIONS(893), - }, - [1030] = { - [anon_sym_fi] = ACTIONS(2829), - [sym_comment] = ACTIONS(115), - }, - [1031] = { - [sym__terminated_statement] = STATE(100), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(254), - [sym_else_clause] = STATE(1110), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(1111), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2831), - [anon_sym_elif] = ACTIONS(557), - [anon_sym_else] = ACTIONS(559), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [1032] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(1110), - [anon_sym_fi] = ACTIONS(2829), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), - [sym_comment] = ACTIONS(115), - }, - [1033] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(1113), - [anon_sym_esac] = ACTIONS(2833), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [1034] = { - [anon_sym_SEMI_SEMI] = ACTIONS(2835), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2835), - [anon_sym_LF] = ACTIONS(2835), - [anon_sym_AMP] = ACTIONS(2835), - }, - [1035] = { - [sym_compound_statement] = STATE(1115), - [anon_sym_LBRACE] = ACTIONS(2713), - [sym_comment] = ACTIONS(115), - }, - [1036] = { - [sym_file_descriptor] = ACTIONS(545), - [anon_sym_RPAREN] = ACTIONS(549), - [anon_sym_SEMI_SEMI] = ACTIONS(549), - [anon_sym_PIPE] = ACTIONS(549), - [anon_sym_PIPE_AMP] = ACTIONS(549), - [anon_sym_AMP_AMP] = ACTIONS(549), - [anon_sym_PIPE_PIPE] = ACTIONS(549), - [anon_sym_LT] = ACTIONS(549), - [anon_sym_GT] = ACTIONS(549), - [anon_sym_GT_GT] = ACTIONS(549), - [anon_sym_AMP_GT] = ACTIONS(549), - [anon_sym_AMP_GT_GT] = ACTIONS(549), - [anon_sym_LT_AMP] = ACTIONS(549), - [anon_sym_GT_AMP] = ACTIONS(549), - [anon_sym_LT_LT] = ACTIONS(549), - [anon_sym_LT_LT_DASH] = ACTIONS(549), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(549), - [anon_sym_LF] = ACTIONS(549), - [anon_sym_AMP] = ACTIONS(549), - }, - [1037] = { - [sym_for_statement] = STATE(1078), - [sym_while_statement] = STATE(1078), - [sym_if_statement] = STATE(1078), - [sym_case_statement] = STATE(1078), - [sym_function_definition] = STATE(1078), - [sym_subshell] = STATE(1078), - [sym_pipeline] = STATE(1078), - [sym_list] = STATE(1078), - [sym_bracket_command] = STATE(1078), - [sym_command] = STATE(1078), - [sym_environment_variable_assignment] = STATE(1079), + [sym_for_statement] = STATE(1146), + [sym_while_statement] = STATE(1146), + [sym_if_statement] = STATE(1146), + [sym_case_statement] = STATE(1146), + [sym_function_definition] = STATE(1146), + [sym_subshell] = STATE(1146), + [sym_pipeline] = STATE(1146), + [sym_list] = STATE(1146), + [sym_bracket_command] = STATE(1146), + [sym_command] = STATE(1146), + [sym_environment_variable_assignment] = STATE(1147), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), [aux_sym_command_repeat1] = STATE(87), - [aux_sym_array_repeat1] = STATE(1040), + [aux_sym_array_repeat1] = STATE(1034), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(203), [anon_sym_while] = ACTIONS(205), [anon_sym_if] = ACTIONS(207), [anon_sym_case] = ACTIONS(209), - [anon_sym_RPAREN] = ACTIONS(2697), + [anon_sym_RPAREN] = ACTIONS(2703), [anon_sym_function] = ACTIONS(211), [anon_sym_LPAREN] = ACTIONS(213), [anon_sym_LBRACK] = ACTIONS(215), @@ -32499,72 +32090,330 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), [anon_sym_BQUOTE] = ACTIONS(227), [sym_leading_word] = ACTIONS(229), - [sym_word] = ACTIONS(965), + [sym_word] = ACTIONS(995), [sym_comment] = ACTIONS(115), }, - [1038] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(983), - [anon_sym_SEMI_SEMI] = ACTIONS(983), - [anon_sym_PIPE] = ACTIONS(983), - [anon_sym_PIPE_AMP] = ACTIONS(983), - [anon_sym_AMP_AMP] = ACTIONS(983), - [anon_sym_PIPE_PIPE] = ACTIONS(983), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(983), - [anon_sym_LF] = ACTIONS(983), - [anon_sym_AMP] = ACTIONS(983), + [1019] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_LPAREN] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR] = ACTIONS(421), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, - [1039] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_LT_LT] = ACTIONS(561), - [anon_sym_LT_LT_DASH] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [1020] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2880), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), }, - [1040] = { - [anon_sym_RPAREN] = ACTIONS(2837), - [sym_word] = ACTIONS(569), + [1021] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_LPAREN] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [1022] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_LPAREN] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR] = ACTIONS(587), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [1023] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_LPAREN] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR] = ACTIONS(589), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [1024] = { + [sym_special_variable_name] = STATE(1150), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(2882), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [1025] = { + [anon_sym_RBRACE] = ACTIONS(2884), + [anon_sym_COLON] = ACTIONS(2886), + [anon_sym_EQ] = ACTIONS(2888), + [anon_sym_COLON_QMARK] = ACTIONS(2888), + [anon_sym_COLON_DASH] = ACTIONS(2888), [sym_comment] = ACTIONS(115), }, - [1041] = { - [sym_for_statement] = STATE(1117), - [sym_while_statement] = STATE(1117), - [sym_if_statement] = STATE(1117), - [sym_case_statement] = STATE(1117), - [sym_function_definition] = STATE(1117), - [sym_subshell] = STATE(1117), - [sym_pipeline] = STATE(1117), - [sym_list] = STATE(1117), - [sym_bracket_command] = STATE(1117), - [sym_command] = STATE(1117), - [sym_environment_variable_assignment] = STATE(1118), + [1026] = { + [anon_sym_RBRACE] = ACTIONS(2890), + [anon_sym_COLON] = ACTIONS(2892), + [anon_sym_EQ] = ACTIONS(2894), + [anon_sym_COLON_QMARK] = ACTIONS(2894), + [anon_sym_COLON_DASH] = ACTIONS(2894), + [sym_comment] = ACTIONS(115), + }, + [1027] = { + [anon_sym_RPAREN] = ACTIONS(2896), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [1028] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2896), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1029] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2896), + [sym_comment] = ACTIONS(115), + }, + [1030] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2898), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1031] = { + [sym_file_descriptor] = ACTIONS(651), + [anon_sym_RPAREN] = ACTIONS(655), + [anon_sym_SEMI_SEMI] = ACTIONS(655), + [anon_sym_LPAREN] = ACTIONS(655), + [anon_sym_PIPE] = ACTIONS(655), + [anon_sym_PIPE_AMP] = ACTIONS(655), + [anon_sym_AMP_AMP] = ACTIONS(655), + [anon_sym_PIPE_PIPE] = ACTIONS(655), + [anon_sym_LT] = ACTIONS(655), + [anon_sym_GT] = ACTIONS(655), + [anon_sym_GT_GT] = ACTIONS(655), + [anon_sym_AMP_GT] = ACTIONS(655), + [anon_sym_AMP_GT_GT] = ACTIONS(655), + [anon_sym_LT_AMP] = ACTIONS(655), + [anon_sym_GT_AMP] = ACTIONS(655), + [anon_sym_LT_LT] = ACTIONS(655), + [anon_sym_LT_LT_DASH] = ACTIONS(655), + [anon_sym_DQUOTE] = ACTIONS(655), + [sym_raw_string] = ACTIONS(655), + [anon_sym_DOLLAR] = ACTIONS(655), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(655), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(655), + [anon_sym_BQUOTE] = ACTIONS(655), + [sym_word] = ACTIONS(655), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(655), + [anon_sym_LF] = ACTIONS(655), + [anon_sym_AMP] = ACTIONS(655), + }, + [1032] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(2901), + [anon_sym_SEMI_SEMI] = ACTIONS(2901), + [anon_sym_PIPE] = ACTIONS(2901), + [anon_sym_PIPE_AMP] = ACTIONS(2901), + [anon_sym_AMP_AMP] = ACTIONS(2901), + [anon_sym_PIPE_PIPE] = ACTIONS(2901), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(2901), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2901), + [anon_sym_LF] = ACTIONS(2901), + [anon_sym_AMP] = ACTIONS(2901), + }, + [1033] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [1034] = { + [anon_sym_RPAREN] = ACTIONS(2904), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [1035] = { + [sym_for_statement] = STATE(1157), + [sym_while_statement] = STATE(1157), + [sym_if_statement] = STATE(1157), + [sym_case_statement] = STATE(1157), + [sym_function_definition] = STATE(1157), + [sym_subshell] = STATE(1157), + [sym_pipeline] = STATE(1157), + [sym_list] = STATE(1157), + [sym_bracket_command] = STATE(1157), + [sym_command] = STATE(1157), + [sym_environment_variable_assignment] = STATE(1158), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -32593,213 +32442,1674 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [1042] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_LT_LT] = ACTIONS(415), - [anon_sym_LT_LT_DASH] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [1036] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, - [1043] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2839), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [1037] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2906), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), + }, + [1038] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [1039] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [1040] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [1041] = { + [sym_special_variable_name] = STATE(1161), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(2908), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [1042] = { + [anon_sym_RBRACE] = ACTIONS(2910), + [anon_sym_COLON] = ACTIONS(2912), + [anon_sym_EQ] = ACTIONS(2914), + [anon_sym_COLON_QMARK] = ACTIONS(2914), + [anon_sym_COLON_DASH] = ACTIONS(2914), + [sym_comment] = ACTIONS(115), + }, + [1043] = { + [anon_sym_RBRACE] = ACTIONS(2916), + [anon_sym_COLON] = ACTIONS(2918), + [anon_sym_EQ] = ACTIONS(2920), + [anon_sym_COLON_QMARK] = ACTIONS(2920), + [anon_sym_COLON_DASH] = ACTIONS(2920), + [sym_comment] = ACTIONS(115), }, [1044] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(577), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), + [anon_sym_RPAREN] = ACTIONS(2922), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), }, [1045] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_LT_LT] = ACTIONS(579), - [anon_sym_LT_LT_DASH] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2922), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), }, [1046] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_LT_LT] = ACTIONS(581), - [anon_sym_LT_LT_DASH] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(2922), + [sym_comment] = ACTIONS(115), }, [1047] = { - [anon_sym_RBRACE] = ACTIONS(2841), - [anon_sym_COLON] = ACTIONS(2843), - [anon_sym_EQ] = ACTIONS(2845), - [anon_sym_COLON_QMARK] = ACTIONS(2845), - [anon_sym_COLON_DASH] = ACTIONS(2845), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2924), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [1048] = { - [anon_sym_RBRACE] = ACTIONS(2847), - [anon_sym_COLON] = ACTIONS(2849), - [anon_sym_EQ] = ACTIONS(2851), - [anon_sym_COLON_QMARK] = ACTIONS(2851), - [anon_sym_COLON_DASH] = ACTIONS(2851), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_RBRACE] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_COLON] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_leading_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), }, [1049] = { - [anon_sym_RPAREN] = ACTIONS(2853), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(2927), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, [1050] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2853), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(2927), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [1051] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2853), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_RBRACE] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_COLON] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_leading_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), }, [1052] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2855), - [sym_leading_word] = ACTIONS(261), + [anon_sym_RBRACE] = ACTIONS(2929), [sym_comment] = ACTIONS(115), }, [1053] = { - [sym_file_descriptor] = ACTIONS(1007), - [anon_sym_RPAREN] = ACTIONS(1009), - [anon_sym_SEMI_SEMI] = ACTIONS(1009), - [anon_sym_PIPE] = ACTIONS(1009), - [anon_sym_PIPE_AMP] = ACTIONS(1009), - [anon_sym_AMP_AMP] = ACTIONS(1009), - [anon_sym_PIPE_PIPE] = ACTIONS(1009), - [anon_sym_LT] = ACTIONS(1009), - [anon_sym_GT] = ACTIONS(1009), - [anon_sym_GT_GT] = ACTIONS(1009), - [anon_sym_AMP_GT] = ACTIONS(1009), - [anon_sym_AMP_GT_GT] = ACTIONS(1009), - [anon_sym_LT_AMP] = ACTIONS(1009), - [anon_sym_GT_AMP] = ACTIONS(1009), - [anon_sym_LT_LT] = ACTIONS(1009), - [anon_sym_LT_LT_DASH] = ACTIONS(1009), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1009), - [anon_sym_LF] = ACTIONS(1009), - [anon_sym_AMP] = ACTIONS(1009), - }, - [1054] = { - [sym_simple_expansion] = STATE(446), - [sym_expansion] = STATE(446), - [sym__heredoc_middle] = ACTIONS(1019), - [sym__heredoc_end] = ACTIONS(2858), - [anon_sym_DOLLAR] = ACTIONS(691), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [anon_sym_RBRACE] = ACTIONS(2931), [sym_comment] = ACTIONS(115), }, + [1054] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_RBRACE] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_COLON] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_leading_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, [1055] = { + [sym_string] = STATE(1170), + [sym_array] = STATE(1170), + [sym_simple_expansion] = STATE(1170), + [sym_expansion] = STATE(1170), + [sym_command_substitution] = STATE(1170), + [sym_process_substitution] = STATE(1170), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2933), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2935), + [sym_comment] = ACTIONS(115), + }, + [1056] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_RBRACE] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_COLON] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_leading_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, + [1057] = { + [sym_string] = STATE(1171), + [sym_array] = STATE(1171), + [sym_simple_expansion] = STATE(1171), + [sym_expansion] = STATE(1171), + [sym_command_substitution] = STATE(1171), + [sym_process_substitution] = STATE(1171), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2937), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2939), + [sym_comment] = ACTIONS(115), + }, + [1058] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_RBRACE] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_COLON] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_leading_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [1059] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_COLON] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_leading_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), + }, + [1060] = { + [anon_sym_RPAREN] = ACTIONS(2941), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [1061] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2941), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1062] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_COLON] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_leading_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [1063] = { + [anon_sym_RBRACE] = ACTIONS(2943), + [sym_comment] = ACTIONS(115), + }, + [1064] = { + [anon_sym_RBRACE] = ACTIONS(2945), + [sym_comment] = ACTIONS(115), + }, + [1065] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_COLON] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_leading_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [1066] = { + [sym_string] = STATE(1175), + [sym_array] = STATE(1175), + [sym_simple_expansion] = STATE(1175), + [sym_expansion] = STATE(1175), + [sym_command_substitution] = STATE(1175), + [sym_process_substitution] = STATE(1175), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2947), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2949), + [sym_comment] = ACTIONS(115), + }, + [1067] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_COLON] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_leading_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, + [1068] = { + [sym_string] = STATE(1176), + [sym_array] = STATE(1176), + [sym_simple_expansion] = STATE(1176), + [sym_expansion] = STATE(1176), + [sym_command_substitution] = STATE(1176), + [sym_process_substitution] = STATE(1176), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2951), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2953), + [sym_comment] = ACTIONS(115), + }, + [1069] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_COLON] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_leading_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [1070] = { + [anon_sym_RPAREN] = ACTIONS(1455), + [anon_sym_SEMI_SEMI] = ACTIONS(1455), + [anon_sym_PIPE] = ACTIONS(1455), + [anon_sym_PIPE_AMP] = ACTIONS(1455), + [anon_sym_AMP_AMP] = ACTIONS(1455), + [anon_sym_PIPE_PIPE] = ACTIONS(1455), + [anon_sym_BQUOTE] = ACTIONS(1455), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1455), + [anon_sym_LF] = ACTIONS(1455), + [anon_sym_AMP] = ACTIONS(1455), + }, + [1071] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(2955), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [1072] = { + [anon_sym_RPAREN] = ACTIONS(1239), + [anon_sym_SEMI_SEMI] = ACTIONS(1239), + [anon_sym_PIPE] = ACTIONS(1239), + [anon_sym_PIPE_AMP] = ACTIONS(1239), + [anon_sym_AMP_AMP] = ACTIONS(1239), + [anon_sym_PIPE_PIPE] = ACTIONS(1239), + [anon_sym_BQUOTE] = ACTIONS(1239), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1239), + [anon_sym_LF] = ACTIONS(1239), + [anon_sym_AMP] = ACTIONS(1239), + }, + [1073] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(2767), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [1074] = { + [sym__heredoc_middle] = ACTIONS(1473), + [sym__heredoc_end] = ACTIONS(1473), + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_in] = ACTIONS(1467), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_LPAREN] = ACTIONS(1467), + [anon_sym_RBRACE] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_RBRACK] = ACTIONS(1467), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1467), + [anon_sym_COLON] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR] = ACTIONS(1467), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_leading_word] = ACTIONS(1467), + [sym_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), + }, + [1075] = { + [anon_sym_RPAREN] = ACTIONS(1573), + [anon_sym_SEMI_SEMI] = ACTIONS(1573), + [anon_sym_PIPE] = ACTIONS(1573), + [anon_sym_PIPE_AMP] = ACTIONS(1573), + [anon_sym_AMP_AMP] = ACTIONS(1573), + [anon_sym_PIPE_PIPE] = ACTIONS(1573), + [anon_sym_BQUOTE] = ACTIONS(1573), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1573), + [anon_sym_LF] = ACTIONS(1573), + [anon_sym_AMP] = ACTIONS(1573), + }, + [1076] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_LPAREN] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_RBRACK] = ACTIONS(929), + [anon_sym_RBRACK_RBRACK] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR] = ACTIONS(929), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), + }, + [1077] = { + [anon_sym_RPAREN] = ACTIONS(2957), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [1078] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2957), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1079] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_LPAREN] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_RBRACK] = ACTIONS(757), + [anon_sym_RBRACK_RBRACK] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR] = ACTIONS(757), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [1080] = { + [anon_sym_RBRACE] = ACTIONS(2959), + [sym_comment] = ACTIONS(115), + }, + [1081] = { + [anon_sym_RBRACE] = ACTIONS(2961), + [sym_comment] = ACTIONS(115), + }, + [1082] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_LPAREN] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_RBRACK] = ACTIONS(951), + [anon_sym_RBRACK_RBRACK] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR] = ACTIONS(951), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [1083] = { + [sym_string] = STATE(1181), + [sym_array] = STATE(1181), + [sym_simple_expansion] = STATE(1181), + [sym_expansion] = STATE(1181), + [sym_command_substitution] = STATE(1181), + [sym_process_substitution] = STATE(1181), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2963), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2965), + [sym_comment] = ACTIONS(115), + }, + [1084] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_LPAREN] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_RBRACK] = ACTIONS(957), + [anon_sym_RBRACK_RBRACK] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR] = ACTIONS(957), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, + [1085] = { + [sym_string] = STATE(1182), + [sym_array] = STATE(1182), + [sym_simple_expansion] = STATE(1182), + [sym_expansion] = STATE(1182), + [sym_command_substitution] = STATE(1182), + [sym_process_substitution] = STATE(1182), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2967), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2969), + [sym_comment] = ACTIONS(115), + }, + [1086] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_LPAREN] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_RBRACK] = ACTIONS(867), + [anon_sym_RBRACK_RBRACK] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR] = ACTIONS(867), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [1087] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1183), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1217), + [anon_sym_SEMI_SEMI] = ACTIONS(1217), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(1217), + [anon_sym_PIPE_AMP] = ACTIONS(1217), + [anon_sym_AMP_AMP] = ACTIONS(1217), + [anon_sym_PIPE_PIPE] = ACTIONS(1217), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2971), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1217), + [anon_sym_LF] = ACTIONS(1217), + [anon_sym_AMP] = ACTIONS(1217), + }, + [1088] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1015), + [anon_sym_SEMI_SEMI] = ACTIONS(1015), + [anon_sym_PIPE] = ACTIONS(1015), + [anon_sym_PIPE_AMP] = ACTIONS(1015), + [anon_sym_AMP_AMP] = ACTIONS(1015), + [anon_sym_PIPE_PIPE] = ACTIONS(1015), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(1015), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1015), + [anon_sym_LF] = ACTIONS(1015), + [anon_sym_AMP] = ACTIONS(1015), + }, + [1089] = { + [sym_file_redirect] = STATE(772), + [sym_heredoc_redirect] = STATE(772), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1184), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1219), + [anon_sym_SEMI_SEMI] = ACTIONS(1219), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(1219), + [anon_sym_PIPE_AMP] = ACTIONS(1219), + [anon_sym_AMP_AMP] = ACTIONS(1219), + [anon_sym_PIPE_PIPE] = ACTIONS(1219), + [anon_sym_LT] = ACTIONS(2407), + [anon_sym_GT] = ACTIONS(2407), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2974), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1219), + [anon_sym_LF] = ACTIONS(1219), + [anon_sym_AMP] = ACTIONS(1219), + }, + [1090] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1221), + [anon_sym_SEMI_SEMI] = ACTIONS(1221), + [anon_sym_PIPE] = ACTIONS(1221), + [anon_sym_PIPE_AMP] = ACTIONS(1221), + [anon_sym_AMP_AMP] = ACTIONS(1221), + [anon_sym_PIPE_PIPE] = ACTIONS(1221), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(1221), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1221), + [anon_sym_LF] = ACTIONS(1221), + [anon_sym_AMP] = ACTIONS(1221), + }, + [1091] = { + [anon_sym_RPAREN] = ACTIONS(1261), + [anon_sym_SEMI_SEMI] = ACTIONS(1261), + [anon_sym_PIPE] = ACTIONS(1261), + [anon_sym_PIPE_AMP] = ACTIONS(1261), + [anon_sym_AMP_AMP] = ACTIONS(1261), + [anon_sym_PIPE_PIPE] = ACTIONS(1261), + [anon_sym_BQUOTE] = ACTIONS(1261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1261), + [anon_sym_LF] = ACTIONS(1261), + [anon_sym_AMP] = ACTIONS(1261), + }, + [1092] = { + [sym_do_group] = STATE(1185), + [anon_sym_do] = ACTIONS(2579), + [sym_comment] = ACTIONS(115), + }, + [1093] = { + [anon_sym_RPAREN] = ACTIONS(911), + [anon_sym_SEMI_SEMI] = ACTIONS(911), + [anon_sym_PIPE] = ACTIONS(911), + [anon_sym_PIPE_AMP] = ACTIONS(911), + [anon_sym_AMP_AMP] = ACTIONS(911), + [anon_sym_PIPE_PIPE] = ACTIONS(911), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(911), + [anon_sym_LF] = ACTIONS(911), + [anon_sym_AMP] = ACTIONS(911), + }, + [1094] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(2977), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [1095] = { + [anon_sym_RPAREN] = ACTIONS(915), + [anon_sym_SEMI_SEMI] = ACTIONS(915), + [anon_sym_PIPE] = ACTIONS(915), + [anon_sym_PIPE_AMP] = ACTIONS(915), + [anon_sym_AMP_AMP] = ACTIONS(915), + [anon_sym_PIPE_PIPE] = ACTIONS(915), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(915), + [anon_sym_LF] = ACTIONS(915), + [anon_sym_AMP] = ACTIONS(915), + }, + [1096] = { + [anon_sym_fi] = ACTIONS(2979), + [sym_comment] = ACTIONS(115), + }, + [1097] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(258), + [sym_else_clause] = STATE(1188), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(1189), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2981), + [anon_sym_elif] = ACTIONS(565), + [anon_sym_else] = ACTIONS(567), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [1098] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(1188), + [anon_sym_fi] = ACTIONS(2979), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), + [sym_comment] = ACTIONS(115), + }, + [1099] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(1191), + [anon_sym_esac] = ACTIONS(2983), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [1100] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2985), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(2985), + [anon_sym_LF] = ACTIONS(2985), + [anon_sym_AMP] = ACTIONS(2985), + }, + [1101] = { + [sym_compound_statement] = STATE(1193), + [anon_sym_LBRACE] = ACTIONS(2845), + [sym_comment] = ACTIONS(115), + }, + [1102] = { + [sym_file_descriptor] = ACTIONS(553), + [anon_sym_RPAREN] = ACTIONS(557), + [anon_sym_SEMI_SEMI] = ACTIONS(557), + [anon_sym_PIPE] = ACTIONS(557), + [anon_sym_PIPE_AMP] = ACTIONS(557), + [anon_sym_AMP_AMP] = ACTIONS(557), + [anon_sym_PIPE_PIPE] = ACTIONS(557), + [anon_sym_LT] = ACTIONS(557), + [anon_sym_GT] = ACTIONS(557), + [anon_sym_GT_GT] = ACTIONS(557), + [anon_sym_AMP_GT] = ACTIONS(557), + [anon_sym_AMP_GT_GT] = ACTIONS(557), + [anon_sym_LT_AMP] = ACTIONS(557), + [anon_sym_GT_AMP] = ACTIONS(557), + [anon_sym_LT_LT] = ACTIONS(557), + [anon_sym_LT_LT_DASH] = ACTIONS(557), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(557), + [anon_sym_LF] = ACTIONS(557), + [anon_sym_AMP] = ACTIONS(557), + }, + [1103] = { + [sym_for_statement] = STATE(1146), + [sym_while_statement] = STATE(1146), + [sym_if_statement] = STATE(1146), + [sym_case_statement] = STATE(1146), + [sym_function_definition] = STATE(1146), + [sym_subshell] = STATE(1146), + [sym_pipeline] = STATE(1146), + [sym_list] = STATE(1146), + [sym_bracket_command] = STATE(1146), + [sym_command] = STATE(1146), + [sym_environment_variable_assignment] = STATE(1147), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(1106), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2827), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(995), + [sym_comment] = ACTIONS(115), + }, + [1104] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1015), + [anon_sym_SEMI_SEMI] = ACTIONS(1015), + [anon_sym_PIPE] = ACTIONS(1015), + [anon_sym_PIPE_AMP] = ACTIONS(1015), + [anon_sym_AMP_AMP] = ACTIONS(1015), + [anon_sym_PIPE_PIPE] = ACTIONS(1015), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1015), + [anon_sym_LF] = ACTIONS(1015), + [anon_sym_AMP] = ACTIONS(1015), + }, + [1105] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_LT_LT] = ACTIONS(569), + [anon_sym_LT_LT_DASH] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [1106] = { + [anon_sym_RPAREN] = ACTIONS(2987), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [1107] = { + [sym_for_statement] = STATE(1195), + [sym_while_statement] = STATE(1195), + [sym_if_statement] = STATE(1195), + [sym_case_statement] = STATE(1195), + [sym_function_definition] = STATE(1195), + [sym_subshell] = STATE(1195), + [sym_pipeline] = STATE(1195), + [sym_list] = STATE(1195), + [sym_bracket_command] = STATE(1195), + [sym_command] = STATE(1195), + [sym_environment_variable_assignment] = STATE(1196), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [1108] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_LT_LT] = ACTIONS(421), + [anon_sym_LT_LT_DASH] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), + }, + [1109] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(2989), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(75), + }, + [1110] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [1111] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_LT_LT] = ACTIONS(587), + [anon_sym_LT_LT_DASH] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), + }, + [1112] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_LT_LT] = ACTIONS(589), + [anon_sym_LT_LT_DASH] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), + }, + [1113] = { + [sym_special_variable_name] = STATE(1199), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(2991), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [1114] = { + [anon_sym_RBRACE] = ACTIONS(2993), + [anon_sym_COLON] = ACTIONS(2995), + [anon_sym_EQ] = ACTIONS(2997), + [anon_sym_COLON_QMARK] = ACTIONS(2997), + [anon_sym_COLON_DASH] = ACTIONS(2997), + [sym_comment] = ACTIONS(115), + }, + [1115] = { + [anon_sym_RBRACE] = ACTIONS(2999), + [anon_sym_COLON] = ACTIONS(3001), + [anon_sym_EQ] = ACTIONS(3003), + [anon_sym_COLON_QMARK] = ACTIONS(3003), + [anon_sym_COLON_DASH] = ACTIONS(3003), + [sym_comment] = ACTIONS(115), + }, + [1116] = { + [anon_sym_RPAREN] = ACTIONS(3005), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [1117] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(3005), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1118] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(3005), + [sym_comment] = ACTIONS(115), + }, + [1119] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(3007), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1120] = { + [sym_file_descriptor] = ACTIONS(1041), + [anon_sym_RPAREN] = ACTIONS(1043), + [anon_sym_SEMI_SEMI] = ACTIONS(1043), + [anon_sym_PIPE] = ACTIONS(1043), + [anon_sym_PIPE_AMP] = ACTIONS(1043), + [anon_sym_AMP_AMP] = ACTIONS(1043), + [anon_sym_PIPE_PIPE] = ACTIONS(1043), + [anon_sym_LT] = ACTIONS(1043), + [anon_sym_GT] = ACTIONS(1043), + [anon_sym_GT_GT] = ACTIONS(1043), + [anon_sym_AMP_GT] = ACTIONS(1043), + [anon_sym_AMP_GT_GT] = ACTIONS(1043), + [anon_sym_LT_AMP] = ACTIONS(1043), + [anon_sym_GT_AMP] = ACTIONS(1043), + [anon_sym_LT_LT] = ACTIONS(1043), + [anon_sym_LT_LT_DASH] = ACTIONS(1043), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1043), + [anon_sym_LF] = ACTIONS(1043), + [anon_sym_AMP] = ACTIONS(1043), + }, + [1121] = { + [sym_simple_expansion] = STATE(470), + [sym_expansion] = STATE(470), + [sym__heredoc_middle] = ACTIONS(1055), + [sym__heredoc_end] = ACTIONS(3010), + [anon_sym_DOLLAR] = ACTIONS(707), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), + [sym_comment] = ACTIONS(115), + }, + [1122] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -32815,7 +34125,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(1127), + [aux_sym_program_repeat1] = STATE(1207), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), @@ -32824,7 +34134,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(2860), + [anon_sym_RBRACE] = ACTIONS(3012), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -32842,85 +34152,85 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [1056] = { - [anon_sym_RPAREN] = ACTIONS(1145), - [anon_sym_SEMI_SEMI] = ACTIONS(1145), - [anon_sym_PIPE] = ACTIONS(1145), - [anon_sym_PIPE_AMP] = ACTIONS(1145), - [anon_sym_AMP_AMP] = ACTIONS(1145), - [anon_sym_PIPE_PIPE] = ACTIONS(1145), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1145), - [anon_sym_LF] = ACTIONS(1145), - [anon_sym_AMP] = ACTIONS(1145), + [1123] = { + [anon_sym_RPAREN] = ACTIONS(1193), + [anon_sym_SEMI_SEMI] = ACTIONS(1193), + [anon_sym_PIPE] = ACTIONS(1193), + [anon_sym_PIPE_AMP] = ACTIONS(1193), + [anon_sym_AMP_AMP] = ACTIONS(1193), + [anon_sym_PIPE_PIPE] = ACTIONS(1193), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1193), + [anon_sym_LF] = ACTIONS(1193), + [anon_sym_AMP] = ACTIONS(1193), }, - [1057] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(1147), - [anon_sym_SEMI_SEMI] = ACTIONS(1147), - [anon_sym_PIPE] = ACTIONS(1147), - [anon_sym_PIPE_AMP] = ACTIONS(1147), - [anon_sym_AMP_AMP] = ACTIONS(1147), - [anon_sym_PIPE_PIPE] = ACTIONS(1147), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1147), - [anon_sym_LF] = ACTIONS(1147), - [anon_sym_AMP] = ACTIONS(1147), + [1124] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1195), + [anon_sym_SEMI_SEMI] = ACTIONS(1195), + [anon_sym_PIPE] = ACTIONS(1195), + [anon_sym_PIPE_AMP] = ACTIONS(1195), + [anon_sym_AMP_AMP] = ACTIONS(1195), + [anon_sym_PIPE_PIPE] = ACTIONS(1195), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1195), + [anon_sym_LF] = ACTIONS(1195), + [anon_sym_AMP] = ACTIONS(1195), }, - [1058] = { - [sym_file_descriptor] = ACTIONS(605), - [anon_sym_RPAREN] = ACTIONS(561), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_PIPE] = ACTIONS(561), - [anon_sym_PIPE_AMP] = ACTIONS(561), - [anon_sym_AMP_AMP] = ACTIONS(561), - [anon_sym_PIPE_PIPE] = ACTIONS(561), - [anon_sym_COLON] = ACTIONS(561), - [anon_sym_LT] = ACTIONS(561), - [anon_sym_GT] = ACTIONS(561), - [anon_sym_GT_GT] = ACTIONS(561), - [anon_sym_AMP_GT] = ACTIONS(561), - [anon_sym_AMP_GT_GT] = ACTIONS(561), - [anon_sym_LT_AMP] = ACTIONS(561), - [anon_sym_GT_AMP] = ACTIONS(561), - [anon_sym_DQUOTE] = ACTIONS(561), - [sym_raw_string] = ACTIONS(561), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), - [anon_sym_BQUOTE] = ACTIONS(561), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), + [1125] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(569), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_PIPE] = ACTIONS(569), + [anon_sym_PIPE_AMP] = ACTIONS(569), + [anon_sym_AMP_AMP] = ACTIONS(569), + [anon_sym_PIPE_PIPE] = ACTIONS(569), + [anon_sym_COLON] = ACTIONS(569), + [anon_sym_LT] = ACTIONS(569), + [anon_sym_GT] = ACTIONS(569), + [anon_sym_GT_GT] = ACTIONS(569), + [anon_sym_AMP_GT] = ACTIONS(569), + [anon_sym_AMP_GT_GT] = ACTIONS(569), + [anon_sym_LT_AMP] = ACTIONS(569), + [anon_sym_GT_AMP] = ACTIONS(569), + [anon_sym_DQUOTE] = ACTIONS(569), + [sym_raw_string] = ACTIONS(569), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(569), + [anon_sym_BQUOTE] = ACTIONS(569), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), }, - [1059] = { - [anon_sym_RPAREN] = ACTIONS(2862), - [sym_word] = ACTIONS(569), + [1126] = { + [anon_sym_RPAREN] = ACTIONS(3014), + [sym_word] = ACTIONS(577), [sym_comment] = ACTIONS(115), }, - [1060] = { - [sym_for_statement] = STATE(1129), - [sym_while_statement] = STATE(1129), - [sym_if_statement] = STATE(1129), - [sym_case_statement] = STATE(1129), - [sym_function_definition] = STATE(1129), - [sym_subshell] = STATE(1129), - [sym_pipeline] = STATE(1129), - [sym_list] = STATE(1129), - [sym_bracket_command] = STATE(1129), - [sym_command] = STATE(1129), - [sym_environment_variable_assignment] = STATE(1130), + [1127] = { + [sym_for_statement] = STATE(1209), + [sym_while_statement] = STATE(1209), + [sym_if_statement] = STATE(1209), + [sym_case_statement] = STATE(1209), + [sym_function_definition] = STATE(1209), + [sym_subshell] = STATE(1209), + [sym_pipeline] = STATE(1209), + [sym_list] = STATE(1209), + [sym_bracket_command] = STATE(1209), + [sym_command] = STATE(1209), + [sym_environment_variable_assignment] = STATE(1210), [sym_file_redirect] = STATE(21), [sym_string] = STATE(80), [sym_command_substitution] = STATE(80), @@ -32949,1213 +34259,927 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [1061] = { - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(415), - [anon_sym_SEMI_SEMI] = ACTIONS(415), - [anon_sym_PIPE] = ACTIONS(415), - [anon_sym_PIPE_AMP] = ACTIONS(415), - [anon_sym_AMP_AMP] = ACTIONS(415), - [anon_sym_PIPE_PIPE] = ACTIONS(415), - [anon_sym_COLON] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(415), - [anon_sym_GT] = ACTIONS(415), - [anon_sym_GT_GT] = ACTIONS(415), - [anon_sym_AMP_GT] = ACTIONS(415), - [anon_sym_AMP_GT_GT] = ACTIONS(415), - [anon_sym_LT_AMP] = ACTIONS(415), - [anon_sym_GT_AMP] = ACTIONS(415), - [anon_sym_DQUOTE] = ACTIONS(415), - [sym_raw_string] = ACTIONS(415), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), - [anon_sym_BQUOTE] = ACTIONS(415), - [sym_leading_word] = ACTIONS(415), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(415), - [anon_sym_LF] = ACTIONS(415), - [anon_sym_AMP] = ACTIONS(415), + [1128] = { + [sym_file_descriptor] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(421), + [anon_sym_SEMI_SEMI] = ACTIONS(421), + [anon_sym_PIPE] = ACTIONS(421), + [anon_sym_PIPE_AMP] = ACTIONS(421), + [anon_sym_AMP_AMP] = ACTIONS(421), + [anon_sym_PIPE_PIPE] = ACTIONS(421), + [anon_sym_COLON] = ACTIONS(421), + [anon_sym_LT] = ACTIONS(421), + [anon_sym_GT] = ACTIONS(421), + [anon_sym_GT_GT] = ACTIONS(421), + [anon_sym_AMP_GT] = ACTIONS(421), + [anon_sym_AMP_GT_GT] = ACTIONS(421), + [anon_sym_LT_AMP] = ACTIONS(421), + [anon_sym_GT_AMP] = ACTIONS(421), + [anon_sym_DQUOTE] = ACTIONS(421), + [sym_raw_string] = ACTIONS(421), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(421), + [anon_sym_BQUOTE] = ACTIONS(421), + [sym_leading_word] = ACTIONS(421), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(421), + [anon_sym_LF] = ACTIONS(421), + [anon_sym_AMP] = ACTIONS(421), }, - [1062] = { - [sym_simple_expansion] = STATE(193), - [sym_expansion] = STATE(193), - [sym_command_substitution] = STATE(193), - [anon_sym_DQUOTE] = ACTIONS(2864), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [1129] = { + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(3016), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(439), [anon_sym_DOLLAR] = ACTIONS(195), [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), [anon_sym_BQUOTE] = ACTIONS(201), - [sym_comment] = ACTIONS(73), + [sym_comment] = ACTIONS(75), }, - [1063] = { - [sym_file_descriptor] = ACTIONS(583), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_SEMI_SEMI] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(577), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(577), - [anon_sym_COLON] = ACTIONS(577), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(577), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_leading_word] = ACTIONS(577), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), + [1130] = { + [sym_file_descriptor] = ACTIONS(591), + [anon_sym_RPAREN] = ACTIONS(585), + [anon_sym_SEMI_SEMI] = ACTIONS(585), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(585), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(585), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(585), + [anon_sym_BQUOTE] = ACTIONS(585), + [sym_leading_word] = ACTIONS(585), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, - [1064] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(579), - [anon_sym_SEMI_SEMI] = ACTIONS(579), - [anon_sym_PIPE] = ACTIONS(579), - [anon_sym_PIPE_AMP] = ACTIONS(579), - [anon_sym_AMP_AMP] = ACTIONS(579), - [anon_sym_PIPE_PIPE] = ACTIONS(579), - [anon_sym_COLON] = ACTIONS(579), - [anon_sym_LT] = ACTIONS(579), - [anon_sym_GT] = ACTIONS(579), - [anon_sym_GT_GT] = ACTIONS(579), - [anon_sym_AMP_GT] = ACTIONS(579), - [anon_sym_AMP_GT_GT] = ACTIONS(579), - [anon_sym_LT_AMP] = ACTIONS(579), - [anon_sym_GT_AMP] = ACTIONS(579), - [anon_sym_DQUOTE] = ACTIONS(579), - [sym_raw_string] = ACTIONS(579), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), - [anon_sym_BQUOTE] = ACTIONS(579), - [sym_leading_word] = ACTIONS(579), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(579), - [anon_sym_LF] = ACTIONS(579), - [anon_sym_AMP] = ACTIONS(579), + [1131] = { + [sym_file_descriptor] = ACTIONS(625), + [anon_sym_RPAREN] = ACTIONS(587), + [anon_sym_SEMI_SEMI] = ACTIONS(587), + [anon_sym_PIPE] = ACTIONS(587), + [anon_sym_PIPE_AMP] = ACTIONS(587), + [anon_sym_AMP_AMP] = ACTIONS(587), + [anon_sym_PIPE_PIPE] = ACTIONS(587), + [anon_sym_COLON] = ACTIONS(587), + [anon_sym_LT] = ACTIONS(587), + [anon_sym_GT] = ACTIONS(587), + [anon_sym_GT_GT] = ACTIONS(587), + [anon_sym_AMP_GT] = ACTIONS(587), + [anon_sym_AMP_GT_GT] = ACTIONS(587), + [anon_sym_LT_AMP] = ACTIONS(587), + [anon_sym_GT_AMP] = ACTIONS(587), + [anon_sym_DQUOTE] = ACTIONS(587), + [sym_raw_string] = ACTIONS(587), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(587), + [anon_sym_BQUOTE] = ACTIONS(587), + [sym_leading_word] = ACTIONS(587), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(587), + [anon_sym_LF] = ACTIONS(587), + [anon_sym_AMP] = ACTIONS(587), }, - [1065] = { - [sym_file_descriptor] = ACTIONS(619), - [anon_sym_RPAREN] = ACTIONS(581), - [anon_sym_SEMI_SEMI] = ACTIONS(581), - [anon_sym_PIPE] = ACTIONS(581), - [anon_sym_PIPE_AMP] = ACTIONS(581), - [anon_sym_AMP_AMP] = ACTIONS(581), - [anon_sym_PIPE_PIPE] = ACTIONS(581), - [anon_sym_COLON] = ACTIONS(581), - [anon_sym_LT] = ACTIONS(581), - [anon_sym_GT] = ACTIONS(581), - [anon_sym_GT_GT] = ACTIONS(581), - [anon_sym_AMP_GT] = ACTIONS(581), - [anon_sym_AMP_GT_GT] = ACTIONS(581), - [anon_sym_LT_AMP] = ACTIONS(581), - [anon_sym_GT_AMP] = ACTIONS(581), - [anon_sym_DQUOTE] = ACTIONS(581), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), - [anon_sym_BQUOTE] = ACTIONS(581), - [sym_leading_word] = ACTIONS(581), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(581), - [anon_sym_LF] = ACTIONS(581), - [anon_sym_AMP] = ACTIONS(581), + [1132] = { + [sym_file_descriptor] = ACTIONS(629), + [anon_sym_RPAREN] = ACTIONS(589), + [anon_sym_SEMI_SEMI] = ACTIONS(589), + [anon_sym_PIPE] = ACTIONS(589), + [anon_sym_PIPE_AMP] = ACTIONS(589), + [anon_sym_AMP_AMP] = ACTIONS(589), + [anon_sym_PIPE_PIPE] = ACTIONS(589), + [anon_sym_COLON] = ACTIONS(589), + [anon_sym_LT] = ACTIONS(589), + [anon_sym_GT] = ACTIONS(589), + [anon_sym_GT_GT] = ACTIONS(589), + [anon_sym_AMP_GT] = ACTIONS(589), + [anon_sym_AMP_GT_GT] = ACTIONS(589), + [anon_sym_LT_AMP] = ACTIONS(589), + [anon_sym_GT_AMP] = ACTIONS(589), + [anon_sym_DQUOTE] = ACTIONS(589), + [sym_raw_string] = ACTIONS(589), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(589), + [anon_sym_BQUOTE] = ACTIONS(589), + [sym_leading_word] = ACTIONS(589), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(589), + [anon_sym_LF] = ACTIONS(589), + [anon_sym_AMP] = ACTIONS(589), }, - [1066] = { - [anon_sym_RBRACE] = ACTIONS(2866), - [anon_sym_COLON] = ACTIONS(2868), - [anon_sym_EQ] = ACTIONS(2870), - [anon_sym_COLON_QMARK] = ACTIONS(2870), - [anon_sym_COLON_DASH] = ACTIONS(2870), + [1133] = { + [sym_special_variable_name] = STATE(1213), + [anon_sym_RBRACE] = ACTIONS(591), + [anon_sym_COLON] = ACTIONS(593), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_DOLLAR] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_leading_word] = ACTIONS(3018), + [sym_comment] = ACTIONS(75), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [1134] = { + [anon_sym_RBRACE] = ACTIONS(3020), + [anon_sym_COLON] = ACTIONS(3022), + [anon_sym_EQ] = ACTIONS(3024), + [anon_sym_COLON_QMARK] = ACTIONS(3024), + [anon_sym_COLON_DASH] = ACTIONS(3024), [sym_comment] = ACTIONS(115), }, - [1067] = { - [anon_sym_RBRACE] = ACTIONS(2872), - [anon_sym_COLON] = ACTIONS(2874), - [anon_sym_EQ] = ACTIONS(2876), - [anon_sym_COLON_QMARK] = ACTIONS(2876), - [anon_sym_COLON_DASH] = ACTIONS(2876), + [1135] = { + [anon_sym_RBRACE] = ACTIONS(3026), + [anon_sym_COLON] = ACTIONS(3028), + [anon_sym_EQ] = ACTIONS(3030), + [anon_sym_COLON_QMARK] = ACTIONS(3030), + [anon_sym_COLON_DASH] = ACTIONS(3030), [sym_comment] = ACTIONS(115), }, - [1068] = { - [anon_sym_RPAREN] = ACTIONS(2878), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [1136] = { + [anon_sym_RPAREN] = ACTIONS(3032), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [1069] = { + [1137] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2878), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(3032), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [1070] = { - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(485), - [anon_sym_PIPE_PIPE] = ACTIONS(485), - [anon_sym_BQUOTE] = ACTIONS(2878), + [1138] = { + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(493), + [anon_sym_PIPE_PIPE] = ACTIONS(493), + [anon_sym_BQUOTE] = ACTIONS(3032), [sym_comment] = ACTIONS(115), }, - [1071] = { + [1139] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(481), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(487), - [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_PIPE] = ACTIONS(489), + [anon_sym_PIPE_AMP] = ACTIONS(491), + [anon_sym_AMP_AMP] = ACTIONS(495), + [anon_sym_PIPE_PIPE] = ACTIONS(493), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(2880), + [anon_sym_BQUOTE] = ACTIONS(3034), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [1072] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1137), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(1167), - [anon_sym_SEMI_SEMI] = ACTIONS(1167), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(1167), - [anon_sym_PIPE_AMP] = ACTIONS(1167), - [anon_sym_AMP_AMP] = ACTIONS(1167), - [anon_sym_PIPE_PIPE] = ACTIONS(1167), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1167), - [anon_sym_LF] = ACTIONS(1167), - [anon_sym_AMP] = ACTIONS(1167), + [1140] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1219), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1217), + [anon_sym_SEMI_SEMI] = ACTIONS(1217), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(1217), + [anon_sym_PIPE_AMP] = ACTIONS(1217), + [anon_sym_AMP_AMP] = ACTIONS(1217), + [anon_sym_PIPE_PIPE] = ACTIONS(1217), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1217), + [anon_sym_LF] = ACTIONS(1217), + [anon_sym_AMP] = ACTIONS(1217), }, - [1073] = { - [sym_file_redirect] = STATE(800), - [sym_heredoc_redirect] = STATE(800), - [sym_string] = STATE(972), - [sym_array] = STATE(972), - [sym_simple_expansion] = STATE(972), - [sym_expansion] = STATE(972), - [sym_command_substitution] = STATE(972), - [sym_process_substitution] = STATE(972), - [aux_sym_command_repeat2] = STATE(1138), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(1169), - [anon_sym_SEMI_SEMI] = ACTIONS(1169), - [anon_sym_LPAREN] = ACTIONS(2301), - [anon_sym_PIPE] = ACTIONS(1169), - [anon_sym_PIPE_AMP] = ACTIONS(1169), - [anon_sym_AMP_AMP] = ACTIONS(1169), - [anon_sym_PIPE_PIPE] = ACTIONS(1169), - [anon_sym_LT] = ACTIONS(2477), - [anon_sym_GT] = ACTIONS(2477), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [anon_sym_DQUOTE] = ACTIONS(2305), - [sym_raw_string] = ACTIONS(2572), - [anon_sym_DOLLAR] = ACTIONS(2309), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), - [anon_sym_BQUOTE] = ACTIONS(2479), - [sym_word] = ACTIONS(2572), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1169), - [anon_sym_LF] = ACTIONS(1169), - [anon_sym_AMP] = ACTIONS(1169), + [1141] = { + [sym_file_redirect] = STATE(853), + [sym_heredoc_redirect] = STATE(853), + [sym_string] = STATE(1031), + [sym_array] = STATE(1031), + [sym_simple_expansion] = STATE(1031), + [sym_expansion] = STATE(1031), + [sym_command_substitution] = STATE(1031), + [sym_process_substitution] = STATE(1031), + [aux_sym_command_repeat2] = STATE(1220), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1219), + [anon_sym_SEMI_SEMI] = ACTIONS(1219), + [anon_sym_LPAREN] = ACTIONS(2405), + [anon_sym_PIPE] = ACTIONS(1219), + [anon_sym_PIPE_AMP] = ACTIONS(1219), + [anon_sym_AMP_AMP] = ACTIONS(1219), + [anon_sym_PIPE_PIPE] = ACTIONS(1219), + [anon_sym_LT] = ACTIONS(2597), + [anon_sym_GT] = ACTIONS(2597), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [anon_sym_DQUOTE] = ACTIONS(2409), + [sym_raw_string] = ACTIONS(2694), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2417), + [anon_sym_BQUOTE] = ACTIONS(2599), + [sym_word] = ACTIONS(2694), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1219), + [anon_sym_LF] = ACTIONS(1219), + [anon_sym_AMP] = ACTIONS(1219), }, - [1074] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(1171), - [anon_sym_SEMI_SEMI] = ACTIONS(1171), - [anon_sym_PIPE] = ACTIONS(1171), - [anon_sym_PIPE_AMP] = ACTIONS(1171), - [anon_sym_AMP_AMP] = ACTIONS(1171), - [anon_sym_PIPE_PIPE] = ACTIONS(1171), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1171), - [anon_sym_LF] = ACTIONS(1171), - [anon_sym_AMP] = ACTIONS(1171), + [1142] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1221), + [anon_sym_SEMI_SEMI] = ACTIONS(1221), + [anon_sym_PIPE] = ACTIONS(1221), + [anon_sym_PIPE_AMP] = ACTIONS(1221), + [anon_sym_AMP_AMP] = ACTIONS(1221), + [anon_sym_PIPE_PIPE] = ACTIONS(1221), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1221), + [anon_sym_LF] = ACTIONS(1221), + [anon_sym_AMP] = ACTIONS(1221), }, - [1075] = { - [anon_sym_RPAREN] = ACTIONS(1145), - [anon_sym_SEMI_SEMI] = ACTIONS(1145), - [anon_sym_PIPE] = ACTIONS(1145), - [anon_sym_PIPE_AMP] = ACTIONS(1145), - [anon_sym_AMP_AMP] = ACTIONS(1145), - [anon_sym_PIPE_PIPE] = ACTIONS(1145), - [anon_sym_BQUOTE] = ACTIONS(1145), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1145), - [anon_sym_LF] = ACTIONS(1145), - [anon_sym_AMP] = ACTIONS(1145), + [1143] = { + [anon_sym_RPAREN] = ACTIONS(1193), + [anon_sym_SEMI_SEMI] = ACTIONS(1193), + [anon_sym_PIPE] = ACTIONS(1193), + [anon_sym_PIPE_AMP] = ACTIONS(1193), + [anon_sym_AMP_AMP] = ACTIONS(1193), + [anon_sym_PIPE_PIPE] = ACTIONS(1193), + [anon_sym_BQUOTE] = ACTIONS(1193), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1193), + [anon_sym_LF] = ACTIONS(1193), + [anon_sym_AMP] = ACTIONS(1193), }, - [1076] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1147), - [anon_sym_SEMI_SEMI] = ACTIONS(1147), - [anon_sym_PIPE] = ACTIONS(1147), - [anon_sym_PIPE_AMP] = ACTIONS(1147), - [anon_sym_AMP_AMP] = ACTIONS(1147), - [anon_sym_PIPE_PIPE] = ACTIONS(1147), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(1147), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1147), - [anon_sym_LF] = ACTIONS(1147), - [anon_sym_AMP] = ACTIONS(1147), + [1144] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1195), + [anon_sym_SEMI_SEMI] = ACTIONS(1195), + [anon_sym_PIPE] = ACTIONS(1195), + [anon_sym_PIPE_AMP] = ACTIONS(1195), + [anon_sym_AMP_AMP] = ACTIONS(1195), + [anon_sym_PIPE_PIPE] = ACTIONS(1195), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(1195), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1195), + [anon_sym_LF] = ACTIONS(1195), + [anon_sym_AMP] = ACTIONS(1195), }, - [1077] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_LPAREN] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR] = ACTIONS(907), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), + [1145] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_LPAREN] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR] = ACTIONS(929), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), }, - [1078] = { - [anon_sym_RPAREN] = ACTIONS(2883), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [1146] = { + [anon_sym_RPAREN] = ACTIONS(3037), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [1079] = { + [1147] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2883), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(3037), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [1080] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_LPAREN] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR] = ACTIONS(737), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), + [1148] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_LPAREN] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR] = ACTIONS(757), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), }, - [1081] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_LPAREN] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR] = ACTIONS(925), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), + [1149] = { + [anon_sym_RBRACE] = ACTIONS(3039), + [sym_comment] = ACTIONS(115), }, - [1082] = { - [sym_string] = STATE(1140), - [sym_array] = STATE(1140), - [sym_simple_expansion] = STATE(1140), - [sym_expansion] = STATE(1140), - [sym_command_substitution] = STATE(1140), - [sym_process_substitution] = STATE(1140), + [1150] = { + [anon_sym_RBRACE] = ACTIONS(3041), + [sym_comment] = ACTIONS(115), + }, + [1151] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_LPAREN] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR] = ACTIONS(951), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [1152] = { + [sym_string] = STATE(1224), + [sym_array] = STATE(1224), + [sym_simple_expansion] = STATE(1224), + [sym_expansion] = STATE(1224), + [sym_command_substitution] = STATE(1224), + [sym_process_substitution] = STATE(1224), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2885), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(3043), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2887), + [sym_word] = ACTIONS(3045), [sym_comment] = ACTIONS(115), }, - [1083] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_LPAREN] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR] = ACTIONS(931), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), + [1153] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_LPAREN] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR] = ACTIONS(957), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), }, - [1084] = { - [sym_string] = STATE(1141), - [sym_array] = STATE(1141), - [sym_simple_expansion] = STATE(1141), - [sym_expansion] = STATE(1141), - [sym_command_substitution] = STATE(1141), - [sym_process_substitution] = STATE(1141), + [1154] = { + [sym_string] = STATE(1225), + [sym_array] = STATE(1225), + [sym_simple_expansion] = STATE(1225), + [sym_expansion] = STATE(1225), + [sym_command_substitution] = STATE(1225), + [sym_process_substitution] = STATE(1225), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2889), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(3047), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2891), + [sym_word] = ACTIONS(3049), [sym_comment] = ACTIONS(115), }, - [1085] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_LPAREN] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR] = ACTIONS(847), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), + [1155] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_LPAREN] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR] = ACTIONS(867), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, - [1086] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), + [1156] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), }, - [1087] = { - [anon_sym_RPAREN] = ACTIONS(2893), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [1157] = { + [anon_sym_RPAREN] = ACTIONS(3051), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [1088] = { + [1158] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2893), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(3051), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [1089] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), + [1159] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), }, - [1090] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), + [1160] = { + [anon_sym_RBRACE] = ACTIONS(3053), + [sym_comment] = ACTIONS(115), }, - [1091] = { - [sym_string] = STATE(1143), - [sym_array] = STATE(1143), - [sym_simple_expansion] = STATE(1143), - [sym_expansion] = STATE(1143), - [sym_command_substitution] = STATE(1143), - [sym_process_substitution] = STATE(1143), + [1161] = { + [anon_sym_RBRACE] = ACTIONS(3055), + [sym_comment] = ACTIONS(115), + }, + [1162] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [1163] = { + [sym_string] = STATE(1229), + [sym_array] = STATE(1229), + [sym_simple_expansion] = STATE(1229), + [sym_expansion] = STATE(1229), + [sym_command_substitution] = STATE(1229), + [sym_process_substitution] = STATE(1229), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2895), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(3057), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2897), + [sym_word] = ACTIONS(3059), [sym_comment] = ACTIONS(115), }, - [1092] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), + [1164] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), }, - [1093] = { - [sym_string] = STATE(1144), - [sym_array] = STATE(1144), - [sym_simple_expansion] = STATE(1144), - [sym_expansion] = STATE(1144), - [sym_command_substitution] = STATE(1144), - [sym_process_substitution] = STATE(1144), + [1165] = { + [sym_string] = STATE(1230), + [sym_array] = STATE(1230), + [sym_simple_expansion] = STATE(1230), + [sym_expansion] = STATE(1230), + [sym_command_substitution] = STATE(1230), + [sym_process_substitution] = STATE(1230), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2899), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(3061), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2901), + [sym_word] = ACTIONS(3063), [sym_comment] = ACTIONS(115), }, - [1094] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), + [1166] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, - [1095] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_RBRACE] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_COLON] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_leading_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), + [1167] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_RBRACE] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_COLON] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_leading_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, - [1096] = { - [anon_sym_RBRACE] = ACTIONS(2903), + [1168] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_RBRACE] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_COLON] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_leading_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [1169] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_RBRACE] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_COLON] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_leading_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [1170] = { + [anon_sym_RBRACE] = ACTIONS(3065), [sym_comment] = ACTIONS(115), }, - [1097] = { - [anon_sym_RBRACE] = ACTIONS(2905), + [1171] = { + [anon_sym_RBRACE] = ACTIONS(3067), [sym_comment] = ACTIONS(115), }, - [1098] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_COLON] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_leading_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), + [1172] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_COLON] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_leading_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, - [1099] = { - [anon_sym_RBRACE] = ACTIONS(2907), - [sym_comment] = ACTIONS(115), + [1173] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_COLON] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_leading_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), }, - [1100] = { - [anon_sym_RBRACE] = ACTIONS(2909), - [sym_comment] = ACTIONS(115), - }, - [1101] = { - [anon_sym_RPAREN] = ACTIONS(1491), - [anon_sym_SEMI_SEMI] = ACTIONS(1491), - [anon_sym_PIPE] = ACTIONS(1491), - [anon_sym_PIPE_AMP] = ACTIONS(1491), - [anon_sym_AMP_AMP] = ACTIONS(1491), - [anon_sym_PIPE_PIPE] = ACTIONS(1491), - [anon_sym_BQUOTE] = ACTIONS(1491), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1491), - [anon_sym_LF] = ACTIONS(1491), - [anon_sym_AMP] = ACTIONS(1491), - }, - [1102] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_LPAREN] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_RBRACK] = ACTIONS(1187), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR] = ACTIONS(1187), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), - }, - [1103] = { - [anon_sym_RBRACE] = ACTIONS(2911), - [sym_comment] = ACTIONS(115), - }, - [1104] = { - [anon_sym_RBRACE] = ACTIONS(2913), - [sym_comment] = ACTIONS(115), - }, - [1105] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1363), - [anon_sym_SEMI_SEMI] = ACTIONS(1363), - [anon_sym_PIPE] = ACTIONS(1363), - [anon_sym_PIPE_AMP] = ACTIONS(1363), - [anon_sym_AMP_AMP] = ACTIONS(1363), - [anon_sym_PIPE_PIPE] = ACTIONS(1363), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(1363), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1363), - [anon_sym_LF] = ACTIONS(1363), - [anon_sym_AMP] = ACTIONS(1363), - }, - [1106] = { - [sym_file_redirect] = STATE(778), - [sym_heredoc_redirect] = STATE(778), - [sym_file_descriptor] = ACTIONS(1741), - [anon_sym_RPAREN] = ACTIONS(1365), - [anon_sym_SEMI_SEMI] = ACTIONS(1365), - [anon_sym_PIPE] = ACTIONS(1365), - [anon_sym_PIPE_AMP] = ACTIONS(1365), - [anon_sym_AMP_AMP] = ACTIONS(1365), - [anon_sym_PIPE_PIPE] = ACTIONS(1365), - [anon_sym_LT] = ACTIONS(1752), - [anon_sym_GT] = ACTIONS(1752), - [anon_sym_GT_GT] = ACTIONS(1752), - [anon_sym_AMP_GT] = ACTIONS(1752), - [anon_sym_AMP_GT_GT] = ACTIONS(1752), - [anon_sym_LT_AMP] = ACTIONS(1752), - [anon_sym_GT_AMP] = ACTIONS(1752), - [anon_sym_LT_LT] = ACTIONS(1754), - [anon_sym_LT_LT_DASH] = ACTIONS(1754), - [anon_sym_BQUOTE] = ACTIONS(1365), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1365), - [anon_sym_LF] = ACTIONS(1365), - [anon_sym_AMP] = ACTIONS(1365), - }, - [1107] = { - [anon_sym_RPAREN] = ACTIONS(1173), - [anon_sym_SEMI_SEMI] = ACTIONS(1173), - [anon_sym_PIPE] = ACTIONS(1173), - [anon_sym_PIPE_AMP] = ACTIONS(1173), - [anon_sym_AMP_AMP] = ACTIONS(1173), - [anon_sym_PIPE_PIPE] = ACTIONS(1173), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1173), - [anon_sym_LF] = ACTIONS(1173), - [anon_sym_AMP] = ACTIONS(1173), - }, - [1108] = { - [anon_sym_RPAREN] = ACTIONS(1175), - [anon_sym_SEMI_SEMI] = ACTIONS(1175), - [anon_sym_PIPE] = ACTIONS(1175), - [anon_sym_PIPE_AMP] = ACTIONS(1175), - [anon_sym_AMP_AMP] = ACTIONS(1175), - [anon_sym_PIPE_PIPE] = ACTIONS(1175), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1175), - [anon_sym_LF] = ACTIONS(1175), - [anon_sym_AMP] = ACTIONS(1175), - }, - [1109] = { - [anon_sym_RPAREN] = ACTIONS(1181), - [anon_sym_SEMI_SEMI] = ACTIONS(1181), - [anon_sym_PIPE] = ACTIONS(1181), - [anon_sym_PIPE_AMP] = ACTIONS(1181), - [anon_sym_AMP_AMP] = ACTIONS(1181), - [anon_sym_PIPE_PIPE] = ACTIONS(1181), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1181), - [anon_sym_LF] = ACTIONS(1181), - [anon_sym_AMP] = ACTIONS(1181), - }, - [1110] = { - [anon_sym_fi] = ACTIONS(2915), - [sym_comment] = ACTIONS(115), - }, - [1111] = { - [sym_elif_clause] = STATE(409), - [sym_else_clause] = STATE(1152), - [anon_sym_fi] = ACTIONS(2915), - [anon_sym_elif] = ACTIONS(903), - [anon_sym_else] = ACTIONS(905), - [sym_comment] = ACTIONS(115), - }, - [1112] = { - [anon_sym_RPAREN] = ACTIONS(1189), - [anon_sym_SEMI_SEMI] = ACTIONS(1189), - [anon_sym_PIPE] = ACTIONS(1189), - [anon_sym_PIPE_AMP] = ACTIONS(1189), - [anon_sym_AMP_AMP] = ACTIONS(1189), - [anon_sym_PIPE_PIPE] = ACTIONS(1189), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1189), - [anon_sym_LF] = ACTIONS(1189), - [anon_sym_AMP] = ACTIONS(1189), - }, - [1113] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(2917), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [1114] = { - [sym_case_item] = STATE(414), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [aux_sym_case_statement_repeat1] = STATE(1154), - [anon_sym_esac] = ACTIONS(2917), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(115), - }, - [1115] = { - [anon_sym_RPAREN] = ACTIONS(1207), - [anon_sym_SEMI_SEMI] = ACTIONS(1207), - [anon_sym_PIPE] = ACTIONS(1207), - [anon_sym_PIPE_AMP] = ACTIONS(1207), - [anon_sym_AMP_AMP] = ACTIONS(1207), - [anon_sym_PIPE_PIPE] = ACTIONS(1207), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1207), - [anon_sym_LF] = ACTIONS(1207), - [anon_sym_AMP] = ACTIONS(1207), - }, - [1116] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_LT_LT] = ACTIONS(907), - [anon_sym_LT_LT_DASH] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), - }, - [1117] = { - [anon_sym_RPAREN] = ACTIONS(2919), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [sym_comment] = ACTIONS(115), - }, - [1118] = { - [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2919), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), - [anon_sym_BQUOTE] = ACTIONS(259), - [sym_leading_word] = ACTIONS(261), - [sym_comment] = ACTIONS(115), - }, - [1119] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_LT_LT] = ACTIONS(737), - [anon_sym_LT_LT_DASH] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), - }, - [1120] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_LT_LT] = ACTIONS(925), - [anon_sym_LT_LT_DASH] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), - }, - [1121] = { - [sym_string] = STATE(1156), - [sym_array] = STATE(1156), - [sym_simple_expansion] = STATE(1156), - [sym_expansion] = STATE(1156), - [sym_command_substitution] = STATE(1156), - [sym_process_substitution] = STATE(1156), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2921), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2923), - [sym_comment] = ACTIONS(115), - }, - [1122] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_LT_LT] = ACTIONS(931), - [anon_sym_LT_LT_DASH] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), - }, - [1123] = { - [sym_string] = STATE(1157), - [sym_array] = STATE(1157), - [sym_simple_expansion] = STATE(1157), - [sym_expansion] = STATE(1157), - [sym_command_substitution] = STATE(1157), - [sym_process_substitution] = STATE(1157), - [anon_sym_LPAREN] = ACTIONS(145), - [anon_sym_LT] = ACTIONS(147), - [anon_sym_GT] = ACTIONS(147), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2925), - [anon_sym_DOLLAR] = ACTIONS(919), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2927), - [sym_comment] = ACTIONS(115), - }, - [1124] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_LT_LT] = ACTIONS(847), - [anon_sym_LT_LT_DASH] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), - }, - [1125] = { - [sym_file_descriptor] = ACTIONS(1253), + [1174] = { + [sym_file_descriptor] = ACTIONS(1271), [anon_sym_RPAREN] = ACTIONS(1255), [anon_sym_SEMI_SEMI] = ACTIONS(1255), [anon_sym_PIPE] = ACTIONS(1255), [anon_sym_PIPE_AMP] = ACTIONS(1255), [anon_sym_AMP_AMP] = ACTIONS(1255), [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_COLON] = ACTIONS(1255), [anon_sym_LT] = ACTIONS(1255), [anon_sym_GT] = ACTIONS(1255), [anon_sym_GT_GT] = ACTIONS(1255), @@ -34165,24 +35189,527 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(1255), [anon_sym_LT_LT] = ACTIONS(1255), [anon_sym_LT_LT_DASH] = ACTIONS(1255), - [sym_comment] = ACTIONS(73), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_leading_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), [anon_sym_SEMI] = ACTIONS(1255), [anon_sym_LF] = ACTIONS(1255), [anon_sym_AMP] = ACTIONS(1255), }, - [1126] = { - [anon_sym_RPAREN] = ACTIONS(1349), - [anon_sym_SEMI_SEMI] = ACTIONS(1349), - [anon_sym_PIPE] = ACTIONS(1349), - [anon_sym_PIPE_AMP] = ACTIONS(1349), - [anon_sym_AMP_AMP] = ACTIONS(1349), - [anon_sym_PIPE_PIPE] = ACTIONS(1349), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1349), - [anon_sym_LF] = ACTIONS(1349), - [anon_sym_AMP] = ACTIONS(1349), + [1175] = { + [anon_sym_RBRACE] = ACTIONS(3069), + [sym_comment] = ACTIONS(115), }, - [1127] = { + [1176] = { + [anon_sym_RBRACE] = ACTIONS(3071), + [sym_comment] = ACTIONS(115), + }, + [1177] = { + [anon_sym_RPAREN] = ACTIONS(1583), + [anon_sym_SEMI_SEMI] = ACTIONS(1583), + [anon_sym_PIPE] = ACTIONS(1583), + [anon_sym_PIPE_AMP] = ACTIONS(1583), + [anon_sym_AMP_AMP] = ACTIONS(1583), + [anon_sym_PIPE_PIPE] = ACTIONS(1583), + [anon_sym_BQUOTE] = ACTIONS(1583), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1583), + [anon_sym_LF] = ACTIONS(1583), + [anon_sym_AMP] = ACTIONS(1583), + }, + [1178] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_LPAREN] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_RBRACK] = ACTIONS(1237), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR] = ACTIONS(1237), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), + }, + [1179] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_LPAREN] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_RBRACK] = ACTIONS(1253), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR] = ACTIONS(1253), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [1180] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_LPAREN] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_RBRACK] = ACTIONS(1255), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR] = ACTIONS(1255), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [1181] = { + [anon_sym_RBRACE] = ACTIONS(3073), + [sym_comment] = ACTIONS(115), + }, + [1182] = { + [anon_sym_RBRACE] = ACTIONS(3075), + [sym_comment] = ACTIONS(115), + }, + [1183] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1443), + [anon_sym_SEMI_SEMI] = ACTIONS(1443), + [anon_sym_PIPE] = ACTIONS(1443), + [anon_sym_PIPE_AMP] = ACTIONS(1443), + [anon_sym_AMP_AMP] = ACTIONS(1443), + [anon_sym_PIPE_PIPE] = ACTIONS(1443), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(1443), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1443), + [anon_sym_LF] = ACTIONS(1443), + [anon_sym_AMP] = ACTIONS(1443), + }, + [1184] = { + [sym_file_redirect] = STATE(831), + [sym_heredoc_redirect] = STATE(831), + [sym_file_descriptor] = ACTIONS(1839), + [anon_sym_RPAREN] = ACTIONS(1445), + [anon_sym_SEMI_SEMI] = ACTIONS(1445), + [anon_sym_PIPE] = ACTIONS(1445), + [anon_sym_PIPE_AMP] = ACTIONS(1445), + [anon_sym_AMP_AMP] = ACTIONS(1445), + [anon_sym_PIPE_PIPE] = ACTIONS(1445), + [anon_sym_LT] = ACTIONS(1850), + [anon_sym_GT] = ACTIONS(1850), + [anon_sym_GT_GT] = ACTIONS(1850), + [anon_sym_AMP_GT] = ACTIONS(1850), + [anon_sym_AMP_GT_GT] = ACTIONS(1850), + [anon_sym_LT_AMP] = ACTIONS(1850), + [anon_sym_GT_AMP] = ACTIONS(1850), + [anon_sym_LT_LT] = ACTIONS(1852), + [anon_sym_LT_LT_DASH] = ACTIONS(1852), + [anon_sym_BQUOTE] = ACTIONS(1445), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1445), + [anon_sym_LF] = ACTIONS(1445), + [anon_sym_AMP] = ACTIONS(1445), + }, + [1185] = { + [anon_sym_RPAREN] = ACTIONS(1223), + [anon_sym_SEMI_SEMI] = ACTIONS(1223), + [anon_sym_PIPE] = ACTIONS(1223), + [anon_sym_PIPE_AMP] = ACTIONS(1223), + [anon_sym_AMP_AMP] = ACTIONS(1223), + [anon_sym_PIPE_PIPE] = ACTIONS(1223), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1223), + [anon_sym_LF] = ACTIONS(1223), + [anon_sym_AMP] = ACTIONS(1223), + }, + [1186] = { + [anon_sym_RPAREN] = ACTIONS(1225), + [anon_sym_SEMI_SEMI] = ACTIONS(1225), + [anon_sym_PIPE] = ACTIONS(1225), + [anon_sym_PIPE_AMP] = ACTIONS(1225), + [anon_sym_AMP_AMP] = ACTIONS(1225), + [anon_sym_PIPE_PIPE] = ACTIONS(1225), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1225), + [anon_sym_LF] = ACTIONS(1225), + [anon_sym_AMP] = ACTIONS(1225), + }, + [1187] = { + [anon_sym_RPAREN] = ACTIONS(1231), + [anon_sym_SEMI_SEMI] = ACTIONS(1231), + [anon_sym_PIPE] = ACTIONS(1231), + [anon_sym_PIPE_AMP] = ACTIONS(1231), + [anon_sym_AMP_AMP] = ACTIONS(1231), + [anon_sym_PIPE_PIPE] = ACTIONS(1231), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1231), + [anon_sym_LF] = ACTIONS(1231), + [anon_sym_AMP] = ACTIONS(1231), + }, + [1188] = { + [anon_sym_fi] = ACTIONS(3077), + [sym_comment] = ACTIONS(115), + }, + [1189] = { + [sym_elif_clause] = STATE(424), + [sym_else_clause] = STATE(1238), + [anon_sym_fi] = ACTIONS(3077), + [anon_sym_elif] = ACTIONS(925), + [anon_sym_else] = ACTIONS(927), + [sym_comment] = ACTIONS(115), + }, + [1190] = { + [anon_sym_RPAREN] = ACTIONS(1239), + [anon_sym_SEMI_SEMI] = ACTIONS(1239), + [anon_sym_PIPE] = ACTIONS(1239), + [anon_sym_PIPE_AMP] = ACTIONS(1239), + [anon_sym_AMP_AMP] = ACTIONS(1239), + [anon_sym_PIPE_PIPE] = ACTIONS(1239), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1239), + [anon_sym_LF] = ACTIONS(1239), + [anon_sym_AMP] = ACTIONS(1239), + }, + [1191] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(3079), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [1192] = { + [sym_case_item] = STATE(429), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [aux_sym_case_statement_repeat1] = STATE(1240), + [anon_sym_esac] = ACTIONS(3079), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(943), + [sym_comment] = ACTIONS(115), + }, + [1193] = { + [anon_sym_RPAREN] = ACTIONS(1261), + [anon_sym_SEMI_SEMI] = ACTIONS(1261), + [anon_sym_PIPE] = ACTIONS(1261), + [anon_sym_PIPE_AMP] = ACTIONS(1261), + [anon_sym_AMP_AMP] = ACTIONS(1261), + [anon_sym_PIPE_PIPE] = ACTIONS(1261), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1261), + [anon_sym_LF] = ACTIONS(1261), + [anon_sym_AMP] = ACTIONS(1261), + }, + [1194] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_LT_LT] = ACTIONS(929), + [anon_sym_LT_LT_DASH] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), + }, + [1195] = { + [anon_sym_RPAREN] = ACTIONS(3081), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [sym_comment] = ACTIONS(115), + }, + [1196] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(3081), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(477), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1197] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_LT_LT] = ACTIONS(757), + [anon_sym_LT_LT_DASH] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), + }, + [1198] = { + [anon_sym_RBRACE] = ACTIONS(3083), + [sym_comment] = ACTIONS(115), + }, + [1199] = { + [anon_sym_RBRACE] = ACTIONS(3085), + [sym_comment] = ACTIONS(115), + }, + [1200] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_LT_LT] = ACTIONS(951), + [anon_sym_LT_LT_DASH] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [1201] = { + [sym_string] = STATE(1244), + [sym_array] = STATE(1244), + [sym_simple_expansion] = STATE(1244), + [sym_expansion] = STATE(1244), + [sym_command_substitution] = STATE(1244), + [sym_process_substitution] = STATE(1244), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(3087), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(3089), + [sym_comment] = ACTIONS(115), + }, + [1202] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_LT_LT] = ACTIONS(957), + [anon_sym_LT_LT_DASH] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), + }, + [1203] = { + [sym_string] = STATE(1245), + [sym_array] = STATE(1245), + [sym_simple_expansion] = STATE(1245), + [sym_expansion] = STATE(1245), + [sym_command_substitution] = STATE(1245), + [sym_process_substitution] = STATE(1245), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(3091), + [anon_sym_DOLLAR] = ACTIONS(941), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(3093), + [sym_comment] = ACTIONS(115), + }, + [1204] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_LT_LT] = ACTIONS(867), + [anon_sym_LT_LT_DASH] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [1205] = { + [sym_file_descriptor] = ACTIONS(1325), + [anon_sym_RPAREN] = ACTIONS(1327), + [anon_sym_SEMI_SEMI] = ACTIONS(1327), + [anon_sym_PIPE] = ACTIONS(1327), + [anon_sym_PIPE_AMP] = ACTIONS(1327), + [anon_sym_AMP_AMP] = ACTIONS(1327), + [anon_sym_PIPE_PIPE] = ACTIONS(1327), + [anon_sym_LT] = ACTIONS(1327), + [anon_sym_GT] = ACTIONS(1327), + [anon_sym_GT_GT] = ACTIONS(1327), + [anon_sym_AMP_GT] = ACTIONS(1327), + [anon_sym_AMP_GT_GT] = ACTIONS(1327), + [anon_sym_LT_AMP] = ACTIONS(1327), + [anon_sym_GT_AMP] = ACTIONS(1327), + [anon_sym_LT_LT] = ACTIONS(1327), + [anon_sym_LT_LT_DASH] = ACTIONS(1327), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1327), + [anon_sym_LF] = ACTIONS(1327), + [anon_sym_AMP] = ACTIONS(1327), + }, + [1206] = { + [anon_sym_RPAREN] = ACTIONS(1425), + [anon_sym_SEMI_SEMI] = ACTIONS(1425), + [anon_sym_PIPE] = ACTIONS(1425), + [anon_sym_PIPE_AMP] = ACTIONS(1425), + [anon_sym_AMP_AMP] = ACTIONS(1425), + [anon_sym_PIPE_PIPE] = ACTIONS(1425), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1425), + [anon_sym_LF] = ACTIONS(1425), + [anon_sym_AMP] = ACTIONS(1425), + }, + [1207] = { [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -34206,7 +35733,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(2929), + [anon_sym_RBRACE] = ACTIONS(3095), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -34224,890 +35751,1100 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [1128] = { - [sym_file_descriptor] = ACTIONS(937), - [anon_sym_RPAREN] = ACTIONS(907), - [anon_sym_SEMI_SEMI] = ACTIONS(907), - [anon_sym_PIPE] = ACTIONS(907), - [anon_sym_PIPE_AMP] = ACTIONS(907), - [anon_sym_AMP_AMP] = ACTIONS(907), - [anon_sym_PIPE_PIPE] = ACTIONS(907), - [anon_sym_COLON] = ACTIONS(907), - [anon_sym_LT] = ACTIONS(907), - [anon_sym_GT] = ACTIONS(907), - [anon_sym_GT_GT] = ACTIONS(907), - [anon_sym_AMP_GT] = ACTIONS(907), - [anon_sym_AMP_GT_GT] = ACTIONS(907), - [anon_sym_LT_AMP] = ACTIONS(907), - [anon_sym_GT_AMP] = ACTIONS(907), - [anon_sym_DQUOTE] = ACTIONS(907), - [sym_raw_string] = ACTIONS(907), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), - [anon_sym_BQUOTE] = ACTIONS(907), - [sym_leading_word] = ACTIONS(907), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(907), - [anon_sym_LF] = ACTIONS(907), - [anon_sym_AMP] = ACTIONS(907), + [1208] = { + [sym_file_descriptor] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(929), + [anon_sym_SEMI_SEMI] = ACTIONS(929), + [anon_sym_PIPE] = ACTIONS(929), + [anon_sym_PIPE_AMP] = ACTIONS(929), + [anon_sym_AMP_AMP] = ACTIONS(929), + [anon_sym_PIPE_PIPE] = ACTIONS(929), + [anon_sym_COLON] = ACTIONS(929), + [anon_sym_LT] = ACTIONS(929), + [anon_sym_GT] = ACTIONS(929), + [anon_sym_GT_GT] = ACTIONS(929), + [anon_sym_AMP_GT] = ACTIONS(929), + [anon_sym_AMP_GT_GT] = ACTIONS(929), + [anon_sym_LT_AMP] = ACTIONS(929), + [anon_sym_GT_AMP] = ACTIONS(929), + [anon_sym_DQUOTE] = ACTIONS(929), + [sym_raw_string] = ACTIONS(929), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(929), + [anon_sym_BQUOTE] = ACTIONS(929), + [sym_leading_word] = ACTIONS(929), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(929), + [anon_sym_LF] = ACTIONS(929), + [anon_sym_AMP] = ACTIONS(929), }, - [1129] = { - [anon_sym_RPAREN] = ACTIONS(2931), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [1209] = { + [anon_sym_RPAREN] = ACTIONS(3097), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(473), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [sym_comment] = ACTIONS(115), }, - [1130] = { + [1210] = { [sym_file_descriptor] = ACTIONS(259), - [anon_sym_RPAREN] = ACTIONS(2931), - [anon_sym_PIPE] = ACTIONS(461), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(467), - [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_RPAREN] = ACTIONS(3097), + [anon_sym_PIPE] = ACTIONS(469), + [anon_sym_PIPE_AMP] = ACTIONS(471), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(473), [anon_sym_COLON] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(469), - [anon_sym_GT] = ACTIONS(469), - [anon_sym_GT_GT] = ACTIONS(469), - [anon_sym_AMP_GT] = ACTIONS(469), - [anon_sym_AMP_GT_GT] = ACTIONS(469), - [anon_sym_LT_AMP] = ACTIONS(469), - [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(477), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(477), + [anon_sym_LT_AMP] = ACTIONS(477), + [anon_sym_GT_AMP] = ACTIONS(477), [anon_sym_DQUOTE] = ACTIONS(259), - [sym_raw_string] = ACTIONS(469), + [sym_raw_string] = ACTIONS(477), [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), [anon_sym_BQUOTE] = ACTIONS(259), [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [1131] = { - [sym_file_descriptor] = ACTIONS(735), - [anon_sym_RPAREN] = ACTIONS(737), - [anon_sym_SEMI_SEMI] = ACTIONS(737), - [anon_sym_PIPE] = ACTIONS(737), - [anon_sym_PIPE_AMP] = ACTIONS(737), - [anon_sym_AMP_AMP] = ACTIONS(737), - [anon_sym_PIPE_PIPE] = ACTIONS(737), - [anon_sym_COLON] = ACTIONS(737), - [anon_sym_LT] = ACTIONS(737), - [anon_sym_GT] = ACTIONS(737), - [anon_sym_GT_GT] = ACTIONS(737), - [anon_sym_AMP_GT] = ACTIONS(737), - [anon_sym_AMP_GT_GT] = ACTIONS(737), - [anon_sym_LT_AMP] = ACTIONS(737), - [anon_sym_GT_AMP] = ACTIONS(737), - [anon_sym_DQUOTE] = ACTIONS(737), - [sym_raw_string] = ACTIONS(737), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), - [anon_sym_BQUOTE] = ACTIONS(737), - [sym_leading_word] = ACTIONS(737), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(737), - [anon_sym_LF] = ACTIONS(737), - [anon_sym_AMP] = ACTIONS(737), + [1211] = { + [sym_file_descriptor] = ACTIONS(755), + [anon_sym_RPAREN] = ACTIONS(757), + [anon_sym_SEMI_SEMI] = ACTIONS(757), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(757), + [anon_sym_AMP_AMP] = ACTIONS(757), + [anon_sym_PIPE_PIPE] = ACTIONS(757), + [anon_sym_COLON] = ACTIONS(757), + [anon_sym_LT] = ACTIONS(757), + [anon_sym_GT] = ACTIONS(757), + [anon_sym_GT_GT] = ACTIONS(757), + [anon_sym_AMP_GT] = ACTIONS(757), + [anon_sym_AMP_GT_GT] = ACTIONS(757), + [anon_sym_LT_AMP] = ACTIONS(757), + [anon_sym_GT_AMP] = ACTIONS(757), + [anon_sym_DQUOTE] = ACTIONS(757), + [sym_raw_string] = ACTIONS(757), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(757), + [anon_sym_BQUOTE] = ACTIONS(757), + [sym_leading_word] = ACTIONS(757), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), }, - [1132] = { - [sym_file_descriptor] = ACTIONS(945), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_SEMI_SEMI] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(925), - [anon_sym_PIPE_AMP] = ACTIONS(925), - [anon_sym_AMP_AMP] = ACTIONS(925), - [anon_sym_PIPE_PIPE] = ACTIONS(925), - [anon_sym_COLON] = ACTIONS(925), - [anon_sym_LT] = ACTIONS(925), - [anon_sym_GT] = ACTIONS(925), - [anon_sym_GT_GT] = ACTIONS(925), - [anon_sym_AMP_GT] = ACTIONS(925), - [anon_sym_AMP_GT_GT] = ACTIONS(925), - [anon_sym_LT_AMP] = ACTIONS(925), - [anon_sym_GT_AMP] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(925), - [sym_raw_string] = ACTIONS(925), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), - [anon_sym_BQUOTE] = ACTIONS(925), - [sym_leading_word] = ACTIONS(925), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(925), - [anon_sym_LF] = ACTIONS(925), - [anon_sym_AMP] = ACTIONS(925), + [1212] = { + [anon_sym_RBRACE] = ACTIONS(3099), + [sym_comment] = ACTIONS(115), }, - [1133] = { - [sym_string] = STATE(1160), - [sym_array] = STATE(1160), - [sym_simple_expansion] = STATE(1160), - [sym_expansion] = STATE(1160), - [sym_command_substitution] = STATE(1160), - [sym_process_substitution] = STATE(1160), + [1213] = { + [anon_sym_RBRACE] = ACTIONS(3101), + [sym_comment] = ACTIONS(115), + }, + [1214] = { + [sym_file_descriptor] = ACTIONS(975), + [anon_sym_RPAREN] = ACTIONS(951), + [anon_sym_SEMI_SEMI] = ACTIONS(951), + [anon_sym_PIPE] = ACTIONS(951), + [anon_sym_PIPE_AMP] = ACTIONS(951), + [anon_sym_AMP_AMP] = ACTIONS(951), + [anon_sym_PIPE_PIPE] = ACTIONS(951), + [anon_sym_COLON] = ACTIONS(951), + [anon_sym_LT] = ACTIONS(951), + [anon_sym_GT] = ACTIONS(951), + [anon_sym_GT_GT] = ACTIONS(951), + [anon_sym_AMP_GT] = ACTIONS(951), + [anon_sym_AMP_GT_GT] = ACTIONS(951), + [anon_sym_LT_AMP] = ACTIONS(951), + [anon_sym_GT_AMP] = ACTIONS(951), + [anon_sym_DQUOTE] = ACTIONS(951), + [sym_raw_string] = ACTIONS(951), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(951), + [anon_sym_BQUOTE] = ACTIONS(951), + [sym_leading_word] = ACTIONS(951), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(951), + [anon_sym_LF] = ACTIONS(951), + [anon_sym_AMP] = ACTIONS(951), + }, + [1215] = { + [sym_string] = STATE(1250), + [sym_array] = STATE(1250), + [sym_simple_expansion] = STATE(1250), + [sym_expansion] = STATE(1250), + [sym_command_substitution] = STATE(1250), + [sym_process_substitution] = STATE(1250), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2933), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(3103), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2935), + [sym_word] = ACTIONS(3105), [sym_comment] = ACTIONS(115), }, - [1134] = { - [sym_file_descriptor] = ACTIONS(953), - [anon_sym_RPAREN] = ACTIONS(931), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_PIPE] = ACTIONS(931), - [anon_sym_PIPE_AMP] = ACTIONS(931), - [anon_sym_AMP_AMP] = ACTIONS(931), - [anon_sym_PIPE_PIPE] = ACTIONS(931), - [anon_sym_COLON] = ACTIONS(931), - [anon_sym_LT] = ACTIONS(931), - [anon_sym_GT] = ACTIONS(931), - [anon_sym_GT_GT] = ACTIONS(931), - [anon_sym_AMP_GT] = ACTIONS(931), - [anon_sym_AMP_GT_GT] = ACTIONS(931), - [anon_sym_LT_AMP] = ACTIONS(931), - [anon_sym_GT_AMP] = ACTIONS(931), - [anon_sym_DQUOTE] = ACTIONS(931), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), - [anon_sym_BQUOTE] = ACTIONS(931), - [sym_leading_word] = ACTIONS(931), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(931), - [anon_sym_LF] = ACTIONS(931), - [anon_sym_AMP] = ACTIONS(931), + [1216] = { + [sym_file_descriptor] = ACTIONS(983), + [anon_sym_RPAREN] = ACTIONS(957), + [anon_sym_SEMI_SEMI] = ACTIONS(957), + [anon_sym_PIPE] = ACTIONS(957), + [anon_sym_PIPE_AMP] = ACTIONS(957), + [anon_sym_AMP_AMP] = ACTIONS(957), + [anon_sym_PIPE_PIPE] = ACTIONS(957), + [anon_sym_COLON] = ACTIONS(957), + [anon_sym_LT] = ACTIONS(957), + [anon_sym_GT] = ACTIONS(957), + [anon_sym_GT_GT] = ACTIONS(957), + [anon_sym_AMP_GT] = ACTIONS(957), + [anon_sym_AMP_GT_GT] = ACTIONS(957), + [anon_sym_LT_AMP] = ACTIONS(957), + [anon_sym_GT_AMP] = ACTIONS(957), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [anon_sym_BQUOTE] = ACTIONS(957), + [sym_leading_word] = ACTIONS(957), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(957), + [anon_sym_LF] = ACTIONS(957), + [anon_sym_AMP] = ACTIONS(957), }, - [1135] = { - [sym_string] = STATE(1161), - [sym_array] = STATE(1161), - [sym_simple_expansion] = STATE(1161), - [sym_expansion] = STATE(1161), - [sym_command_substitution] = STATE(1161), - [sym_process_substitution] = STATE(1161), + [1217] = { + [sym_string] = STATE(1251), + [sym_array] = STATE(1251), + [sym_simple_expansion] = STATE(1251), + [sym_expansion] = STATE(1251), + [sym_command_substitution] = STATE(1251), + [sym_process_substitution] = STATE(1251), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(2937), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(3107), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(2939), + [sym_word] = ACTIONS(3109), [sym_comment] = ACTIONS(115), }, - [1136] = { - [sym_file_descriptor] = ACTIONS(845), - [anon_sym_RPAREN] = ACTIONS(847), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_PIPE] = ACTIONS(847), - [anon_sym_PIPE_AMP] = ACTIONS(847), - [anon_sym_AMP_AMP] = ACTIONS(847), - [anon_sym_PIPE_PIPE] = ACTIONS(847), - [anon_sym_COLON] = ACTIONS(847), - [anon_sym_LT] = ACTIONS(847), - [anon_sym_GT] = ACTIONS(847), - [anon_sym_GT_GT] = ACTIONS(847), - [anon_sym_AMP_GT] = ACTIONS(847), - [anon_sym_AMP_GT_GT] = ACTIONS(847), - [anon_sym_LT_AMP] = ACTIONS(847), - [anon_sym_GT_AMP] = ACTIONS(847), - [anon_sym_DQUOTE] = ACTIONS(847), - [sym_raw_string] = ACTIONS(847), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), - [anon_sym_BQUOTE] = ACTIONS(847), - [sym_leading_word] = ACTIONS(847), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(847), - [anon_sym_LF] = ACTIONS(847), - [anon_sym_AMP] = ACTIONS(847), + [1218] = { + [sym_file_descriptor] = ACTIONS(865), + [anon_sym_RPAREN] = ACTIONS(867), + [anon_sym_SEMI_SEMI] = ACTIONS(867), + [anon_sym_PIPE] = ACTIONS(867), + [anon_sym_PIPE_AMP] = ACTIONS(867), + [anon_sym_AMP_AMP] = ACTIONS(867), + [anon_sym_PIPE_PIPE] = ACTIONS(867), + [anon_sym_COLON] = ACTIONS(867), + [anon_sym_LT] = ACTIONS(867), + [anon_sym_GT] = ACTIONS(867), + [anon_sym_GT_GT] = ACTIONS(867), + [anon_sym_AMP_GT] = ACTIONS(867), + [anon_sym_AMP_GT_GT] = ACTIONS(867), + [anon_sym_LT_AMP] = ACTIONS(867), + [anon_sym_GT_AMP] = ACTIONS(867), + [anon_sym_DQUOTE] = ACTIONS(867), + [sym_raw_string] = ACTIONS(867), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(867), + [anon_sym_BQUOTE] = ACTIONS(867), + [sym_leading_word] = ACTIONS(867), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, - [1137] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(1363), - [anon_sym_SEMI_SEMI] = ACTIONS(1363), - [anon_sym_PIPE] = ACTIONS(1363), - [anon_sym_PIPE_AMP] = ACTIONS(1363), - [anon_sym_AMP_AMP] = ACTIONS(1363), - [anon_sym_PIPE_PIPE] = ACTIONS(1363), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1363), - [anon_sym_LF] = ACTIONS(1363), - [anon_sym_AMP] = ACTIONS(1363), + [1219] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1443), + [anon_sym_SEMI_SEMI] = ACTIONS(1443), + [anon_sym_PIPE] = ACTIONS(1443), + [anon_sym_PIPE_AMP] = ACTIONS(1443), + [anon_sym_AMP_AMP] = ACTIONS(1443), + [anon_sym_PIPE_PIPE] = ACTIONS(1443), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1443), + [anon_sym_LF] = ACTIONS(1443), + [anon_sym_AMP] = ACTIONS(1443), }, - [1138] = { - [sym_file_redirect] = STATE(931), - [sym_heredoc_redirect] = STATE(931), - [sym_file_descriptor] = ACTIONS(2236), - [anon_sym_RPAREN] = ACTIONS(1365), - [anon_sym_SEMI_SEMI] = ACTIONS(1365), - [anon_sym_PIPE] = ACTIONS(1365), - [anon_sym_PIPE_AMP] = ACTIONS(1365), - [anon_sym_AMP_AMP] = ACTIONS(1365), - [anon_sym_PIPE_PIPE] = ACTIONS(1365), - [anon_sym_LT] = ACTIONS(2240), - [anon_sym_GT] = ACTIONS(2240), - [anon_sym_GT_GT] = ACTIONS(2240), - [anon_sym_AMP_GT] = ACTIONS(2240), - [anon_sym_AMP_GT_GT] = ACTIONS(2240), - [anon_sym_LT_AMP] = ACTIONS(2240), - [anon_sym_GT_AMP] = ACTIONS(2240), - [anon_sym_LT_LT] = ACTIONS(2242), - [anon_sym_LT_LT_DASH] = ACTIONS(2242), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1365), - [anon_sym_LF] = ACTIONS(1365), - [anon_sym_AMP] = ACTIONS(1365), + [1220] = { + [sym_file_redirect] = STATE(989), + [sym_heredoc_redirect] = STATE(989), + [sym_file_descriptor] = ACTIONS(2340), + [anon_sym_RPAREN] = ACTIONS(1445), + [anon_sym_SEMI_SEMI] = ACTIONS(1445), + [anon_sym_PIPE] = ACTIONS(1445), + [anon_sym_PIPE_AMP] = ACTIONS(1445), + [anon_sym_AMP_AMP] = ACTIONS(1445), + [anon_sym_PIPE_PIPE] = ACTIONS(1445), + [anon_sym_LT] = ACTIONS(2344), + [anon_sym_GT] = ACTIONS(2344), + [anon_sym_GT_GT] = ACTIONS(2344), + [anon_sym_AMP_GT] = ACTIONS(2344), + [anon_sym_AMP_GT_GT] = ACTIONS(2344), + [anon_sym_LT_AMP] = ACTIONS(2344), + [anon_sym_GT_AMP] = ACTIONS(2344), + [anon_sym_LT_LT] = ACTIONS(2346), + [anon_sym_LT_LT_DASH] = ACTIONS(2346), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1445), + [anon_sym_LF] = ACTIONS(1445), + [anon_sym_AMP] = ACTIONS(1445), }, - [1139] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_LPAREN] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR] = ACTIONS(1187), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), + [1221] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_LPAREN] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR] = ACTIONS(1237), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, - [1140] = { - [anon_sym_RBRACE] = ACTIONS(2941), + [1222] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_LPAREN] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR] = ACTIONS(1253), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [1223] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_LPAREN] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR] = ACTIONS(1255), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [1224] = { + [anon_sym_RBRACE] = ACTIONS(3111), [sym_comment] = ACTIONS(115), }, - [1141] = { - [anon_sym_RBRACE] = ACTIONS(2943), + [1225] = { + [anon_sym_RBRACE] = ACTIONS(3113), [sym_comment] = ACTIONS(115), }, - [1142] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), + [1226] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, - [1143] = { - [anon_sym_RBRACE] = ACTIONS(2945), + [1227] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [1228] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [1229] = { + [anon_sym_RBRACE] = ACTIONS(3115), [sym_comment] = ACTIONS(115), }, - [1144] = { - [anon_sym_RBRACE] = ACTIONS(2947), + [1230] = { + [anon_sym_RBRACE] = ACTIONS(3117), [sym_comment] = ACTIONS(115), }, - [1145] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_RBRACE] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_COLON] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_leading_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1231] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_RBRACE] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_COLON] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_leading_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1146] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_RBRACE] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_COLON] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_leading_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1232] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_RBRACE] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_COLON] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_leading_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, - [1147] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_COLON] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_leading_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1233] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_COLON] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_leading_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1148] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_COLON] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_leading_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1234] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_COLON] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_leading_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, - [1149] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_LPAREN] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_RBRACK] = ACTIONS(1385), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR] = ACTIONS(1385), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1235] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_LPAREN] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_RBRACK] = ACTIONS(1465), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR] = ACTIONS(1465), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1150] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_LPAREN] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_RBRACK] = ACTIONS(1387), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR] = ACTIONS(1387), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1236] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_LPAREN] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_RBRACK] = ACTIONS(1467), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR] = ACTIONS(1467), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, - [1151] = { - [anon_sym_RPAREN] = ACTIONS(1369), - [anon_sym_SEMI_SEMI] = ACTIONS(1369), - [anon_sym_PIPE] = ACTIONS(1369), - [anon_sym_PIPE_AMP] = ACTIONS(1369), - [anon_sym_AMP_AMP] = ACTIONS(1369), - [anon_sym_PIPE_PIPE] = ACTIONS(1369), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1369), - [anon_sym_LF] = ACTIONS(1369), - [anon_sym_AMP] = ACTIONS(1369), + [1237] = { + [anon_sym_RPAREN] = ACTIONS(1449), + [anon_sym_SEMI_SEMI] = ACTIONS(1449), + [anon_sym_PIPE] = ACTIONS(1449), + [anon_sym_PIPE_AMP] = ACTIONS(1449), + [anon_sym_AMP_AMP] = ACTIONS(1449), + [anon_sym_PIPE_PIPE] = ACTIONS(1449), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1449), + [anon_sym_LF] = ACTIONS(1449), + [anon_sym_AMP] = ACTIONS(1449), }, - [1152] = { - [anon_sym_fi] = ACTIONS(2949), + [1238] = { + [anon_sym_fi] = ACTIONS(3119), [sym_comment] = ACTIONS(115), }, - [1153] = { - [anon_sym_RPAREN] = ACTIONS(1375), - [anon_sym_SEMI_SEMI] = ACTIONS(1375), - [anon_sym_PIPE] = ACTIONS(1375), - [anon_sym_PIPE_AMP] = ACTIONS(1375), - [anon_sym_AMP_AMP] = ACTIONS(1375), - [anon_sym_PIPE_PIPE] = ACTIONS(1375), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1375), - [anon_sym_LF] = ACTIONS(1375), - [anon_sym_AMP] = ACTIONS(1375), + [1239] = { + [anon_sym_RPAREN] = ACTIONS(1455), + [anon_sym_SEMI_SEMI] = ACTIONS(1455), + [anon_sym_PIPE] = ACTIONS(1455), + [anon_sym_PIPE_AMP] = ACTIONS(1455), + [anon_sym_AMP_AMP] = ACTIONS(1455), + [anon_sym_PIPE_PIPE] = ACTIONS(1455), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1455), + [anon_sym_LF] = ACTIONS(1455), + [anon_sym_AMP] = ACTIONS(1455), }, - [1154] = { - [sym_case_item] = STATE(522), - [sym_string] = STATE(412), - [sym_array] = STATE(412), - [sym_simple_expansion] = STATE(412), - [sym_expansion] = STATE(412), - [sym_command_substitution] = STATE(412), - [sym_process_substitution] = STATE(412), - [anon_sym_esac] = ACTIONS(2951), + [1240] = { + [sym_case_item] = STATE(554), + [sym_string] = STATE(427), + [sym_array] = STATE(427), + [sym_simple_expansion] = STATE(427), + [sym_expansion] = STATE(427), + [sym_command_substitution] = STATE(427), + [sym_process_substitution] = STATE(427), + [anon_sym_esac] = ACTIONS(3121), [anon_sym_LPAREN] = ACTIONS(145), [anon_sym_LT] = ACTIONS(147), [anon_sym_GT] = ACTIONS(147), [anon_sym_DQUOTE] = ACTIONS(149), - [sym_raw_string] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(919), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(941), [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), [anon_sym_BQUOTE] = ACTIONS(159), - [sym_word] = ACTIONS(921), + [sym_word] = ACTIONS(943), [sym_comment] = ACTIONS(115), }, - [1155] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_LT_LT] = ACTIONS(1187), - [anon_sym_LT_LT_DASH] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), + [1241] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_LT_LT] = ACTIONS(1237), + [anon_sym_LT_LT_DASH] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, - [1156] = { - [anon_sym_RBRACE] = ACTIONS(2953), + [1242] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1253), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [1243] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [1244] = { + [anon_sym_RBRACE] = ACTIONS(3123), [sym_comment] = ACTIONS(115), }, - [1157] = { - [anon_sym_RBRACE] = ACTIONS(2955), + [1245] = { + [anon_sym_RBRACE] = ACTIONS(3125), [sym_comment] = ACTIONS(115), }, - [1158] = { - [anon_sym_RPAREN] = ACTIONS(1473), - [anon_sym_SEMI_SEMI] = ACTIONS(1473), - [anon_sym_PIPE] = ACTIONS(1473), - [anon_sym_PIPE_AMP] = ACTIONS(1473), - [anon_sym_AMP_AMP] = ACTIONS(1473), - [anon_sym_PIPE_PIPE] = ACTIONS(1473), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1473), - [anon_sym_LF] = ACTIONS(1473), - [anon_sym_AMP] = ACTIONS(1473), + [1246] = { + [anon_sym_RPAREN] = ACTIONS(1565), + [anon_sym_SEMI_SEMI] = ACTIONS(1565), + [anon_sym_PIPE] = ACTIONS(1565), + [anon_sym_PIPE_AMP] = ACTIONS(1565), + [anon_sym_AMP_AMP] = ACTIONS(1565), + [anon_sym_PIPE_PIPE] = ACTIONS(1565), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1565), + [anon_sym_LF] = ACTIONS(1565), + [anon_sym_AMP] = ACTIONS(1565), }, - [1159] = { - [sym_file_descriptor] = ACTIONS(1209), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_SEMI_SEMI] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1187), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1187), - [anon_sym_COLON] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(1187), - [anon_sym_GT] = ACTIONS(1187), - [anon_sym_GT_GT] = ACTIONS(1187), - [anon_sym_AMP_GT] = ACTIONS(1187), - [anon_sym_AMP_GT_GT] = ACTIONS(1187), - [anon_sym_LT_AMP] = ACTIONS(1187), - [anon_sym_GT_AMP] = ACTIONS(1187), - [anon_sym_DQUOTE] = ACTIONS(1187), - [sym_raw_string] = ACTIONS(1187), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_leading_word] = ACTIONS(1187), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1187), - [anon_sym_LF] = ACTIONS(1187), - [anon_sym_AMP] = ACTIONS(1187), + [1247] = { + [sym_file_descriptor] = ACTIONS(1263), + [anon_sym_RPAREN] = ACTIONS(1237), + [anon_sym_SEMI_SEMI] = ACTIONS(1237), + [anon_sym_PIPE] = ACTIONS(1237), + [anon_sym_PIPE_AMP] = ACTIONS(1237), + [anon_sym_AMP_AMP] = ACTIONS(1237), + [anon_sym_PIPE_PIPE] = ACTIONS(1237), + [anon_sym_COLON] = ACTIONS(1237), + [anon_sym_LT] = ACTIONS(1237), + [anon_sym_GT] = ACTIONS(1237), + [anon_sym_GT_GT] = ACTIONS(1237), + [anon_sym_AMP_GT] = ACTIONS(1237), + [anon_sym_AMP_GT_GT] = ACTIONS(1237), + [anon_sym_LT_AMP] = ACTIONS(1237), + [anon_sym_GT_AMP] = ACTIONS(1237), + [anon_sym_DQUOTE] = ACTIONS(1237), + [sym_raw_string] = ACTIONS(1237), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1237), + [anon_sym_BQUOTE] = ACTIONS(1237), + [sym_leading_word] = ACTIONS(1237), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1237), + [anon_sym_LF] = ACTIONS(1237), + [anon_sym_AMP] = ACTIONS(1237), }, - [1160] = { - [anon_sym_RBRACE] = ACTIONS(2957), + [1248] = { + [sym_file_descriptor] = ACTIONS(1267), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1253), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_COLON] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1253), + [anon_sym_GT] = ACTIONS(1253), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1253), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_DQUOTE] = ACTIONS(1253), + [sym_raw_string] = ACTIONS(1253), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), + [sym_leading_word] = ACTIONS(1253), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), + }, + [1249] = { + [sym_file_descriptor] = ACTIONS(1271), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_COLON] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_DQUOTE] = ACTIONS(1255), + [sym_raw_string] = ACTIONS(1255), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_leading_word] = ACTIONS(1255), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [1250] = { + [anon_sym_RBRACE] = ACTIONS(3127), [sym_comment] = ACTIONS(115), }, - [1161] = { - [anon_sym_RBRACE] = ACTIONS(2959), + [1251] = { + [anon_sym_RBRACE] = ACTIONS(3129), [sym_comment] = ACTIONS(115), }, - [1162] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_LPAREN] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR] = ACTIONS(1385), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1252] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_LPAREN] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR] = ACTIONS(1465), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1163] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_LPAREN] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR] = ACTIONS(1387), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1253] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_LPAREN] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR] = ACTIONS(1467), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, - [1164] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1254] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1165] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1255] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, - [1166] = { - [anon_sym_RPAREN] = ACTIONS(1481), - [anon_sym_SEMI_SEMI] = ACTIONS(1481), - [anon_sym_PIPE] = ACTIONS(1481), - [anon_sym_PIPE_AMP] = ACTIONS(1481), - [anon_sym_AMP_AMP] = ACTIONS(1481), - [anon_sym_PIPE_PIPE] = ACTIONS(1481), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1481), - [anon_sym_LF] = ACTIONS(1481), - [anon_sym_AMP] = ACTIONS(1481), + [1256] = { + [anon_sym_RPAREN] = ACTIONS(1573), + [anon_sym_SEMI_SEMI] = ACTIONS(1573), + [anon_sym_PIPE] = ACTIONS(1573), + [anon_sym_PIPE_AMP] = ACTIONS(1573), + [anon_sym_AMP_AMP] = ACTIONS(1573), + [anon_sym_PIPE_PIPE] = ACTIONS(1573), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1573), + [anon_sym_LF] = ACTIONS(1573), + [anon_sym_AMP] = ACTIONS(1573), }, - [1167] = { - [anon_sym_RPAREN] = ACTIONS(1491), - [anon_sym_SEMI_SEMI] = ACTIONS(1491), - [anon_sym_PIPE] = ACTIONS(1491), - [anon_sym_PIPE_AMP] = ACTIONS(1491), - [anon_sym_AMP_AMP] = ACTIONS(1491), - [anon_sym_PIPE_PIPE] = ACTIONS(1491), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1491), - [anon_sym_LF] = ACTIONS(1491), - [anon_sym_AMP] = ACTIONS(1491), + [1257] = { + [anon_sym_RPAREN] = ACTIONS(1583), + [anon_sym_SEMI_SEMI] = ACTIONS(1583), + [anon_sym_PIPE] = ACTIONS(1583), + [anon_sym_PIPE_AMP] = ACTIONS(1583), + [anon_sym_AMP_AMP] = ACTIONS(1583), + [anon_sym_PIPE_PIPE] = ACTIONS(1583), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1583), + [anon_sym_LF] = ACTIONS(1583), + [anon_sym_AMP] = ACTIONS(1583), }, - [1168] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_LT_LT] = ACTIONS(1385), - [anon_sym_LT_LT_DASH] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1258] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_LT_LT] = ACTIONS(1465), + [anon_sym_LT_LT_DASH] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1169] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_LT_LT] = ACTIONS(1387), - [anon_sym_LT_LT_DASH] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1259] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_LT_LT] = ACTIONS(1467), + [anon_sym_LT_LT_DASH] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, - [1170] = { - [sym_file_descriptor] = ACTIONS(1389), - [anon_sym_RPAREN] = ACTIONS(1385), - [anon_sym_SEMI_SEMI] = ACTIONS(1385), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1385), - [anon_sym_AMP_AMP] = ACTIONS(1385), - [anon_sym_PIPE_PIPE] = ACTIONS(1385), - [anon_sym_COLON] = ACTIONS(1385), - [anon_sym_LT] = ACTIONS(1385), - [anon_sym_GT] = ACTIONS(1385), - [anon_sym_GT_GT] = ACTIONS(1385), - [anon_sym_AMP_GT] = ACTIONS(1385), - [anon_sym_AMP_GT_GT] = ACTIONS(1385), - [anon_sym_LT_AMP] = ACTIONS(1385), - [anon_sym_GT_AMP] = ACTIONS(1385), - [anon_sym_DQUOTE] = ACTIONS(1385), - [sym_raw_string] = ACTIONS(1385), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), - [anon_sym_BQUOTE] = ACTIONS(1385), - [sym_leading_word] = ACTIONS(1385), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1385), - [anon_sym_LF] = ACTIONS(1385), - [anon_sym_AMP] = ACTIONS(1385), + [1260] = { + [sym_file_descriptor] = ACTIONS(1469), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_SEMI_SEMI] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1465), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_COLON] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(1465), + [anon_sym_GT] = ACTIONS(1465), + [anon_sym_GT_GT] = ACTIONS(1465), + [anon_sym_AMP_GT] = ACTIONS(1465), + [anon_sym_AMP_GT_GT] = ACTIONS(1465), + [anon_sym_LT_AMP] = ACTIONS(1465), + [anon_sym_GT_AMP] = ACTIONS(1465), + [anon_sym_DQUOTE] = ACTIONS(1465), + [sym_raw_string] = ACTIONS(1465), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1465), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_leading_word] = ACTIONS(1465), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1465), + [anon_sym_LF] = ACTIONS(1465), + [anon_sym_AMP] = ACTIONS(1465), }, - [1171] = { - [sym_file_descriptor] = ACTIONS(1393), - [anon_sym_RPAREN] = ACTIONS(1387), - [anon_sym_SEMI_SEMI] = ACTIONS(1387), - [anon_sym_PIPE] = ACTIONS(1387), - [anon_sym_PIPE_AMP] = ACTIONS(1387), - [anon_sym_AMP_AMP] = ACTIONS(1387), - [anon_sym_PIPE_PIPE] = ACTIONS(1387), - [anon_sym_COLON] = ACTIONS(1387), - [anon_sym_LT] = ACTIONS(1387), - [anon_sym_GT] = ACTIONS(1387), - [anon_sym_GT_GT] = ACTIONS(1387), - [anon_sym_AMP_GT] = ACTIONS(1387), - [anon_sym_AMP_GT_GT] = ACTIONS(1387), - [anon_sym_LT_AMP] = ACTIONS(1387), - [anon_sym_GT_AMP] = ACTIONS(1387), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), - [anon_sym_BQUOTE] = ACTIONS(1387), - [sym_leading_word] = ACTIONS(1387), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1387), - [anon_sym_LF] = ACTIONS(1387), - [anon_sym_AMP] = ACTIONS(1387), + [1261] = { + [sym_file_descriptor] = ACTIONS(1473), + [anon_sym_RPAREN] = ACTIONS(1467), + [anon_sym_SEMI_SEMI] = ACTIONS(1467), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1467), + [anon_sym_AMP_AMP] = ACTIONS(1467), + [anon_sym_PIPE_PIPE] = ACTIONS(1467), + [anon_sym_COLON] = ACTIONS(1467), + [anon_sym_LT] = ACTIONS(1467), + [anon_sym_GT] = ACTIONS(1467), + [anon_sym_GT_GT] = ACTIONS(1467), + [anon_sym_AMP_GT] = ACTIONS(1467), + [anon_sym_AMP_GT_GT] = ACTIONS(1467), + [anon_sym_LT_AMP] = ACTIONS(1467), + [anon_sym_GT_AMP] = ACTIONS(1467), + [anon_sym_DQUOTE] = ACTIONS(1467), + [sym_raw_string] = ACTIONS(1467), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1467), + [anon_sym_BQUOTE] = ACTIONS(1467), + [sym_leading_word] = ACTIONS(1467), + [sym_comment] = ACTIONS(75), + [anon_sym_SEMI] = ACTIONS(1467), + [anon_sym_LF] = ACTIONS(1467), + [anon_sym_AMP] = ACTIONS(1467), }, }; static TSParseActionEntry ts_parse_actions[] = { [0] = {.count = 0, .reusable = false, .depends_on_lookahead = false}, - [1] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(639), - [3] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(640), - [5] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(641), - [7] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(642), - [9] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(643), - [11] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(644), + [1] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(690), + [3] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(691), + [5] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(692), + [7] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(693), + [9] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(694), + [11] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(695), [13] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(0), - [15] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(611), - [17] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(612), - [19] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(613), - [21] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(614), - [23] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(615), - [25] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(616), - [27] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(617), - [29] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(618), - [31] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(252), - [33] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(253), - [35] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(619), - [37] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(620), - [39] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(621), - [41] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(622), - [43] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(623), - [45] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(624), - [47] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(625), - [49] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(626), - [51] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(627), - [53] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(628), - [55] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(629), - [57] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(629), - [59] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(630), - [61] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(631), - [63] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(632), - [65] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(633), - [67] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(634), - [69] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(635), - [71] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(636), - [73] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT_EXTRA(), - [75] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(637), - [77] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(637), - [79] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(638), + [15] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(661), + [17] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(662), + [19] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(663), + [21] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(664), + [23] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(665), + [25] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(666), + [27] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(667), + [29] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(668), + [31] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(256), + [33] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(257), + [35] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(669), + [37] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(670), + [39] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(671), + [41] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(672), + [43] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(673), + [45] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(674), + [47] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(675), + [49] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(676), + [51] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(677), + [53] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(678), + [55] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(679), + [57] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(679), + [59] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(680), + [61] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(681), + [63] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(682), + [65] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(683), + [67] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(684), + [69] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(685), + [71] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(686), + [73] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(687), + [75] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT_EXTRA(), + [77] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(688), + [79] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(689), [81] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(2), [83] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 0), [85] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(3), @@ -35219,1189 +36956,1269 @@ static TSParseActionEntry ts_parse_actions[] = { [297] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(116), [299] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(117), [301] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(118), - [303] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(119), - [305] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(118), + [303] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(118), + [305] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(119), [307] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(121), - [309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(122), - [311] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(128), - [313] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), - [315] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(129), + [309] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(122), + [311] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(123), + [313] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(129), + [315] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), [317] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(130), - [319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(132), - [321] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(133), - [323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [325] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [327] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(135), - [331] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(136), - [333] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(135), - [335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(138), - [337] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(144), - [339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(145), - [341] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(145), - [343] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(146), - [345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(146), - [347] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), - [349] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(147), - [351] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(148), + [319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(131), + [321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(133), + [323] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(134), + [325] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [327] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [329] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(136), + [333] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(136), + [335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(137), + [337] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(139), + [339] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(140), + [341] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(146), + [343] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(147), + [345] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(147), + [347] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(148), + [349] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(148), + [351] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), [353] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(149), [355] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(150), [357] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(151), [359] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(152), [361] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(153), [363] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(154), - [365] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(157), - [367] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(158), + [365] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(155), + [367] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(156), [369] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(159), - [371] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(160), - [373] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(161), - [375] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(162), - [377] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(163), + [371] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(160), + [373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(161), + [375] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(162), + [377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(163), [379] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(164), - [381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(160), - [383] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(165), - [385] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(166), - [387] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), - [389] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), - [391] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), - [393] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(169), - [395] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(171), - [397] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(172), - [399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), - [401] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2), - [403] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), - [405] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(174), - [407] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(175), - [409] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(174), - [411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(177), - [413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), - [415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), - [417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), - [419] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 1), - [421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(183), - [423] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(184), - [425] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(183), - [427] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(186), - [429] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(192), - [431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(193), - [433] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(194), - [435] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(197), - [437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(197), - [439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(198), - [441] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(199), - [443] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(203), - [445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(204), - [447] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(205), - [449] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(206), - [451] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(209), - [453] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(215), - [455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(216), - [457] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(217), - [459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(219), - [461] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(220), - [463] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(220), - [465] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(221), - [467] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(221), - [469] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), - [471] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(222), - [473] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(222), - [475] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(223), - [477] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(224), - [479] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(225), + [381] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(165), + [383] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(166), + [385] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(162), + [387] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(167), + [389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(168), + [391] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), + [393] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), + [395] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), + [397] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(171), + [399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(173), + [401] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(174), + [403] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), + [405] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2), + [407] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), + [409] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(176), + [411] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(176), + [413] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(177), + [415] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(179), + [417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(180), + [419] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), + [421] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), + [423] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), + [425] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 1), + [427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(186), + [429] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(186), + [431] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(187), + [433] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(189), + [435] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(190), + [437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(196), + [439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(197), + [441] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(198), + [443] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(201), + [445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(201), + [447] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(202), + [449] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(203), + [451] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(207), + [453] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(208), + [455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(209), + [457] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(210), + [459] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(213), + [461] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(219), + [463] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(220), + [465] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(221), + [467] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(223), + [469] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(224), + [471] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(224), + [473] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(225), + [475] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(225), + [477] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), + [479] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(226), [481] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(226), - [483] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(226), - [485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(227), - [487] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(227), - [489] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(228), - [491] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(228), - [493] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(229), - [495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(230), - [497] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), - [499] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(233), - [501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(234), - [503] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(235), - [505] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(236), - [507] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(233), - [509] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(237), - [511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(238), - [513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(239), - [515] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(240), - [517] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(233), - [519] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), - [521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), - [523] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), - [525] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), - [527] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), - [529] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 2), - [531] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), - [533] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(245), - [535] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 3), - [537] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(246), - [539] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), - [541] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 2), - [543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), - [545] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), - [547] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3), - [549] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), - [551] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(249), - [553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), - [555] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(251), - [557] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(252), + [483] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(227), + [485] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(228), + [487] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(229), + [489] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(230), + [491] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(230), + [493] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(231), + [495] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(231), + [497] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(232), + [499] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(232), + [501] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(233), + [503] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(234), + [505] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), + [507] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(237), + [509] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(238), + [511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(239), + [513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(240), + [515] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(237), + [517] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(241), + [519] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(242), + [521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(243), + [523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(244), + [525] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(237), + [527] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), + [529] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), + [531] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), + [533] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), + [535] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [537] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 2), + [539] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [541] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(249), + [543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 3), + [545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(250), + [547] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), + [549] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 2), + [551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), + [553] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), + [555] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3), + [557] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), [559] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(253), - [561] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), - [563] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_array_repeat1, 1), - [565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_array_repeat1, 1), - [567] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(258), - [569] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(259), - [571] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(262), - [573] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(263), - [575] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(264), - [577] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), - [579] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), - [581] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), - [583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), - [585] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_special_variable_name, 1), - [587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(265), - [589] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(266), - [591] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(266), - [593] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(267), - [595] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(268), - [597] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(268), - [599] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(269), - [601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(270), - [603] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), - [605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 2), - [607] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_array, 2), - [609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(271), - [611] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 2), - [613] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(274), - [615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), - [617] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), - [619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), - [621] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2), - [623] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(275), - [625] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(276), - [627] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(276), - [629] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(277), - [631] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(278), - [633] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(278), - [635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(279), - [637] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), - [639] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [641] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [643] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [645] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(280), - [647] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(280), - [649] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(281), - [651] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(283), - [653] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(284), - [655] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(286), - [657] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(287), - [659] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(286), - [661] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(289), - [663] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), - [665] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(295), - [667] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), - [669] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(297), - [671] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(299), - [673] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(300), - [675] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(302), - [677] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(303), - [679] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(302), - [681] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(305), - [683] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), - [685] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), - [687] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(311), - [689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(312), - [691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(313), - [693] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(314), - [695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), - [697] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), - [699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), - [701] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), - [703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(316), - [705] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(319), - [707] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(320), - [709] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(321), - [711] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(321), - [713] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(322), - [715] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(323), - [717] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(323), - [719] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(324), - [721] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(325), - [723] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(326), - [725] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(326), - [727] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(327), - [729] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(328), - [731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(328), - [733] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(329), - [735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 3), - [737] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 3), - [739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 2), - [741] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 2), - [743] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(330), - [745] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(331), - [747] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(333), - [749] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(334), - [751] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(335), - [753] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(336), - [755] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), - [757] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 2), - [759] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(337), - [761] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(338), - [763] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(339), - [765] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(339), - [767] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), - [769] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(340), - [771] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true), - [773] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(341), - [775] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(205), - [777] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(205), - [779] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(206), - [781] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(206), - [783] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(342), - [785] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(343), - [787] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(344), - [789] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(345), - [791] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(346), - [793] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(347), - [795] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(343), - [797] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(350), - [799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(351), - [801] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(352), - [803] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(353), - [805] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(354), - [807] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(355), - [809] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(356), - [811] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(357), - [813] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(353), - [815] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(358), - [817] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(359), - [819] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 1), - [821] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2), - [823] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2), - [825] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(362), - [827] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(363), - [829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(364), - [831] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), - [833] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), - [835] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(367), - [837] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(367), - [839] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(367), - [841] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), - [843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .rename_sequence_id = 2), - [845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), - [847] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), - [849] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(372), - [851] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(373), - [853] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(380), - [855] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(381), - [857] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(382), - [859] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), - [861] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), - [863] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), - [865] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), - [867] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(385), - [869] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(387), - [871] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(388), - [873] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(390), - [875] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(391), - [877] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(390), - [879] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(393), - [881] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), - [883] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), - [885] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), - [887] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), - [889] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), - [891] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(403), - [893] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), - [895] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 1), - [897] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), - [899] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(406), - [901] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(406), - [903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(252), - [905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(253), - [907] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 3), - [909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_array_repeat1, 2), - [911] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_array_repeat1, 2), - [913] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(410), - [915] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(411), - [917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(412), - [919] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(413), - [921] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(412), - [923] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(416), - [925] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), - [927] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(417), - [929] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(417), - [931] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), - [933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(418), - [935] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(418), - [937] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 3), - [939] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_array, 3), - [941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(420), - [943] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 3), - [945] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), - [947] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), - [949] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(421), - [951] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(421), - [953] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), - [955] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3), - [957] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(422), - [959] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(422), - [961] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command_substitution, 3), - [963] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(423), - [965] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(111), - [967] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(426), - [969] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(427), - [971] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(428), - [973] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(428), - [975] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(429), - [977] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(430), - [979] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(430), - [981] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(431), - [983] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), - [985] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(432), - [987] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(435), - [989] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(436), - [991] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(437), - [993] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(437), - [995] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(438), - [997] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(439), - [999] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(439), - [1001] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(440), - [1003] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), - [1005] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), - [1007] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), - [1009] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), - [1011] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(441), - [1013] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(442), - [1015] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(441), - [1017] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(444), - [1019] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(446), - [1021] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(447), - [1023] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(448), - [1025] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(449), - [1027] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(449), - [1029] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(450), - [1031] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(450), - [1033] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(451), - [1035] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(451), - [1037] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(452), - [1039] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(452), - [1041] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(454), - [1043] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), - [1045] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_while_statement, 3), - [1047] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(456), - [1049] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(460), - [1051] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(461), - [1053] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(462), - [1055] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), - [1057] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 3), - [1059] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), - [1061] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_bracket_command, 3), - [1063] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(463), - [1065] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(463), - [1067] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(464), - [1069] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(466), - [1071] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(467), - [1073] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(469), - [1075] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(470), - [1077] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(469), - [1079] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(472), - [1081] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), - [1083] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true), - [1085] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(478), - [1087] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(478), - [1089] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3), - [1091] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3), - [1093] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(480), - [1095] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(482), - [1097] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(483), - [1099] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(485), - [1101] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(486), - [1103] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(485), - [1105] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(488), - [1107] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 1), - [1109] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(494), - [1111] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc_redirect, 2), - [1113] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 2), - [1115] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(496), - [1117] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), - [1119] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), - [1121] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), - [1123] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 5), - [1125] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), - [1127] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), - [1129] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_pipeline, 3, .fragile = true), - [1131] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), - [1133] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_list, 3, .fragile = true), - [1135] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), - [1137] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), - [1139] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), - [1141] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 7), - [1143] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(504), - [1145] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), - [1147] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), - [1149] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(506), - [1151] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(509), - [1153] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(510), - [1155] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(511), - [1157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(511), - [1159] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(512), - [1161] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(513), - [1163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(513), - [1165] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(514), - [1167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), - [1169] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [1171] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), - [1173] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), - [1175] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), - [1177] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(517), - [1179] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), - [1181] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), - [1183] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(518), - [1185] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 2), - [1187] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), - [1189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), - [1191] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(520), - [1193] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(121), - [1195] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), - [1197] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), - [1199] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), - [1201] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(521), - [1203] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(524), - [1205] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(525), - [1207] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1209] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), - [1211] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_process_substitution, 4), - [1213] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(526), - [1215] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(527), - [1217] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(528), - [1219] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(529), - [1221] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(529), - [1223] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(530), - [1225] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(530), - [1227] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(531), - [1229] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(532), - [1231] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(532), - [1233] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(533), - [1235] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(533), - [1237] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(534), - [1239] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(535), - [1241] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(535), - [1243] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(536), - [1245] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(537), - [1247] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(537), - [1249] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 2), - [1251] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 2), - [1253] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), - [1255] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), - [1257] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(538), - [1259] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(539), - [1261] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(540), - [1263] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(541), - [1265] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), - [1267] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 2), - [1269] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(543), - [1271] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), - [1273] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 4), - [1275] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(544), - [1277] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(544), - [1279] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(547), - [1281] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(549), - [1283] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(551), - [1285] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(554), - [1287] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(555), - [1289] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(556), - [1291] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(556), - [1293] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(557), - [1295] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(558), - [1297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(558), - [1299] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(559), - [1301] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4), - [1303] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4), - [1305] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(560), - [1307] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(563), - [1309] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(564), - [1311] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(565), - [1313] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(565), - [1315] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(566), - [1317] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(567), - [1319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(567), - [1321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(568), - [1323] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 2), - [1325] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(569), - [1327] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(570), - [1329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), - [1331] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), - [1333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), - [1335] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 9), - [1337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), - [1339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true), - [1341] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [1343] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [1345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), - [1347] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 10), - [1349] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), - [1351] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(574), - [1353] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(575), - [1355] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(576), - [1357] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(576), - [1359] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(577), - [1361] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(577), - [1363] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5), - [1365] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 11), - [1367] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), - [1369] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), - [1371] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(579), - [1373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(580), - [1375] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), - [1377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 2), - [1379] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), - [1381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), - [1383] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(582), - [1385] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1387] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), - [1389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1391] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1393] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), - [1395] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5), - [1397] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(583), - [1399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(584), - [1401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(585), - [1403] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(586), - [1405] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(587), - [1407] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(587), - [1409] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(588), - [1411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(588), - [1413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), - [1415] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_for_statement, 5), - [1417] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), - [1419] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 3), - [1421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), - [1423] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 5), - [1425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(589), - [1427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), - [1429] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 5), - [1431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(591), - [1433] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1435] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1437] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(593), - [1439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(594), - [1441] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(594), - [1443] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(595), - [1445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(595), - [1447] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(596), - [1449] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(597), - [1451] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(597), - [1453] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(598), - [1455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(598), - [1457] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 3), - [1459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), - [1461] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 2), - [1463] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(599), - [1465] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5), - [1467] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5), - [1469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 11), - [1471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5, .rename_sequence_id = 11), - [1473] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), - [1475] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(600), - [1477] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(601), - [1479] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), - [1481] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), - [1483] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), - [1485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), - [1487] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), - [1489] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(602), - [1491] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), - [1493] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(603), - [1495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(604), - [1497] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), - [1499] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 6), - [1501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(605), - [1503] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), - [1505] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 6), - [1507] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(606), - [1509] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(607), - [1511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(608), - [1513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(609), - [1515] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(610), - [1517] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), - [1519] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 3), - [1521] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), - [1523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), - [1525] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), - [1527] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), - [1529] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 7), - [1531] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), - [1533] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 7), - [1535] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(670), - [1537] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(3), - [1539] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(4), - [1541] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(5), - [1543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(6), - [1545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(671), - [1547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(7), - [1549] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(8), - [1551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(9), - [1553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(10), - [1555] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(11), - [1557] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(12), - [1559] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(13), - [1561] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(14), - [1563] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(15), - [1565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(674), - [1567] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), REDUCE(sym_do_group, 3), - [1570] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(677), - [1573] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(252), - [1576] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(253), - [1579] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [1584] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(681), - [1586] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(681), - [1588] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), - [1592] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(2), - [1598] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [1603] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [1610] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(580), - [1618] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(8), - [1624] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(624), - [1626] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(11), - [1632] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(12), - [1638] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(13), - [1644] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(14), - [1650] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(15), - [1658] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(16), - [1664] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(682), - [1666] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(683), - [1668] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(684), - [1670] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(685), - [1672] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(686), - [1674] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(687), - [1676] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(688), - [1678] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(689), - [1680] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(690), - [1682] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(691), - [1684] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(692), - [1686] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(693), - [1688] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(694), - [1690] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(695), - [1692] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(696), - [1694] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(701), - [1696] = {.count = 4, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1701] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1706] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), REDUCE(sym_compound_statement, 3), REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1713] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(611), - [1715] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(613), - [1717] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(616), - [1719] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(619), - [1721] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(622), - [1723] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(703), - [1725] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(628), - [1727] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(704), - [1729] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(705), - [1731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(706), - [1733] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(705), - [1735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(707), - [1737] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(708), - [1739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(709), - [1741] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(715), - [1743] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), - [1746] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(41), - [1748] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(716), - [1750] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(717), - [1752] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(718), - [1754] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(719), - [1756] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(43), - [1758] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(720), - [1760] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(413), - [1762] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(46), - [1764] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(47), - [1766] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), SHIFT(48), - [1770] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(644), - [1772] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(723), - [1774] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(724), - [1776] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(725), - [1778] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(726), - [1780] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(727), - [1782] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(728), - [1784] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(729), - [1786] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(730), - [1788] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(726), - [1790] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(731), - [1792] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(732), - [1794] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(733), - [1796] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(734), - [1798] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(735), - [1800] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(736), - [1802] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(737), - [1804] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(738), - [1806] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(734), - [1808] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(739), - [1810] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), - [1813] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), - [1816] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(740), - [1820] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(66), - [1822] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(67), - [1826] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(68), - [1830] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(69), - [1834] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(70), - [1838] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), SHIFT(741), - [1841] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(742), - [1843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(741), - [1845] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(2), - [1848] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(72), - [1850] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(73), - [1852] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(74), - [1854] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(75), - [1856] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(76), - [1858] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(77), - [1861] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(78), - [1863] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(79), - [1865] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(88), - [1868] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(12), - [1871] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(81), - [1874] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(82), - [1877] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(83), - [1880] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(89), - [1883] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(746), - [1885] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(747), - [1887] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(41), - [1890] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(42), - [1893] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(43), - [1896] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(412), - [1899] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(47), - [1902] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(48), - [1905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(748), - [1907] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), - [1910] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), - [1913] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), - [1916] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), - [1919] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(749), - [1921] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(749), - [1923] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1926] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1929] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(614), - [1931] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(617), - [1933] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1936] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(750), - [1940] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(97), - [1944] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(626), - [1948] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(627), - [1952] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(751), - [1956] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), REDUCE(sym_for_statement, 5), - [1959] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), REDUCE(aux_sym_if_statement_repeat1, 2), - [1962] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(752), - [1964] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1967] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1970] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1973] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1976] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), - [1979] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), - [1982] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(751), - [1988] = {.count = 4, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat1, 2), REDUCE(aux_sym_command_repeat2, 2), - [1993] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), - [1996] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), - [1999] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat1, 2), REDUCE(aux_sym_command_repeat2, 2), - [2004] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), - [2007] = {.count = 6, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(715), - [2014] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(753), - [2016] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(520), - [2025] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(754), - [2034] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), - [2037] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(755), - [2039] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [2047] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [2051] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(718), - [2058] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_file_redirect, 3), SHIFT(719), - [2064] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [2070] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [2076] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(520), - [2083] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(754), - [2090] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_file_redirect, 3), - [2095] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [2103] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_string_repeat1, 2), - [2106] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_heredoc_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), - [2113] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), - [2118] = {.count = 9, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [2128] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(756), - [2131] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(757), - [2134] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(757), - [2136] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(757), - [2138] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(758), - [2140] = {.count = 3, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), REDUCE(sym_elif_clause, 4), SHIFT(759), - [2144] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(252), - [2147] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(253), - [2150] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(760), - [2152] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(761), - [2154] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(764), - [2156] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(766), - [2158] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [2163] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(767), - [2165] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(629), - [2167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(768), - [2169] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(769), - [2171] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(770), - [2173] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(771), - [2175] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(772), - [2177] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(773), - [2179] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(774), - [2185] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(776), - [2187] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(776), - [2189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(777), - [2191] = {.count = 10, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 2, .rename_sequence_id = 2), REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 7), REDUCE(sym_command, 3, .rename_sequence_id = 5), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 10), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 11), - [2202] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(779), - [2204] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(780), - [2206] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(781), - [2208] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(782), - [2210] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(614), - [2212] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(785), - [2214] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(759), - [2216] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(759), - [2219] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(754), - [2221] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(786), - [2223] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(787), - [2225] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(790), - [2227] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(790), - [2229] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), - [2232] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(791), - [2234] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(792), - [2236] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(796), - [2238] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(797), - [2240] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(798), - [2242] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(799), - [2244] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(802), - [2246] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(808), - [2248] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(809), - [2250] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(810), - [2252] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(812), - [2254] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(813), - [2256] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(814), - [2258] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(815), - [2260] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(815), - [2262] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(816), - [2264] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(817), - [2266] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(819), - [2268] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(821), - [2270] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(827), - [2272] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(828), - [2274] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(626), - [2277] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(627), - [2280] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(sym_pipeline, 3, .fragile = true), - [2283] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(626), - [2286] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(627), - [2289] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(sym_list, 3, .fragile = true), - [2292] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(629), - [2294] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(830), - [2296] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(830), - [2298] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), - [2301] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(831), - [2303] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(832), - [2305] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(833), - [2307] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(834), - [2309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(835), - [2311] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(836), - [2313] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(837), - [2315] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), SHIFT(838), - [2319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(841), - [2321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(842), - [2323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(843), - [2325] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(844), - [2327] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(845), - [2329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(846), - [2331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(847), - [2333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(848), - [2335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(844), - [2337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(849), - [2339] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(639), - [2341] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(640), - [2343] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(755), - [2345] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 3), - [2348] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(850), - [2350] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(852), - [2352] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(853), - [2354] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(855), - [2356] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(856), - [2358] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(855), - [2360] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(858), - [2362] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(864), - [2364] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(868), + [561] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), + [563] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(255), + [565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(256), + [567] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(257), + [569] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), + [571] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_array_repeat1, 1), + [573] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_array_repeat1, 1), + [575] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(262), + [577] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(263), + [579] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(266), + [581] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(267), + [583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(268), + [585] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), + [587] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), + [589] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), + [591] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), + [593] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_special_variable_name, 1), + [595] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(269), + [597] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(271), + [599] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(272), + [601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(272), + [603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(273), + [605] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(274), + [607] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(274), + [609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(275), + [611] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(276), + [613] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), + [615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 2), + [617] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_array, 2), + [619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(277), + [621] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 2), + [623] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(280), + [625] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), + [627] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), + [629] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), + [631] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2), + [633] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(281), + [635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(283), + [637] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(284), + [639] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(284), + [641] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(285), + [643] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(286), + [645] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(286), + [647] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(287), + [649] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), + [651] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [653] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [655] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [657] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(288), + [659] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(288), + [661] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(289), + [663] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(291), + [665] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(292), + [667] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(294), + [669] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(294), + [671] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(295), + [673] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(297), + [675] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(298), + [677] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), + [679] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(304), + [681] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), + [683] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(306), + [685] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(308), + [687] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(309), + [689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(311), + [691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(311), + [693] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(312), + [695] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(314), + [697] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(315), + [699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), + [701] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), + [703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(321), + [705] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(322), + [707] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(323), + [709] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(324), + [711] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), + [713] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), + [715] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), + [717] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), + [719] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(326), + [721] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(329), + [723] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(330), + [725] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(332), + [727] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(333), + [729] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(333), + [731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(334), + [733] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(335), + [735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(335), + [737] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(336), + [739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(337), + [741] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(339), + [743] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(340), + [745] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(340), + [747] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(341), + [749] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(342), + [751] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(342), + [753] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(343), + [755] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 3), + [757] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 3), + [759] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 2), + [761] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 2), + [763] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(344), + [765] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(345), + [767] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(347), + [769] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(348), + [771] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(349), + [773] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(350), + [775] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), + [777] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 2), + [779] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(351), + [781] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(352), + [783] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(353), + [785] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(353), + [787] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), + [789] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(354), + [791] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true), + [793] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(355), + [795] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(209), + [797] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(209), + [799] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(210), + [801] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(210), + [803] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(356), + [805] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(357), + [807] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(358), + [809] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(359), + [811] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(360), + [813] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(361), + [815] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(357), + [817] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(364), + [819] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(365), + [821] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(366), + [823] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(367), + [825] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(368), + [827] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(369), + [829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(370), + [831] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(371), + [833] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(367), + [835] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(372), + [837] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(373), + [839] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 1), + [841] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2), + [843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2), + [845] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(376), + [847] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(377), + [849] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(378), + [851] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), + [853] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), + [855] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(381), + [857] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(381), + [859] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(381), + [861] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), + [863] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .rename_sequence_id = 2), + [865] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), + [867] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), + [869] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(386), + [871] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(387), + [873] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(394), + [875] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(395), + [877] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(396), + [879] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), + [881] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), + [883] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), + [885] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), + [887] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(399), + [889] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(401), + [891] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(402), + [893] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(404), + [895] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(404), + [897] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(405), + [899] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(407), + [901] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(408), + [903] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), + [905] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), + [907] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), + [909] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), + [911] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), + [913] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(418), + [915] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), + [917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 1), + [919] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), + [921] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(421), + [923] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(421), + [925] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(256), + [927] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(257), + [929] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 3), + [931] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_array_repeat1, 2), + [933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_array_repeat1, 2), + [935] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(425), + [937] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(426), + [939] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(427), + [941] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(428), + [943] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(427), + [945] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(431), + [947] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(432), + [949] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(433), + [951] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), + [953] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(434), + [955] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(434), + [957] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), + [959] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(435), + [961] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(435), + [963] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 3), + [965] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_array, 3), + [967] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(437), + [969] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 3), + [971] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(438), + [973] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(439), + [975] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), + [977] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), + [979] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(440), + [981] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(440), + [983] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), + [985] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3), + [987] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(441), + [989] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(441), + [991] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command_substitution, 3), + [993] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(442), + [995] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(111), + [997] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(445), + [999] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(446), + [1001] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(448), + [1003] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(449), + [1005] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(449), + [1007] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(450), + [1009] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(451), + [1011] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(451), + [1013] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(452), + [1015] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), + [1017] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(453), + [1019] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(456), + [1021] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(457), + [1023] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(459), + [1025] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(460), + [1027] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(460), + [1029] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(461), + [1031] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(462), + [1033] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(462), + [1035] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(463), + [1037] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), + [1039] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), + [1041] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), + [1043] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), + [1045] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(464), + [1047] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(464), + [1049] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(465), + [1051] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(467), + [1053] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(468), + [1055] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(470), + [1057] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(471), + [1059] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(472), + [1061] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(473), + [1063] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(474), + [1065] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(475), + [1067] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(475), + [1069] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(476), + [1071] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(476), + [1073] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(477), + [1075] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(478), + [1077] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(479), + [1079] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(479), + [1081] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(480), + [1083] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(480), + [1085] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(482), + [1087] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), + [1089] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_while_statement, 3), + [1091] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(484), + [1093] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(488), + [1095] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(489), + [1097] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(490), + [1099] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), + [1101] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 3), + [1103] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), + [1105] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_bracket_command, 3), + [1107] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(491), + [1109] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(491), + [1111] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(492), + [1113] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(494), + [1115] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(495), + [1117] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(497), + [1119] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(497), + [1121] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(498), + [1123] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(500), + [1125] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(501), + [1127] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), + [1129] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true), + [1131] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(507), + [1133] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(507), + [1135] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3), + [1137] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3), + [1139] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(509), + [1141] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(511), + [1143] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(512), + [1145] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(514), + [1147] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(514), + [1149] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(515), + [1151] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(517), + [1153] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(518), + [1155] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 1), + [1157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(524), + [1159] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc_redirect, 2), + [1161] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 2), + [1163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(526), + [1165] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), + [1167] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), + [1169] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), + [1171] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 5), + [1173] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), + [1175] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), + [1177] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_pipeline, 3, .fragile = true), + [1179] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), + [1181] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_list, 3, .fragile = true), + [1183] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), + [1185] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), + [1187] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), + [1189] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 7), + [1191] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(534), + [1193] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), + [1195] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), + [1197] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(536), + [1199] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(539), + [1201] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(540), + [1203] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(542), + [1205] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(543), + [1207] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(543), + [1209] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(544), + [1211] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(545), + [1213] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(545), + [1215] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(546), + [1217] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), + [1219] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [1221] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), + [1223] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), + [1225] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), + [1227] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(549), + [1229] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), + [1231] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), + [1233] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(550), + [1235] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 2), + [1237] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), + [1239] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), + [1241] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(552), + [1243] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(121), + [1245] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), + [1247] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), + [1249] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), + [1251] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(553), + [1253] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 4, .rename_sequence_id = 11), + [1255] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 4), + [1257] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(556), + [1259] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(557), + [1261] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 12), + [1263] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), + [1265] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_process_substitution, 4), + [1267] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 4, .rename_sequence_id = 11), + [1269] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 4, .rename_sequence_id = 11), + [1271] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 4), + [1273] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 4), + [1275] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(558), + [1277] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(559), + [1279] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(560), + [1281] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(561), + [1283] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(562), + [1285] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(563), + [1287] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(563), + [1289] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(564), + [1291] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(564), + [1293] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(565), + [1295] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(566), + [1297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(567), + [1299] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(568), + [1301] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(568), + [1303] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(569), + [1305] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(569), + [1307] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(570), + [1309] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(572), + [1311] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(573), + [1313] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(573), + [1315] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(574), + [1317] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(575), + [1319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(575), + [1321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 2), + [1323] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 2), + [1325] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), + [1327] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), + [1329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(576), + [1331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(577), + [1333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(578), + [1335] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(579), + [1337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), + [1339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 2), + [1341] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(581), + [1343] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), + [1345] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 4), + [1347] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(582), + [1349] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(582), + [1351] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(585), + [1353] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(587), + [1355] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(589), + [1357] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(592), + [1359] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(593), + [1361] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(595), + [1363] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(596), + [1365] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(596), + [1367] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(597), + [1369] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(598), + [1371] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(598), + [1373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(599), + [1375] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4), + [1377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4), + [1379] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(600), + [1381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(603), + [1383] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(604), + [1385] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(606), + [1387] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(607), + [1389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(607), + [1391] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(608), + [1393] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(609), + [1395] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(609), + [1397] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(610), + [1399] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 2), + [1401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(611), + [1403] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(612), + [1405] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), + [1407] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), + [1409] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), + [1411] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 9), + [1413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), + [1415] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true), + [1417] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [1419] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [1421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), + [1423] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 10), + [1425] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), + [1427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(616), + [1429] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(617), + [1431] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(618), + [1433] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(619), + [1435] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(620), + [1437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(620), + [1439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(621), + [1441] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(621), + [1443] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5), + [1445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 12), + [1447] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), + [1449] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), + [1451] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(623), + [1453] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(624), + [1455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), + [1457] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 2), + [1459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), + [1461] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), + [1463] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(626), + [1465] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [1467] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), + [1469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [1471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [1473] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), + [1475] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5), + [1477] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(627), + [1479] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(628), + [1481] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(629), + [1483] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(630), + [1485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(631), + [1487] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(632), + [1489] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(633), + [1491] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(633), + [1493] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(634), + [1495] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(634), + [1497] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), + [1499] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_for_statement, 5), + [1501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), + [1503] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 3), + [1505] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), + [1507] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 5), + [1509] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(635), + [1511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), + [1513] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 5), + [1515] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(637), + [1517] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 12), + [1519] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 12), + [1521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(639), + [1523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(640), + [1525] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(641), + [1527] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(642), + [1529] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(642), + [1531] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(643), + [1533] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(643), + [1535] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(644), + [1537] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(645), + [1539] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(646), + [1541] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(647), + [1543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(647), + [1545] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(648), + [1547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(648), + [1549] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 3), + [1551] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), + [1553] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 2), + [1555] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(649), + [1557] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5), + [1559] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5), + [1561] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 12), + [1563] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5, .rename_sequence_id = 12), + [1565] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), + [1567] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(650), + [1569] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(651), + [1571] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), + [1573] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), + [1575] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), + [1577] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), + [1579] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), + [1581] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(652), + [1583] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), + [1585] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(653), + [1587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(654), + [1589] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), + [1591] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 6), + [1593] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(655), + [1595] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), + [1597] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 6), + [1599] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(656), + [1601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(657), + [1603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(658), + [1605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(659), + [1607] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(660), + [1609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), + [1611] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 3), + [1613] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), + [1615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), + [1617] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), + [1619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), + [1621] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 7), + [1623] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), + [1625] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 7), + [1627] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(721), + [1629] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(3), + [1631] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(4), + [1633] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(5), + [1635] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(6), + [1637] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(722), + [1639] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(7), + [1641] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(8), + [1643] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(9), + [1645] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(10), + [1647] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(11), + [1649] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(12), + [1651] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(13), + [1653] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(14), + [1655] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(15), + [1657] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(725), + [1659] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), REDUCE(sym_do_group, 3), + [1662] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(728), + [1665] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(256), + [1668] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(257), + [1671] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [1676] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(732), + [1678] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(732), + [1680] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), + [1684] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(2), + [1690] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [1695] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [1702] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(624), + [1710] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(8), + [1716] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(674), + [1718] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(11), + [1724] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(12), + [1730] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(13), + [1736] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(14), + [1742] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(15), + [1750] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(16), + [1756] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(733), + [1758] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(734), + [1760] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(735), + [1762] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(736), + [1764] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(737), + [1766] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(738), + [1768] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(739), + [1770] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(740), + [1772] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(741), + [1774] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(742), + [1776] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(743), + [1778] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(744), + [1780] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(745), + [1782] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(746), + [1784] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(747), + [1786] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(752), + [1788] = {.count = 6, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 4), REDUCE(sym_expansion, 4, .rename_sequence_id = 11), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [1795] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 4), REDUCE(sym_expansion, 4, .rename_sequence_id = 11), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [1802] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), REDUCE(sym_compound_statement, 3), REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 4), REDUCE(sym_expansion, 4, .rename_sequence_id = 11), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [1811] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(661), + [1813] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(663), + [1815] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(666), + [1817] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(669), + [1819] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(672), + [1821] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(754), + [1823] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(678), + [1825] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(755), + [1827] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(756), + [1829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(757), + [1831] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(756), + [1833] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(758), + [1835] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(759), + [1837] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(760), + [1839] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(766), + [1841] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), + [1844] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(41), + [1846] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(767), + [1848] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(768), + [1850] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(769), + [1852] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(770), + [1854] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(43), + [1856] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(771), + [1858] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(428), + [1860] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(46), + [1862] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(47), + [1864] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), SHIFT(48), + [1868] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(695), + [1870] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(774), + [1872] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(775), + [1874] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(776), + [1876] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(777), + [1878] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(778), + [1880] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(779), + [1882] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(780), + [1884] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(781), + [1886] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(777), + [1888] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(782), + [1890] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(783), + [1892] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(784), + [1894] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(785), + [1896] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(786), + [1898] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(787), + [1900] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(788), + [1902] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(789), + [1904] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(785), + [1906] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(790), + [1908] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), + [1911] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), + [1914] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(791), + [1918] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(66), + [1920] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(67), + [1924] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(68), + [1928] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(69), + [1932] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(70), + [1936] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), SHIFT(792), + [1939] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(792), + [1941] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(793), + [1943] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), SHIFT(121), + [1946] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), SHIFT(795), + [1949] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(2), + [1952] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(72), + [1954] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(73), + [1956] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(74), + [1958] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(75), + [1960] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(76), + [1962] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(77), + [1965] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(78), + [1967] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(79), + [1969] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(88), + [1972] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(12), + [1975] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(81), + [1978] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(82), + [1981] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(83), + [1984] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(89), + [1987] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(799), + [1989] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(800), + [1991] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(41), + [1994] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(42), + [1997] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(43), + [2000] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(427), + [2003] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(47), + [2006] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(48), + [2009] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(801), + [2011] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), + [2014] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), + [2017] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), + [2020] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), + [2023] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(802), + [2025] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(802), + [2027] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [2030] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [2033] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(664), + [2035] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(667), + [2037] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [2040] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(803), + [2044] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(97), + [2048] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(676), + [2052] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(677), + [2056] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(804), + [2060] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), REDUCE(sym_for_statement, 5), + [2063] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), REDUCE(aux_sym_if_statement_repeat1, 2), + [2066] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(805), + [2068] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [2071] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [2074] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [2077] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), REDUCE(sym_function_definition, 5, .rename_sequence_id = 12), + [2080] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), + [2083] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), + [2086] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(804), + [2092] = {.count = 4, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat1, 2), REDUCE(aux_sym_command_repeat2, 2), + [2097] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), + [2100] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), + [2103] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat1, 2), REDUCE(aux_sym_command_repeat2, 2), + [2108] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), + [2111] = {.count = 6, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(766), + [2118] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(806), + [2120] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(552), + [2129] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(807), + [2138] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), + [2141] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(808), + [2143] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2151] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2155] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(769), + [2162] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_file_redirect, 3), SHIFT(770), + [2168] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2174] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2180] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(552), + [2187] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(807), + [2194] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_file_redirect, 3), + [2199] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2207] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_string_repeat1, 2), + [2210] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_heredoc_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), + [2217] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), + [2222] = {.count = 9, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2232] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(809), + [2235] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(810), + [2238] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(810), + [2240] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(810), + [2242] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(811), + [2244] = {.count = 3, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), REDUCE(sym_elif_clause, 4), SHIFT(812), + [2248] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(256), + [2251] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(257), + [2254] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(813), + [2256] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(814), + [2258] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(817), + [2260] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(819), + [2262] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [2267] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(820), + [2269] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(679), + [2271] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(821), + [2273] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(822), + [2275] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(823), + [2277] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(824), + [2279] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(825), + [2281] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(826), + [2283] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(827), + [2289] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(829), + [2291] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(829), + [2293] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(830), + [2295] = {.count = 10, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 2, .rename_sequence_id = 2), REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 7), REDUCE(sym_command, 3, .rename_sequence_id = 5), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 10), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 12), + [2306] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(832), + [2308] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(833), + [2310] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(834), + [2312] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(835), + [2314] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(664), + [2316] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(838), + [2318] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(812), + [2320] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(812), + [2323] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(807), + [2325] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(839), + [2327] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(840), + [2329] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(843), + [2331] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(843), + [2333] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), + [2336] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(844), + [2338] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(845), + [2340] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(849), + [2342] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(850), + [2344] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(851), + [2346] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(852), + [2348] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(855), + [2350] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(861), + [2352] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(862), + [2354] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(863), + [2356] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(865), + [2358] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(866), + [2360] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(867), + [2362] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(868), + [2364] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(868), [2366] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(869), - [2368] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), - [2371] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), - [2374] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(871), - [2376] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(872), - [2378] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(871), - [2380] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(874), - [2382] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(751), - [2384] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(751), - [2387] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(880), - [2389] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), - [2392] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(881), - [2394] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(881), - [2396] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [2399] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [2402] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [2406] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(882), - [2408] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(746), - [2410] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [2413] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [2416] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(883), - [2418] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(883), - [2420] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(884), - [2422] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), - [2425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(886), - [2427] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), - [2430] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(887), - [2432] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(889), - [2434] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(890), - [2436] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(892), - [2438] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(893), - [2440] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(892), - [2442] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(895), - [2444] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 11), - [2449] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(901), - [2451] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(903), - [2453] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(677), - [2455] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(906), - [2457] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(907), - [2459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(908), - [2461] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(910), - [2463] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(911), - [2465] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(912), - [2467] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(913), - [2469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(914), - [2471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(915), - [2473] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(916), - [2475] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(916), - [2477] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(917), - [2479] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(838), - [2481] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(920), - [2483] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(921), - [2485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(922), - [2487] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(923), - [2489] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(924), - [2491] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(925), - [2493] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(926), - [2495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(927), - [2497] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(923), - [2499] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(928), - [2501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(929), - [2503] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(932), - [2505] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(933), - [2507] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(933), - [2510] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(934), - [2512] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(937), - [2514] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(938), - [2516] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(939), - [2518] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(644), - [2520] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(940), - [2522] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(941), - [2524] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(942), - [2526] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(943), - [2528] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(644), - [2530] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(692), - [2532] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(948), - [2534] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(949), - [2536] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), SHIFT(838), - [2539] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(952), - [2541] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(953), - [2543] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(953), - [2546] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(954), - [2548] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), SHIFT(838), - [2551] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(957), - [2553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(957), - [2555] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(958), - [2557] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(960), - [2559] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(961), - [2561] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(963), - [2563] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(964), - [2565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(963), - [2567] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(966), - [2569] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), - [2572] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(972), - [2574] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), SHIFT(838), - [2578] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 4), - [2581] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(974), - [2583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(976), - [2585] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(977), - [2587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(979), - [2589] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(980), - [2591] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(979), - [2593] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(982), - [2595] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(988), - [2597] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(991), - [2599] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(992), - [2601] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(993), - [2603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(993), - [2605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(994), - [2607] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(995), - [2609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(995), - [2611] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(996), - [2613] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(996), - [2616] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(812), - [2618] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(997), - [2620] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1000), - [2622] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1001), - [2624] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1002), - [2626] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1002), - [2628] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1003), - [2630] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1004), - [2632] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1004), - [2634] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1005), - [2636] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1005), - [2639] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1006), - [2641] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1008), - [2643] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1010), - [2645] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1011), - [2647] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [2650] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1012), - [2652] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1015), - [2654] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1016), - [2656] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1017), - [2658] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1017), - [2660] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1018), - [2662] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1019), - [2664] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1019), - [2666] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1020), - [2668] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1020), - [2671] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), SHIFT(838), - [2674] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), SHIFT(838), - [2677] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(759), - [2679] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(624), - [2681] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1027), - [2683] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1029), - [2685] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1033), - [2687] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1034), - [2689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1035), - [2691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1036), - [2693] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1036), - [2695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1037), - [2697] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1039), - [2699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1041), - [2701] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1042), - [2703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1044), - [2705] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1045), - [2707] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1044), - [2709] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1047), - [2711] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1053), - [2713] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1055), - [2715] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1058), - [2717] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1060), - [2719] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1061), - [2721] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1063), - [2723] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1064), - [2725] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1063), - [2727] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1066), - [2729] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(813), - [2732] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(814), - [2735] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(813), - [2738] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(814), - [2741] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), SHIFT(838), - [2744] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1077), - [2746] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1080), - [2748] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1081), - [2750] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1082), - [2752] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1082), - [2754] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1083), - [2756] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1084), - [2758] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1084), - [2760] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1085), - [2762] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1085), - [2765] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 5), - [2768] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1086), - [2770] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1089), - [2772] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1090), - [2774] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1091), - [2776] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1091), - [2778] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1092), - [2780] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1093), - [2782] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1093), - [2784] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1094), - [2786] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1094), - [2789] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1095), - [2791] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1096), - [2793] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1096), - [2795] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1097), - [2797] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1097), - [2799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1098), - [2801] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1099), - [2803] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1099), - [2805] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1100), - [2807] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1100), - [2809] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1101), - [2811] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1102), - [2813] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1103), - [2815] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1103), - [2817] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1104), - [2819] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1104), - [2821] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), SHIFT(838), - [2824] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(838), - [2827] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1108), - [2829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1109), - [2831] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1109), - [2833] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1112), - [2835] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1114), - [2837] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1116), - [2839] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1119), - [2841] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1120), - [2843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1121), - [2845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1121), - [2847] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1122), - [2849] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1123), - [2851] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1123), - [2853] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1124), - [2855] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1124), - [2858] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1125), - [2860] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1126), - [2862] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1128), - [2864] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1131), - [2866] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1132), - [2868] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1133), - [2870] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1133), - [2872] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1134), - [2874] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1135), - [2876] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1135), - [2878] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1136), - [2880] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1136), - [2883] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1139), - [2885] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1140), - [2887] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1140), - [2889] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1141), - [2891] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1141), - [2893] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1142), - [2895] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1143), - [2897] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1143), - [2899] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1144), - [2901] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1144), - [2903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1145), - [2905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1146), - [2907] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1147), - [2909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1148), - [2911] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1149), - [2913] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1150), - [2915] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1151), - [2917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1153), - [2919] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1155), - [2921] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1156), - [2923] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1156), - [2925] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1157), - [2927] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1157), - [2929] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1158), - [2931] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1159), - [2933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1160), - [2935] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1160), - [2937] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1161), - [2939] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1161), - [2941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1162), - [2943] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1163), - [2945] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1164), - [2947] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1165), - [2949] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1166), - [2951] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1167), - [2953] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1168), - [2955] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1169), - [2957] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1170), - [2959] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1171), + [2368] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(870), + [2370] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(872), + [2372] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(874), + [2374] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(880), + [2376] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(881), + [2378] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(676), + [2381] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(677), + [2384] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(sym_pipeline, 3, .fragile = true), + [2387] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(676), + [2390] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(677), + [2393] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(sym_list, 3, .fragile = true), + [2396] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(679), + [2398] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(883), + [2400] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(883), + [2402] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), + [2405] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(884), + [2407] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(885), + [2409] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(886), + [2411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(887), + [2413] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(888), + [2415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(889), + [2417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(890), + [2419] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), SHIFT(891), + [2423] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(894), + [2425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(895), + [2427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(896), + [2429] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(897), + [2431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(898), + [2433] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(899), + [2435] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(900), + [2437] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(901), + [2439] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(897), + [2441] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(902), + [2443] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(690), + [2445] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(691), + [2447] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(808), + [2449] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 3), + [2452] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(903), + [2454] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(905), + [2456] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(906), + [2458] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(908), + [2460] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(908), + [2462] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(909), + [2464] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(911), + [2466] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(912), + [2468] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(918), + [2470] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(922), + [2472] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(923), + [2474] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), + [2477] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), + [2480] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(925), + [2482] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(925), + [2484] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(926), + [2486] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(928), + [2488] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(929), + [2490] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(935), + [2492] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(936), + [2494] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(804), + [2496] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(804), + [2499] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(937), + [2501] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), + [2504] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(938), + [2506] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(938), + [2508] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [2511] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [2514] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [2518] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(939), + [2520] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(799), + [2522] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [2525] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 13), + [2528] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 4), + [2531] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 4), + [2534] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(940), + [2536] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(940), + [2538] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(941), + [2540] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), + [2543] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(943), + [2545] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), + [2548] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(944), + [2550] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(946), + [2552] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(947), + [2554] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(949), + [2556] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(949), + [2558] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(950), + [2560] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(952), + [2562] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(953), + [2564] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 12), + [2569] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(959), + [2571] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(961), + [2573] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(728), + [2575] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(964), + [2577] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(965), + [2579] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(966), + [2581] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(968), + [2583] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(969), + [2585] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(970), + [2587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(971), + [2589] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(972), + [2591] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(973), + [2593] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(974), + [2595] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(974), + [2597] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(975), + [2599] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(891), + [2601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(978), + [2603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(979), + [2605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(980), + [2607] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(981), + [2609] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(982), + [2611] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(983), + [2613] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(984), + [2615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(985), + [2617] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(981), + [2619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(986), + [2621] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(987), + [2623] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(990), + [2625] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(991), + [2627] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(991), + [2630] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(992), + [2632] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(995), + [2634] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(996), + [2636] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(997), + [2638] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(695), + [2640] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(998), + [2642] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(999), + [2644] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1000), + [2646] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1001), + [2648] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(695), + [2650] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(743), + [2652] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1006), + [2654] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1007), + [2656] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), SHIFT(891), + [2659] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1010), + [2661] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1011), + [2663] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1011), + [2666] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1012), + [2668] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), SHIFT(891), + [2671] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1015), + [2673] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1015), + [2675] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1016), + [2677] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1018), + [2679] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1019), + [2681] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1021), + [2683] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1021), + [2685] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1022), + [2687] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1024), + [2689] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1025), + [2691] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), + [2694] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1031), + [2696] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), SHIFT(891), + [2700] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 4), + [2703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1033), + [2705] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1035), + [2707] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1036), + [2709] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1038), + [2711] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1038), + [2713] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1039), + [2715] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1041), + [2717] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1042), + [2719] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1048), + [2721] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1051), + [2723] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1052), + [2725] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1054), + [2727] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1055), + [2729] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1055), + [2731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1056), + [2733] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1057), + [2735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1057), + [2737] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1058), + [2739] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1058), + [2742] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(865), + [2744] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1059), + [2746] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1062), + [2748] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1063), + [2750] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1065), + [2752] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1066), + [2754] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1066), + [2756] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1067), + [2758] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1068), + [2760] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1068), + [2762] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1069), + [2764] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1069), + [2767] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1070), + [2769] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1072), + [2771] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1074), + [2773] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1075), + [2775] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [2778] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1076), + [2780] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1079), + [2782] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1080), + [2784] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1082), + [2786] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1083), + [2788] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1083), + [2790] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1084), + [2792] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1085), + [2794] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1085), + [2796] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1086), + [2798] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1086), + [2801] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), SHIFT(891), + [2804] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), SHIFT(891), + [2807] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(812), + [2809] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(674), + [2811] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1093), + [2813] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1095), + [2815] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1099), + [2817] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1100), + [2819] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1101), + [2821] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1102), + [2823] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1102), + [2825] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1103), + [2827] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1105), + [2829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1107), + [2831] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1108), + [2833] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1110), + [2835] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1110), + [2837] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1111), + [2839] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1113), + [2841] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1114), + [2843] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1120), + [2845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1122), + [2847] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1125), + [2849] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1127), + [2851] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1128), + [2853] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1130), + [2855] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1130), + [2857] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1131), + [2859] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1133), + [2861] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1134), + [2863] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(866), + [2866] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(867), + [2869] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(866), + [2872] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(867), + [2875] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), SHIFT(891), + [2878] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1145), + [2880] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1148), + [2882] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1149), + [2884] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1151), + [2886] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1152), + [2888] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1152), + [2890] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1153), + [2892] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1154), + [2894] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1154), + [2896] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1155), + [2898] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1155), + [2901] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 5), + [2904] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1156), + [2906] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1159), + [2908] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1160), + [2910] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1162), + [2912] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1163), + [2914] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1163), + [2916] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1164), + [2918] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1165), + [2920] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1165), + [2922] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1166), + [2924] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1166), + [2927] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1167), + [2929] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1168), + [2931] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1169), + [2933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1170), + [2935] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1170), + [2937] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1171), + [2939] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1171), + [2941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1172), + [2943] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1173), + [2945] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1174), + [2947] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1175), + [2949] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1175), + [2951] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1176), + [2953] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1176), + [2955] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1177), + [2957] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1178), + [2959] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1179), + [2961] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1180), + [2963] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1181), + [2965] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1181), + [2967] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1182), + [2969] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1182), + [2971] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), SHIFT(891), + [2974] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(891), + [2977] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1186), + [2979] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1187), + [2981] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1187), + [2983] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1190), + [2985] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1192), + [2987] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1194), + [2989] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1197), + [2991] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1198), + [2993] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1200), + [2995] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1201), + [2997] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1201), + [2999] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1202), + [3001] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1203), + [3003] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1203), + [3005] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1204), + [3007] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1204), + [3010] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1205), + [3012] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1206), + [3014] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1208), + [3016] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1211), + [3018] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1212), + [3020] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1214), + [3022] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1215), + [3024] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1215), + [3026] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1216), + [3028] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1217), + [3030] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1217), + [3032] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1218), + [3034] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1218), + [3037] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1221), + [3039] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1222), + [3041] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1223), + [3043] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1224), + [3045] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1224), + [3047] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1225), + [3049] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1225), + [3051] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1226), + [3053] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1227), + [3055] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1228), + [3057] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1229), + [3059] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1229), + [3061] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1230), + [3063] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1230), + [3065] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1231), + [3067] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1232), + [3069] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1233), + [3071] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1234), + [3073] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1235), + [3075] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1236), + [3077] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1237), + [3079] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1239), + [3081] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1241), + [3083] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1242), + [3085] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1243), + [3087] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1244), + [3089] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1244), + [3091] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1245), + [3093] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1245), + [3095] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1246), + [3097] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1247), + [3099] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1248), + [3101] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1249), + [3103] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1250), + [3105] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1250), + [3107] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1251), + [3109] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1251), + [3111] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1252), + [3113] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1253), + [3115] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1254), + [3117] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1255), + [3119] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1256), + [3121] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1257), + [3123] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1258), + [3125] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1259), + [3127] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1260), + [3129] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1261), }; void *tree_sitter_bash_external_scanner_create(); diff --git a/src/scanner.cc b/src/scanner.cc index 01d4a52..db4fe36 100644 --- a/src/scanner.cc +++ b/src/scanner.cc @@ -13,6 +13,7 @@ enum TokenType { HEREDOC_END, FILE_DESCRIPTOR, EMPTY_VALUE, + LENGTH_OPERATOR }; struct Scanner { @@ -115,6 +116,16 @@ struct Scanner { } } + if (valid_symbols[LENGTH_OPERATOR]) { + if (lexer->lookahead == '#') { + advance(lexer); + if (iswalpha(lexer->lookahead)) { + lexer->result_symbol = LENGTH_OPERATOR; + return true; + } + } + } + return false; }