diff --git a/corpus/control_flow.txt b/corpus/control_flow.txt index 6a9dbf5..7c3b499 100644 --- a/corpus/control_flow.txt +++ b/corpus/control_flow.txt @@ -97,3 +97,21 @@ Subshells (program (subshell (command (command_name) (argument)))) + +=============================== +Function definitions +=============================== + +do_something() { + echo ok +} + +function do_something_else() { + echo ok +} + +--- + +(program + (function_definition (command_name) (compound_command (command (command_name) (argument)))) + (function_definition (command_name) (compound_command (command (command_name) (argument))))) diff --git a/grammar.js b/grammar.js index 34894c4..0b09366 100644 --- a/grammar.js +++ b/grammar.js @@ -33,7 +33,8 @@ module.exports = grammar({ $.case_statement, $.pipeline, $.list, - $.subshell + $.subshell, + $.function_definition ), while_statement: $ => seq( @@ -87,6 +88,20 @@ module.exports = grammar({ ';;' ), + function_definition: $ => seq( + optional('function'), + rename($.leading_word, 'command_name'), + '(', + ')', + $.compound_command + ), + + compound_command: $ => seq( + '{', + repeat($._terminated_statement), + '}' + ), + bracket_command: $ => choice( seq('[', repeat1($.value), ']'), seq('[[', repeat1($.value), ']]') diff --git a/src/grammar.json b/src/grammar.json index 12fd426..69052b7 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -59,6 +59,10 @@ { "type": "SYMBOL", "name": "subshell" + }, + { + "type": "SYMBOL", + "name": "function_definition" } ] }, @@ -254,6 +258,63 @@ } ] }, + "function_definition": { + "type": "SEQ", + "members": [ + { + "type": "CHOICE", + "members": [ + { + "type": "STRING", + "value": "function" + }, + { + "type": "BLANK" + } + ] + }, + { + "type": "RENAME", + "content": { + "type": "SYMBOL", + "name": "leading_word" + }, + "value": "command_name" + }, + { + "type": "STRING", + "value": "(" + }, + { + "type": "STRING", + "value": ")" + }, + { + "type": "SYMBOL", + "name": "compound_command" + } + ] + }, + "compound_command": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "{" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "_terminated_statement" + } + }, + { + "type": "STRING", + "value": "}" + } + ] + }, "bracket_command": { "type": "CHOICE", "members": [ diff --git a/src/parser.c b/src/parser.c index 12e1cd5..d342edd 100644 --- a/src/parser.c +++ b/src/parser.c @@ -4,9 +4,9 @@ #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #define LANGUAGE_VERSION 3 -#define STATE_COUNT 541 -#define SYMBOL_COUNT 85 -#define TOKEN_COUNT 55 +#define STATE_COUNT 574 +#define SYMBOL_COUNT 89 +#define TOKEN_COUNT 57 #define EXTERNAL_TOKEN_COUNT 5 #define MAX_RENAME_SEQUENCE_LENGTH 7 @@ -29,76 +29,80 @@ enum { anon_sym_esac = 16, anon_sym_RPAREN = 17, anon_sym_SEMI_SEMI = 18, - anon_sym_LBRACK = 19, - anon_sym_RBRACK = 20, - anon_sym_LBRACK_LBRACK = 21, - anon_sym_RBRACK_RBRACK = 22, - anon_sym_COLON = 23, - aux_sym_SLASH_BSLASHs_PLUS_SLASH = 24, - anon_sym_PIPE = 25, - anon_sym_PIPE_AMP = 26, - anon_sym_AMP_AMP = 27, - anon_sym_PIPE_PIPE = 28, - anon_sym_LPAREN = 29, - anon_sym_EQ = 30, - anon_sym_DQUOTE = 31, - sym__quoted_chars = 32, - sym_single_quoted_argument = 33, - anon_sym_DOLLAR = 34, - anon_sym_DOLLAR_LBRACE = 35, - anon_sym_COLON_QMARK = 36, - anon_sym_COLON_DASH = 37, - anon_sym_RBRACE = 38, - anon_sym_DOLLAR_LPAREN = 39, - anon_sym_LT = 40, - anon_sym_GT = 41, - anon_sym_GT_GT = 42, - anon_sym_AMP_GT = 43, - anon_sym_AMP_GT_GT = 44, - anon_sym_LT_AMP = 45, - anon_sym_GT_AMP = 46, - anon_sym_LT_LT = 47, - anon_sym_LT_LT_DASH = 48, - sym_leading_word = 49, - sym_word = 50, - sym_comment = 51, - anon_sym_SEMI = 52, - anon_sym_LF = 53, - anon_sym_AMP = 54, - sym_program = 55, - sym__terminated_statement = 56, - sym_while_statement = 57, - sym_do_group = 58, - sym_if_statement = 59, - sym_elif_clause = 60, - sym_else_clause = 61, - sym_case_statement = 62, - sym_case_item = 63, - sym_bracket_command = 64, - sym_command = 65, - sym_pipeline = 66, - sym_list = 67, - sym_subshell = 68, - sym_environment_variable_assignment = 69, - sym_quoted_argument = 70, - sym_expansion = 71, - sym_operator_expansion = 72, - sym_command_substitution = 73, - sym_file_redirect = 74, - sym_heredoc_redirect = 75, - sym_heredoc = 76, - aux_sym_program_repeat1 = 77, - aux_sym_if_statement_repeat1 = 78, - aux_sym_case_statement_repeat1 = 79, - aux_sym_bracket_command_repeat1 = 80, - aux_sym_command_repeat1 = 81, - aux_sym_command_repeat2 = 82, - aux_sym_quoted_argument_repeat1 = 83, - aux_sym_heredoc_repeat1 = 84, - rename_sym_1 = 85, - rename_sym_argument = 86, - rename_sym_command_name = 87, - rename_sym_variable_name = 88, + anon_sym_function = 19, + anon_sym_LPAREN = 20, + anon_sym_LBRACE = 21, + anon_sym_RBRACE = 22, + anon_sym_LBRACK = 23, + anon_sym_RBRACK = 24, + anon_sym_LBRACK_LBRACK = 25, + anon_sym_RBRACK_RBRACK = 26, + anon_sym_COLON = 27, + aux_sym_SLASH_BSLASHs_PLUS_SLASH = 28, + anon_sym_PIPE = 29, + anon_sym_PIPE_AMP = 30, + anon_sym_AMP_AMP = 31, + anon_sym_PIPE_PIPE = 32, + anon_sym_EQ = 33, + anon_sym_DQUOTE = 34, + sym__quoted_chars = 35, + sym_single_quoted_argument = 36, + anon_sym_DOLLAR = 37, + anon_sym_DOLLAR_LBRACE = 38, + anon_sym_COLON_QMARK = 39, + anon_sym_COLON_DASH = 40, + anon_sym_DOLLAR_LPAREN = 41, + anon_sym_LT = 42, + anon_sym_GT = 43, + anon_sym_GT_GT = 44, + anon_sym_AMP_GT = 45, + anon_sym_AMP_GT_GT = 46, + anon_sym_LT_AMP = 47, + anon_sym_GT_AMP = 48, + anon_sym_LT_LT = 49, + anon_sym_LT_LT_DASH = 50, + sym_leading_word = 51, + sym_word = 52, + sym_comment = 53, + anon_sym_SEMI = 54, + anon_sym_LF = 55, + anon_sym_AMP = 56, + sym_program = 57, + sym__terminated_statement = 58, + sym_while_statement = 59, + sym_do_group = 60, + sym_if_statement = 61, + sym_elif_clause = 62, + sym_else_clause = 63, + sym_case_statement = 64, + sym_case_item = 65, + sym_function_definition = 66, + sym_compound_command = 67, + sym_bracket_command = 68, + sym_command = 69, + sym_pipeline = 70, + sym_list = 71, + sym_subshell = 72, + sym_environment_variable_assignment = 73, + sym_quoted_argument = 74, + sym_expansion = 75, + sym_operator_expansion = 76, + sym_command_substitution = 77, + sym_file_redirect = 78, + sym_heredoc_redirect = 79, + sym_heredoc = 80, + aux_sym_program_repeat1 = 81, + aux_sym_if_statement_repeat1 = 82, + aux_sym_case_statement_repeat1 = 83, + aux_sym_bracket_command_repeat1 = 84, + aux_sym_command_repeat1 = 85, + aux_sym_command_repeat2 = 86, + aux_sym_quoted_argument_repeat1 = 87, + aux_sym_heredoc_repeat1 = 88, + rename_sym_1 = 89, + rename_sym_argument = 90, + rename_sym_command_name = 91, + rename_sym_variable_name = 92, }; static const char *ts_symbol_names[] = { @@ -121,6 +125,10 @@ static const char *ts_symbol_names[] = { [anon_sym_esac] = "esac", [anon_sym_RPAREN] = ")", [anon_sym_SEMI_SEMI] = ";;", + [anon_sym_function] = "function", + [anon_sym_LPAREN] = "(", + [anon_sym_LBRACE] = "{", + [anon_sym_RBRACE] = "}", [anon_sym_LBRACK] = "[", [anon_sym_RBRACK] = "]", [anon_sym_LBRACK_LBRACK] = "[[", @@ -131,7 +139,6 @@ static const char *ts_symbol_names[] = { [anon_sym_PIPE_AMP] = "|&", [anon_sym_AMP_AMP] = "&&", [anon_sym_PIPE_PIPE] = "||", - [anon_sym_LPAREN] = "(", [anon_sym_EQ] = "=", [anon_sym_DQUOTE] = "\"", [sym__quoted_chars] = "_quoted_chars", @@ -140,7 +147,6 @@ static const char *ts_symbol_names[] = { [anon_sym_DOLLAR_LBRACE] = "${", [anon_sym_COLON_QMARK] = ":?", [anon_sym_COLON_DASH] = ":-", - [anon_sym_RBRACE] = "}", [anon_sym_DOLLAR_LPAREN] = "$(", [anon_sym_LT] = "<", [anon_sym_GT] = ">", @@ -166,6 +172,8 @@ static const char *ts_symbol_names[] = { [sym_else_clause] = "else_clause", [sym_case_statement] = "case_statement", [sym_case_item] = "case_item", + [sym_function_definition] = "function_definition", + [sym_compound_command] = "compound_command", [sym_bracket_command] = "bracket_command", [sym_command] = "command", [sym_pipeline] = "pipeline", @@ -308,6 +316,30 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, + [anon_sym_function] = { + .visible = true, + .named = false, + .structural = true, + .extra = false, + }, + [anon_sym_LPAREN] = { + .visible = true, + .named = false, + .structural = true, + .extra = false, + }, + [anon_sym_LBRACE] = { + .visible = true, + .named = false, + .structural = true, + .extra = false, + }, + [anon_sym_RBRACE] = { + .visible = true, + .named = false, + .structural = true, + .extra = false, + }, [anon_sym_LBRACK] = { .visible = true, .named = false, @@ -368,12 +400,6 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, - [anon_sym_LPAREN] = { - .visible = true, - .named = false, - .structural = true, - .extra = false, - }, [anon_sym_EQ] = { .visible = true, .named = false, @@ -422,12 +448,6 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, - [anon_sym_RBRACE] = { - .visible = true, - .named = false, - .structural = true, - .extra = false, - }, [anon_sym_DOLLAR_LPAREN] = { .visible = true, .named = false, @@ -578,6 +598,18 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, + [sym_function_definition] = { + .visible = true, + .named = true, + .structural = true, + .extra = false, + }, + [sym_compound_command] = { + .visible = true, + .named = true, + .structural = true, + .extra = false, + }, [sym_bracket_command] = { .visible = true, .named = true, @@ -820,15 +852,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == 'f') ADVANCE(39); if (lookahead == 'i') - ADVANCE(41); - if (lookahead == 't') - ADVANCE(44); - if (lookahead == 'w') ADVANCE(48); - if (lookahead == '|') - ADVANCE(53); - if (lookahead == '}') + if (lookahead == 't') + ADVANCE(51); + if (lookahead == 'w') ADVANCE(55); + if (lookahead == '{') + ADVANCE(60); + if (lookahead == '|') + ADVANCE(61); + if (lookahead == '}') + ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -985,28 +1019,30 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { case 39: if (lookahead == 'i') ADVANCE(40); + if (lookahead == 'u') + ADVANCE(41); END_STATE(); case 40: ACCEPT_TOKEN(anon_sym_fi); END_STATE(); case 41: - if (lookahead == 'f') - ADVANCE(42); if (lookahead == 'n') - ADVANCE(43); + ADVANCE(42); END_STATE(); case 42: - ACCEPT_TOKEN(anon_sym_if); + if (lookahead == 'c') + ADVANCE(43); END_STATE(); case 43: - ACCEPT_TOKEN(anon_sym_in); + if (lookahead == 't') + ADVANCE(44); END_STATE(); case 44: - if (lookahead == 'h') + if (lookahead == 'i') ADVANCE(45); END_STATE(); case 45: - if (lookahead == 'e') + if (lookahead == 'o') ADVANCE(46); END_STATE(); case 46: @@ -1014,39 +1050,69 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(47); END_STATE(); case 47: - ACCEPT_TOKEN(anon_sym_then); + ACCEPT_TOKEN(anon_sym_function); END_STATE(); case 48: - if (lookahead == 'h') + if (lookahead == 'f') ADVANCE(49); - END_STATE(); - case 49: - if (lookahead == 'i') + if (lookahead == 'n') ADVANCE(50); END_STATE(); + case 49: + ACCEPT_TOKEN(anon_sym_if); + END_STATE(); case 50: - if (lookahead == 'l') - ADVANCE(51); + ACCEPT_TOKEN(anon_sym_in); END_STATE(); case 51: - if (lookahead == 'e') + if (lookahead == 'h') ADVANCE(52); END_STATE(); case 52: - ACCEPT_TOKEN(anon_sym_while); + if (lookahead == 'e') + ADVANCE(53); END_STATE(); case 53: - ACCEPT_TOKEN(anon_sym_PIPE); - if (lookahead == '|') + if (lookahead == 'n') ADVANCE(54); END_STATE(); case 54: - ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + ACCEPT_TOKEN(anon_sym_then); END_STATE(); case 55: - ACCEPT_TOKEN(anon_sym_RBRACE); + if (lookahead == 'h') + ADVANCE(56); END_STATE(); case 56: + if (lookahead == 'i') + ADVANCE(57); + END_STATE(); + case 57: + if (lookahead == 'l') + ADVANCE(58); + END_STATE(); + case 58: + if (lookahead == 'e') + ADVANCE(59); + END_STATE(); + case 59: + ACCEPT_TOKEN(anon_sym_while); + END_STATE(); + case 60: + ACCEPT_TOKEN(anon_sym_LBRACE); + END_STATE(); + case 61: + ACCEPT_TOKEN(anon_sym_PIPE); + if (lookahead == '|') + ADVANCE(62); + END_STATE(); + case 62: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + END_STATE(); + case 63: + ACCEPT_TOKEN(anon_sym_RBRACE); + END_STATE(); + case 64: if (lookahead == 0) ADVANCE(1); if (lookahead == '\"') @@ -1054,41 +1120,43 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ':') ADVANCE(8); if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(72); - if (lookahead == 'c') ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(80); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'f') + ADVANCE(85); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(56); + SKIP(64); if ((lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 57: + case 65: ACCEPT_TOKEN(sym_leading_word); if (lookahead == '>') - ADVANCE(58); + ADVANCE(66); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1104,12 +1172,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 58: + case 66: ACCEPT_TOKEN(anon_sym_AMP_GT); if (lookahead == '>') - ADVANCE(59); + ADVANCE(67); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1125,9 +1193,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 59: + case 67: ACCEPT_TOKEN(anon_sym_AMP_GT_GT); if (lookahead != 0 && lookahead != '\t' && @@ -1143,9 +1211,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 60: + case 68: ACCEPT_TOKEN(sym_leading_word); if (lookahead != 0 && lookahead != '\t' && @@ -1161,12 +1229,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 61: + case 69: ACCEPT_TOKEN(sym_leading_word); if (lookahead == '\'') - ADVANCE(62); + ADVANCE(70); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1180,138 +1248,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(63); + ADVANCE(71); if (lookahead != 0) - ADVANCE(61); - END_STATE(); - case 62: - ACCEPT_TOKEN(sym_single_quoted_argument); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 63: - if (lookahead == '\'') - ADVANCE(64); - if (lookahead != 0) - ADVANCE(63); - END_STATE(); - case 64: - ACCEPT_TOKEN(sym_single_quoted_argument); - END_STATE(); - case 65: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '&') - ADVANCE(66); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 66: - ACCEPT_TOKEN(anon_sym_LT_AMP); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 67: - ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '&') - ADVANCE(68); - if (lookahead == '>') ADVANCE(69); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '>' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 68: - ACCEPT_TOKEN(anon_sym_GT_AMP); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 69: - ACCEPT_TOKEN(anon_sym_GT_GT); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); END_STATE(); case 70: - ACCEPT_TOKEN(anon_sym_LBRACK); - if (lookahead == '[') - ADVANCE(71); + ACCEPT_TOKEN(sym_single_quoted_argument); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1324,36 +1266,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != ':' && lookahead != ';' && lookahead != '=' && - lookahead != '[' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 71: - ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + if (lookahead == '\'') + ADVANCE(72); + if (lookahead != 0) + ADVANCE(71); END_STATE(); case 72: - if (lookahead == '\n') - SKIP(56); + ACCEPT_TOKEN(sym_single_quoted_argument); END_STATE(); case 73: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'a') + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '&') ADVANCE(74); if (lookahead != 0 && lookahead != '\t' && @@ -1369,12 +1297,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 74: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 's') - ADVANCE(75); + ACCEPT_TOKEN(anon_sym_LT_AMP); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1389,12 +1315,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 75: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '&') ADVANCE(76); + if (lookahead == '>') + ADVANCE(77); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1407,12 +1335,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != ':' && lookahead != ';' && lookahead != '=' && + lookahead != '>' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 76: - ACCEPT_TOKEN(anon_sym_case); + ACCEPT_TOKEN(anon_sym_GT_AMP); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1427,12 +1356,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 77: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') - ADVANCE(78); + ACCEPT_TOKEN(anon_sym_GT_GT); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1447,10 +1374,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 78: - ACCEPT_TOKEN(anon_sym_if); + ACCEPT_TOKEN(anon_sym_LBRACK); + if (lookahead == '[') + ADVANCE(79); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1463,14 +1392,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != ':' && lookahead != ';' && lookahead != '=' && + lookahead != '[' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 79: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'h') - ADVANCE(80); + ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -1485,31 +1413,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 80: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') - ADVANCE(81); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + if (lookahead == '\n') + SKIP(64); END_STATE(); case 81: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'l') + if (lookahead == 'a') ADVANCE(82); if (lookahead != 0 && lookahead != '\t' && @@ -1525,11 +1437,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 82: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') + if (lookahead == 's') ADVANCE(83); if (lookahead != 0 && lookahead != '\t' && @@ -1545,9 +1457,323 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 83: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(84); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 84: + ACCEPT_TOKEN(anon_sym_case); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 85: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'u') + ADVANCE(86); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 86: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(87); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 87: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'c') + ADVANCE(88); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 88: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 't') + ADVANCE(89); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 89: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'i') + ADVANCE(90); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 90: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'o') + ADVANCE(91); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 91: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(92); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 92: + ACCEPT_TOKEN(anon_sym_function); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 93: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(94); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 94: + ACCEPT_TOKEN(anon_sym_if); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 95: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'h') + ADVANCE(96); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 96: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'i') + ADVANCE(97); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 97: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'l') + ADVANCE(98); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 98: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(99); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 99: ACCEPT_TOKEN(anon_sym_while); if (lookahead != 0 && lookahead != '\t' && @@ -1563,104 +1789,106 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 84: + case 100: if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(85); + ADVANCE(101); if (lookahead == '<') - ADVANCE(88); + ADVANCE(104); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(89); + SKIP(105); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(84); + SKIP(100); END_STATE(); - case 85: + case 101: if (lookahead == '>') - ADVANCE(86); + ADVANCE(102); END_STATE(); - case 86: + case 102: ACCEPT_TOKEN(anon_sym_AMP_GT); if (lookahead == '>') - ADVANCE(87); + ADVANCE(103); END_STATE(); - case 87: + case 103: ACCEPT_TOKEN(anon_sym_AMP_GT_GT); END_STATE(); - case 88: + case 104: ACCEPT_TOKEN(anon_sym_LT); if (lookahead == '&') ADVANCE(11); END_STATE(); - case 89: + case 105: if (lookahead == '\n') - SKIP(84); + SKIP(100); END_STATE(); - case 90: + case 106: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ':') ADVANCE(8); if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(91); - if (lookahead == 'c') ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(107); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'f') + ADVANCE(85); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(90); + SKIP(106); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 91: + case 107: if (lookahead == '\n') - SKIP(90); + SKIP(106); END_STATE(); - case 92: + case 108: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == '\\') - SKIP(99); + SKIP(115); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(92); + SKIP(108); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -1668,25 +1896,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 93: + case 109: ACCEPT_TOKEN(anon_sym_DOLLAR); if (lookahead == '(') - ADVANCE(94); + ADVANCE(110); if (lookahead == '{') - ADVANCE(95); + ADVANCE(111); END_STATE(); - case 94: + case 110: ACCEPT_TOKEN(anon_sym_DOLLAR_LPAREN); END_STATE(); - case 95: + case 111: ACCEPT_TOKEN(anon_sym_DOLLAR_LBRACE); END_STATE(); - case 96: + case 112: ACCEPT_TOKEN(sym_word); if (lookahead == '\'') - ADVANCE(97); + ADVANCE(113); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -1699,11 +1927,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\\' || lookahead == '{' || lookahead == '}') - ADVANCE(63); + ADVANCE(71); if (lookahead != 0) - ADVANCE(96); + ADVANCE(112); END_STATE(); - case 97: + case 113: ACCEPT_TOKEN(sym_single_quoted_argument); if (lookahead != 0 && lookahead != '\t' && @@ -1720,9 +1948,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 98: + case 114: ACCEPT_TOKEN(sym_word); if (lookahead != 0 && lookahead != '\t' && @@ -1739,93 +1967,46 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 99: + case 115: if (lookahead == '\n') - SKIP(92); + SKIP(108); END_STATE(); - case 100: - if (lookahead == '\n') - ADVANCE(101); + case 116: if (lookahead == '#') ADVANCE(3); - if (lookahead == '&') - ADVANCE(103); - if (lookahead == ';') - ADVANCE(105); - if (lookahead == '<') - ADVANCE(10); - if (lookahead == '>') - ADVANCE(15); if (lookahead == '\\') - SKIP(107); - if (lookahead == '|') - ADVANCE(108); + SKIP(117); if (lookahead == '\t' || + lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(102); + SKIP(116); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); END_STATE(); - case 101: - ACCEPT_TOKEN(anon_sym_LF); + case 117: if (lookahead == '\n') - ADVANCE(101); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(102); + SKIP(116); END_STATE(); - case 102: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(101); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(102); - END_STATE(); - case 103: - ACCEPT_TOKEN(anon_sym_AMP); - if (lookahead == '&') - ADVANCE(104); - if (lookahead == '>') - ADVANCE(86); - END_STATE(); - case 104: - ACCEPT_TOKEN(anon_sym_AMP_AMP); - END_STATE(); - case 105: - ACCEPT_TOKEN(anon_sym_SEMI); - if (lookahead == ';') - ADVANCE(106); - END_STATE(); - case 106: - ACCEPT_TOKEN(anon_sym_SEMI_SEMI); - END_STATE(); - case 107: - if (lookahead == '\n') - SKIP(100); - END_STATE(); - case 108: - ACCEPT_TOKEN(anon_sym_PIPE); - if (lookahead == '&') - ADVANCE(109); - if (lookahead == '|') - ADVANCE(54); - END_STATE(); - case 109: - ACCEPT_TOKEN(anon_sym_PIPE_AMP); - END_STATE(); - case 110: + case 118: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ')') @@ -1833,100 +2014,176 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ':') ADVANCE(8); if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(111); - if (lookahead == 'c') ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(119); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'f') + ADVANCE(85); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(110); + SKIP(118); if (lookahead != 0 && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 111: + case 119: if (lookahead == '\n') - SKIP(110); + SKIP(118); END_STATE(); - case 112: + case 120: + if (lookahead == '\n') + ADVANCE(121); + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '&') + ADVANCE(123); + if (lookahead == ';') + ADVANCE(125); + if (lookahead == '<') + ADVANCE(10); + if (lookahead == '>') + ADVANCE(15); + if (lookahead == '\\') + SKIP(127); + if (lookahead == '|') + ADVANCE(128); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(122); + END_STATE(); + case 121: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(121); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(122); + END_STATE(); + case 122: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(121); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(122); + END_STATE(); + case 123: + ACCEPT_TOKEN(anon_sym_AMP); + if (lookahead == '&') + ADVANCE(124); + if (lookahead == '>') + ADVANCE(102); + END_STATE(); + case 124: + ACCEPT_TOKEN(anon_sym_AMP_AMP); + END_STATE(); + case 125: + ACCEPT_TOKEN(anon_sym_SEMI); + if (lookahead == ';') + ADVANCE(126); + END_STATE(); + case 126: + ACCEPT_TOKEN(anon_sym_SEMI_SEMI); + END_STATE(); + case 127: + if (lookahead == '\n') + SKIP(120); + END_STATE(); + case 128: + ACCEPT_TOKEN(anon_sym_PIPE); + if (lookahead == '&') + ADVANCE(129); + if (lookahead == '|') + ADVANCE(62); + END_STATE(); + case 129: + ACCEPT_TOKEN(anon_sym_PIPE_AMP); + END_STATE(); + case 130: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '\\') - ADVANCE(115); + ADVANCE(133); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(116); + ADVANCE(134); if (lookahead != 0) - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 113: + case 131: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(114); + ADVANCE(132); if (lookahead == '\"' || lookahead == '$') ADVANCE(3); if (lookahead != 0) - ADVANCE(113); + ADVANCE(131); END_STATE(); - case 114: + case 132: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 115: + case 133: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(116); + ADVANCE(134); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 116: + case 134: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '\\') - ADVANCE(115); + ADVANCE(133); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(116); + ADVANCE(134); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 117: + case 135: if (lookahead == '\n') - ADVANCE(118); + ADVANCE(136); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); + if (lookahead == '(') + ADVANCE(6); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '=') @@ -1934,54 +2191,54 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(120); + SKIP(138); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(119); + ADVANCE(137); END_STATE(); - case 118: + case 136: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(118); + ADVANCE(136); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(119); + ADVANCE(137); END_STATE(); - case 119: + case 137: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(118); + ADVANCE(136); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(119); + ADVANCE(137); END_STATE(); - case 120: + case 138: if (lookahead == '\n') - SKIP(117); + SKIP(135); END_STATE(); - case 121: + case 139: if (lookahead == 0) ADVANCE(1); if (lookahead == '#') ADVANCE(3); if (lookahead == '\\') - SKIP(122); + SKIP(140); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(121); + SKIP(139); END_STATE(); - case 122: + case 140: if (lookahead == '\n') - SKIP(121); + SKIP(139); END_STATE(); - case 123: + case 141: if (lookahead == 0) ADVANCE(1); if (lookahead == '\"') @@ -1989,9 +2246,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ')') @@ -1999,48 +2256,50 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ':') ADVANCE(8); if (lookahead == ';') - ADVANCE(124); + ADVANCE(142); if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(125); - if (lookahead == 'c') ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(143); + if (lookahead == 'c') + ADVANCE(81); if (lookahead == 'd') - ADVANCE(126); + ADVANCE(144); if (lookahead == 'e') - ADVANCE(130); + ADVANCE(148); if (lookahead == 'f') - ADVANCE(136); + ADVANCE(154); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); + if (lookahead == '}') + ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(123); + SKIP(141); if ((lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 124: + case 142: if (lookahead == ';') - ADVANCE(106); + ADVANCE(126); END_STATE(); - case 125: + case 143: if (lookahead == '\n') - SKIP(123); + SKIP(141); END_STATE(); - case 126: + case 144: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'o') - ADVANCE(127); + ADVANCE(145); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2055,12 +2314,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 127: + case 145: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'n') - ADVANCE(128); + ADVANCE(146); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2075,12 +2334,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 128: + case 146: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(129); + ADVANCE(147); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2095,9 +2354,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 129: + case 147: ACCEPT_TOKEN(anon_sym_done); if (lookahead != 0 && lookahead != '\t' && @@ -2113,12 +2372,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 130: + case 148: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'l') - ADVANCE(131); + ADVANCE(149); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2133,14 +2392,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 131: + case 149: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(132); + ADVANCE(150); if (lookahead == 's') - ADVANCE(134); + ADVANCE(152); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2155,12 +2414,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 132: + case 150: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'f') - ADVANCE(133); + ADVANCE(151); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2175,9 +2434,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 133: + case 151: ACCEPT_TOKEN(anon_sym_elif); if (lookahead != 0 && lookahead != '\t' && @@ -2193,12 +2452,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 134: + case 152: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(135); + ADVANCE(153); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2213,9 +2472,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 135: + case 153: ACCEPT_TOKEN(anon_sym_else); if (lookahead != 0 && lookahead != '\t' && @@ -2231,12 +2490,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 136: + case 154: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(137); + ADVANCE(155); + if (lookahead == 'u') + ADVANCE(86); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2251,9 +2512,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 137: + case 155: ACCEPT_TOKEN(anon_sym_fi); if (lookahead != 0 && lookahead != '\t' && @@ -2269,77 +2530,77 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 138: + case 156: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(140); + ADVANCE(158); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '\\') - SKIP(141); + SKIP(159); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(138); + SKIP(156); END_STATE(); - case 139: + case 157: ACCEPT_TOKEN(anon_sym_LF); END_STATE(); - case 140: + case 158: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '&') - ADVANCE(104); + ADVANCE(124); END_STATE(); - case 141: + case 159: if (lookahead == '\n') - SKIP(138); + SKIP(156); END_STATE(); - case 142: + case 160: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(143); + ADVANCE(161); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == ':') ADVANCE(8); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') - ADVANCE(65); + ADVANCE(73); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); if (lookahead == '\\') - SKIP(145); + SKIP(163); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(142); + SKIP(160); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 143: + case 161: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '&') - ADVANCE(144); + ADVANCE(162); if (lookahead == '>') - ADVANCE(58); + ADVANCE(66); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2355,9 +2616,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 144: + case 162: ACCEPT_TOKEN(anon_sym_AMP_AMP); if (lookahead != 0 && lookahead != '\t' && @@ -2373,123 +2634,123 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 145: + case 163: if (lookahead == '\n') - SKIP(142); + SKIP(160); END_STATE(); - case 146: + case 164: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == ':') ADVANCE(8); if (lookahead == '<') - ADVANCE(65); + ADVANCE(73); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); if (lookahead == '\\') - SKIP(147); + SKIP(165); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(146); + SKIP(164); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 147: + case 165: if (lookahead == '\n') - SKIP(146); + SKIP(164); END_STATE(); - case 148: + case 166: if (lookahead == '#') ADVANCE(3); if (lookahead == '\\') - SKIP(149); + SKIP(167); if (lookahead == 'd') - ADVANCE(150); + ADVANCE(168); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(148); + SKIP(166); END_STATE(); - case 149: + case 167: if (lookahead == '\n') - SKIP(148); + SKIP(166); END_STATE(); - case 150: + case 168: if (lookahead == 'o') - ADVANCE(151); + ADVANCE(169); END_STATE(); - case 151: + case 169: ACCEPT_TOKEN(anon_sym_do); END_STATE(); - case 152: + case 170: if (lookahead == '#') ADVANCE(3); if (lookahead == '\\') - SKIP(153); + SKIP(171); if (lookahead == 't') - ADVANCE(44); + ADVANCE(51); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(152); + SKIP(170); END_STATE(); - case 153: + case 171: if (lookahead == '\n') - SKIP(152); + SKIP(170); END_STATE(); - case 154: + case 172: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') ADVANCE(5); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '\\') - SKIP(155); + SKIP(173); if (lookahead == 'i') - ADVANCE(156); + ADVANCE(174); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(154); + SKIP(172); END_STATE(); - case 155: + case 173: if (lookahead == '\n') - SKIP(154); + SKIP(172); END_STATE(); - case 156: + case 174: if (lookahead == 'n') - ADVANCE(43); + ADVANCE(50); END_STATE(); - case 157: + case 175: if (lookahead == '#') ADVANCE(3); if (lookahead == '$') ADVANCE(4); if (lookahead == '\\') - SKIP(158); + SKIP(176); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(157); + SKIP(175); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$') && lookahead != '&' && @@ -2500,55 +2761,47 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 158: + case 176: if (lookahead == '\n') - SKIP(157); + SKIP(175); END_STATE(); - case 159: + case 177: if (lookahead == '#') ADVANCE(3); + if (lookahead == '(') + ADVANCE(6); if (lookahead == '\\') - SKIP(160); + SKIP(178); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(159); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + SKIP(177); END_STATE(); - case 160: + case 178: if (lookahead == '\n') - SKIP(159); + SKIP(177); END_STATE(); - case 161: + case 179: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == '\\') - SKIP(162); + SKIP(180); if (lookahead == ']') - ADVANCE(163); + ADVANCE(181); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(161); + SKIP(179); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -2556,16 +2809,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 162: + case 180: if (lookahead == '\n') - SKIP(161); + SKIP(179); END_STATE(); - case 163: + case 181: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead == ']') - ADVANCE(164); + ADVANCE(182); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2582,9 +2835,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != ']' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 164: + case 182: ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); if (lookahead != 0 && lookahead != '\t' && @@ -2601,26 +2854,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 165: + case 183: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == '\\') - SKIP(166); + SKIP(184); if (lookahead == ']') - ADVANCE(167); + ADVANCE(185); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(165); + SKIP(183); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -2628,13 +2881,13 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 166: + case 184: if (lookahead == '\n') - SKIP(165); + SKIP(183); END_STATE(); - case 167: + case 185: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead != 0 && lookahead != '\t' && @@ -2651,26 +2904,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 168: + case 186: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == '\\') - SKIP(169); + SKIP(187); if (lookahead == ']') - ADVANCE(170); + ADVANCE(188); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(168); + SKIP(186); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -2678,16 +2931,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 169: + case 187: if (lookahead == '\n') - SKIP(168); + SKIP(186); END_STATE(); - case 170: + case 188: ACCEPT_TOKEN(sym_word); if (lookahead == ']') - ADVANCE(164); + ADVANCE(182); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2704,50 +2957,50 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != ']' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 171: + case 189: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(172); + SKIP(190); if (lookahead == '|') - ADVANCE(173); + ADVANCE(191); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(171); + SKIP(189); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 172: + case 190: if (lookahead == '\n') - SKIP(171); + SKIP(189); END_STATE(); - case 173: + case 191: ACCEPT_TOKEN(anon_sym_PIPE); if (lookahead == '&') - ADVANCE(109); + ADVANCE(129); if (lookahead == '|') - ADVANCE(174); + ADVANCE(192); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2761,9 +3014,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 174: + case 192: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); if (lookahead != 0 && lookahead != '\t' && @@ -2780,50 +3033,67 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 175: + case 193: if (lookahead == '#') ADVANCE(3); if (lookahead == '\\') - SKIP(176); + SKIP(194); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(175); + SKIP(193); END_STATE(); - case 176: + case 194: if (lookahead == '\n') - SKIP(175); + SKIP(193); END_STATE(); - case 177: + case 195: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(178); + SKIP(196); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(177); + SKIP(195); END_STATE(); - case 178: + case 196: if (lookahead == '\n') - SKIP(177); + SKIP(195); END_STATE(); - case 179: + case 197: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == ')') + ADVANCE(7); + if (lookahead == '\\') + SKIP(198); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(197); + END_STATE(); + case 198: + if (lookahead == '\n') + SKIP(197); + END_STATE(); + case 199: if (lookahead == 0) ADVANCE(1); if (lookahead == '\"') @@ -2831,9 +3101,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ')') @@ -2841,46 +3111,48 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ':') ADVANCE(8); if (lookahead == ';') - ADVANCE(124); + ADVANCE(142); if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(180); - if (lookahead == 'c') ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(200); + if (lookahead == 'c') + ADVANCE(81); if (lookahead == 'd') - ADVANCE(181); + ADVANCE(201); if (lookahead == 'e') - ADVANCE(130); + ADVANCE(148); if (lookahead == 'f') - ADVANCE(136); + ADVANCE(154); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 't') - ADVANCE(183); + ADVANCE(203); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); + if (lookahead == '}') + ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(179); + SKIP(199); if ((lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 180: + case 200: if (lookahead == '\n') - SKIP(179); + SKIP(199); END_STATE(); - case 181: + case 201: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'o') - ADVANCE(182); + ADVANCE(202); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2895,12 +3167,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 182: + case 202: ACCEPT_TOKEN(anon_sym_do); if (lookahead == 'n') - ADVANCE(128); + ADVANCE(146); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2915,12 +3187,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 183: + case 203: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'h') - ADVANCE(184); + ADVANCE(204); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2935,12 +3207,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 184: + case 204: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(185); + ADVANCE(205); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2955,12 +3227,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 185: + case 205: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'n') - ADVANCE(186); + ADVANCE(206); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2975,9 +3247,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 186: + case 206: ACCEPT_TOKEN(anon_sym_then); if (lookahead != 0 && lookahead != '\t' && @@ -2993,324 +3265,118 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 187: - if (lookahead == '\"') - ADVANCE(2); - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '&') - ADVANCE(57); - if (lookahead == '\'') - ADVANCE(61); - if (lookahead == '(') - ADVANCE(6); - if (lookahead == ':') - ADVANCE(8); - if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(188); - if (lookahead == 'c') - ADVANCE(73); - if (lookahead == 'd') - ADVANCE(126); - if (lookahead == 'i') - ADVANCE(77); - if (lookahead == 'w') - ADVANCE(79); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(187); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 188: - if (lookahead == '\n') - SKIP(187); - END_STATE(); - case 189: - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '\\') - SKIP(190); - if (lookahead == 'd') - ADVANCE(150); - if (lookahead == 't') - ADVANCE(44); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(189); - END_STATE(); - case 190: - if (lookahead == '\n') - SKIP(189); - END_STATE(); - case 191: - if (lookahead == '\"') - ADVANCE(2); - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '&') - ADVANCE(57); - if (lookahead == '\'') - ADVANCE(61); - if (lookahead == '(') - ADVANCE(6); - if (lookahead == ':') - ADVANCE(8); - if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(192); - if (lookahead == 'c') - ADVANCE(73); - if (lookahead == 'e') - ADVANCE(130); - if (lookahead == 'f') - ADVANCE(136); - if (lookahead == 'i') - ADVANCE(77); - if (lookahead == 'w') - ADVANCE(79); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(191); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(60); - END_STATE(); - case 192: - if (lookahead == '\n') - SKIP(191); - END_STATE(); - case 193: - if (lookahead == '\n') - ADVANCE(139); - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '&') - ADVANCE(5); - if (lookahead == ';') - ADVANCE(105); - if (lookahead == '\\') - SKIP(194); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(193); - END_STATE(); - case 194: - if (lookahead == '\n') - SKIP(193); - END_STATE(); - case 195: - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '\\') - SKIP(196); - if (lookahead == 'i') - ADVANCE(156); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(195); - END_STATE(); - case 196: - if (lookahead == '\n') - SKIP(195); - END_STATE(); - case 197: - if (lookahead == '#') - ADVANCE(3); - if (lookahead == ':') - ADVANCE(198); - if (lookahead == '=') - ADVANCE(14); - if (lookahead == '\\') - SKIP(201); - if (lookahead == '}') - ADVANCE(55); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(197); - END_STATE(); - case 198: - ACCEPT_TOKEN(anon_sym_COLON); - if (lookahead == '-') - ADVANCE(199); - if (lookahead == '?') - ADVANCE(200); - END_STATE(); - case 199: - ACCEPT_TOKEN(anon_sym_COLON_DASH); - END_STATE(); - case 200: - ACCEPT_TOKEN(anon_sym_COLON_QMARK); - END_STATE(); - case 201: - if (lookahead == '\n') - SKIP(197); - END_STATE(); - case 202: - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '&') - ADVANCE(85); - if (lookahead == ')') - ADVANCE(7); - if (lookahead == '<') - ADVANCE(10); - if (lookahead == '>') - ADVANCE(15); - if (lookahead == '\\') - SKIP(203); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(204); - END_STATE(); - case 203: - if (lookahead == '\n') - SKIP(202); - END_STATE(); - case 204: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(204); - END_STATE(); - case 205: - if (lookahead == '#') - ADVANCE(3); - if (lookahead == '&') - ADVANCE(85); - if (lookahead == ')') - ADVANCE(7); - if (lookahead == '<') - ADVANCE(10); - if (lookahead == '=') - ADVANCE(14); - if (lookahead == '>') - ADVANCE(15); - if (lookahead == '\\') - SKIP(206); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(207); - END_STATE(); - case 206: - if (lookahead == '\n') - SKIP(205); + ADVANCE(68); END_STATE(); case 207: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(207); - END_STATE(); - case 208: + if (lookahead == '\n') + ADVANCE(208); if (lookahead == '#') ADVANCE(3); - if (lookahead == ')') - ADVANCE(7); + if (lookahead == '&') + ADVANCE(123); + if (lookahead == ';') + ADVANCE(125); + if (lookahead == '<') + ADVANCE(10); + if (lookahead == '=') + ADVANCE(14); + if (lookahead == '>') + ADVANCE(15); if (lookahead == '\\') - SKIP(209); + SKIP(210); + if (lookahead == '|') + ADVANCE(128); if (lookahead == '\t' || - lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(208); + ADVANCE(209); + END_STATE(); + case 208: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(208); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(209); END_STATE(); case 209: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - SKIP(208); + ADVANCE(208); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(209); END_STATE(); case 210: + if (lookahead == '\n') + SKIP(207); + END_STATE(); + case 211: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); - if (lookahead == '$') - ADVANCE(93); + if (lookahead == '&') + ADVANCE(65); if (lookahead == '\'') - ADVANCE(96); - if (lookahead == ')') - ADVANCE(7); + ADVANCE(69); + if (lookahead == '(') + ADVANCE(6); + if (lookahead == ':') + ADVANCE(8); + if (lookahead == '<') + ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); if (lookahead == '\\') - SKIP(211); - if (lookahead == ']') - ADVANCE(163); - if (lookahead == '}') - ADVANCE(55); + SKIP(212); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'd') + ADVANCE(144); + if (lookahead == 'f') + ADVANCE(85); + if (lookahead == 'i') + ADVANCE(93); + if (lookahead == 'w') + ADVANCE(95); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(210); + SKIP(211); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && - lookahead != ';' && - lookahead != '<' && - lookahead != '>' && - lookahead != '{') - ADVANCE(98); - END_STATE(); - case 211: - if (lookahead == '\n') - SKIP(210); + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); END_STATE(); case 212: + if (lookahead == '\n') + SKIP(211); + END_STATE(); + case 213: if (lookahead == '#') ADVANCE(3); - if (lookahead == '$') - ADVANCE(213); if (lookahead == '\\') SKIP(214); + if (lookahead == 'd') + ADVANCE(168); + if (lookahead == 't') + ADVANCE(51); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(212); - END_STATE(); - case 213: - ACCEPT_TOKEN(anon_sym_DOLLAR); - if (lookahead == '{') - ADVANCE(95); + SKIP(213); END_STATE(); case 214: if (lookahead == '\n') - SKIP(212); + SKIP(213); END_STATE(); case 215: if (lookahead == '\"') @@ -3318,29 +3384,31 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ':') ADVANCE(8); if (lookahead == '<') - ADVANCE(65); + ADVANCE(73); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); if (lookahead == '[') - ADVANCE(70); + ADVANCE(78); if (lookahead == '\\') SKIP(216); if (lookahead == 'c') - ADVANCE(73); + ADVANCE(81); + if (lookahead == 'e') + ADVANCE(148); if (lookahead == 'f') - ADVANCE(136); + ADVANCE(154); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3350,23 +3418,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); case 216: if (lookahead == '\n') SKIP(215); END_STATE(); case 217: + if (lookahead == '\n') + ADVANCE(157); if (lookahead == '#') ADVANCE(3); + if (lookahead == '&') + ADVANCE(5); + if (lookahead == ';') + ADVANCE(125); if (lookahead == '\\') SKIP(218); - if (lookahead == 'e') - ADVANCE(219); - if (lookahead == 'f') - ADVANCE(39); if (lookahead == '\t' || - lookahead == '\n' || lookahead == '\r' || lookahead == ' ') SKIP(217); @@ -3376,44 +3445,299 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { SKIP(217); END_STATE(); case 219: - if (lookahead == 'l') - ADVANCE(31); - END_STATE(); - case 220: if (lookahead == '#') ADVANCE(3); if (lookahead == '\\') - SKIP(221); - if (lookahead == 'f') - ADVANCE(39); + SKIP(220); + if (lookahead == 'i') + ADVANCE(174); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(220); + SKIP(219); + END_STATE(); + case 220: + if (lookahead == '\n') + SKIP(219); END_STATE(); case 221: - if (lookahead == '\n') - SKIP(220); + if (lookahead == '#') + ADVANCE(3); + if (lookahead == ':') + ADVANCE(222); + if (lookahead == '=') + ADVANCE(14); + if (lookahead == '\\') + SKIP(225); + if (lookahead == '}') + ADVANCE(63); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(221); END_STATE(); case 222: + ACCEPT_TOKEN(anon_sym_COLON); + if (lookahead == '-') + ADVANCE(223); + if (lookahead == '?') + ADVANCE(224); + END_STATE(); + case 223: + ACCEPT_TOKEN(anon_sym_COLON_DASH); + END_STATE(); + case 224: + ACCEPT_TOKEN(anon_sym_COLON_QMARK); + END_STATE(); + case 225: + if (lookahead == '\n') + SKIP(221); + END_STATE(); + case 226: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '&') + ADVANCE(101); + if (lookahead == ')') + ADVANCE(7); + if (lookahead == '<') + ADVANCE(10); + if (lookahead == '>') + ADVANCE(15); + if (lookahead == '\\') + SKIP(227); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(228); + END_STATE(); + case 227: + if (lookahead == '\n') + SKIP(226); + END_STATE(); + case 228: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(228); + END_STATE(); + case 229: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '&') + ADVANCE(101); + if (lookahead == ')') + ADVANCE(7); + if (lookahead == '<') + ADVANCE(10); + if (lookahead == '=') + ADVANCE(14); + if (lookahead == '>') + ADVANCE(15); + if (lookahead == '\\') + SKIP(230); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(231); + END_STATE(); + case 230: + if (lookahead == '\n') + SKIP(229); + END_STATE(); + case 231: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(231); + END_STATE(); + case 232: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); + if (lookahead == ')') + ADVANCE(7); if (lookahead == '\\') - SKIP(223); - if (lookahead == 'e') - ADVANCE(224); + SKIP(233); + if (lookahead == ']') + ADVANCE(181); + if (lookahead == '}') + ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(222); + SKIP(232); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + lookahead != ';' && + lookahead != '<' && + lookahead != '>' && + lookahead != '{') + ADVANCE(114); + END_STATE(); + case 233: + if (lookahead == '\n') + SKIP(232); + END_STATE(); + case 234: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '$') + ADVANCE(235); + if (lookahead == '\\') + SKIP(236); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(234); + END_STATE(); + case 235: + ACCEPT_TOKEN(anon_sym_DOLLAR); + if (lookahead == '{') + ADVANCE(111); + END_STATE(); + case 236: + if (lookahead == '\n') + SKIP(234); + END_STATE(); + case 237: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '\\') + SKIP(238); + if (lookahead == '{') + ADVANCE(60); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(237); + END_STATE(); + case 238: + if (lookahead == '\n') + SKIP(237); + END_STATE(); + case 239: + if (lookahead == '\"') + ADVANCE(2); + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '&') + ADVANCE(65); + if (lookahead == '\'') + ADVANCE(69); + if (lookahead == '(') + ADVANCE(6); + if (lookahead == ':') + ADVANCE(8); + if (lookahead == '<') + ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(240); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'f') + ADVANCE(154); + if (lookahead == 'i') + ADVANCE(93); + if (lookahead == 'w') + ADVANCE(95); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(239); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 240: + if (lookahead == '\n') + SKIP(239); + END_STATE(); + case 241: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '\\') + SKIP(242); + if (lookahead == 'e') + ADVANCE(243); + if (lookahead == 'f') + ADVANCE(244); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(241); + END_STATE(); + case 242: + if (lookahead == '\n') + SKIP(241); + END_STATE(); + case 243: + if (lookahead == 'l') + ADVANCE(31); + END_STATE(); + case 244: + if (lookahead == 'i') + ADVANCE(40); + END_STATE(); + case 245: + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '\\') + SKIP(246); + if (lookahead == 'f') + ADVANCE(244); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(245); + END_STATE(); + case 246: + if (lookahead == '\n') + SKIP(245); + END_STATE(); + case 247: + if (lookahead == '\"') + ADVANCE(2); + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '$') + ADVANCE(109); + if (lookahead == '\'') + ADVANCE(112); + if (lookahead == '\\') + SKIP(248); + if (lookahead == 'e') + ADVANCE(249); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(247); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -3421,16 +3745,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '>' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 223: + case 248: if (lookahead == '\n') - SKIP(222); + SKIP(247); END_STATE(); - case 224: + case 249: ACCEPT_TOKEN(sym_word); if (lookahead == 's') - ADVANCE(225); + ADVANCE(250); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -3446,12 +3770,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 225: + case 250: ACCEPT_TOKEN(sym_word); if (lookahead == 'a') - ADVANCE(226); + ADVANCE(251); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -3467,12 +3791,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 226: + case 251: ACCEPT_TOKEN(sym_word); if (lookahead == 'c') - ADVANCE(227); + ADVANCE(252); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -3488,9 +3812,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 227: + case 252: ACCEPT_TOKEN(anon_sym_esac); if (lookahead != 0 && lookahead != '\t' && @@ -3507,19 +3831,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 228: + case 253: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '&') - ADVANCE(85); + ADVANCE(101); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == ')') ADVANCE(7); if (lookahead == '<') @@ -3527,29 +3851,29 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(229); + SKIP(254); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(228); + SKIP(253); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && lookahead != '<' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 229: + case 254: if (lookahead == '\n') - SKIP(228); + SKIP(253); END_STATE(); - case 230: + case 255: if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(85); + ADVANCE(101); if (lookahead == ')') ADVANCE(7); if (lookahead == '<') @@ -3557,227 +3881,240 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(231); + SKIP(256); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(230); + SKIP(255); END_STATE(); - case 231: + case 256: if (lookahead == '\n') - SKIP(230); + SKIP(255); END_STATE(); - case 232: - if (lookahead == '\n') - ADVANCE(139); + case 257: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(143); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); + if (lookahead == '(') + ADVANCE(6); if (lookahead == ':') ADVANCE(8); - if (lookahead == ';') - ADVANCE(105); if (lookahead == '<') - ADVANCE(65); + ADVANCE(73); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); if (lookahead == '\\') - SKIP(233); - if (lookahead == '|') - ADVANCE(108); + SKIP(258); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'f') + ADVANCE(85); + if (lookahead == 'i') + ADVANCE(93); + if (lookahead == 'w') + ADVANCE(95); if (lookahead == '}') - ADVANCE(55); + ADVANCE(63); if (lookahead == '\t' || + lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(232); + SKIP(257); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 233: + case 258: if (lookahead == '\n') - SKIP(232); + SKIP(257); END_STATE(); - case 234: + case 259: if (lookahead == '#') ADVANCE(3); if (lookahead == '\\') - SKIP(235); + SKIP(260); if (lookahead == '}') - ADVANCE(55); + ADVANCE(63); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(234); + SKIP(259); END_STATE(); - case 235: + case 260: if (lookahead == '\n') - SKIP(234); + SKIP(259); END_STATE(); - case 236: + case 261: if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == '(') ADVANCE(6); if (lookahead == ':') ADVANCE(8); if (lookahead == ';') - ADVANCE(124); + ADVANCE(142); if (lookahead == '<') - ADVANCE(65); - if (lookahead == '>') - ADVANCE(67); - if (lookahead == '[') - ADVANCE(70); - if (lookahead == '\\') - SKIP(237); - if (lookahead == 'c') ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '[') + ADVANCE(78); + if (lookahead == '\\') + SKIP(262); + if (lookahead == 'c') + ADVANCE(81); + if (lookahead == 'f') + ADVANCE(85); if (lookahead == 'i') - ADVANCE(77); + ADVANCE(93); if (lookahead == 'w') - ADVANCE(79); + ADVANCE(95); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(236); + SKIP(261); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 237: + case 262: if (lookahead == '\n') - SKIP(236); + SKIP(261); END_STATE(); - case 238: + case 263: if (lookahead == '\n') - ADVANCE(239); + ADVANCE(264); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '$') - ADVANCE(285); + ADVANCE(319); if (lookahead == '&') - ADVANCE(240); - if (lookahead == '\'') - ADVANCE(245); - if (lookahead == '(') - ADVANCE(251); - if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); - if (lookahead == ';') - ADVANCE(254); - if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '[') - ADVANCE(263); - if (lookahead == '\\') ADVANCE(265); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'c') - ADVANCE(269); - if (lookahead == 'i') - ADVANCE(273); - if (lookahead == 'w') + if (lookahead == '\'') + ADVANCE(270); + if (lookahead == '(') ADVANCE(276); - if (lookahead == '{') - ADVANCE(114); - if (lookahead == '|') + if (lookahead == ')') + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == ';') + ADVANCE(279); + if (lookahead == '<') ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '[') + ADVANCE(288); + if (lookahead == '\\') + ADVANCE(290); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'c') + ADVANCE(294); + if (lookahead == 'f') + ADVANCE(298); + if (lookahead == 'i') + ADVANCE(306); + if (lookahead == 'w') + ADVANCE(309); + if (lookahead == '{') + ADVANCE(314); + if (lookahead == '|') + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(266); + ADVANCE(291); if (lookahead != 0) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 239: + case 264: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(239); + ADVANCE(264); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '&') - ADVANCE(240); - if (lookahead == '\'') - ADVANCE(245); - if (lookahead == '(') - ADVANCE(251); - if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); - if (lookahead == ';') - ADVANCE(254); - if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '[') - ADVANCE(263); - if (lookahead == '\\') ADVANCE(265); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'c') - ADVANCE(269); - if (lookahead == 'i') - ADVANCE(273); - if (lookahead == 'w') + if (lookahead == '\'') + ADVANCE(270); + if (lookahead == '(') ADVANCE(276); - if (lookahead == '{') - ADVANCE(114); - if (lookahead == '|') + if (lookahead == ')') + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == ';') + ADVANCE(279); + if (lookahead == '<') ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '[') + ADVANCE(288); + if (lookahead == '\\') + ADVANCE(290); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'c') + ADVANCE(294); + if (lookahead == 'f') + ADVANCE(298); + if (lookahead == 'i') + ADVANCE(306); + if (lookahead == 'w') + ADVANCE(309); + if (lookahead == '{') + ADVANCE(314); + if (lookahead == '|') + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(266); + ADVANCE(291); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 240: + case 265: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&') - ADVANCE(241); + ADVANCE(266); if (lookahead == '>') - ADVANCE(243); + ADVANCE(268); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3790,15 +4127,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 241: + case 266: ACCEPT_TOKEN(anon_sym_AMP_AMP); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3811,15 +4148,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 242: + case 267: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3832,17 +4169,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 243: + case 268: ACCEPT_TOKEN(anon_sym_AMP_GT); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '>') - ADVANCE(244); + ADVANCE(269); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3855,15 +4192,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 244: + case 269: ACCEPT_TOKEN(anon_sym_AMP_GT_GT); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3876,27 +4213,27 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 245: + case 270: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\"') - ADVANCE(63); + ADVANCE(71); if (lookahead == '$') - ADVANCE(61); + ADVANCE(69); if (lookahead == '\'') - ADVANCE(246); + ADVANCE(271); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(248); + ADVANCE(273); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(250); + ADVANCE(275); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3907,22 +4244,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(249); + ADVANCE(274); if (lookahead != 0) - ADVANCE(245); + ADVANCE(270); END_STATE(); - case 246: + case 271: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3933,12 +4270,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 247: + case 272: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\t' || lookahead == '\n' || @@ -3954,19 +4291,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\\' || lookahead == '{' || lookahead == '}') - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(247); + ADVANCE(272); END_STATE(); - case 248: + case 273: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\"') - ADVANCE(63); + ADVANCE(71); if (lookahead == '$') - ADVANCE(61); + ADVANCE(69); if (lookahead == '\'') - ADVANCE(242); + ADVANCE(267); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -3979,27 +4316,27 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(249); + ADVANCE(274); if (lookahead != 0) - ADVANCE(248); + ADVANCE(273); END_STATE(); - case 249: + case 274: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\'') - ADVANCE(114); + ADVANCE(132); if (lookahead == '\"' || lookahead == '$') - ADVANCE(63); + ADVANCE(71); if (lookahead != 0) - ADVANCE(249); + ADVANCE(274); END_STATE(); - case 250: + case 275: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\'') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\"' || lookahead == '$') - ADVANCE(63); + ADVANCE(71); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4012,25 +4349,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\\' || lookahead == '{' || lookahead == '}') - ADVANCE(249); + ADVANCE(274); if (lookahead != 0) - ADVANCE(250); + ADVANCE(275); END_STATE(); - case 251: + case 276: ACCEPT_TOKEN(anon_sym_LPAREN); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 252: + case 277: ACCEPT_TOKEN(anon_sym_RPAREN); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 253: + case 278: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead == '\t' || lookahead == '\n' || @@ -4046,35 +4383,35 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\\' || lookahead == '{' || lookahead == '}') - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(247); + ADVANCE(272); END_STATE(); - case 254: + case 279: ACCEPT_TOKEN(anon_sym_SEMI); if (lookahead == ';') - ADVANCE(255); + ADVANCE(280); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 255: + case 280: ACCEPT_TOKEN(anon_sym_SEMI_SEMI); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 256: + case 281: ACCEPT_TOKEN(anon_sym_LT); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&') - ADVANCE(257); + ADVANCE(282); if (lookahead == '<') - ADVANCE(258); + ADVANCE(283); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4085,15 +4422,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (':' <= lookahead && lookahead <= '=') || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 257: + case 282: ACCEPT_TOKEN(anon_sym_LT_AMP); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4106,17 +4443,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 258: + case 283: ACCEPT_TOKEN(anon_sym_LT_LT); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '-') - ADVANCE(259); + ADVANCE(284); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4129,15 +4466,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 259: + case 284: ACCEPT_TOKEN(anon_sym_LT_LT_DASH); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4150,19 +4487,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 260: + case 285: ACCEPT_TOKEN(anon_sym_GT); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&') - ADVANCE(261); + ADVANCE(286); if (lookahead == '>') - ADVANCE(262); + ADVANCE(287); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4175,15 +4512,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 261: + case 286: ACCEPT_TOKEN(anon_sym_GT_AMP); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4196,15 +4533,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 262: + case 287: ACCEPT_TOKEN(anon_sym_GT_GT); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4217,25 +4554,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '=' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(242); + ADVANCE(267); END_STATE(); - case 263: + case 288: ACCEPT_TOKEN(anon_sym_LBRACK); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '[') - ADVANCE(264); + ADVANCE(289); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4246,23 +4583,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 264: + case 289: ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4273,84 +4610,86 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 265: + case 290: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(266); + ADVANCE(291); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 266: + case 291: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(239); + ADVANCE(264); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '&') - ADVANCE(240); - if (lookahead == '\'') - ADVANCE(245); - if (lookahead == '(') - ADVANCE(251); - if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); - if (lookahead == ';') - ADVANCE(254); - if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '[') - ADVANCE(263); - if (lookahead == '\\') ADVANCE(265); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'c') - ADVANCE(269); - if (lookahead == 'i') - ADVANCE(273); - if (lookahead == 'w') + if (lookahead == '\'') + ADVANCE(270); + if (lookahead == '(') ADVANCE(276); - if (lookahead == '{') - ADVANCE(114); - if (lookahead == '|') + if (lookahead == ')') + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == ';') + ADVANCE(279); + if (lookahead == '<') ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '[') + ADVANCE(288); + if (lookahead == '\\') + ADVANCE(290); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'c') + ADVANCE(294); + if (lookahead == 'f') + ADVANCE(298); + if (lookahead == 'i') + ADVANCE(306); + if (lookahead == 'w') + ADVANCE(309); + if (lookahead == '{') + ADVANCE(314); + if (lookahead == '|') + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(266); + ADVANCE(291); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 267: + case 292: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == ']') - ADVANCE(268); + ADVANCE(293); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4361,110 +4700,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 268: + case 293: ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); - END_STATE(); - case 269: - ACCEPT_TOKEN(sym__quoted_chars); - if (lookahead == '$') - ADVANCE(60); - if (lookahead == 'a') - ADVANCE(270); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(242); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(247); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); - END_STATE(); - case 270: - ACCEPT_TOKEN(sym__quoted_chars); - if (lookahead == '$') - ADVANCE(60); - if (lookahead == 's') - ADVANCE(271); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(242); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(247); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); - END_STATE(); - case 271: - ACCEPT_TOKEN(sym__quoted_chars); - if (lookahead == '$') - ADVANCE(60); - if (lookahead == 'e') ADVANCE(272); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(242); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(247); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4475,23 +4727,110 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 272: + case 294: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'a') + ADVANCE(295); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 295: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 's') + ADVANCE(296); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 296: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'e') + ADVANCE(297); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 297: ACCEPT_TOKEN(anon_sym_case); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4502,27 +4841,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 273: + case 298: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); - if (lookahead == 'f') - ADVANCE(274); - if (lookahead == 'n') - ADVANCE(275); + ADVANCE(68); + if (lookahead == 'u') + ADVANCE(299); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4533,23 +4870,255 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 274: + case 299: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'n') + ADVANCE(300); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 300: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'c') + ADVANCE(301); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 301: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 't') + ADVANCE(302); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 302: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'i') + ADVANCE(303); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 303: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'o') + ADVANCE(304); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 304: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'n') + ADVANCE(305); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 305: + ACCEPT_TOKEN(anon_sym_function); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 306: + ACCEPT_TOKEN(sym__quoted_chars); + if (lookahead == '$') + ADVANCE(68); + if (lookahead == 'f') + ADVANCE(307); + if (lookahead == 'n') + ADVANCE(308); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(267); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(272); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(132); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 307: ACCEPT_TOKEN(anon_sym_if); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4560,23 +5129,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 275: + case 308: ACCEPT_TOKEN(anon_sym_in); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4587,25 +5156,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 276: + case 309: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == 'h') - ADVANCE(277); + ADVANCE(310); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4616,25 +5185,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 277: + case 310: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == 'i') - ADVANCE(278); + ADVANCE(311); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4645,25 +5214,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 278: + case 311: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == 'l') - ADVANCE(279); + ADVANCE(312); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4674,25 +5243,25 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 279: + case 312: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == 'e') - ADVANCE(280); + ADVANCE(313); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4703,23 +5272,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 280: + case 313: ACCEPT_TOKEN(anon_sym_while); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4730,17 +5299,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 281: + case 314: + ACCEPT_TOKEN(anon_sym_LBRACE); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$') + ADVANCE(132); + END_STATE(); + case 315: ACCEPT_TOKEN(anon_sym_PIPE); if (lookahead == '&') - ADVANCE(282); + ADVANCE(316); if (lookahead == '|') - ADVANCE(283); + ADVANCE(317); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -4753,19 +5329,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '>' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(247); + ADVANCE(272); END_STATE(); - case 282: + case 316: ACCEPT_TOKEN(anon_sym_PIPE_AMP); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 283: + case 317: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); if (lookahead == '\t' || lookahead == '\n' || @@ -4781,24 +5357,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\\' || lookahead == '{' || lookahead == '}') - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(247); + ADVANCE(272); END_STATE(); - case 284: + case 318: ACCEPT_TOKEN(anon_sym_RBRACE); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 285: + case 319: ACCEPT_TOKEN(anon_sym_DOLLAR); if (lookahead == '(') - ADVANCE(94); + ADVANCE(110); if (lookahead == '{') - ADVANCE(95); + ADVANCE(111); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -4813,218 +5389,162 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 286: + case 320: if (lookahead == '\n') - ADVANCE(287); + ADVANCE(321); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') - ADVANCE(3); + ADVANCE(131); if (lookahead == '$') - ADVANCE(93); + ADVANCE(319); if (lookahead == '&') - ADVANCE(103); + ADVANCE(265); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(270); if (lookahead == ')') - ADVANCE(7); + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); if (lookahead == ';') - ADVANCE(105); + ADVANCE(279); if (lookahead == '<') - ADVANCE(10); + ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); if (lookahead == '>') - ADVANCE(15); - if (lookahead == '\\') - SKIP(289); - if (lookahead == '|') - ADVANCE(173); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(288); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(98); - END_STATE(); - case 287: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(287); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(288); - END_STATE(); - case 288: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(287); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(288); - END_STATE(); - case 289: - if (lookahead == '\n') - SKIP(286); - END_STATE(); - case 290: - if (lookahead == '\n') - ADVANCE(291); - if (lookahead == '\"') - ADVANCE(2); - if (lookahead == '#') - ADVANCE(113); - if (lookahead == '$') ADVANCE(285); - if (lookahead == '&') - ADVANCE(240); - if (lookahead == '\'') - ADVANCE(245); - if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); - if (lookahead == ';') - ADVANCE(254); - if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); if (lookahead == '\\') - ADVANCE(292); + ADVANCE(322); if (lookahead == ']') - ADVANCE(267); + ADVANCE(292); if (lookahead == 'i') - ADVANCE(294); + ADVANCE(324); if (lookahead == '|') - ADVANCE(281); + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '(' || lookahead == '{') - ADVANCE(114); + ADVANCE(132); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(295); + ADVANCE(323); if (lookahead != 0) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 291: + case 321: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(291); + ADVANCE(321); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '&') - ADVANCE(240); + ADVANCE(265); if (lookahead == '\'') - ADVANCE(245); + ADVANCE(270); if (lookahead == ')') - ADVANCE(252); + ADVANCE(277); if (lookahead == ':') - ADVANCE(253); + ADVANCE(278); if (lookahead == ';') - ADVANCE(254); + ADVANCE(279); if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '\\') - ADVANCE(292); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'i') - ADVANCE(294); - if (lookahead == '|') ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '\\') + ADVANCE(322); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'i') + ADVANCE(324); + if (lookahead == '|') + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '(' || lookahead == '{') - ADVANCE(114); + ADVANCE(132); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(295); + ADVANCE(323); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 292: + case 322: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(293); + ADVANCE(323); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 293: + case 323: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(291); + ADVANCE(321); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '&') - ADVANCE(240); + ADVANCE(265); if (lookahead == '\'') - ADVANCE(245); + ADVANCE(270); if (lookahead == ')') - ADVANCE(252); + ADVANCE(277); if (lookahead == ':') - ADVANCE(253); + ADVANCE(278); if (lookahead == ';') - ADVANCE(254); + ADVANCE(279); if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '\\') - ADVANCE(292); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'i') - ADVANCE(294); - if (lookahead == '|') ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '\\') + ADVANCE(322); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'i') + ADVANCE(324); + if (lookahead == '|') + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '(' || lookahead == '{') - ADVANCE(114); + ADVANCE(132); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(295); + ADVANCE(323); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 294: + case 324: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '$') - ADVANCE(60); + ADVANCE(68); if (lookahead == 'n') - ADVANCE(275); + ADVANCE(308); if (lookahead == '&' || lookahead == '<' || lookahead == '>') - ADVANCE(242); + ADVANCE(267); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(247); + ADVANCE(272); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -5035,195 +5555,251 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(114); + ADVANCE(132); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 295: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + case 325: if (lookahead == '\n') - ADVANCE(291); - if (lookahead == '#') - ADVANCE(113); - if (lookahead == '&') - ADVANCE(240); - if (lookahead == '\'') - ADVANCE(245); - if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); - if (lookahead == ';') - ADVANCE(254); - if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '\\') - ADVANCE(292); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'i') - ADVANCE(294); - if (lookahead == '|') - ADVANCE(281); - if (lookahead == '}') - ADVANCE(284); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(114); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(295); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); - END_STATE(); - case 296: - if (lookahead == '\n') - ADVANCE(297); + ADVANCE(326); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') - ADVANCE(113); + ADVANCE(3); if (lookahead == '$') - ADVANCE(285); + ADVANCE(109); if (lookahead == '&') - ADVANCE(240); + ADVANCE(123); if (lookahead == '\'') - ADVANCE(245); + ADVANCE(112); if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); + ADVANCE(7); if (lookahead == ';') - ADVANCE(254); + ADVANCE(125); if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); + ADVANCE(10); if (lookahead == '>') - ADVANCE(260); + ADVANCE(15); if (lookahead == '\\') - ADVANCE(298); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'i') - ADVANCE(294); + SKIP(328); if (lookahead == '|') - ADVANCE(281); - if (lookahead == '}') - ADVANCE(284); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(114); + ADVANCE(191); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(299); - if (lookahead != 0) - ADVANCE(246); + ADVANCE(327); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(114); END_STATE(); - case 297: + case 326: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(297); - if (lookahead == '#') - ADVANCE(113); - if (lookahead == '&') - ADVANCE(240); - if (lookahead == '\'') - ADVANCE(245); - if (lookahead == ')') - ADVANCE(252); - if (lookahead == ':') - ADVANCE(253); - if (lookahead == ';') - ADVANCE(254); - if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '\\') - ADVANCE(298); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'i') - ADVANCE(294); - if (lookahead == '|') - ADVANCE(281); - if (lookahead == '}') - ADVANCE(284); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(114); + ADVANCE(326); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(299); + ADVANCE(327); + END_STATE(); + case 327: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(326); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(327); + END_STATE(); + case 328: + if (lookahead == '\n') + SKIP(325); + END_STATE(); + case 329: + if (lookahead == '\n') + ADVANCE(330); + if (lookahead == '\"') + ADVANCE(2); + if (lookahead == '#') + ADVANCE(131); + if (lookahead == '$') + ADVANCE(319); + if (lookahead == '&') + ADVANCE(265); + if (lookahead == '\'') + ADVANCE(270); + if (lookahead == ')') + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == ';') + ADVANCE(279); + if (lookahead == '<') + ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '\\') + ADVANCE(331); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'i') + ADVANCE(324); + if (lookahead == '|') + ADVANCE(315); + if (lookahead == '}') + ADVANCE(318); + if (lookahead == '(' || + lookahead == '{') + ADVANCE(132); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(333); + if (lookahead != 0) + ADVANCE(271); + END_STATE(); + case 330: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(330); + if (lookahead == '#') + ADVANCE(131); + if (lookahead == '&') + ADVANCE(265); + if (lookahead == '\'') + ADVANCE(270); + if (lookahead == ')') + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == ';') + ADVANCE(279); + if (lookahead == '<') + ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '\\') + ADVANCE(331); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'i') + ADVANCE(324); + if (lookahead == '|') + ADVANCE(315); + if (lookahead == '}') + ADVANCE(318); + if (lookahead == '(' || + lookahead == '{') + ADVANCE(132); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(333); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 298: + case 331: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(299); + ADVANCE(332); if (lookahead != 0 && lookahead != '\"' && lookahead != '$') - ADVANCE(114); + ADVANCE(132); END_STATE(); - case 299: + case 332: ACCEPT_TOKEN(sym__quoted_chars); if (lookahead == '\n') - ADVANCE(297); + ADVANCE(330); if (lookahead == '#') - ADVANCE(113); + ADVANCE(131); if (lookahead == '&') - ADVANCE(240); + ADVANCE(265); if (lookahead == '\'') - ADVANCE(245); + ADVANCE(270); if (lookahead == ')') - ADVANCE(252); + ADVANCE(277); if (lookahead == ':') - ADVANCE(253); + ADVANCE(278); if (lookahead == ';') - ADVANCE(254); + ADVANCE(279); if (lookahead == '<') - ADVANCE(256); - if (lookahead == '=') - ADVANCE(247); - if (lookahead == '>') - ADVANCE(260); - if (lookahead == '\\') - ADVANCE(298); - if (lookahead == ']') - ADVANCE(267); - if (lookahead == 'i') - ADVANCE(294); - if (lookahead == '|') ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '\\') + ADVANCE(331); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'i') + ADVANCE(324); + if (lookahead == '|') + ADVANCE(315); if (lookahead == '}') - ADVANCE(284); + ADVANCE(318); if (lookahead == '(' || lookahead == '{') - ADVANCE(114); + ADVANCE(132); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(299); + ADVANCE(333); if (lookahead != 0 && (lookahead < '\"' || lookahead > '$')) - ADVANCE(246); + ADVANCE(271); END_STATE(); - case 300: + case 333: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(330); + if (lookahead == '#') + ADVANCE(131); + if (lookahead == '&') + ADVANCE(265); + if (lookahead == '\'') + ADVANCE(270); + if (lookahead == ')') + ADVANCE(277); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == ';') + ADVANCE(279); + if (lookahead == '<') + ADVANCE(281); + if (lookahead == '=') + ADVANCE(272); + if (lookahead == '>') + ADVANCE(285); + if (lookahead == '\\') + ADVANCE(331); + if (lookahead == ']') + ADVANCE(292); + if (lookahead == 'i') + ADVANCE(324); + if (lookahead == '|') + ADVANCE(315); + if (lookahead == '}') + ADVANCE(318); + if (lookahead == '(' || + lookahead == '{') + ADVANCE(132); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(333); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$')) + ADVANCE(271); + END_STATE(); + case 334: if (lookahead == 0) ADVANCE(1); if (lookahead == '\"') @@ -5231,64 +5807,66 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(285); + ADVANCE(319); if (lookahead == '&') - ADVANCE(57); + ADVANCE(65); if (lookahead == '\'') - ADVANCE(301); + ADVANCE(335); if (lookahead == '(') ADVANCE(6); if (lookahead == ')') ADVANCE(7); if (lookahead == ':') - ADVANCE(304); + ADVANCE(338); if (lookahead == ';') - ADVANCE(124); + ADVANCE(142); if (lookahead == '<') - ADVANCE(65); + ADVANCE(73); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); if (lookahead == '[') - ADVANCE(305); + ADVANCE(339); if (lookahead == '\\') - SKIP(307); + SKIP(341); if (lookahead == 'c') - ADVANCE(308); + ADVANCE(342); if (lookahead == 'd') - ADVANCE(312); + ADVANCE(346); if (lookahead == 'e') - ADVANCE(316); + ADVANCE(350); if (lookahead == 'f') - ADVANCE(325); + ADVANCE(359); if (lookahead == 'i') - ADVANCE(327); + ADVANCE(368); if (lookahead == 't') - ADVANCE(330); + ADVANCE(371); if (lookahead == 'w') - ADVANCE(334); + ADVANCE(375); + if (lookahead == '}') + ADVANCE(63); if (lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(300); + SKIP(334); if ((lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 301: + case 335: ACCEPT_TOKEN(sym_leading_word); if (lookahead == '\'') - ADVANCE(302); + ADVANCE(336); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(96); + ADVANCE(112); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(61); + ADVANCE(69); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -5300,20 +5878,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == ';' || lookahead == '\\' || ('{' <= lookahead && lookahead <= '}')) - ADVANCE(63); + ADVANCE(71); if (lookahead != 0) - ADVANCE(301); + ADVANCE(335); END_STATE(); - case 302: + case 336: ACCEPT_TOKEN(sym_single_quoted_argument); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5325,18 +5903,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 303: + case 337: ACCEPT_TOKEN(sym_leading_word); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5348,9 +5926,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 304: + case 338: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead != 0 && lookahead != '\t' && @@ -5367,20 +5945,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '{' && lookahead != '}') - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 305: + case 339: ACCEPT_TOKEN(anon_sym_LBRACK); if (lookahead == '[') - ADVANCE(306); + ADVANCE(340); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5393,18 +5971,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '[' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 306: + case 340: ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5416,24 +5994,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 307: + case 341: if (lookahead == '\n') - SKIP(300); + SKIP(334); END_STATE(); - case 308: + case 342: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'a') - ADVANCE(309); + ADVANCE(343); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5445,20 +6023,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 309: + case 343: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 's') - ADVANCE(310); + ADVANCE(344); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5470,20 +6048,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 310: + case 344: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(311); + ADVANCE(345); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5495,18 +6073,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 311: + case 345: ACCEPT_TOKEN(anon_sym_case); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5518,20 +6096,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 312: + case 346: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'o') - ADVANCE(313); + ADVANCE(347); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5543,20 +6121,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 313: + case 347: ACCEPT_TOKEN(anon_sym_do); if (lookahead == 'n') - ADVANCE(314); + ADVANCE(348); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5568,20 +6146,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 314: + case 348: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(315); + ADVANCE(349); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5593,18 +6171,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 315: + case 349: ACCEPT_TOKEN(anon_sym_done); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5616,22 +6194,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 316: + case 350: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'l') - ADVANCE(317); + ADVANCE(351); if (lookahead == 's') - ADVANCE(322); + ADVANCE(356); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5643,22 +6221,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 317: + case 351: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(318); + ADVANCE(352); if (lookahead == 's') - ADVANCE(320); + ADVANCE(354); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5670,20 +6248,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 318: + case 352: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'f') - ADVANCE(319); + ADVANCE(353); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5695,18 +6273,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 319: + case 353: ACCEPT_TOKEN(anon_sym_elif); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5718,20 +6296,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 320: + case 354: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(321); + ADVANCE(355); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5743,18 +6321,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 321: + case 355: ACCEPT_TOKEN(anon_sym_else); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5766,20 +6344,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 322: + case 356: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'a') - ADVANCE(323); + ADVANCE(357); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5791,20 +6369,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 323: + case 357: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'c') - ADVANCE(324); + ADVANCE(358); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5816,18 +6394,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 324: + case 358: ACCEPT_TOKEN(anon_sym_esac); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5839,20 +6417,22 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 325: + case 359: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(326); + ADVANCE(360); + if (lookahead == 'u') + ADVANCE(361); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5864,18 +6444,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 326: + case 360: ACCEPT_TOKEN(anon_sym_fi); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5887,22 +6467,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 327: + case 361: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') - ADVANCE(328); if (lookahead == 'n') - ADVANCE(329); + ADVANCE(362); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5914,18 +6492,193 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 328: + case 362: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'c') + ADVANCE(363); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 363: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 't') + ADVANCE(364); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 364: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'i') + ADVANCE(365); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 365: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'o') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 366: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(367); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 367: + ACCEPT_TOKEN(anon_sym_function); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 368: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(369); + if (lookahead == 'n') + ADVANCE(370); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(114); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(68); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(337); + END_STATE(); + case 369: ACCEPT_TOKEN(anon_sym_if); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5937,18 +6690,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 329: + case 370: ACCEPT_TOKEN(anon_sym_in); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5960,20 +6713,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 330: + case 371: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'h') - ADVANCE(331); + ADVANCE(372); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -5985,20 +6738,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 331: + case 372: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(332); + ADVANCE(373); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6010,20 +6763,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 332: + case 373: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'n') - ADVANCE(333); + ADVANCE(374); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6035,18 +6788,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 333: + case 374: ACCEPT_TOKEN(anon_sym_then); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6058,20 +6811,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 334: + case 375: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'h') - ADVANCE(335); + ADVANCE(376); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6083,20 +6836,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 335: + case 376: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(336); + ADVANCE(377); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6108,20 +6861,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 336: + case 377: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'l') - ADVANCE(337); + ADVANCE(378); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6133,20 +6886,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 337: + case 378: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(338); + ADVANCE(379); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6158,18 +6911,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 338: + case 379: ACCEPT_TOKEN(anon_sym_while); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6181,128 +6934,128 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 339: + case 380: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); if (lookahead == ')') ADVANCE(7); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(340); + SKIP(381); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(339); + SKIP(380); END_STATE(); - case 340: + case 381: if (lookahead == '\n') - SKIP(339); + SKIP(380); END_STATE(); - case 341: + case 382: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(140); + ADVANCE(158); if (lookahead == ')') ADVANCE(7); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '\\') - SKIP(342); + SKIP(383); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(341); + SKIP(382); END_STATE(); - case 342: + case 383: if (lookahead == '\n') - SKIP(341); + SKIP(382); END_STATE(); - case 343: + case 384: if (lookahead == '\n') - ADVANCE(344); + ADVANCE(385); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(285); + ADVANCE(319); if (lookahead == '&') - ADVANCE(143); + ADVANCE(161); if (lookahead == '\'') - ADVANCE(301); + ADVANCE(335); if (lookahead == ')') ADVANCE(7); if (lookahead == ':') - ADVANCE(304); + ADVANCE(338); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') - ADVANCE(346); + ADVANCE(387); if (lookahead == '=') - ADVANCE(98); + ADVANCE(114); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); if (lookahead == '\\') - SKIP(349); + SKIP(390); if (lookahead == ']') - ADVANCE(350); + ADVANCE(391); if (lookahead == 'i') - ADVANCE(352); + ADVANCE(393); if (lookahead == '|') - ADVANCE(173); + ADVANCE(191); if (lookahead == '}') - ADVANCE(55); + ADVANCE(63); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(345); + ADVANCE(386); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 344: + case 385: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(344); + ADVANCE(385); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(345); + ADVANCE(386); END_STATE(); - case 345: + case 386: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(344); + ADVANCE(385); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(345); + ADVANCE(386); END_STATE(); - case 346: + case 387: ACCEPT_TOKEN(anon_sym_LT); if (lookahead == '&') - ADVANCE(66); + ADVANCE(74); if (lookahead == '<') - ADVANCE(347); + ADVANCE(388); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6315,12 +7068,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '=') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 347: + case 388: ACCEPT_TOKEN(anon_sym_LT_LT); if (lookahead == '-') - ADVANCE(348); + ADVANCE(389); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6335,9 +7088,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 348: + case 389: ACCEPT_TOKEN(anon_sym_LT_LT_DASH); if (lookahead != 0 && lookahead != '\t' && @@ -6353,24 +7106,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '=' && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 349: + case 390: if (lookahead == '\n') - SKIP(343); + SKIP(384); END_STATE(); - case 350: + case 391: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead == ']') - ADVANCE(351); + ADVANCE(392); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6383,18 +7136,18 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != ']' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 351: + case 392: ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6406,20 +7159,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 352: + case 393: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'n') - ADVANCE(329); + ADVANCE(370); if (lookahead == ':' || lookahead == '=' || lookahead == '|') - ADVANCE(98); + ADVANCE(114); if (lookahead == '$' || lookahead == '&' || ('<' <= lookahead && lookahead <= '>')) - ADVANCE(60); + ADVANCE(68); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -6431,182 +7184,245 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < ':' || lookahead > '>') && lookahead != '\\' && (lookahead < '{' || lookahead > '}')) - ADVANCE(303); + ADVANCE(337); END_STATE(); - case 353: + case 394: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(143); + ADVANCE(161); if (lookahead == '\'') - ADVANCE(61); + ADVANCE(69); if (lookahead == ')') ADVANCE(7); if (lookahead == ':') ADVANCE(8); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') - ADVANCE(346); + ADVANCE(387); if (lookahead == '>') - ADVANCE(67); + ADVANCE(75); if (lookahead == '\\') - SKIP(354); + SKIP(395); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(353); + SKIP(394); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) - ADVANCE(60); + ADVANCE(68); END_STATE(); - case 354: + case 395: if (lookahead == '\n') - SKIP(353); + SKIP(394); END_STATE(); - case 355: + case 396: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == ')') ADVANCE(7); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(356); + SKIP(397); if (lookahead == ']') - ADVANCE(163); + ADVANCE(181); if (lookahead == '|') - ADVANCE(173); + ADVANCE(191); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(355); + SKIP(396); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 356: + case 397: if (lookahead == '\n') - SKIP(355); + SKIP(396); END_STATE(); - case 357: + case 398: if (lookahead == '\n') - ADVANCE(139); + ADVANCE(157); + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '&') + ADVANCE(158); + if (lookahead == ';') + ADVANCE(125); + if (lookahead == '\\') + SKIP(399); + if (lookahead == '{') + ADVANCE(60); + if (lookahead == '|') + ADVANCE(128); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(398); + END_STATE(); + case 399: + if (lookahead == '\n') + SKIP(398); + END_STATE(); + case 400: + if (lookahead == '\n') + ADVANCE(157); if (lookahead == '\"') ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '$') - ADVANCE(93); + ADVANCE(109); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); if (lookahead == '\'') - ADVANCE(96); + ADVANCE(112); if (lookahead == ')') ADVANCE(7); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(358); + SKIP(401); if (lookahead == '|') - ADVANCE(173); + ADVANCE(191); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(357); + SKIP(400); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) - ADVANCE(98); + ADVANCE(114); END_STATE(); - case 358: + case 401: if (lookahead == '\n') - SKIP(357); + SKIP(400); END_STATE(); - case 359: + case 402: if (lookahead == '\n') - ADVANCE(360); + ADVANCE(157); + if (lookahead == '\"') + ADVANCE(2); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(103); + ADVANCE(161); + if (lookahead == '\'') + ADVANCE(69); + if (lookahead == ':') + ADVANCE(8); + if (lookahead == ';') + ADVANCE(125); + if (lookahead == '<') + ADVANCE(73); + if (lookahead == '>') + ADVANCE(75); + if (lookahead == '\\') + SKIP(403); + if (lookahead == '|') + ADVANCE(128); + if (lookahead == '}') + ADVANCE(63); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(402); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(68); + END_STATE(); + case 403: + if (lookahead == '\n') + SKIP(402); + END_STATE(); + case 404: + if (lookahead == '\n') + ADVANCE(405); + if (lookahead == '#') + ADVANCE(3); + if (lookahead == '&') + ADVANCE(123); if (lookahead == ')') ADVANCE(7); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(362); + SKIP(407); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(361); + ADVANCE(406); END_STATE(); - case 360: + case 405: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(360); + ADVANCE(405); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(361); + ADVANCE(406); END_STATE(); - case 361: + case 406: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(360); + ADVANCE(405); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(361); + ADVANCE(406); END_STATE(); - case 362: + case 407: if (lookahead == '\n') - SKIP(359); + SKIP(404); END_STATE(); - case 363: + case 408: if (lookahead == '\n') - ADVANCE(364); + ADVANCE(409); if (lookahead == '#') ADVANCE(3); if (lookahead == '&') - ADVANCE(103); + ADVANCE(123); if (lookahead == ')') ADVANCE(7); if (lookahead == ';') - ADVANCE(105); + ADVANCE(125); if (lookahead == '<') ADVANCE(10); if (lookahead == '=') @@ -6614,35 +7430,35 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(15); if (lookahead == '\\') - SKIP(366); + SKIP(411); if (lookahead == '|') - ADVANCE(108); + ADVANCE(128); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(365); + ADVANCE(410); END_STATE(); - case 364: + case 409: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(364); + ADVANCE(409); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(365); + ADVANCE(410); END_STATE(); - case 365: + case 410: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(364); + ADVANCE(409); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(365); + ADVANCE(410); END_STATE(); - case 366: + case 411: if (lookahead == '\n') - SKIP(363); + SKIP(408); END_STATE(); default: return false; @@ -6651,546 +7467,579 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { static TSLexMode ts_lex_modes[STATE_COUNT] = { [0] = {.lex_state = 0, .external_lex_state = 1}, - [1] = {.lex_state = 56, .external_lex_state = 2}, - [2] = {.lex_state = 84}, - [3] = {.lex_state = 90, .external_lex_state = 2}, - [4] = {.lex_state = 90, .external_lex_state = 2}, - [5] = {.lex_state = 92}, - [6] = {.lex_state = 92}, - [7] = {.lex_state = 92}, - [8] = {.lex_state = 100, .external_lex_state = 2}, - [9] = {.lex_state = 110, .external_lex_state = 2}, - [10] = {.lex_state = 112}, - [11] = {.lex_state = 92}, - [12] = {.lex_state = 117, .external_lex_state = 2}, - [13] = {.lex_state = 121}, - [14] = {.lex_state = 123, .external_lex_state = 2}, - [15] = {.lex_state = 138}, - [16] = {.lex_state = 142, .external_lex_state = 2}, - [17] = {.lex_state = 146, .external_lex_state = 2}, - [18] = {.lex_state = 56, .external_lex_state = 2}, - [19] = {.lex_state = 146, .external_lex_state = 2}, - [20] = {.lex_state = 92}, - [21] = {.lex_state = 148}, - [22] = {.lex_state = 138}, - [23] = {.lex_state = 142, .external_lex_state = 2}, - [24] = {.lex_state = 152}, - [25] = {.lex_state = 112}, - [26] = {.lex_state = 154}, - [27] = {.lex_state = 157}, - [28] = {.lex_state = 159}, - [29] = {.lex_state = 146, .external_lex_state = 2}, - [30] = {.lex_state = 154}, - [31] = {.lex_state = 112}, - [32] = {.lex_state = 161}, - [33] = {.lex_state = 157}, - [34] = {.lex_state = 159}, - [35] = {.lex_state = 146, .external_lex_state = 2}, - [36] = {.lex_state = 161}, - [37] = {.lex_state = 165}, - [38] = {.lex_state = 168}, - [39] = {.lex_state = 84}, - [40] = {.lex_state = 171, .external_lex_state = 2}, - [41] = {.lex_state = 92}, - [42] = {.lex_state = 175, .external_lex_state = 3}, - [43] = {.lex_state = 177, .external_lex_state = 2}, - [44] = {.lex_state = 177, .external_lex_state = 2}, - [45] = {.lex_state = 138}, - [46] = {.lex_state = 110, .external_lex_state = 2}, - [47] = {.lex_state = 100, .external_lex_state = 2}, - [48] = {.lex_state = 112}, - [49] = {.lex_state = 157}, - [50] = {.lex_state = 159}, - [51] = {.lex_state = 146, .external_lex_state = 2}, - [52] = {.lex_state = 112}, - [53] = {.lex_state = 112}, - [54] = {.lex_state = 146, .external_lex_state = 2}, - [55] = {.lex_state = 157}, - [56] = {.lex_state = 159}, - [57] = {.lex_state = 146, .external_lex_state = 2}, - [58] = {.lex_state = 146, .external_lex_state = 2}, - [59] = {.lex_state = 171, .external_lex_state = 2}, - [60] = {.lex_state = 92}, - [61] = {.lex_state = 177, .external_lex_state = 2}, - [62] = {.lex_state = 179, .external_lex_state = 2}, - [63] = {.lex_state = 90, .external_lex_state = 2}, - [64] = {.lex_state = 90, .external_lex_state = 2}, - [65] = {.lex_state = 123, .external_lex_state = 2}, - [66] = {.lex_state = 100, .external_lex_state = 2}, - [67] = {.lex_state = 117, .external_lex_state = 2}, - [68] = {.lex_state = 146, .external_lex_state = 2}, - [69] = {.lex_state = 146, .external_lex_state = 2}, - [70] = {.lex_state = 146, .external_lex_state = 2}, - [71] = {.lex_state = 187, .external_lex_state = 2}, - [72] = {.lex_state = 138}, - [73] = {.lex_state = 189}, - [74] = {.lex_state = 191, .external_lex_state = 2}, - [75] = {.lex_state = 154}, - [76] = {.lex_state = 112}, - [77] = {.lex_state = 193}, - [78] = {.lex_state = 195}, - [79] = {.lex_state = 154}, - [80] = {.lex_state = 154}, - [81] = {.lex_state = 197}, - [82] = {.lex_state = 202, .external_lex_state = 2}, - [83] = {.lex_state = 112}, - [84] = {.lex_state = 205, .external_lex_state = 2}, - [85] = {.lex_state = 208}, - [86] = {.lex_state = 146, .external_lex_state = 2}, - [87] = {.lex_state = 193}, - [88] = {.lex_state = 195}, - [89] = {.lex_state = 210}, - [90] = {.lex_state = 112}, - [91] = {.lex_state = 210}, - [92] = {.lex_state = 210}, - [93] = {.lex_state = 197}, - [94] = {.lex_state = 208}, - [95] = {.lex_state = 138}, - [96] = {.lex_state = 161}, - [97] = {.lex_state = 161}, - [98] = {.lex_state = 92}, - [99] = {.lex_state = 112}, - [100] = {.lex_state = 171, .external_lex_state = 2}, - [101] = {.lex_state = 157}, - [102] = {.lex_state = 159}, - [103] = {.lex_state = 146, .external_lex_state = 2}, - [104] = {.lex_state = 171, .external_lex_state = 2}, - [105] = {.lex_state = 171, .external_lex_state = 2}, - [106] = {.lex_state = 177, .external_lex_state = 2}, - [107] = {.lex_state = 112}, - [108] = {.lex_state = 177, .external_lex_state = 2}, - [109] = {.lex_state = 157}, - [110] = {.lex_state = 159}, - [111] = {.lex_state = 146, .external_lex_state = 2}, - [112] = {.lex_state = 177, .external_lex_state = 2}, - [113] = {.lex_state = 177, .external_lex_state = 2}, - [114] = {.lex_state = 212, .external_lex_state = 4}, - [115] = {.lex_state = 177, .external_lex_state = 2}, - [116] = {.lex_state = 177, .external_lex_state = 2}, - [117] = {.lex_state = 138}, - [118] = {.lex_state = 112}, - [119] = {.lex_state = 112}, - [120] = {.lex_state = 197}, - [121] = {.lex_state = 208}, - [122] = {.lex_state = 100, .external_lex_state = 2}, - [123] = {.lex_state = 112}, - [124] = {.lex_state = 146, .external_lex_state = 2}, - [125] = {.lex_state = 112}, - [126] = {.lex_state = 146, .external_lex_state = 2}, - [127] = {.lex_state = 146, .external_lex_state = 2}, - [128] = {.lex_state = 197}, - [129] = {.lex_state = 208}, - [130] = {.lex_state = 171, .external_lex_state = 2}, - [131] = {.lex_state = 177, .external_lex_state = 2}, - [132] = {.lex_state = 112}, - [133] = {.lex_state = 142, .external_lex_state = 2}, - [134] = {.lex_state = 157}, - [135] = {.lex_state = 159}, - [136] = {.lex_state = 146, .external_lex_state = 2}, - [137] = {.lex_state = 142, .external_lex_state = 2}, - [138] = {.lex_state = 138}, - [139] = {.lex_state = 142, .external_lex_state = 2}, - [140] = {.lex_state = 138}, - [141] = {.lex_state = 142, .external_lex_state = 2}, - [142] = {.lex_state = 171, .external_lex_state = 2}, - [143] = {.lex_state = 171, .external_lex_state = 2}, - [144] = {.lex_state = 92}, - [145] = {.lex_state = 177, .external_lex_state = 2}, - [146] = {.lex_state = 138}, - [147] = {.lex_state = 187, .external_lex_state = 2}, - [148] = {.lex_state = 138}, - [149] = {.lex_state = 90, .external_lex_state = 2}, - [150] = {.lex_state = 215, .external_lex_state = 2}, - [151] = {.lex_state = 217}, - [152] = {.lex_state = 220}, - [153] = {.lex_state = 191, .external_lex_state = 2}, - [154] = {.lex_state = 217}, - [155] = {.lex_state = 154}, - [156] = {.lex_state = 222}, - [157] = {.lex_state = 193}, - [158] = {.lex_state = 92}, - [159] = {.lex_state = 154}, - [160] = {.lex_state = 84}, - [161] = {.lex_state = 228, .external_lex_state = 2}, - [162] = {.lex_state = 92}, - [163] = {.lex_state = 175, .external_lex_state = 3}, - [164] = {.lex_state = 230, .external_lex_state = 2}, - [165] = {.lex_state = 230, .external_lex_state = 2}, - [166] = {.lex_state = 202, .external_lex_state = 2}, - [167] = {.lex_state = 112}, - [168] = {.lex_state = 228, .external_lex_state = 2}, - [169] = {.lex_state = 230, .external_lex_state = 2}, - [170] = {.lex_state = 154}, - [171] = {.lex_state = 202, .external_lex_state = 2}, - [172] = {.lex_state = 205, .external_lex_state = 2}, - [173] = {.lex_state = 222}, - [174] = {.lex_state = 193}, - [175] = {.lex_state = 210}, - [176] = {.lex_state = 92}, - [177] = {.lex_state = 210}, - [178] = {.lex_state = 210}, - [179] = {.lex_state = 177, .external_lex_state = 2}, - [180] = {.lex_state = 177, .external_lex_state = 2}, - [181] = {.lex_state = 171, .external_lex_state = 2}, - [182] = {.lex_state = 112}, - [183] = {.lex_state = 171, .external_lex_state = 2}, - [184] = {.lex_state = 171, .external_lex_state = 2}, - [185] = {.lex_state = 197}, - [186] = {.lex_state = 208}, - [187] = {.lex_state = 171, .external_lex_state = 2}, - [188] = {.lex_state = 171, .external_lex_state = 2}, - [189] = {.lex_state = 177, .external_lex_state = 2}, - [190] = {.lex_state = 177, .external_lex_state = 2}, - [191] = {.lex_state = 112}, - [192] = {.lex_state = 177, .external_lex_state = 2}, - [193] = {.lex_state = 177, .external_lex_state = 2}, - [194] = {.lex_state = 197}, - [195] = {.lex_state = 208}, - [196] = {.lex_state = 212, .external_lex_state = 4}, - [197] = {.lex_state = 177, .external_lex_state = 2}, - [198] = {.lex_state = 157}, - [199] = {.lex_state = 159}, - [200] = {.lex_state = 212, .external_lex_state = 4}, - [201] = {.lex_state = 92}, - [202] = {.lex_state = 112}, - [203] = {.lex_state = 112}, - [204] = {.lex_state = 146, .external_lex_state = 2}, - [205] = {.lex_state = 92}, - [206] = {.lex_state = 146, .external_lex_state = 2}, - [207] = {.lex_state = 146, .external_lex_state = 2}, - [208] = {.lex_state = 177, .external_lex_state = 2}, - [209] = {.lex_state = 232, .external_lex_state = 2}, - [210] = {.lex_state = 112}, - [211] = {.lex_state = 232, .external_lex_state = 2}, - [212] = {.lex_state = 232, .external_lex_state = 2}, - [213] = {.lex_state = 197}, - [214] = {.lex_state = 208}, - [215] = {.lex_state = 171, .external_lex_state = 2}, - [216] = {.lex_state = 171, .external_lex_state = 2}, - [217] = {.lex_state = 177, .external_lex_state = 2}, - [218] = {.lex_state = 146, .external_lex_state = 2}, - [219] = {.lex_state = 146, .external_lex_state = 2}, - [220] = {.lex_state = 138}, - [221] = {.lex_state = 152}, - [222] = {.lex_state = 215, .external_lex_state = 2}, - [223] = {.lex_state = 138}, - [224] = {.lex_state = 220}, - [225] = {.lex_state = 217}, - [226] = {.lex_state = 217}, - [227] = {.lex_state = 138}, - [228] = {.lex_state = 208}, - [229] = {.lex_state = 208}, - [230] = {.lex_state = 222}, - [231] = {.lex_state = 222}, - [232] = {.lex_state = 222}, - [233] = {.lex_state = 234}, - [234] = {.lex_state = 234}, - [235] = {.lex_state = 92}, - [236] = {.lex_state = 112}, - [237] = {.lex_state = 228, .external_lex_state = 2}, - [238] = {.lex_state = 157}, - [239] = {.lex_state = 159}, - [240] = {.lex_state = 146, .external_lex_state = 2}, - [241] = {.lex_state = 228, .external_lex_state = 2}, - [242] = {.lex_state = 228, .external_lex_state = 2}, - [243] = {.lex_state = 230, .external_lex_state = 2}, - [244] = {.lex_state = 230, .external_lex_state = 2}, - [245] = {.lex_state = 230, .external_lex_state = 2}, - [246] = {.lex_state = 230, .external_lex_state = 2}, - [247] = {.lex_state = 212, .external_lex_state = 4}, - [248] = {.lex_state = 230, .external_lex_state = 2}, - [249] = {.lex_state = 230, .external_lex_state = 2}, - [250] = {.lex_state = 202, .external_lex_state = 2}, - [251] = {.lex_state = 228, .external_lex_state = 2}, - [252] = {.lex_state = 230, .external_lex_state = 2}, - [253] = {.lex_state = 228, .external_lex_state = 2}, - [254] = {.lex_state = 228, .external_lex_state = 2}, - [255] = {.lex_state = 230, .external_lex_state = 2}, - [256] = {.lex_state = 138}, - [257] = {.lex_state = 222}, - [258] = {.lex_state = 222}, - [259] = {.lex_state = 234}, - [260] = {.lex_state = 234}, - [261] = {.lex_state = 171, .external_lex_state = 2}, - [262] = {.lex_state = 92}, - [263] = {.lex_state = 171, .external_lex_state = 2}, - [264] = {.lex_state = 171, .external_lex_state = 2}, - [265] = {.lex_state = 177, .external_lex_state = 2}, - [266] = {.lex_state = 92}, - [267] = {.lex_state = 177, .external_lex_state = 2}, - [268] = {.lex_state = 177, .external_lex_state = 2}, - [269] = {.lex_state = 212, .external_lex_state = 4}, - [270] = {.lex_state = 212, .external_lex_state = 4}, - [271] = {.lex_state = 197}, - [272] = {.lex_state = 212, .external_lex_state = 4}, - [273] = {.lex_state = 177, .external_lex_state = 2}, - [274] = {.lex_state = 234}, - [275] = {.lex_state = 234}, - [276] = {.lex_state = 234}, - [277] = {.lex_state = 234}, - [278] = {.lex_state = 232, .external_lex_state = 2}, - [279] = {.lex_state = 92}, - [280] = {.lex_state = 232, .external_lex_state = 2}, - [281] = {.lex_state = 232, .external_lex_state = 2}, - [282] = {.lex_state = 177, .external_lex_state = 2}, - [283] = {.lex_state = 177, .external_lex_state = 2}, - [284] = {.lex_state = 191, .external_lex_state = 2}, - [285] = {.lex_state = 138}, - [286] = {.lex_state = 220}, - [287] = {.lex_state = 236, .external_lex_state = 2}, - [288] = {.lex_state = 236, .external_lex_state = 2}, - [289] = {.lex_state = 138}, - [290] = {.lex_state = 222}, - [291] = {.lex_state = 222}, - [292] = {.lex_state = 154}, - [293] = {.lex_state = 154}, - [294] = {.lex_state = 230, .external_lex_state = 2}, - [295] = {.lex_state = 230, .external_lex_state = 2}, - [296] = {.lex_state = 228, .external_lex_state = 2}, - [297] = {.lex_state = 112}, - [298] = {.lex_state = 228, .external_lex_state = 2}, - [299] = {.lex_state = 228, .external_lex_state = 2}, - [300] = {.lex_state = 197}, - [301] = {.lex_state = 208}, - [302] = {.lex_state = 228, .external_lex_state = 2}, - [303] = {.lex_state = 228, .external_lex_state = 2}, - [304] = {.lex_state = 230, .external_lex_state = 2}, - [305] = {.lex_state = 230, .external_lex_state = 2}, - [306] = {.lex_state = 212, .external_lex_state = 4}, - [307] = {.lex_state = 230, .external_lex_state = 2}, - [308] = {.lex_state = 228, .external_lex_state = 2}, - [309] = {.lex_state = 228, .external_lex_state = 2}, - [310] = {.lex_state = 230, .external_lex_state = 2}, - [311] = {.lex_state = 138}, - [312] = {.lex_state = 222}, - [313] = {.lex_state = 210}, - [314] = {.lex_state = 210}, - [315] = {.lex_state = 234}, - [316] = {.lex_state = 234}, - [317] = {.lex_state = 234}, - [318] = {.lex_state = 234}, - [319] = {.lex_state = 92}, - [320] = {.lex_state = 212, .external_lex_state = 4}, - [321] = {.lex_state = 112}, - [322] = {.lex_state = 112}, - [323] = {.lex_state = 146, .external_lex_state = 2}, - [324] = {.lex_state = 146, .external_lex_state = 2}, - [325] = {.lex_state = 234}, - [326] = {.lex_state = 234}, - [327] = {.lex_state = 191, .external_lex_state = 2}, - [328] = {.lex_state = 138}, - [329] = {.lex_state = 222}, - [330] = {.lex_state = 236, .external_lex_state = 2}, - [331] = {.lex_state = 222}, - [332] = {.lex_state = 236, .external_lex_state = 2}, - [333] = {.lex_state = 138}, - [334] = {.lex_state = 228, .external_lex_state = 2}, - [335] = {.lex_state = 92}, - [336] = {.lex_state = 228, .external_lex_state = 2}, - [337] = {.lex_state = 228, .external_lex_state = 2}, - [338] = {.lex_state = 230, .external_lex_state = 2}, - [339] = {.lex_state = 230, .external_lex_state = 2}, - [340] = {.lex_state = 230, .external_lex_state = 2}, - [341] = {.lex_state = 138}, - [342] = {.lex_state = 171, .external_lex_state = 2}, - [343] = {.lex_state = 171, .external_lex_state = 2}, - [344] = {.lex_state = 177, .external_lex_state = 2}, - [345] = {.lex_state = 177, .external_lex_state = 2}, - [346] = {.lex_state = 234}, - [347] = {.lex_state = 234}, - [348] = {.lex_state = 232, .external_lex_state = 2}, - [349] = {.lex_state = 232, .external_lex_state = 2}, - [350] = {.lex_state = 222}, - [351] = {.lex_state = 222}, - [352] = {.lex_state = 234}, - [353] = {.lex_state = 234}, - [354] = {.lex_state = 212, .external_lex_state = 4}, - [355] = {.lex_state = 212, .external_lex_state = 4}, - [356] = {.lex_state = 228, .external_lex_state = 2}, - [357] = {.lex_state = 228, .external_lex_state = 2}, - [358] = {.lex_state = 138}, - [359] = {.lex_state = 191, .external_lex_state = 2}, - [360] = {.lex_state = 138}, - [361] = {.lex_state = 193}, - [362] = {.lex_state = 138}, - [363] = {.lex_state = 238, .external_lex_state = 2}, - [364] = {.lex_state = 286, .external_lex_state = 2}, - [365] = {.lex_state = 92}, - [366] = {.lex_state = 290, .external_lex_state = 2}, - [367] = {.lex_state = 296, .external_lex_state = 5}, - [368] = {.lex_state = 296, .external_lex_state = 5}, - [369] = {.lex_state = 92}, - [370] = {.lex_state = 175, .external_lex_state = 3}, - [371] = {.lex_state = 300, .external_lex_state = 2}, - [372] = {.lex_state = 339, .external_lex_state = 2}, - [373] = {.lex_state = 212, .external_lex_state = 4}, - [374] = {.lex_state = 212, .external_lex_state = 4}, - [375] = {.lex_state = 339, .external_lex_state = 2}, - [376] = {.lex_state = 84}, - [377] = {.lex_state = 179, .external_lex_state = 2}, - [378] = {.lex_state = 138}, - [379] = {.lex_state = 217}, - [380] = {.lex_state = 220}, - [381] = {.lex_state = 222}, - [382] = {.lex_state = 341}, - [383] = {.lex_state = 142, .external_lex_state = 2}, - [384] = {.lex_state = 343, .external_lex_state = 2}, - [385] = {.lex_state = 296, .external_lex_state = 5}, - [386] = {.lex_state = 296, .external_lex_state = 2}, - [387] = {.lex_state = 353, .external_lex_state = 2}, - [388] = {.lex_state = 339, .external_lex_state = 2}, - [389] = {.lex_state = 339, .external_lex_state = 2}, - [390] = {.lex_state = 123, .external_lex_state = 2}, - [391] = {.lex_state = 217}, - [392] = {.lex_state = 222}, - [393] = {.lex_state = 355, .external_lex_state = 2}, - [394] = {.lex_state = 146, .external_lex_state = 2}, - [395] = {.lex_state = 339, .external_lex_state = 2}, - [396] = {.lex_state = 112}, - [397] = {.lex_state = 212, .external_lex_state = 4}, - [398] = {.lex_state = 191, .external_lex_state = 2}, - [399] = {.lex_state = 222}, - [400] = {.lex_state = 222}, - [401] = {.lex_state = 236, .external_lex_state = 2}, - [402] = {.lex_state = 84}, - [403] = {.lex_state = 357, .external_lex_state = 2}, - [404] = {.lex_state = 234}, - [405] = {.lex_state = 92}, - [406] = {.lex_state = 234}, - [407] = {.lex_state = 339, .external_lex_state = 2}, - [408] = {.lex_state = 339, .external_lex_state = 2}, - [409] = {.lex_state = 232, .external_lex_state = 2}, - [410] = {.lex_state = 232, .external_lex_state = 2}, - [411] = {.lex_state = 343, .external_lex_state = 2}, - [412] = {.lex_state = 296, .external_lex_state = 5}, - [413] = {.lex_state = 296, .external_lex_state = 5}, - [414] = {.lex_state = 112}, - [415] = {.lex_state = 353, .external_lex_state = 2}, - [416] = {.lex_state = 157}, - [417] = {.lex_state = 159}, - [418] = {.lex_state = 146, .external_lex_state = 2}, - [419] = {.lex_state = 353, .external_lex_state = 2}, - [420] = {.lex_state = 193}, - [421] = {.lex_state = 138}, - [422] = {.lex_state = 339, .external_lex_state = 2}, - [423] = {.lex_state = 92}, - [424] = {.lex_state = 138}, - [425] = {.lex_state = 296, .external_lex_state = 2}, - [426] = {.lex_state = 296, .external_lex_state = 5}, - [427] = {.lex_state = 222}, - [428] = {.lex_state = 138}, - [429] = {.lex_state = 220}, - [430] = {.lex_state = 138}, - [431] = {.lex_state = 112}, - [432] = {.lex_state = 355, .external_lex_state = 2}, - [433] = {.lex_state = 157}, - [434] = {.lex_state = 159}, - [435] = {.lex_state = 146, .external_lex_state = 2}, - [436] = {.lex_state = 355, .external_lex_state = 2}, - [437] = {.lex_state = 339, .external_lex_state = 2}, - [438] = {.lex_state = 359, .external_lex_state = 2}, - [439] = {.lex_state = 112}, - [440] = {.lex_state = 363, .external_lex_state = 2}, - [441] = {.lex_state = 339, .external_lex_state = 2}, - [442] = {.lex_state = 343, .external_lex_state = 2}, - [443] = {.lex_state = 339, .external_lex_state = 2}, - [444] = {.lex_state = 92}, - [445] = {.lex_state = 112}, - [446] = {.lex_state = 357, .external_lex_state = 2}, - [447] = {.lex_state = 157}, - [448] = {.lex_state = 159}, - [449] = {.lex_state = 146, .external_lex_state = 2}, - [450] = {.lex_state = 357, .external_lex_state = 2}, - [451] = {.lex_state = 357, .external_lex_state = 2}, - [452] = {.lex_state = 339, .external_lex_state = 2}, - [453] = {.lex_state = 112}, - [454] = {.lex_state = 339, .external_lex_state = 2}, - [455] = {.lex_state = 157}, - [456] = {.lex_state = 159}, - [457] = {.lex_state = 146, .external_lex_state = 2}, - [458] = {.lex_state = 339, .external_lex_state = 2}, - [459] = {.lex_state = 296, .external_lex_state = 5}, - [460] = {.lex_state = 353, .external_lex_state = 2}, - [461] = {.lex_state = 112}, - [462] = {.lex_state = 353, .external_lex_state = 2}, - [463] = {.lex_state = 353, .external_lex_state = 2}, - [464] = {.lex_state = 197}, - [465] = {.lex_state = 208}, - [466] = {.lex_state = 222}, - [467] = {.lex_state = 353, .external_lex_state = 2}, - [468] = {.lex_state = 353, .external_lex_state = 2}, - [469] = {.lex_state = 138}, - [470] = {.lex_state = 355, .external_lex_state = 2}, - [471] = {.lex_state = 112}, - [472] = {.lex_state = 355, .external_lex_state = 2}, - [473] = {.lex_state = 355, .external_lex_state = 2}, - [474] = {.lex_state = 197}, - [475] = {.lex_state = 208}, - [476] = {.lex_state = 357, .external_lex_state = 2}, - [477] = {.lex_state = 339, .external_lex_state = 2}, - [478] = {.lex_state = 359, .external_lex_state = 2}, - [479] = {.lex_state = 112}, - [480] = {.lex_state = 357, .external_lex_state = 2}, - [481] = {.lex_state = 339, .external_lex_state = 2}, - [482] = {.lex_state = 339, .external_lex_state = 2}, - [483] = {.lex_state = 339, .external_lex_state = 2}, - [484] = {.lex_state = 357, .external_lex_state = 2}, - [485] = {.lex_state = 112}, - [486] = {.lex_state = 357, .external_lex_state = 2}, - [487] = {.lex_state = 357, .external_lex_state = 2}, - [488] = {.lex_state = 197}, - [489] = {.lex_state = 208}, - [490] = {.lex_state = 357, .external_lex_state = 2}, - [491] = {.lex_state = 357, .external_lex_state = 2}, - [492] = {.lex_state = 339, .external_lex_state = 2}, - [493] = {.lex_state = 339, .external_lex_state = 2}, - [494] = {.lex_state = 112}, - [495] = {.lex_state = 339, .external_lex_state = 2}, - [496] = {.lex_state = 339, .external_lex_state = 2}, - [497] = {.lex_state = 197}, - [498] = {.lex_state = 208}, - [499] = {.lex_state = 353, .external_lex_state = 2}, - [500] = {.lex_state = 92}, - [501] = {.lex_state = 353, .external_lex_state = 2}, - [502] = {.lex_state = 353, .external_lex_state = 2}, - [503] = {.lex_state = 138}, - [504] = {.lex_state = 222}, - [505] = {.lex_state = 355, .external_lex_state = 2}, - [506] = {.lex_state = 92}, - [507] = {.lex_state = 355, .external_lex_state = 2}, - [508] = {.lex_state = 355, .external_lex_state = 2}, - [509] = {.lex_state = 357, .external_lex_state = 2}, - [510] = {.lex_state = 339, .external_lex_state = 2}, - [511] = {.lex_state = 359, .external_lex_state = 2}, - [512] = {.lex_state = 357, .external_lex_state = 2}, - [513] = {.lex_state = 339, .external_lex_state = 2}, - [514] = {.lex_state = 357, .external_lex_state = 2}, - [515] = {.lex_state = 92}, - [516] = {.lex_state = 357, .external_lex_state = 2}, - [517] = {.lex_state = 357, .external_lex_state = 2}, - [518] = {.lex_state = 339, .external_lex_state = 2}, - [519] = {.lex_state = 92}, - [520] = {.lex_state = 339, .external_lex_state = 2}, - [521] = {.lex_state = 339, .external_lex_state = 2}, - [522] = {.lex_state = 234}, - [523] = {.lex_state = 234}, - [524] = {.lex_state = 138}, - [525] = {.lex_state = 234}, - [526] = {.lex_state = 234}, - [527] = {.lex_state = 339, .external_lex_state = 2}, - [528] = {.lex_state = 339, .external_lex_state = 2}, - [529] = {.lex_state = 234}, - [530] = {.lex_state = 234}, - [531] = {.lex_state = 234}, - [532] = {.lex_state = 234}, - [533] = {.lex_state = 353, .external_lex_state = 2}, - [534] = {.lex_state = 353, .external_lex_state = 2}, - [535] = {.lex_state = 355, .external_lex_state = 2}, - [536] = {.lex_state = 355, .external_lex_state = 2}, - [537] = {.lex_state = 357, .external_lex_state = 2}, - [538] = {.lex_state = 357, .external_lex_state = 2}, - [539] = {.lex_state = 339, .external_lex_state = 2}, - [540] = {.lex_state = 339, .external_lex_state = 2}, + [1] = {.lex_state = 64, .external_lex_state = 2}, + [2] = {.lex_state = 100}, + [3] = {.lex_state = 106, .external_lex_state = 2}, + [4] = {.lex_state = 106, .external_lex_state = 2}, + [5] = {.lex_state = 108}, + [6] = {.lex_state = 116}, + [7] = {.lex_state = 118, .external_lex_state = 2}, + [8] = {.lex_state = 108}, + [9] = {.lex_state = 108}, + [10] = {.lex_state = 120, .external_lex_state = 2}, + [11] = {.lex_state = 130}, + [12] = {.lex_state = 108}, + [13] = {.lex_state = 135, .external_lex_state = 2}, + [14] = {.lex_state = 139}, + [15] = {.lex_state = 141, .external_lex_state = 2}, + [16] = {.lex_state = 156}, + [17] = {.lex_state = 160, .external_lex_state = 2}, + [18] = {.lex_state = 164, .external_lex_state = 2}, + [19] = {.lex_state = 64, .external_lex_state = 2}, + [20] = {.lex_state = 164, .external_lex_state = 2}, + [21] = {.lex_state = 108}, + [22] = {.lex_state = 166}, + [23] = {.lex_state = 156}, + [24] = {.lex_state = 160, .external_lex_state = 2}, + [25] = {.lex_state = 170}, + [26] = {.lex_state = 130}, + [27] = {.lex_state = 172}, + [28] = {.lex_state = 175}, + [29] = {.lex_state = 116}, + [30] = {.lex_state = 164, .external_lex_state = 2}, + [31] = {.lex_state = 172}, + [32] = {.lex_state = 177}, + [33] = {.lex_state = 156}, + [34] = {.lex_state = 118, .external_lex_state = 2}, + [35] = {.lex_state = 130}, + [36] = {.lex_state = 179}, + [37] = {.lex_state = 175}, + [38] = {.lex_state = 116}, + [39] = {.lex_state = 164, .external_lex_state = 2}, + [40] = {.lex_state = 179}, + [41] = {.lex_state = 183}, + [42] = {.lex_state = 186}, + [43] = {.lex_state = 100}, + [44] = {.lex_state = 189, .external_lex_state = 2}, + [45] = {.lex_state = 108}, + [46] = {.lex_state = 193, .external_lex_state = 3}, + [47] = {.lex_state = 195, .external_lex_state = 2}, + [48] = {.lex_state = 195, .external_lex_state = 2}, + [49] = {.lex_state = 120, .external_lex_state = 2}, + [50] = {.lex_state = 130}, + [51] = {.lex_state = 175}, + [52] = {.lex_state = 116}, + [53] = {.lex_state = 164, .external_lex_state = 2}, + [54] = {.lex_state = 130}, + [55] = {.lex_state = 130}, + [56] = {.lex_state = 164, .external_lex_state = 2}, + [57] = {.lex_state = 175}, + [58] = {.lex_state = 116}, + [59] = {.lex_state = 164, .external_lex_state = 2}, + [60] = {.lex_state = 164, .external_lex_state = 2}, + [61] = {.lex_state = 197}, + [62] = {.lex_state = 189, .external_lex_state = 2}, + [63] = {.lex_state = 108}, + [64] = {.lex_state = 195, .external_lex_state = 2}, + [65] = {.lex_state = 199, .external_lex_state = 2}, + [66] = {.lex_state = 106, .external_lex_state = 2}, + [67] = {.lex_state = 106, .external_lex_state = 2}, + [68] = {.lex_state = 141, .external_lex_state = 2}, + [69] = {.lex_state = 120, .external_lex_state = 2}, + [70] = {.lex_state = 207, .external_lex_state = 2}, + [71] = {.lex_state = 164, .external_lex_state = 2}, + [72] = {.lex_state = 164, .external_lex_state = 2}, + [73] = {.lex_state = 164, .external_lex_state = 2}, + [74] = {.lex_state = 211, .external_lex_state = 2}, + [75] = {.lex_state = 156}, + [76] = {.lex_state = 213}, + [77] = {.lex_state = 215, .external_lex_state = 2}, + [78] = {.lex_state = 172}, + [79] = {.lex_state = 130}, + [80] = {.lex_state = 217}, + [81] = {.lex_state = 219}, + [82] = {.lex_state = 172}, + [83] = {.lex_state = 172}, + [84] = {.lex_state = 221}, + [85] = {.lex_state = 226, .external_lex_state = 2}, + [86] = {.lex_state = 130}, + [87] = {.lex_state = 229, .external_lex_state = 2}, + [88] = {.lex_state = 197}, + [89] = {.lex_state = 164, .external_lex_state = 2}, + [90] = {.lex_state = 217}, + [91] = {.lex_state = 219}, + [92] = {.lex_state = 197}, + [93] = {.lex_state = 156}, + [94] = {.lex_state = 232}, + [95] = {.lex_state = 130}, + [96] = {.lex_state = 232}, + [97] = {.lex_state = 232}, + [98] = {.lex_state = 221}, + [99] = {.lex_state = 197}, + [100] = {.lex_state = 156}, + [101] = {.lex_state = 179}, + [102] = {.lex_state = 179}, + [103] = {.lex_state = 108}, + [104] = {.lex_state = 130}, + [105] = {.lex_state = 189, .external_lex_state = 2}, + [106] = {.lex_state = 175}, + [107] = {.lex_state = 116}, + [108] = {.lex_state = 164, .external_lex_state = 2}, + [109] = {.lex_state = 189, .external_lex_state = 2}, + [110] = {.lex_state = 189, .external_lex_state = 2}, + [111] = {.lex_state = 195, .external_lex_state = 2}, + [112] = {.lex_state = 130}, + [113] = {.lex_state = 195, .external_lex_state = 2}, + [114] = {.lex_state = 175}, + [115] = {.lex_state = 116}, + [116] = {.lex_state = 164, .external_lex_state = 2}, + [117] = {.lex_state = 195, .external_lex_state = 2}, + [118] = {.lex_state = 195, .external_lex_state = 2}, + [119] = {.lex_state = 234, .external_lex_state = 4}, + [120] = {.lex_state = 195, .external_lex_state = 2}, + [121] = {.lex_state = 195, .external_lex_state = 2}, + [122] = {.lex_state = 130}, + [123] = {.lex_state = 130}, + [124] = {.lex_state = 221}, + [125] = {.lex_state = 197}, + [126] = {.lex_state = 120, .external_lex_state = 2}, + [127] = {.lex_state = 130}, + [128] = {.lex_state = 164, .external_lex_state = 2}, + [129] = {.lex_state = 130}, + [130] = {.lex_state = 164, .external_lex_state = 2}, + [131] = {.lex_state = 164, .external_lex_state = 2}, + [132] = {.lex_state = 221}, + [133] = {.lex_state = 197}, + [134] = {.lex_state = 237}, + [135] = {.lex_state = 189, .external_lex_state = 2}, + [136] = {.lex_state = 195, .external_lex_state = 2}, + [137] = {.lex_state = 130}, + [138] = {.lex_state = 160, .external_lex_state = 2}, + [139] = {.lex_state = 175}, + [140] = {.lex_state = 116}, + [141] = {.lex_state = 164, .external_lex_state = 2}, + [142] = {.lex_state = 160, .external_lex_state = 2}, + [143] = {.lex_state = 156}, + [144] = {.lex_state = 160, .external_lex_state = 2}, + [145] = {.lex_state = 156}, + [146] = {.lex_state = 160, .external_lex_state = 2}, + [147] = {.lex_state = 189, .external_lex_state = 2}, + [148] = {.lex_state = 189, .external_lex_state = 2}, + [149] = {.lex_state = 108}, + [150] = {.lex_state = 195, .external_lex_state = 2}, + [151] = {.lex_state = 156}, + [152] = {.lex_state = 211, .external_lex_state = 2}, + [153] = {.lex_state = 156}, + [154] = {.lex_state = 106, .external_lex_state = 2}, + [155] = {.lex_state = 239, .external_lex_state = 2}, + [156] = {.lex_state = 241}, + [157] = {.lex_state = 245}, + [158] = {.lex_state = 215, .external_lex_state = 2}, + [159] = {.lex_state = 241}, + [160] = {.lex_state = 172}, + [161] = {.lex_state = 247}, + [162] = {.lex_state = 217}, + [163] = {.lex_state = 172}, + [164] = {.lex_state = 108}, + [165] = {.lex_state = 100}, + [166] = {.lex_state = 253, .external_lex_state = 2}, + [167] = {.lex_state = 108}, + [168] = {.lex_state = 193, .external_lex_state = 3}, + [169] = {.lex_state = 255, .external_lex_state = 2}, + [170] = {.lex_state = 255, .external_lex_state = 2}, + [171] = {.lex_state = 226, .external_lex_state = 2}, + [172] = {.lex_state = 130}, + [173] = {.lex_state = 253, .external_lex_state = 2}, + [174] = {.lex_state = 255, .external_lex_state = 2}, + [175] = {.lex_state = 172}, + [176] = {.lex_state = 226, .external_lex_state = 2}, + [177] = {.lex_state = 229, .external_lex_state = 2}, + [178] = {.lex_state = 247}, + [179] = {.lex_state = 217}, + [180] = {.lex_state = 237}, + [181] = {.lex_state = 232}, + [182] = {.lex_state = 232}, + [183] = {.lex_state = 108}, + [184] = {.lex_state = 232}, + [185] = {.lex_state = 195, .external_lex_state = 2}, + [186] = {.lex_state = 195, .external_lex_state = 2}, + [187] = {.lex_state = 189, .external_lex_state = 2}, + [188] = {.lex_state = 130}, + [189] = {.lex_state = 189, .external_lex_state = 2}, + [190] = {.lex_state = 189, .external_lex_state = 2}, + [191] = {.lex_state = 221}, + [192] = {.lex_state = 197}, + [193] = {.lex_state = 189, .external_lex_state = 2}, + [194] = {.lex_state = 189, .external_lex_state = 2}, + [195] = {.lex_state = 195, .external_lex_state = 2}, + [196] = {.lex_state = 195, .external_lex_state = 2}, + [197] = {.lex_state = 130}, + [198] = {.lex_state = 195, .external_lex_state = 2}, + [199] = {.lex_state = 195, .external_lex_state = 2}, + [200] = {.lex_state = 221}, + [201] = {.lex_state = 197}, + [202] = {.lex_state = 234, .external_lex_state = 4}, + [203] = {.lex_state = 195, .external_lex_state = 2}, + [204] = {.lex_state = 175}, + [205] = {.lex_state = 116}, + [206] = {.lex_state = 234, .external_lex_state = 4}, + [207] = {.lex_state = 130}, + [208] = {.lex_state = 108}, + [209] = {.lex_state = 130}, + [210] = {.lex_state = 164, .external_lex_state = 2}, + [211] = {.lex_state = 164, .external_lex_state = 2}, + [212] = {.lex_state = 108}, + [213] = {.lex_state = 164, .external_lex_state = 2}, + [214] = {.lex_state = 257, .external_lex_state = 2}, + [215] = {.lex_state = 156}, + [216] = {.lex_state = 195, .external_lex_state = 2}, + [217] = {.lex_state = 160, .external_lex_state = 2}, + [218] = {.lex_state = 130}, + [219] = {.lex_state = 160, .external_lex_state = 2}, + [220] = {.lex_state = 160, .external_lex_state = 2}, + [221] = {.lex_state = 221}, + [222] = {.lex_state = 197}, + [223] = {.lex_state = 189, .external_lex_state = 2}, + [224] = {.lex_state = 189, .external_lex_state = 2}, + [225] = {.lex_state = 195, .external_lex_state = 2}, + [226] = {.lex_state = 164, .external_lex_state = 2}, + [227] = {.lex_state = 164, .external_lex_state = 2}, + [228] = {.lex_state = 156}, + [229] = {.lex_state = 170}, + [230] = {.lex_state = 239, .external_lex_state = 2}, + [231] = {.lex_state = 156}, + [232] = {.lex_state = 245}, + [233] = {.lex_state = 241}, + [234] = {.lex_state = 241}, + [235] = {.lex_state = 156}, + [236] = {.lex_state = 197}, + [237] = {.lex_state = 197}, + [238] = {.lex_state = 247}, + [239] = {.lex_state = 247}, + [240] = {.lex_state = 247}, + [241] = {.lex_state = 259}, + [242] = {.lex_state = 259}, + [243] = {.lex_state = 108}, + [244] = {.lex_state = 130}, + [245] = {.lex_state = 253, .external_lex_state = 2}, + [246] = {.lex_state = 175}, + [247] = {.lex_state = 116}, + [248] = {.lex_state = 164, .external_lex_state = 2}, + [249] = {.lex_state = 253, .external_lex_state = 2}, + [250] = {.lex_state = 253, .external_lex_state = 2}, + [251] = {.lex_state = 255, .external_lex_state = 2}, + [252] = {.lex_state = 255, .external_lex_state = 2}, + [253] = {.lex_state = 255, .external_lex_state = 2}, + [254] = {.lex_state = 255, .external_lex_state = 2}, + [255] = {.lex_state = 234, .external_lex_state = 4}, + [256] = {.lex_state = 255, .external_lex_state = 2}, + [257] = {.lex_state = 255, .external_lex_state = 2}, + [258] = {.lex_state = 226, .external_lex_state = 2}, + [259] = {.lex_state = 253, .external_lex_state = 2}, + [260] = {.lex_state = 255, .external_lex_state = 2}, + [261] = {.lex_state = 253, .external_lex_state = 2}, + [262] = {.lex_state = 253, .external_lex_state = 2}, + [263] = {.lex_state = 255, .external_lex_state = 2}, + [264] = {.lex_state = 156}, + [265] = {.lex_state = 247}, + [266] = {.lex_state = 247}, + [267] = {.lex_state = 156}, + [268] = {.lex_state = 259}, + [269] = {.lex_state = 259}, + [270] = {.lex_state = 189, .external_lex_state = 2}, + [271] = {.lex_state = 189, .external_lex_state = 2}, + [272] = {.lex_state = 108}, + [273] = {.lex_state = 189, .external_lex_state = 2}, + [274] = {.lex_state = 195, .external_lex_state = 2}, + [275] = {.lex_state = 195, .external_lex_state = 2}, + [276] = {.lex_state = 108}, + [277] = {.lex_state = 195, .external_lex_state = 2}, + [278] = {.lex_state = 234, .external_lex_state = 4}, + [279] = {.lex_state = 234, .external_lex_state = 4}, + [280] = {.lex_state = 221}, + [281] = {.lex_state = 234, .external_lex_state = 4}, + [282] = {.lex_state = 195, .external_lex_state = 2}, + [283] = {.lex_state = 259}, + [284] = {.lex_state = 259}, + [285] = {.lex_state = 259}, + [286] = {.lex_state = 259}, + [287] = {.lex_state = 156}, + [288] = {.lex_state = 257, .external_lex_state = 2}, + [289] = {.lex_state = 160, .external_lex_state = 2}, + [290] = {.lex_state = 160, .external_lex_state = 2}, + [291] = {.lex_state = 108}, + [292] = {.lex_state = 160, .external_lex_state = 2}, + [293] = {.lex_state = 195, .external_lex_state = 2}, + [294] = {.lex_state = 195, .external_lex_state = 2}, + [295] = {.lex_state = 215, .external_lex_state = 2}, + [296] = {.lex_state = 156}, + [297] = {.lex_state = 245}, + [298] = {.lex_state = 261, .external_lex_state = 2}, + [299] = {.lex_state = 261, .external_lex_state = 2}, + [300] = {.lex_state = 156}, + [301] = {.lex_state = 247}, + [302] = {.lex_state = 247}, + [303] = {.lex_state = 172}, + [304] = {.lex_state = 172}, + [305] = {.lex_state = 255, .external_lex_state = 2}, + [306] = {.lex_state = 255, .external_lex_state = 2}, + [307] = {.lex_state = 253, .external_lex_state = 2}, + [308] = {.lex_state = 130}, + [309] = {.lex_state = 253, .external_lex_state = 2}, + [310] = {.lex_state = 253, .external_lex_state = 2}, + [311] = {.lex_state = 221}, + [312] = {.lex_state = 197}, + [313] = {.lex_state = 253, .external_lex_state = 2}, + [314] = {.lex_state = 253, .external_lex_state = 2}, + [315] = {.lex_state = 255, .external_lex_state = 2}, + [316] = {.lex_state = 255, .external_lex_state = 2}, + [317] = {.lex_state = 234, .external_lex_state = 4}, + [318] = {.lex_state = 255, .external_lex_state = 2}, + [319] = {.lex_state = 253, .external_lex_state = 2}, + [320] = {.lex_state = 253, .external_lex_state = 2}, + [321] = {.lex_state = 255, .external_lex_state = 2}, + [322] = {.lex_state = 156}, + [323] = {.lex_state = 247}, + [324] = {.lex_state = 232}, + [325] = {.lex_state = 232}, + [326] = {.lex_state = 259}, + [327] = {.lex_state = 259}, + [328] = {.lex_state = 259}, + [329] = {.lex_state = 259}, + [330] = {.lex_state = 234, .external_lex_state = 4}, + [331] = {.lex_state = 108}, + [332] = {.lex_state = 130}, + [333] = {.lex_state = 130}, + [334] = {.lex_state = 164, .external_lex_state = 2}, + [335] = {.lex_state = 164, .external_lex_state = 2}, + [336] = {.lex_state = 156}, + [337] = {.lex_state = 259}, + [338] = {.lex_state = 259}, + [339] = {.lex_state = 215, .external_lex_state = 2}, + [340] = {.lex_state = 156}, + [341] = {.lex_state = 247}, + [342] = {.lex_state = 261, .external_lex_state = 2}, + [343] = {.lex_state = 247}, + [344] = {.lex_state = 261, .external_lex_state = 2}, + [345] = {.lex_state = 156}, + [346] = {.lex_state = 253, .external_lex_state = 2}, + [347] = {.lex_state = 253, .external_lex_state = 2}, + [348] = {.lex_state = 108}, + [349] = {.lex_state = 253, .external_lex_state = 2}, + [350] = {.lex_state = 255, .external_lex_state = 2}, + [351] = {.lex_state = 255, .external_lex_state = 2}, + [352] = {.lex_state = 255, .external_lex_state = 2}, + [353] = {.lex_state = 156}, + [354] = {.lex_state = 189, .external_lex_state = 2}, + [355] = {.lex_state = 189, .external_lex_state = 2}, + [356] = {.lex_state = 195, .external_lex_state = 2}, + [357] = {.lex_state = 195, .external_lex_state = 2}, + [358] = {.lex_state = 259}, + [359] = {.lex_state = 259}, + [360] = {.lex_state = 160, .external_lex_state = 2}, + [361] = {.lex_state = 160, .external_lex_state = 2}, + [362] = {.lex_state = 247}, + [363] = {.lex_state = 247}, + [364] = {.lex_state = 259}, + [365] = {.lex_state = 259}, + [366] = {.lex_state = 234, .external_lex_state = 4}, + [367] = {.lex_state = 234, .external_lex_state = 4}, + [368] = {.lex_state = 253, .external_lex_state = 2}, + [369] = {.lex_state = 253, .external_lex_state = 2}, + [370] = {.lex_state = 156}, + [371] = {.lex_state = 215, .external_lex_state = 2}, + [372] = {.lex_state = 156}, + [373] = {.lex_state = 217}, + [374] = {.lex_state = 156}, + [375] = {.lex_state = 263, .external_lex_state = 2}, + [376] = {.lex_state = 118, .external_lex_state = 2}, + [377] = {.lex_state = 320, .external_lex_state = 5}, + [378] = {.lex_state = 325, .external_lex_state = 2}, + [379] = {.lex_state = 108}, + [380] = {.lex_state = 329, .external_lex_state = 2}, + [381] = {.lex_state = 320, .external_lex_state = 5}, + [382] = {.lex_state = 108}, + [383] = {.lex_state = 193, .external_lex_state = 3}, + [384] = {.lex_state = 334, .external_lex_state = 2}, + [385] = {.lex_state = 380, .external_lex_state = 2}, + [386] = {.lex_state = 234, .external_lex_state = 4}, + [387] = {.lex_state = 234, .external_lex_state = 4}, + [388] = {.lex_state = 380, .external_lex_state = 2}, + [389] = {.lex_state = 100}, + [390] = {.lex_state = 199, .external_lex_state = 2}, + [391] = {.lex_state = 156}, + [392] = {.lex_state = 241}, + [393] = {.lex_state = 245}, + [394] = {.lex_state = 247}, + [395] = {.lex_state = 156}, + [396] = {.lex_state = 382}, + [397] = {.lex_state = 160, .external_lex_state = 2}, + [398] = {.lex_state = 384, .external_lex_state = 2}, + [399] = {.lex_state = 320, .external_lex_state = 5}, + [400] = {.lex_state = 320, .external_lex_state = 2}, + [401] = {.lex_state = 394, .external_lex_state = 2}, + [402] = {.lex_state = 380, .external_lex_state = 2}, + [403] = {.lex_state = 380, .external_lex_state = 2}, + [404] = {.lex_state = 141, .external_lex_state = 2}, + [405] = {.lex_state = 241}, + [406] = {.lex_state = 247}, + [407] = {.lex_state = 396, .external_lex_state = 2}, + [408] = {.lex_state = 164, .external_lex_state = 2}, + [409] = {.lex_state = 380, .external_lex_state = 2}, + [410] = {.lex_state = 130}, + [411] = {.lex_state = 234, .external_lex_state = 4}, + [412] = {.lex_state = 215, .external_lex_state = 2}, + [413] = {.lex_state = 247}, + [414] = {.lex_state = 247}, + [415] = {.lex_state = 261, .external_lex_state = 2}, + [416] = {.lex_state = 398}, + [417] = {.lex_state = 100}, + [418] = {.lex_state = 400, .external_lex_state = 2}, + [419] = {.lex_state = 259}, + [420] = {.lex_state = 108}, + [421] = {.lex_state = 259}, + [422] = {.lex_state = 380, .external_lex_state = 2}, + [423] = {.lex_state = 380, .external_lex_state = 2}, + [424] = {.lex_state = 130}, + [425] = {.lex_state = 402, .external_lex_state = 2}, + [426] = {.lex_state = 175}, + [427] = {.lex_state = 116}, + [428] = {.lex_state = 164, .external_lex_state = 2}, + [429] = {.lex_state = 402, .external_lex_state = 2}, + [430] = {.lex_state = 384, .external_lex_state = 2}, + [431] = {.lex_state = 320, .external_lex_state = 5}, + [432] = {.lex_state = 320, .external_lex_state = 5}, + [433] = {.lex_state = 130}, + [434] = {.lex_state = 394, .external_lex_state = 2}, + [435] = {.lex_state = 175}, + [436] = {.lex_state = 116}, + [437] = {.lex_state = 164, .external_lex_state = 2}, + [438] = {.lex_state = 394, .external_lex_state = 2}, + [439] = {.lex_state = 217}, + [440] = {.lex_state = 156}, + [441] = {.lex_state = 380, .external_lex_state = 2}, + [442] = {.lex_state = 108}, + [443] = {.lex_state = 156}, + [444] = {.lex_state = 320, .external_lex_state = 2}, + [445] = {.lex_state = 320, .external_lex_state = 5}, + [446] = {.lex_state = 247}, + [447] = {.lex_state = 156}, + [448] = {.lex_state = 245}, + [449] = {.lex_state = 156}, + [450] = {.lex_state = 130}, + [451] = {.lex_state = 396, .external_lex_state = 2}, + [452] = {.lex_state = 175}, + [453] = {.lex_state = 116}, + [454] = {.lex_state = 164, .external_lex_state = 2}, + [455] = {.lex_state = 396, .external_lex_state = 2}, + [456] = {.lex_state = 380, .external_lex_state = 2}, + [457] = {.lex_state = 404, .external_lex_state = 2}, + [458] = {.lex_state = 130}, + [459] = {.lex_state = 408, .external_lex_state = 2}, + [460] = {.lex_state = 380, .external_lex_state = 2}, + [461] = {.lex_state = 384, .external_lex_state = 2}, + [462] = {.lex_state = 380, .external_lex_state = 2}, + [463] = {.lex_state = 108}, + [464] = {.lex_state = 130}, + [465] = {.lex_state = 400, .external_lex_state = 2}, + [466] = {.lex_state = 175}, + [467] = {.lex_state = 116}, + [468] = {.lex_state = 164, .external_lex_state = 2}, + [469] = {.lex_state = 400, .external_lex_state = 2}, + [470] = {.lex_state = 400, .external_lex_state = 2}, + [471] = {.lex_state = 380, .external_lex_state = 2}, + [472] = {.lex_state = 130}, + [473] = {.lex_state = 380, .external_lex_state = 2}, + [474] = {.lex_state = 175}, + [475] = {.lex_state = 116}, + [476] = {.lex_state = 164, .external_lex_state = 2}, + [477] = {.lex_state = 380, .external_lex_state = 2}, + [478] = {.lex_state = 320, .external_lex_state = 5}, + [479] = {.lex_state = 402, .external_lex_state = 2}, + [480] = {.lex_state = 130}, + [481] = {.lex_state = 402, .external_lex_state = 2}, + [482] = {.lex_state = 402, .external_lex_state = 2}, + [483] = {.lex_state = 221}, + [484] = {.lex_state = 197}, + [485] = {.lex_state = 394, .external_lex_state = 2}, + [486] = {.lex_state = 130}, + [487] = {.lex_state = 394, .external_lex_state = 2}, + [488] = {.lex_state = 394, .external_lex_state = 2}, + [489] = {.lex_state = 221}, + [490] = {.lex_state = 197}, + [491] = {.lex_state = 247}, + [492] = {.lex_state = 394, .external_lex_state = 2}, + [493] = {.lex_state = 394, .external_lex_state = 2}, + [494] = {.lex_state = 156}, + [495] = {.lex_state = 396, .external_lex_state = 2}, + [496] = {.lex_state = 130}, + [497] = {.lex_state = 396, .external_lex_state = 2}, + [498] = {.lex_state = 396, .external_lex_state = 2}, + [499] = {.lex_state = 221}, + [500] = {.lex_state = 197}, + [501] = {.lex_state = 400, .external_lex_state = 2}, + [502] = {.lex_state = 380, .external_lex_state = 2}, + [503] = {.lex_state = 404, .external_lex_state = 2}, + [504] = {.lex_state = 130}, + [505] = {.lex_state = 400, .external_lex_state = 2}, + [506] = {.lex_state = 380, .external_lex_state = 2}, + [507] = {.lex_state = 380, .external_lex_state = 2}, + [508] = {.lex_state = 380, .external_lex_state = 2}, + [509] = {.lex_state = 400, .external_lex_state = 2}, + [510] = {.lex_state = 130}, + [511] = {.lex_state = 400, .external_lex_state = 2}, + [512] = {.lex_state = 400, .external_lex_state = 2}, + [513] = {.lex_state = 221}, + [514] = {.lex_state = 197}, + [515] = {.lex_state = 400, .external_lex_state = 2}, + [516] = {.lex_state = 400, .external_lex_state = 2}, + [517] = {.lex_state = 380, .external_lex_state = 2}, + [518] = {.lex_state = 380, .external_lex_state = 2}, + [519] = {.lex_state = 130}, + [520] = {.lex_state = 380, .external_lex_state = 2}, + [521] = {.lex_state = 380, .external_lex_state = 2}, + [522] = {.lex_state = 221}, + [523] = {.lex_state = 197}, + [524] = {.lex_state = 402, .external_lex_state = 2}, + [525] = {.lex_state = 402, .external_lex_state = 2}, + [526] = {.lex_state = 108}, + [527] = {.lex_state = 402, .external_lex_state = 2}, + [528] = {.lex_state = 394, .external_lex_state = 2}, + [529] = {.lex_state = 394, .external_lex_state = 2}, + [530] = {.lex_state = 108}, + [531] = {.lex_state = 394, .external_lex_state = 2}, + [532] = {.lex_state = 156}, + [533] = {.lex_state = 247}, + [534] = {.lex_state = 396, .external_lex_state = 2}, + [535] = {.lex_state = 396, .external_lex_state = 2}, + [536] = {.lex_state = 108}, + [537] = {.lex_state = 396, .external_lex_state = 2}, + [538] = {.lex_state = 400, .external_lex_state = 2}, + [539] = {.lex_state = 380, .external_lex_state = 2}, + [540] = {.lex_state = 404, .external_lex_state = 2}, + [541] = {.lex_state = 400, .external_lex_state = 2}, + [542] = {.lex_state = 380, .external_lex_state = 2}, + [543] = {.lex_state = 400, .external_lex_state = 2}, + [544] = {.lex_state = 400, .external_lex_state = 2}, + [545] = {.lex_state = 108}, + [546] = {.lex_state = 400, .external_lex_state = 2}, + [547] = {.lex_state = 380, .external_lex_state = 2}, + [548] = {.lex_state = 380, .external_lex_state = 2}, + [549] = {.lex_state = 108}, + [550] = {.lex_state = 380, .external_lex_state = 2}, + [551] = {.lex_state = 259}, + [552] = {.lex_state = 259}, + [553] = {.lex_state = 259}, + [554] = {.lex_state = 259}, + [555] = {.lex_state = 156}, + [556] = {.lex_state = 259}, + [557] = {.lex_state = 259}, + [558] = {.lex_state = 380, .external_lex_state = 2}, + [559] = {.lex_state = 380, .external_lex_state = 2}, + [560] = {.lex_state = 259}, + [561] = {.lex_state = 259}, + [562] = {.lex_state = 259}, + [563] = {.lex_state = 259}, + [564] = {.lex_state = 402, .external_lex_state = 2}, + [565] = {.lex_state = 402, .external_lex_state = 2}, + [566] = {.lex_state = 394, .external_lex_state = 2}, + [567] = {.lex_state = 394, .external_lex_state = 2}, + [568] = {.lex_state = 396, .external_lex_state = 2}, + [569] = {.lex_state = 396, .external_lex_state = 2}, + [570] = {.lex_state = 400, .external_lex_state = 2}, + [571] = {.lex_state = 400, .external_lex_state = 2}, + [572] = {.lex_state = 380, .external_lex_state = 2}, + [573] = {.lex_state = 380, .external_lex_state = 2}, }; enum { @@ -7237,36 +8086,38 @@ static bool ts_external_scanner_states[6][EXTERNAL_TOKEN_COUNT] = { static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [0] = { - [sym_program] = STATE(13), - [sym__terminated_statement] = STATE(377), - [sym_while_statement] = STATE(378), - [sym_do_group] = STATE(72), - [sym_if_statement] = STATE(378), - [sym_elif_clause] = STATE(379), - [sym_else_clause] = STATE(380), - [sym_case_statement] = STATE(378), - [sym_case_item] = STATE(381), - [sym_bracket_command] = STATE(378), - [sym_command] = STATE(382), - [sym_pipeline] = STATE(378), - [sym_list] = STATE(378), - [sym_subshell] = STATE(378), - [sym_environment_variable_assignment] = STATE(383), - [sym_quoted_argument] = STATE(384), - [sym_expansion] = STATE(385), - [sym_operator_expansion] = STATE(385), - [sym_command_substitution] = STATE(386), - [sym_file_redirect] = STATE(387), - [sym_heredoc_redirect] = STATE(388), - [sym_heredoc] = STATE(389), - [aux_sym_program_repeat1] = STATE(390), - [aux_sym_if_statement_repeat1] = STATE(391), - [aux_sym_case_statement_repeat1] = STATE(392), - [aux_sym_bracket_command_repeat1] = STATE(393), - [aux_sym_command_repeat1] = STATE(394), - [aux_sym_command_repeat2] = STATE(395), - [aux_sym_quoted_argument_repeat1] = STATE(396), - [aux_sym_heredoc_repeat1] = STATE(397), + [sym_program] = STATE(14), + [sym__terminated_statement] = STATE(390), + [sym_while_statement] = STATE(391), + [sym_do_group] = STATE(75), + [sym_if_statement] = STATE(391), + [sym_elif_clause] = STATE(392), + [sym_else_clause] = STATE(393), + [sym_case_statement] = STATE(391), + [sym_case_item] = STATE(394), + [sym_function_definition] = STATE(391), + [sym_compound_command] = STATE(395), + [sym_bracket_command] = STATE(391), + [sym_command] = STATE(396), + [sym_pipeline] = STATE(391), + [sym_list] = STATE(391), + [sym_subshell] = STATE(391), + [sym_environment_variable_assignment] = STATE(397), + [sym_quoted_argument] = STATE(398), + [sym_expansion] = STATE(399), + [sym_operator_expansion] = STATE(399), + [sym_command_substitution] = STATE(400), + [sym_file_redirect] = STATE(401), + [sym_heredoc_redirect] = STATE(402), + [sym_heredoc] = STATE(403), + [aux_sym_program_repeat1] = STATE(404), + [aux_sym_if_statement_repeat1] = STATE(405), + [aux_sym_case_statement_repeat1] = STATE(406), + [aux_sym_bracket_command_repeat1] = STATE(407), + [aux_sym_command_repeat1] = STATE(408), + [aux_sym_command_repeat2] = STATE(409), + [aux_sym_quoted_argument_repeat1] = STATE(410), + [aux_sym_heredoc_repeat1] = STATE(411), [sym__simple_heredoc] = ACTIONS(1), [sym__heredoc_beginning] = ACTIONS(3), [sym__heredoc_middle] = ACTIONS(5), @@ -7285,915 +8136,896 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_in] = ACTIONS(31), [anon_sym_esac] = ACTIONS(33), [anon_sym_RPAREN] = ACTIONS(35), - [anon_sym_LBRACK] = ACTIONS(37), - [anon_sym_RBRACK] = ACTIONS(39), - [anon_sym_RBRACK_RBRACK] = ACTIONS(41), - [anon_sym_COLON] = ACTIONS(43), - [anon_sym_PIPE] = ACTIONS(45), - [anon_sym_PIPE_PIPE] = ACTIONS(47), - [anon_sym_LPAREN] = ACTIONS(49), - [anon_sym_EQ] = ACTIONS(51), - [anon_sym_DQUOTE] = ACTIONS(53), - [anon_sym_DOLLAR] = ACTIONS(55), - [anon_sym_RBRACE] = ACTIONS(57), - [anon_sym_LT] = ACTIONS(59), - [anon_sym_GT] = ACTIONS(59), - [anon_sym_GT_GT] = ACTIONS(61), - [anon_sym_LT_AMP] = ACTIONS(61), - [anon_sym_GT_AMP] = ACTIONS(61), - [anon_sym_LT_LT] = ACTIONS(63), - [anon_sym_LT_LT_DASH] = ACTIONS(65), - [sym_comment] = ACTIONS(67), - [anon_sym_SEMI] = ACTIONS(69), - [anon_sym_AMP] = ACTIONS(69), + [anon_sym_function] = ACTIONS(37), + [anon_sym_LPAREN] = ACTIONS(39), + [anon_sym_LBRACE] = ACTIONS(41), + [anon_sym_RBRACE] = ACTIONS(43), + [anon_sym_LBRACK] = ACTIONS(45), + [anon_sym_RBRACK] = ACTIONS(47), + [anon_sym_RBRACK_RBRACK] = ACTIONS(49), + [anon_sym_COLON] = ACTIONS(51), + [anon_sym_PIPE] = ACTIONS(53), + [anon_sym_PIPE_PIPE] = ACTIONS(55), + [anon_sym_EQ] = ACTIONS(57), + [anon_sym_DQUOTE] = ACTIONS(59), + [anon_sym_DOLLAR] = ACTIONS(61), + [anon_sym_LT] = ACTIONS(63), + [anon_sym_GT] = ACTIONS(63), + [anon_sym_GT_GT] = ACTIONS(65), + [anon_sym_LT_AMP] = ACTIONS(65), + [anon_sym_GT_AMP] = ACTIONS(65), + [anon_sym_LT_LT] = ACTIONS(67), + [anon_sym_LT_LT_DASH] = ACTIONS(69), + [sym_comment] = ACTIONS(71), + [anon_sym_SEMI] = ACTIONS(73), + [anon_sym_AMP] = ACTIONS(73), }, [1] = { - [sym_program] = STATE(13), - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(18), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [ts_builtin_sym_end] = ACTIONS(73), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), + [sym_program] = STATE(14), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(19), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [ts_builtin_sym_end] = ACTIONS(77), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [2] = { - [anon_sym_LT] = ACTIONS(97), - [anon_sym_GT] = ACTIONS(97), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), [anon_sym_GT_GT] = ACTIONS(99), - [anon_sym_AMP_GT] = ACTIONS(97), + [anon_sym_AMP_GT] = ACTIONS(99), [anon_sym_AMP_GT_GT] = ACTIONS(99), [anon_sym_LT_AMP] = ACTIONS(99), [anon_sym_GT_AMP] = ACTIONS(99), - [sym_comment] = ACTIONS(67), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [2] = { + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(105), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(105), + [anon_sym_LT_AMP] = ACTIONS(105), + [anon_sym_GT_AMP] = ACTIONS(105), + [sym_comment] = ACTIONS(71), }, [3] = { - [sym__terminated_statement] = STATE(21), - [sym_while_statement] = STATE(22), - [sym_if_statement] = STATE(22), - [sym_case_statement] = STATE(22), - [sym_bracket_command] = STATE(22), - [sym_command] = STATE(22), - [sym_pipeline] = STATE(22), - [sym_list] = STATE(22), - [sym_subshell] = STATE(22), - [sym_environment_variable_assignment] = STATE(23), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), + [sym__terminated_statement] = STATE(22), + [sym_while_statement] = STATE(23), + [sym_if_statement] = STATE(23), + [sym_case_statement] = STATE(23), + [sym_function_definition] = STATE(23), + [sym_bracket_command] = STATE(23), + [sym_command] = STATE(23), + [sym_pipeline] = STATE(23), + [sym_list] = STATE(23), + [sym_subshell] = STATE(23), + [sym_environment_variable_assignment] = STATE(24), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [4] = { - [sym__terminated_statement] = STATE(24), - [sym_while_statement] = STATE(22), - [sym_if_statement] = STATE(22), - [sym_case_statement] = STATE(22), - [sym_bracket_command] = STATE(22), - [sym_command] = STATE(22), - [sym_pipeline] = STATE(22), - [sym_list] = STATE(22), - [sym_subshell] = STATE(22), - [sym_environment_variable_assignment] = STATE(23), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), + [sym__terminated_statement] = STATE(25), + [sym_while_statement] = STATE(23), + [sym_if_statement] = STATE(23), + [sym_case_statement] = STATE(23), + [sym_function_definition] = STATE(23), + [sym_bracket_command] = STATE(23), + [sym_command] = STATE(23), + [sym_pipeline] = STATE(23), + [sym_list] = STATE(23), + [sym_subshell] = STATE(23), + [sym_environment_variable_assignment] = STATE(24), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [5] = { - [sym_quoted_argument] = STATE(26), - [sym_expansion] = STATE(26), - [sym_operator_expansion] = STATE(26), - [sym_command_substitution] = STATE(26), - [anon_sym_DQUOTE] = ACTIONS(101), - [sym_single_quoted_argument] = ACTIONS(103), - [anon_sym_DOLLAR] = ACTIONS(105), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [sym_word] = ACTIONS(111), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(27), + [sym_expansion] = STATE(27), + [sym_operator_expansion] = STATE(27), + [sym_command_substitution] = STATE(27), + [anon_sym_DQUOTE] = ACTIONS(107), + [sym_single_quoted_argument] = ACTIONS(109), + [anon_sym_DOLLAR] = ACTIONS(111), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(113), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(115), + [sym_word] = ACTIONS(117), + [sym_comment] = ACTIONS(71), }, [6] = { - [sym_quoted_argument] = STATE(32), - [sym_expansion] = STATE(32), - [sym_operator_expansion] = STATE(32), - [sym_command_substitution] = STATE(32), - [aux_sym_bracket_command_repeat1] = STATE(37), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(115), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(123), - [sym_comment] = ACTIONS(67), + [sym_leading_word] = ACTIONS(119), + [sym_comment] = ACTIONS(71), }, [7] = { - [sym_quoted_argument] = STATE(32), - [sym_expansion] = STATE(32), - [sym_operator_expansion] = STATE(32), - [sym_command_substitution] = STATE(32), - [aux_sym_bracket_command_repeat1] = STATE(38), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(115), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(123), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(34), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_RPAREN] = ACTIONS(121), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [8] = { - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(44), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(127), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(129), - [anon_sym_PIPE] = ACTIONS(127), - [anon_sym_PIPE_AMP] = ACTIONS(127), - [anon_sym_AMP_AMP] = ACTIONS(127), - [anon_sym_PIPE_PIPE] = ACTIONS(127), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(127), - [anon_sym_LF] = ACTIONS(127), - [anon_sym_AMP] = ACTIONS(127), + [sym_quoted_argument] = STATE(36), + [sym_expansion] = STATE(36), + [sym_operator_expansion] = STATE(36), + [sym_command_substitution] = STATE(36), + [aux_sym_bracket_command_repeat1] = STATE(41), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(125), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(133), + [sym_comment] = ACTIONS(71), }, [9] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(46), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_RPAREN] = ACTIONS(137), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(36), + [sym_expansion] = STATE(36), + [sym_operator_expansion] = STATE(36), + [sym_command_substitution] = STATE(36), + [aux_sym_bracket_command_repeat1] = STATE(42), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(125), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(133), + [sym_comment] = ACTIONS(71), }, [10] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(52), - [anon_sym_DQUOTE] = ACTIONS(139), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(48), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(137), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(139), + [anon_sym_PIPE] = ACTIONS(137), + [anon_sym_PIPE_AMP] = ACTIONS(137), + [anon_sym_AMP_AMP] = ACTIONS(137), + [anon_sym_PIPE_PIPE] = ACTIONS(137), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(137), + [anon_sym_LF] = ACTIONS(137), + [anon_sym_AMP] = ACTIONS(137), }, [11] = { - [sym_quoted_argument] = STATE(54), - [sym_expansion] = STATE(54), - [sym_operator_expansion] = STATE(54), - [sym_command_substitution] = STATE(54), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_single_quoted_argument] = ACTIONS(151), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [sym_word] = ACTIONS(159), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(54), + [anon_sym_DQUOTE] = ACTIONS(147), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [12] = { - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(61), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(161), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(163), - [anon_sym_PIPE] = ACTIONS(161), - [anon_sym_PIPE_AMP] = ACTIONS(161), - [anon_sym_AMP_AMP] = ACTIONS(161), - [anon_sym_PIPE_PIPE] = ACTIONS(161), - [anon_sym_EQ] = ACTIONS(165), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(161), - [anon_sym_LF] = ACTIONS(161), - [anon_sym_AMP] = ACTIONS(161), + [sym_quoted_argument] = STATE(56), + [sym_expansion] = STATE(56), + [sym_operator_expansion] = STATE(56), + [sym_command_substitution] = STATE(56), + [anon_sym_DQUOTE] = ACTIONS(157), + [sym_single_quoted_argument] = ACTIONS(159), + [anon_sym_DOLLAR] = ACTIONS(161), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(163), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(165), + [sym_word] = ACTIONS(167), + [sym_comment] = ACTIONS(71), }, [13] = { - [ts_builtin_sym_end] = ACTIONS(167), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(64), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(169), + [anon_sym_LPAREN] = ACTIONS(171), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(173), + [anon_sym_PIPE] = ACTIONS(169), + [anon_sym_PIPE_AMP] = ACTIONS(169), + [anon_sym_AMP_AMP] = ACTIONS(169), + [anon_sym_PIPE_PIPE] = ACTIONS(169), + [anon_sym_EQ] = ACTIONS(175), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(169), + [anon_sym_LF] = ACTIONS(169), + [anon_sym_AMP] = ACTIONS(169), }, [14] = { - [sym_file_descriptor] = ACTIONS(169), - [ts_builtin_sym_end] = ACTIONS(169), - [anon_sym_while] = ACTIONS(171), - [anon_sym_done] = ACTIONS(171), - [anon_sym_if] = ACTIONS(171), - [anon_sym_fi] = ACTIONS(171), - [anon_sym_elif] = ACTIONS(171), - [anon_sym_else] = ACTIONS(171), - [anon_sym_case] = ACTIONS(171), - [anon_sym_RPAREN] = ACTIONS(169), - [anon_sym_SEMI_SEMI] = ACTIONS(169), - [anon_sym_LBRACK] = ACTIONS(171), - [anon_sym_LBRACK_LBRACK] = ACTIONS(171), - [anon_sym_COLON] = ACTIONS(169), - [anon_sym_LPAREN] = ACTIONS(169), - [anon_sym_DQUOTE] = ACTIONS(169), - [sym_single_quoted_argument] = ACTIONS(171), - [anon_sym_LT] = ACTIONS(171), - [anon_sym_GT] = ACTIONS(171), - [anon_sym_GT_GT] = ACTIONS(171), - [anon_sym_AMP_GT] = ACTIONS(171), - [anon_sym_AMP_GT_GT] = ACTIONS(171), - [anon_sym_LT_AMP] = ACTIONS(171), - [anon_sym_GT_AMP] = ACTIONS(171), - [sym_leading_word] = ACTIONS(173), - [sym_comment] = ACTIONS(67), + [ts_builtin_sym_end] = ACTIONS(177), + [sym_comment] = ACTIONS(71), }, [15] = { - [anon_sym_SEMI_SEMI] = ACTIONS(175), - [anon_sym_PIPE] = ACTIONS(177), - [anon_sym_PIPE_AMP] = ACTIONS(177), - [anon_sym_AMP_AMP] = ACTIONS(179), - [anon_sym_PIPE_PIPE] = ACTIONS(179), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(175), - [anon_sym_LF] = ACTIONS(175), - [anon_sym_AMP] = ACTIONS(175), + [sym_file_descriptor] = ACTIONS(179), + [ts_builtin_sym_end] = ACTIONS(179), + [anon_sym_while] = ACTIONS(181), + [anon_sym_done] = ACTIONS(181), + [anon_sym_if] = ACTIONS(181), + [anon_sym_fi] = ACTIONS(181), + [anon_sym_elif] = ACTIONS(181), + [anon_sym_else] = ACTIONS(181), + [anon_sym_case] = ACTIONS(181), + [anon_sym_RPAREN] = ACTIONS(179), + [anon_sym_SEMI_SEMI] = ACTIONS(179), + [anon_sym_function] = ACTIONS(181), + [anon_sym_LPAREN] = ACTIONS(179), + [anon_sym_RBRACE] = ACTIONS(179), + [anon_sym_LBRACK] = ACTIONS(181), + [anon_sym_LBRACK_LBRACK] = ACTIONS(181), + [anon_sym_COLON] = ACTIONS(179), + [anon_sym_DQUOTE] = ACTIONS(179), + [sym_single_quoted_argument] = ACTIONS(181), + [anon_sym_LT] = ACTIONS(181), + [anon_sym_GT] = ACTIONS(181), + [anon_sym_GT_GT] = ACTIONS(181), + [anon_sym_AMP_GT] = ACTIONS(181), + [anon_sym_AMP_GT_GT] = ACTIONS(181), + [anon_sym_LT_AMP] = ACTIONS(181), + [anon_sym_GT_AMP] = ACTIONS(181), + [sym_leading_word] = ACTIONS(183), + [sym_comment] = ACTIONS(71), }, [16] = { - [sym_file_descriptor] = ACTIONS(181), - [anon_sym_SEMI_SEMI] = ACTIONS(175), - [anon_sym_COLON] = ACTIONS(183), - [anon_sym_PIPE] = ACTIONS(177), - [anon_sym_PIPE_AMP] = ACTIONS(177), - [anon_sym_AMP_AMP] = ACTIONS(179), - [anon_sym_PIPE_PIPE] = ACTIONS(179), - [anon_sym_DQUOTE] = ACTIONS(183), - [sym_single_quoted_argument] = ACTIONS(183), - [anon_sym_LT] = ACTIONS(183), - [anon_sym_GT] = ACTIONS(183), - [anon_sym_GT_GT] = ACTIONS(183), - [anon_sym_AMP_GT] = ACTIONS(183), - [anon_sym_AMP_GT_GT] = ACTIONS(183), - [anon_sym_LT_AMP] = ACTIONS(183), - [anon_sym_GT_AMP] = ACTIONS(183), - [sym_leading_word] = ACTIONS(183), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(175), - [anon_sym_LF] = ACTIONS(175), - [anon_sym_AMP] = ACTIONS(175), + [anon_sym_SEMI_SEMI] = ACTIONS(185), + [anon_sym_PIPE] = ACTIONS(187), + [anon_sym_PIPE_AMP] = ACTIONS(187), + [anon_sym_AMP_AMP] = ACTIONS(189), + [anon_sym_PIPE_PIPE] = ACTIONS(189), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(185), + [anon_sym_LF] = ACTIONS(185), + [anon_sym_AMP] = ACTIONS(185), }, [17] = { - [sym_file_descriptor] = ACTIONS(181), - [anon_sym_COLON] = ACTIONS(181), - [anon_sym_DQUOTE] = ACTIONS(181), - [sym_single_quoted_argument] = ACTIONS(185), - [anon_sym_LT] = ACTIONS(185), - [anon_sym_GT] = ACTIONS(185), - [anon_sym_GT_GT] = ACTIONS(185), - [anon_sym_AMP_GT] = ACTIONS(185), - [anon_sym_AMP_GT_GT] = ACTIONS(185), - [anon_sym_LT_AMP] = ACTIONS(185), - [anon_sym_GT_AMP] = ACTIONS(185), - [sym_leading_word] = ACTIONS(183), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(191), + [anon_sym_SEMI_SEMI] = ACTIONS(185), + [anon_sym_COLON] = ACTIONS(193), + [anon_sym_PIPE] = ACTIONS(187), + [anon_sym_PIPE_AMP] = ACTIONS(187), + [anon_sym_AMP_AMP] = ACTIONS(189), + [anon_sym_PIPE_PIPE] = ACTIONS(189), + [anon_sym_DQUOTE] = ACTIONS(193), + [sym_single_quoted_argument] = ACTIONS(193), + [anon_sym_LT] = ACTIONS(193), + [anon_sym_GT] = ACTIONS(193), + [anon_sym_GT_GT] = ACTIONS(193), + [anon_sym_AMP_GT] = ACTIONS(193), + [anon_sym_AMP_GT_GT] = ACTIONS(193), + [anon_sym_LT_AMP] = ACTIONS(193), + [anon_sym_GT_AMP] = ACTIONS(193), + [sym_leading_word] = ACTIONS(193), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(185), + [anon_sym_LF] = ACTIONS(185), + [anon_sym_AMP] = ACTIONS(185), }, [18] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [ts_builtin_sym_end] = ACTIONS(187), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(191), + [anon_sym_COLON] = ACTIONS(191), + [anon_sym_DQUOTE] = ACTIONS(191), + [sym_single_quoted_argument] = ACTIONS(195), + [anon_sym_LT] = ACTIONS(195), + [anon_sym_GT] = ACTIONS(195), + [anon_sym_GT_GT] = ACTIONS(195), + [anon_sym_AMP_GT] = ACTIONS(195), + [anon_sym_AMP_GT_GT] = ACTIONS(195), + [anon_sym_LT_AMP] = ACTIONS(195), + [anon_sym_GT_AMP] = ACTIONS(195), + [sym_leading_word] = ACTIONS(193), + [sym_comment] = ACTIONS(71), }, [19] = { - [sym_environment_variable_assignment] = STATE(68), - [sym_quoted_argument] = STATE(66), - [sym_file_redirect] = STATE(68), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(189), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(191), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(193), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [ts_builtin_sym_end] = ACTIONS(197), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [20] = { + [sym_environment_variable_assignment] = STATE(71), [sym_quoted_argument] = STATE(69), - [sym_expansion] = STATE(69), - [sym_operator_expansion] = STATE(69), - [sym_command_substitution] = STATE(69), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_single_quoted_argument] = ACTIONS(195), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [sym_word] = ACTIONS(197), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(71), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(199), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(201), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(203), + [sym_comment] = ACTIONS(71), }, [21] = { - [sym_do_group] = STATE(72), - [anon_sym_do] = ACTIONS(199), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(72), + [sym_expansion] = STATE(72), + [sym_operator_expansion] = STATE(72), + [sym_command_substitution] = STATE(72), + [anon_sym_DQUOTE] = ACTIONS(157), + [sym_single_quoted_argument] = ACTIONS(205), + [anon_sym_DOLLAR] = ACTIONS(161), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(163), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(165), + [sym_word] = ACTIONS(207), + [sym_comment] = ACTIONS(71), }, [22] = { - [anon_sym_SEMI_SEMI] = ACTIONS(201), - [anon_sym_PIPE] = ACTIONS(177), - [anon_sym_PIPE_AMP] = ACTIONS(177), - [anon_sym_AMP_AMP] = ACTIONS(179), - [anon_sym_PIPE_PIPE] = ACTIONS(179), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(201), - [anon_sym_LF] = ACTIONS(201), - [anon_sym_AMP] = ACTIONS(201), + [sym_do_group] = STATE(75), + [anon_sym_do] = ACTIONS(209), + [sym_comment] = ACTIONS(71), }, [23] = { - [sym_file_descriptor] = ACTIONS(181), - [anon_sym_SEMI_SEMI] = ACTIONS(201), - [anon_sym_COLON] = ACTIONS(183), - [anon_sym_PIPE] = ACTIONS(177), - [anon_sym_PIPE_AMP] = ACTIONS(177), - [anon_sym_AMP_AMP] = ACTIONS(179), - [anon_sym_PIPE_PIPE] = ACTIONS(179), - [anon_sym_DQUOTE] = ACTIONS(183), - [sym_single_quoted_argument] = ACTIONS(183), - [anon_sym_LT] = ACTIONS(183), - [anon_sym_GT] = ACTIONS(183), - [anon_sym_GT_GT] = ACTIONS(183), - [anon_sym_AMP_GT] = ACTIONS(183), - [anon_sym_AMP_GT_GT] = ACTIONS(183), - [anon_sym_LT_AMP] = ACTIONS(183), - [anon_sym_GT_AMP] = ACTIONS(183), - [sym_leading_word] = ACTIONS(183), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(201), - [anon_sym_LF] = ACTIONS(201), - [anon_sym_AMP] = ACTIONS(201), + [anon_sym_SEMI_SEMI] = ACTIONS(211), + [anon_sym_PIPE] = ACTIONS(187), + [anon_sym_PIPE_AMP] = ACTIONS(187), + [anon_sym_AMP_AMP] = ACTIONS(189), + [anon_sym_PIPE_PIPE] = ACTIONS(189), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(211), + [anon_sym_LF] = ACTIONS(211), + [anon_sym_AMP] = ACTIONS(211), }, [24] = { - [anon_sym_then] = ACTIONS(203), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(191), + [anon_sym_SEMI_SEMI] = ACTIONS(211), + [anon_sym_COLON] = ACTIONS(193), + [anon_sym_PIPE] = ACTIONS(187), + [anon_sym_PIPE_AMP] = ACTIONS(187), + [anon_sym_AMP_AMP] = ACTIONS(189), + [anon_sym_PIPE_PIPE] = ACTIONS(189), + [anon_sym_DQUOTE] = ACTIONS(193), + [sym_single_quoted_argument] = ACTIONS(193), + [anon_sym_LT] = ACTIONS(193), + [anon_sym_GT] = ACTIONS(193), + [anon_sym_GT_GT] = ACTIONS(193), + [anon_sym_AMP_GT] = ACTIONS(193), + [anon_sym_AMP_GT_GT] = ACTIONS(193), + [anon_sym_LT_AMP] = ACTIONS(193), + [anon_sym_GT_AMP] = ACTIONS(193), + [sym_leading_word] = ACTIONS(193), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(211), + [anon_sym_LF] = ACTIONS(211), + [anon_sym_AMP] = ACTIONS(211), }, [25] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(76), - [anon_sym_DQUOTE] = ACTIONS(205), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_then] = ACTIONS(213), + [sym_comment] = ACTIONS(71), }, [26] = { - [anon_sym_in] = ACTIONS(207), - [anon_sym_SEMI_SEMI] = ACTIONS(209), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(209), - [anon_sym_LF] = ACTIONS(209), - [anon_sym_AMP] = ACTIONS(209), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(79), + [anon_sym_DQUOTE] = ACTIONS(215), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [27] = { - [anon_sym_DOLLAR] = ACTIONS(211), - [sym_word] = ACTIONS(213), - [sym_comment] = ACTIONS(67), + [anon_sym_in] = ACTIONS(217), + [anon_sym_SEMI_SEMI] = ACTIONS(219), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(219), + [anon_sym_LF] = ACTIONS(219), + [anon_sym_AMP] = ACTIONS(219), }, [28] = { - [sym_leading_word] = ACTIONS(215), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR] = ACTIONS(221), + [sym_word] = ACTIONS(223), + [sym_comment] = ACTIONS(71), }, [29] = { - [sym_command] = STATE(85), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [sym_leading_word] = ACTIONS(225), + [sym_comment] = ACTIONS(71), }, [30] = { - [anon_sym_in] = ACTIONS(225), - [anon_sym_SEMI_SEMI] = ACTIONS(227), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(227), - [anon_sym_LF] = ACTIONS(227), - [anon_sym_AMP] = ACTIONS(227), + [sym_command] = STATE(88), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [31] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(90), - [anon_sym_DQUOTE] = ACTIONS(229), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_in] = ACTIONS(235), + [anon_sym_SEMI_SEMI] = ACTIONS(237), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(237), + [anon_sym_LF] = ACTIONS(237), + [anon_sym_AMP] = ACTIONS(237), }, [32] = { - [anon_sym_RBRACK] = ACTIONS(231), - [anon_sym_RBRACK_RBRACK] = ACTIONS(231), - [anon_sym_DQUOTE] = ACTIONS(233), - [sym_single_quoted_argument] = ACTIONS(231), - [anon_sym_DOLLAR] = ACTIONS(231), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(233), - [sym_word] = ACTIONS(235), - [sym_comment] = ACTIONS(67), + [anon_sym_LPAREN] = ACTIONS(239), + [sym_comment] = ACTIONS(71), }, [33] = { - [anon_sym_DOLLAR] = ACTIONS(237), - [sym_word] = ACTIONS(239), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(241), + [anon_sym_PIPE] = ACTIONS(241), + [anon_sym_PIPE_AMP] = ACTIONS(241), + [anon_sym_AMP_AMP] = ACTIONS(241), + [anon_sym_PIPE_PIPE] = ACTIONS(241), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(241), + [anon_sym_LF] = ACTIONS(241), + [anon_sym_AMP] = ACTIONS(241), }, [34] = { - [sym_leading_word] = ACTIONS(241), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_RPAREN] = ACTIONS(243), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [35] = { - [sym_command] = STATE(94), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(95), + [anon_sym_DQUOTE] = ACTIONS(245), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [36] = { - [anon_sym_RBRACK] = ACTIONS(243), - [anon_sym_RBRACK_RBRACK] = ACTIONS(243), - [anon_sym_DQUOTE] = ACTIONS(245), - [sym_single_quoted_argument] = ACTIONS(243), - [anon_sym_DOLLAR] = ACTIONS(243), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(245), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(245), - [sym_word] = ACTIONS(247), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACK] = ACTIONS(247), + [anon_sym_RBRACK_RBRACK] = ACTIONS(247), + [anon_sym_DQUOTE] = ACTIONS(249), + [sym_single_quoted_argument] = ACTIONS(247), + [anon_sym_DOLLAR] = ACTIONS(247), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(249), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(249), + [sym_word] = ACTIONS(251), + [sym_comment] = ACTIONS(71), }, [37] = { - [sym_quoted_argument] = STATE(96), - [sym_expansion] = STATE(96), - [sym_operator_expansion] = STATE(96), - [sym_command_substitution] = STATE(96), - [anon_sym_RBRACK] = ACTIONS(249), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(251), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(253), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR] = ACTIONS(253), + [sym_word] = ACTIONS(255), + [sym_comment] = ACTIONS(71), }, [38] = { - [sym_quoted_argument] = STATE(96), - [sym_expansion] = STATE(96), - [sym_operator_expansion] = STATE(96), - [sym_command_substitution] = STATE(96), - [anon_sym_RBRACK_RBRACK] = ACTIONS(249), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(251), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(253), - [sym_comment] = ACTIONS(67), + [sym_leading_word] = ACTIONS(257), + [sym_comment] = ACTIONS(71), }, [39] = { - [anon_sym_LT] = ACTIONS(255), - [anon_sym_GT] = ACTIONS(255), - [anon_sym_GT_GT] = ACTIONS(257), - [anon_sym_AMP_GT] = ACTIONS(255), - [anon_sym_AMP_GT_GT] = ACTIONS(257), - [anon_sym_LT_AMP] = ACTIONS(257), - [anon_sym_GT_AMP] = ACTIONS(257), - [sym_comment] = ACTIONS(67), + [sym_command] = STATE(99), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [40] = { - [sym_quoted_argument] = STATE(100), - [sym_expansion] = STATE(100), - [sym_operator_expansion] = STATE(100), - [sym_command_substitution] = STATE(100), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_bracket_command_repeat1] = STATE(105), - [aux_sym_command_repeat2] = STATE(106), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(259), - [anon_sym_PIPE_AMP] = ACTIONS(259), - [anon_sym_AMP_AMP] = ACTIONS(259), - [anon_sym_PIPE_PIPE] = ACTIONS(259), + [anon_sym_RBRACK] = ACTIONS(259), + [anon_sym_RBRACK_RBRACK] = ACTIONS(259), [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(263), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(271), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(259), - [anon_sym_LF] = ACTIONS(259), - [anon_sym_AMP] = ACTIONS(259), + [sym_single_quoted_argument] = ACTIONS(259), + [anon_sym_DOLLAR] = ACTIONS(259), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [sym_word] = ACTIONS(263), + [sym_comment] = ACTIONS(71), }, [41] = { - [sym_quoted_argument] = STATE(108), - [sym_expansion] = STATE(108), - [sym_operator_expansion] = STATE(108), - [sym_command_substitution] = STATE(108), - [anon_sym_DQUOTE] = ACTIONS(273), - [sym_single_quoted_argument] = ACTIONS(275), - [anon_sym_DOLLAR] = ACTIONS(277), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(279), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(281), - [sym_word] = ACTIONS(283), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(101), + [sym_expansion] = STATE(101), + [sym_operator_expansion] = STATE(101), + [sym_command_substitution] = STATE(101), + [anon_sym_RBRACK] = ACTIONS(265), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(267), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(269), + [sym_comment] = ACTIONS(71), }, [42] = { - [sym_heredoc] = STATE(115), - [sym__simple_heredoc] = ACTIONS(285), - [sym__heredoc_beginning] = ACTIONS(287), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(101), + [sym_expansion] = STATE(101), + [sym_operator_expansion] = STATE(101), + [sym_command_substitution] = STATE(101), + [anon_sym_RBRACK_RBRACK] = ACTIONS(265), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(267), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(269), + [sym_comment] = ACTIONS(71), }, [43] = { - [sym_file_descriptor] = ACTIONS(289), - [anon_sym_SEMI_SEMI] = ACTIONS(291), - [anon_sym_PIPE] = ACTIONS(291), - [anon_sym_PIPE_AMP] = ACTIONS(291), - [anon_sym_AMP_AMP] = ACTIONS(291), - [anon_sym_PIPE_PIPE] = ACTIONS(291), - [anon_sym_LT] = ACTIONS(291), - [anon_sym_GT] = ACTIONS(291), - [anon_sym_GT_GT] = ACTIONS(291), - [anon_sym_AMP_GT] = ACTIONS(291), - [anon_sym_AMP_GT_GT] = ACTIONS(291), - [anon_sym_LT_AMP] = ACTIONS(291), - [anon_sym_GT_AMP] = ACTIONS(291), - [anon_sym_LT_LT] = ACTIONS(291), - [anon_sym_LT_LT_DASH] = ACTIONS(291), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(291), - [anon_sym_LF] = ACTIONS(291), - [anon_sym_AMP] = ACTIONS(291), + [anon_sym_LT] = ACTIONS(271), + [anon_sym_GT] = ACTIONS(271), + [anon_sym_GT_GT] = ACTIONS(273), + [anon_sym_AMP_GT] = ACTIONS(271), + [anon_sym_AMP_GT_GT] = ACTIONS(273), + [anon_sym_LT_AMP] = ACTIONS(273), + [anon_sym_GT_AMP] = ACTIONS(273), + [sym_comment] = ACTIONS(71), }, [44] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(259), - [anon_sym_PIPE_AMP] = ACTIONS(259), - [anon_sym_AMP_AMP] = ACTIONS(259), - [anon_sym_PIPE_PIPE] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(259), - [anon_sym_LF] = ACTIONS(259), - [anon_sym_AMP] = ACTIONS(259), + [sym_quoted_argument] = STATE(105), + [sym_expansion] = STATE(105), + [sym_operator_expansion] = STATE(105), + [sym_command_substitution] = STATE(105), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_bracket_command_repeat1] = STATE(110), + [aux_sym_command_repeat2] = STATE(111), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(275), + [anon_sym_PIPE] = ACTIONS(275), + [anon_sym_PIPE_AMP] = ACTIONS(275), + [anon_sym_AMP_AMP] = ACTIONS(275), + [anon_sym_PIPE_PIPE] = ACTIONS(275), + [anon_sym_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(279), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(287), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(275), + [anon_sym_LF] = ACTIONS(275), + [anon_sym_AMP] = ACTIONS(275), }, [45] = { - [anon_sym_SEMI_SEMI] = ACTIONS(293), - [anon_sym_PIPE] = ACTIONS(293), - [anon_sym_PIPE_AMP] = ACTIONS(293), - [anon_sym_AMP_AMP] = ACTIONS(293), - [anon_sym_PIPE_PIPE] = ACTIONS(293), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(293), - [anon_sym_LF] = ACTIONS(293), - [anon_sym_AMP] = ACTIONS(293), + [sym_quoted_argument] = STATE(113), + [sym_expansion] = STATE(113), + [sym_operator_expansion] = STATE(113), + [sym_command_substitution] = STATE(113), + [anon_sym_DQUOTE] = ACTIONS(289), + [sym_single_quoted_argument] = ACTIONS(291), + [anon_sym_DOLLAR] = ACTIONS(293), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(295), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(297), + [sym_word] = ACTIONS(299), + [sym_comment] = ACTIONS(71), }, [46] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_RPAREN] = ACTIONS(295), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_heredoc] = STATE(120), + [sym__simple_heredoc] = ACTIONS(301), + [sym__heredoc_beginning] = ACTIONS(303), + [sym_comment] = ACTIONS(71), }, [47] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), + [sym_file_descriptor] = ACTIONS(305), + [anon_sym_SEMI_SEMI] = ACTIONS(307), + [anon_sym_PIPE] = ACTIONS(307), + [anon_sym_PIPE_AMP] = ACTIONS(307), + [anon_sym_AMP_AMP] = ACTIONS(307), + [anon_sym_PIPE_PIPE] = ACTIONS(307), + [anon_sym_LT] = ACTIONS(307), + [anon_sym_GT] = ACTIONS(307), + [anon_sym_GT_GT] = ACTIONS(307), + [anon_sym_AMP_GT] = ACTIONS(307), + [anon_sym_AMP_GT_GT] = ACTIONS(307), + [anon_sym_LT_AMP] = ACTIONS(307), + [anon_sym_GT_AMP] = ACTIONS(307), + [anon_sym_LT_LT] = ACTIONS(307), + [anon_sym_LT_LT_DASH] = ACTIONS(307), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(307), + [anon_sym_LF] = ACTIONS(307), + [anon_sym_AMP] = ACTIONS(307), }, [48] = { - [anon_sym_DQUOTE] = ACTIONS(301), - [sym__quoted_chars] = ACTIONS(303), - [anon_sym_DOLLAR] = ACTIONS(301), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(301), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(301), - [sym_comment] = ACTIONS(135), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(275), + [anon_sym_PIPE] = ACTIONS(275), + [anon_sym_PIPE_AMP] = ACTIONS(275), + [anon_sym_AMP_AMP] = ACTIONS(275), + [anon_sym_PIPE_PIPE] = ACTIONS(275), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(275), + [anon_sym_LF] = ACTIONS(275), + [anon_sym_AMP] = ACTIONS(275), }, [49] = { - [anon_sym_DOLLAR] = ACTIONS(305), - [sym_word] = ACTIONS(307), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [50] = { - [sym_leading_word] = ACTIONS(309), - [sym_comment] = ACTIONS(67), + [anon_sym_DQUOTE] = ACTIONS(313), + [sym__quoted_chars] = ACTIONS(315), + [anon_sym_DOLLAR] = ACTIONS(313), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(313), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(313), + [sym_comment] = ACTIONS(145), }, [51] = { - [sym_command] = STATE(121), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR] = ACTIONS(317), + [sym_word] = ACTIONS(319), + [sym_comment] = ACTIONS(71), }, [52] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(311), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_leading_word] = ACTIONS(321), + [sym_comment] = ACTIONS(71), }, [53] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(125), - [anon_sym_DQUOTE] = ACTIONS(315), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_command] = STATE(125), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [54] = { - [sym_file_descriptor] = ACTIONS(317), - [anon_sym_COLON] = ACTIONS(317), - [anon_sym_DQUOTE] = ACTIONS(317), - [sym_single_quoted_argument] = ACTIONS(319), - [anon_sym_LT] = ACTIONS(319), - [anon_sym_GT] = ACTIONS(319), - [anon_sym_GT_GT] = ACTIONS(319), - [anon_sym_AMP_GT] = ACTIONS(319), - [anon_sym_AMP_GT_GT] = ACTIONS(319), - [anon_sym_LT_AMP] = ACTIONS(319), - [anon_sym_GT_AMP] = ACTIONS(319), - [sym_leading_word] = ACTIONS(321), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(323), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [55] = { - [anon_sym_DOLLAR] = ACTIONS(323), - [sym_word] = ACTIONS(325), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(129), + [anon_sym_DQUOTE] = ACTIONS(327), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [56] = { - [sym_leading_word] = ACTIONS(327), - [sym_comment] = ACTIONS(67), - }, - [57] = { - [sym_command] = STATE(129), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), - }, - [58] = { [sym_file_descriptor] = ACTIONS(329), [anon_sym_COLON] = ACTIONS(329), [anon_sym_DQUOTE] = ACTIONS(329), @@ -8206,256 +9038,246 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LT_AMP] = ACTIONS(331), [anon_sym_GT_AMP] = ACTIONS(331), [sym_leading_word] = ACTIONS(333), - [sym_comment] = ACTIONS(67), + [sym_comment] = ACTIONS(71), + }, + [57] = { + [anon_sym_DOLLAR] = ACTIONS(335), + [sym_word] = ACTIONS(337), + [sym_comment] = ACTIONS(71), + }, + [58] = { + [sym_leading_word] = ACTIONS(339), + [sym_comment] = ACTIONS(71), }, [59] = { - [sym_quoted_argument] = STATE(100), - [sym_expansion] = STATE(100), - [sym_operator_expansion] = STATE(100), - [sym_command_substitution] = STATE(100), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_bracket_command_repeat1] = STATE(130), - [aux_sym_command_repeat2] = STATE(131), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(335), - [anon_sym_PIPE] = ACTIONS(335), - [anon_sym_PIPE_AMP] = ACTIONS(335), - [anon_sym_AMP_AMP] = ACTIONS(335), - [anon_sym_PIPE_PIPE] = ACTIONS(335), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(263), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(271), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(335), - [anon_sym_LF] = ACTIONS(335), - [anon_sym_AMP] = ACTIONS(335), + [sym_command] = STATE(133), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [60] = { - [sym_quoted_argument] = STATE(133), - [sym_expansion] = STATE(133), - [sym_operator_expansion] = STATE(133), - [sym_command_substitution] = STATE(133), - [anon_sym_DQUOTE] = ACTIONS(337), - [sym_single_quoted_argument] = ACTIONS(339), - [anon_sym_DOLLAR] = ACTIONS(341), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(343), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(345), - [sym_word] = ACTIONS(347), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(341), + [anon_sym_COLON] = ACTIONS(341), + [anon_sym_DQUOTE] = ACTIONS(341), + [sym_single_quoted_argument] = ACTIONS(343), + [anon_sym_LT] = ACTIONS(343), + [anon_sym_GT] = ACTIONS(343), + [anon_sym_GT_GT] = ACTIONS(343), + [anon_sym_AMP_GT] = ACTIONS(343), + [anon_sym_AMP_GT_GT] = ACTIONS(343), + [anon_sym_LT_AMP] = ACTIONS(343), + [anon_sym_GT_AMP] = ACTIONS(343), + [sym_leading_word] = ACTIONS(345), + [sym_comment] = ACTIONS(71), }, [61] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(335), - [anon_sym_PIPE] = ACTIONS(335), - [anon_sym_PIPE_AMP] = ACTIONS(335), - [anon_sym_AMP_AMP] = ACTIONS(335), - [anon_sym_PIPE_PIPE] = ACTIONS(335), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(335), - [anon_sym_LF] = ACTIONS(335), - [anon_sym_AMP] = ACTIONS(335), + [anon_sym_RPAREN] = ACTIONS(347), + [sym_comment] = ACTIONS(71), }, [62] = { - [sym_file_descriptor] = ACTIONS(349), - [ts_builtin_sym_end] = ACTIONS(349), - [anon_sym_while] = ACTIONS(351), - [anon_sym_do] = ACTIONS(351), - [anon_sym_done] = ACTIONS(351), - [anon_sym_if] = ACTIONS(351), - [anon_sym_then] = ACTIONS(351), - [anon_sym_fi] = ACTIONS(351), - [anon_sym_elif] = ACTIONS(351), - [anon_sym_else] = ACTIONS(351), - [anon_sym_case] = ACTIONS(351), - [anon_sym_RPAREN] = ACTIONS(349), + [sym_quoted_argument] = STATE(105), + [sym_expansion] = STATE(105), + [sym_operator_expansion] = STATE(105), + [sym_command_substitution] = STATE(105), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_bracket_command_repeat1] = STATE(135), + [aux_sym_command_repeat2] = STATE(136), + [sym_file_descriptor] = ACTIONS(135), [anon_sym_SEMI_SEMI] = ACTIONS(349), - [anon_sym_LBRACK] = ACTIONS(351), - [anon_sym_LBRACK_LBRACK] = ACTIONS(351), - [anon_sym_COLON] = ACTIONS(349), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_DQUOTE] = ACTIONS(349), - [sym_single_quoted_argument] = ACTIONS(351), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), - [anon_sym_GT_GT] = ACTIONS(351), - [anon_sym_AMP_GT] = ACTIONS(351), - [anon_sym_AMP_GT_GT] = ACTIONS(351), - [anon_sym_LT_AMP] = ACTIONS(351), - [anon_sym_GT_AMP] = ACTIONS(351), - [sym_leading_word] = ACTIONS(353), - [sym_comment] = ACTIONS(67), + [anon_sym_PIPE] = ACTIONS(349), + [anon_sym_PIPE_AMP] = ACTIONS(349), + [anon_sym_AMP_AMP] = ACTIONS(349), + [anon_sym_PIPE_PIPE] = ACTIONS(349), + [anon_sym_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(279), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(287), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(349), + [anon_sym_LF] = ACTIONS(349), + [anon_sym_AMP] = ACTIONS(349), }, [63] = { - [sym_while_statement] = STATE(138), - [sym_if_statement] = STATE(138), - [sym_case_statement] = STATE(138), - [sym_bracket_command] = STATE(138), - [sym_command] = STATE(138), - [sym_pipeline] = STATE(138), - [sym_list] = STATE(138), - [sym_subshell] = STATE(138), - [sym_environment_variable_assignment] = STATE(139), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(138), + [sym_expansion] = STATE(138), + [sym_operator_expansion] = STATE(138), + [sym_command_substitution] = STATE(138), + [anon_sym_DQUOTE] = ACTIONS(351), + [sym_single_quoted_argument] = ACTIONS(353), + [anon_sym_DOLLAR] = ACTIONS(355), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(357), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(359), + [sym_word] = ACTIONS(361), + [sym_comment] = ACTIONS(71), }, [64] = { - [sym_while_statement] = STATE(140), - [sym_if_statement] = STATE(140), - [sym_case_statement] = STATE(140), - [sym_bracket_command] = STATE(140), - [sym_command] = STATE(140), - [sym_pipeline] = STATE(140), - [sym_list] = STATE(140), - [sym_subshell] = STATE(140), - [sym_environment_variable_assignment] = STATE(141), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(349), + [anon_sym_PIPE_AMP] = ACTIONS(349), + [anon_sym_AMP_AMP] = ACTIONS(349), + [anon_sym_PIPE_PIPE] = ACTIONS(349), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(349), + [anon_sym_LF] = ACTIONS(349), + [anon_sym_AMP] = ACTIONS(349), }, [65] = { - [sym_file_descriptor] = ACTIONS(355), - [ts_builtin_sym_end] = ACTIONS(355), - [anon_sym_while] = ACTIONS(357), - [anon_sym_done] = ACTIONS(357), - [anon_sym_if] = ACTIONS(357), - [anon_sym_fi] = ACTIONS(357), - [anon_sym_elif] = ACTIONS(357), - [anon_sym_else] = ACTIONS(357), - [anon_sym_case] = ACTIONS(357), - [anon_sym_RPAREN] = ACTIONS(355), - [anon_sym_SEMI_SEMI] = ACTIONS(355), - [anon_sym_LBRACK] = ACTIONS(357), - [anon_sym_LBRACK_LBRACK] = ACTIONS(357), - [anon_sym_COLON] = ACTIONS(355), - [anon_sym_LPAREN] = ACTIONS(355), - [anon_sym_DQUOTE] = ACTIONS(355), - [sym_single_quoted_argument] = ACTIONS(357), - [anon_sym_LT] = ACTIONS(357), - [anon_sym_GT] = ACTIONS(357), - [anon_sym_GT_GT] = ACTIONS(357), - [anon_sym_AMP_GT] = ACTIONS(357), - [anon_sym_AMP_GT_GT] = ACTIONS(357), - [anon_sym_LT_AMP] = ACTIONS(357), - [anon_sym_GT_AMP] = ACTIONS(357), - [sym_leading_word] = ACTIONS(359), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(363), + [ts_builtin_sym_end] = ACTIONS(363), + [anon_sym_while] = ACTIONS(365), + [anon_sym_do] = ACTIONS(365), + [anon_sym_done] = ACTIONS(365), + [anon_sym_if] = ACTIONS(365), + [anon_sym_then] = ACTIONS(365), + [anon_sym_fi] = ACTIONS(365), + [anon_sym_elif] = ACTIONS(365), + [anon_sym_else] = ACTIONS(365), + [anon_sym_case] = ACTIONS(365), + [anon_sym_RPAREN] = ACTIONS(363), + [anon_sym_SEMI_SEMI] = ACTIONS(363), + [anon_sym_function] = ACTIONS(365), + [anon_sym_LPAREN] = ACTIONS(363), + [anon_sym_RBRACE] = ACTIONS(363), + [anon_sym_LBRACK] = ACTIONS(365), + [anon_sym_LBRACK_LBRACK] = ACTIONS(365), + [anon_sym_COLON] = ACTIONS(363), + [anon_sym_DQUOTE] = ACTIONS(363), + [sym_single_quoted_argument] = ACTIONS(365), + [anon_sym_LT] = ACTIONS(365), + [anon_sym_GT] = ACTIONS(365), + [anon_sym_GT_GT] = ACTIONS(365), + [anon_sym_AMP_GT] = ACTIONS(365), + [anon_sym_AMP_GT_GT] = ACTIONS(365), + [anon_sym_LT_AMP] = ACTIONS(365), + [anon_sym_GT_AMP] = ACTIONS(365), + [sym_leading_word] = ACTIONS(367), + [sym_comment] = ACTIONS(71), }, [66] = { - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(106), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(259), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(361), - [anon_sym_PIPE] = ACTIONS(259), - [anon_sym_PIPE_AMP] = ACTIONS(259), - [anon_sym_AMP_AMP] = ACTIONS(259), - [anon_sym_PIPE_PIPE] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(259), - [anon_sym_LF] = ACTIONS(259), - [anon_sym_AMP] = ACTIONS(259), + [sym_while_statement] = STATE(143), + [sym_if_statement] = STATE(143), + [sym_case_statement] = STATE(143), + [sym_function_definition] = STATE(143), + [sym_bracket_command] = STATE(143), + [sym_command] = STATE(143), + [sym_pipeline] = STATE(143), + [sym_list] = STATE(143), + [sym_subshell] = STATE(143), + [sym_environment_variable_assignment] = STATE(144), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [67] = { - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(145), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(363), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(365), - [anon_sym_PIPE] = ACTIONS(363), - [anon_sym_PIPE_AMP] = ACTIONS(363), - [anon_sym_AMP_AMP] = ACTIONS(363), - [anon_sym_PIPE_PIPE] = ACTIONS(363), - [anon_sym_EQ] = ACTIONS(367), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(363), - [anon_sym_LF] = ACTIONS(363), - [anon_sym_AMP] = ACTIONS(363), + [sym_while_statement] = STATE(145), + [sym_if_statement] = STATE(145), + [sym_case_statement] = STATE(145), + [sym_function_definition] = STATE(145), + [sym_bracket_command] = STATE(145), + [sym_command] = STATE(145), + [sym_pipeline] = STATE(145), + [sym_list] = STATE(145), + [sym_subshell] = STATE(145), + [sym_environment_variable_assignment] = STATE(146), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [68] = { [sym_file_descriptor] = ACTIONS(369), + [ts_builtin_sym_end] = ACTIONS(369), + [anon_sym_while] = ACTIONS(371), + [anon_sym_done] = ACTIONS(371), + [anon_sym_if] = ACTIONS(371), + [anon_sym_fi] = ACTIONS(371), + [anon_sym_elif] = ACTIONS(371), + [anon_sym_else] = ACTIONS(371), + [anon_sym_case] = ACTIONS(371), + [anon_sym_RPAREN] = ACTIONS(369), + [anon_sym_SEMI_SEMI] = ACTIONS(369), + [anon_sym_function] = ACTIONS(371), + [anon_sym_LPAREN] = ACTIONS(369), + [anon_sym_RBRACE] = ACTIONS(369), + [anon_sym_LBRACK] = ACTIONS(371), + [anon_sym_LBRACK_LBRACK] = ACTIONS(371), [anon_sym_COLON] = ACTIONS(369), [anon_sym_DQUOTE] = ACTIONS(369), [sym_single_quoted_argument] = ACTIONS(371), @@ -8467,590 +9289,625 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LT_AMP] = ACTIONS(371), [anon_sym_GT_AMP] = ACTIONS(371), [sym_leading_word] = ACTIONS(373), - [sym_comment] = ACTIONS(67), + [sym_comment] = ACTIONS(71), }, [69] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_COLON] = ACTIONS(375), - [anon_sym_DQUOTE] = ACTIONS(375), - [sym_single_quoted_argument] = ACTIONS(377), - [anon_sym_LT] = ACTIONS(377), - [anon_sym_GT] = ACTIONS(377), - [anon_sym_GT_GT] = ACTIONS(377), - [anon_sym_AMP_GT] = ACTIONS(377), - [anon_sym_AMP_GT_GT] = ACTIONS(377), - [anon_sym_LT_AMP] = ACTIONS(377), - [anon_sym_GT_AMP] = ACTIONS(377), - [sym_leading_word] = ACTIONS(379), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(111), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(275), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(375), + [anon_sym_PIPE] = ACTIONS(275), + [anon_sym_PIPE_AMP] = ACTIONS(275), + [anon_sym_AMP_AMP] = ACTIONS(275), + [anon_sym_PIPE_PIPE] = ACTIONS(275), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(275), + [anon_sym_LF] = ACTIONS(275), + [anon_sym_AMP] = ACTIONS(275), }, [70] = { - [sym_file_descriptor] = ACTIONS(381), - [anon_sym_COLON] = ACTIONS(381), - [anon_sym_DQUOTE] = ACTIONS(381), - [sym_single_quoted_argument] = ACTIONS(383), - [anon_sym_LT] = ACTIONS(383), - [anon_sym_GT] = ACTIONS(383), - [anon_sym_GT_GT] = ACTIONS(383), - [anon_sym_AMP_GT] = ACTIONS(383), - [anon_sym_AMP_GT_GT] = ACTIONS(383), - [anon_sym_LT_AMP] = ACTIONS(383), - [anon_sym_GT_AMP] = ACTIONS(383), - [sym_leading_word] = ACTIONS(385), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(150), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(377), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(379), + [anon_sym_PIPE] = ACTIONS(377), + [anon_sym_PIPE_AMP] = ACTIONS(377), + [anon_sym_AMP_AMP] = ACTIONS(377), + [anon_sym_PIPE_PIPE] = ACTIONS(377), + [anon_sym_EQ] = ACTIONS(381), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(377), + [anon_sym_LF] = ACTIONS(377), + [anon_sym_AMP] = ACTIONS(377), }, [71] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(147), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_done] = ACTIONS(387), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(383), + [anon_sym_COLON] = ACTIONS(383), + [anon_sym_DQUOTE] = ACTIONS(383), + [sym_single_quoted_argument] = ACTIONS(385), + [anon_sym_LT] = ACTIONS(385), + [anon_sym_GT] = ACTIONS(385), + [anon_sym_GT_GT] = ACTIONS(385), + [anon_sym_AMP_GT] = ACTIONS(385), + [anon_sym_AMP_GT_GT] = ACTIONS(385), + [anon_sym_LT_AMP] = ACTIONS(385), + [anon_sym_GT_AMP] = ACTIONS(385), + [sym_leading_word] = ACTIONS(387), + [sym_comment] = ACTIONS(71), }, [72] = { - [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), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(389), - [anon_sym_LF] = ACTIONS(389), - [anon_sym_AMP] = ACTIONS(389), + [sym_file_descriptor] = ACTIONS(389), + [anon_sym_COLON] = ACTIONS(389), + [anon_sym_DQUOTE] = ACTIONS(389), + [sym_single_quoted_argument] = ACTIONS(391), + [anon_sym_LT] = ACTIONS(391), + [anon_sym_GT] = ACTIONS(391), + [anon_sym_GT_GT] = ACTIONS(391), + [anon_sym_AMP_GT] = ACTIONS(391), + [anon_sym_AMP_GT_GT] = ACTIONS(391), + [anon_sym_LT_AMP] = ACTIONS(391), + [anon_sym_GT_AMP] = ACTIONS(391), + [sym_leading_word] = ACTIONS(393), + [sym_comment] = ACTIONS(71), }, [73] = { - [anon_sym_do] = ACTIONS(349), - [anon_sym_then] = ACTIONS(349), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(395), + [anon_sym_COLON] = ACTIONS(395), + [anon_sym_DQUOTE] = ACTIONS(395), + [sym_single_quoted_argument] = ACTIONS(397), + [anon_sym_LT] = ACTIONS(397), + [anon_sym_GT] = ACTIONS(397), + [anon_sym_GT_GT] = ACTIONS(397), + [anon_sym_AMP_GT] = ACTIONS(397), + [anon_sym_AMP_GT_GT] = ACTIONS(397), + [anon_sym_LT_AMP] = ACTIONS(397), + [anon_sym_GT_AMP] = ACTIONS(397), + [sym_leading_word] = ACTIONS(399), + [sym_comment] = ACTIONS(71), }, [74] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_elif_clause] = STATE(151), - [sym_else_clause] = STATE(152), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(153), - [aux_sym_if_statement_repeat1] = STATE(154), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(391), - [anon_sym_elif] = ACTIONS(393), - [anon_sym_else] = ACTIONS(395), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(152), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_done] = ACTIONS(401), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [75] = { - [anon_sym_in] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), - }, - [76] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(397), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [77] = { - [anon_sym_SEMI_SEMI] = ACTIONS(399), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(399), - [anon_sym_LF] = ACTIONS(399), - [anon_sym_AMP] = ACTIONS(399), - }, - [78] = { - [anon_sym_in] = ACTIONS(401), - [sym_comment] = ACTIONS(67), - }, - [79] = { - [anon_sym_in] = ACTIONS(403), [anon_sym_SEMI_SEMI] = ACTIONS(403), - [sym_comment] = ACTIONS(135), + [anon_sym_PIPE] = ACTIONS(403), + [anon_sym_PIPE_AMP] = ACTIONS(403), + [anon_sym_AMP_AMP] = ACTIONS(403), + [anon_sym_PIPE_PIPE] = ACTIONS(403), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(403), [anon_sym_LF] = ACTIONS(403), [anon_sym_AMP] = ACTIONS(403), }, + [76] = { + [anon_sym_do] = ACTIONS(363), + [anon_sym_then] = ACTIONS(363), + [sym_comment] = ACTIONS(71), + }, + [77] = { + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_elif_clause] = STATE(156), + [sym_else_clause] = STATE(157), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(158), + [aux_sym_if_statement_repeat1] = STATE(159), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(405), + [anon_sym_elif] = ACTIONS(407), + [anon_sym_else] = ACTIONS(409), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [78] = { + [anon_sym_in] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), + }, + [79] = { + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(411), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, [80] = { - [anon_sym_in] = ACTIONS(405), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), + [anon_sym_SEMI_SEMI] = ACTIONS(413), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(413), + [anon_sym_LF] = ACTIONS(413), + [anon_sym_AMP] = ACTIONS(413), }, [81] = { - [anon_sym_COLON] = ACTIONS(407), - [anon_sym_EQ] = ACTIONS(409), - [anon_sym_COLON_QMARK] = ACTIONS(409), - [anon_sym_COLON_DASH] = ACTIONS(409), - [anon_sym_RBRACE] = ACTIONS(411), - [sym_comment] = ACTIONS(67), + [anon_sym_in] = ACTIONS(415), + [sym_comment] = ACTIONS(71), }, [82] = { - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(165), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(127), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), - [anon_sym_LT] = ACTIONS(417), - [anon_sym_GT] = ACTIONS(417), - [anon_sym_GT_GT] = ACTIONS(417), - [anon_sym_AMP_GT] = ACTIONS(417), - [anon_sym_AMP_GT_GT] = ACTIONS(417), - [anon_sym_LT_AMP] = ACTIONS(417), - [anon_sym_GT_AMP] = ACTIONS(417), - [anon_sym_LT_LT] = ACTIONS(419), - [anon_sym_LT_LT_DASH] = ACTIONS(419), - [sym_comment] = ACTIONS(135), + [anon_sym_in] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [83] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(167), - [anon_sym_DQUOTE] = ACTIONS(421), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_in] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [84] = { - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(169), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(161), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(423), - [anon_sym_EQ] = ACTIONS(367), - [anon_sym_LT] = ACTIONS(417), - [anon_sym_GT] = ACTIONS(417), - [anon_sym_GT_GT] = ACTIONS(417), - [anon_sym_AMP_GT] = ACTIONS(417), - [anon_sym_AMP_GT_GT] = ACTIONS(417), - [anon_sym_LT_AMP] = ACTIONS(417), - [anon_sym_GT_AMP] = ACTIONS(417), - [anon_sym_LT_LT] = ACTIONS(419), - [anon_sym_LT_LT_DASH] = ACTIONS(419), - [sym_comment] = ACTIONS(135), + [anon_sym_RBRACE] = ACTIONS(421), + [anon_sym_COLON] = ACTIONS(423), + [anon_sym_EQ] = ACTIONS(425), + [anon_sym_COLON_QMARK] = ACTIONS(425), + [anon_sym_COLON_DASH] = ACTIONS(425), + [sym_comment] = ACTIONS(71), }, [85] = { - [anon_sym_RPAREN] = ACTIONS(425), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(170), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(137), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(429), + [anon_sym_LT] = ACTIONS(431), + [anon_sym_GT] = ACTIONS(431), + [anon_sym_GT_GT] = ACTIONS(431), + [anon_sym_AMP_GT] = ACTIONS(431), + [anon_sym_AMP_GT_GT] = ACTIONS(431), + [anon_sym_LT_AMP] = ACTIONS(431), + [anon_sym_GT_AMP] = ACTIONS(431), + [anon_sym_LT_LT] = ACTIONS(433), + [anon_sym_LT_LT_DASH] = ACTIONS(433), + [sym_comment] = ACTIONS(145), }, [86] = { - [sym_environment_variable_assignment] = STATE(68), - [sym_quoted_argument] = STATE(171), - [sym_file_redirect] = STATE(68), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(427), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(429), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(431), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(172), + [anon_sym_DQUOTE] = ACTIONS(435), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [87] = { - [anon_sym_SEMI_SEMI] = ACTIONS(433), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(433), - [anon_sym_LF] = ACTIONS(433), - [anon_sym_AMP] = ACTIONS(433), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(174), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(169), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(437), + [anon_sym_EQ] = ACTIONS(381), + [anon_sym_LT] = ACTIONS(431), + [anon_sym_GT] = ACTIONS(431), + [anon_sym_GT_GT] = ACTIONS(431), + [anon_sym_AMP_GT] = ACTIONS(431), + [anon_sym_AMP_GT_GT] = ACTIONS(431), + [anon_sym_LT_AMP] = ACTIONS(431), + [anon_sym_GT_AMP] = ACTIONS(431), + [anon_sym_LT_LT] = ACTIONS(433), + [anon_sym_LT_LT_DASH] = ACTIONS(433), + [sym_comment] = ACTIONS(145), }, [88] = { - [anon_sym_in] = ACTIONS(435), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(439), + [sym_comment] = ACTIONS(71), }, [89] = { - [anon_sym_RPAREN] = ACTIONS(297), - [anon_sym_RBRACK] = ACTIONS(437), - [anon_sym_RBRACK_RBRACK] = ACTIONS(437), - [anon_sym_DQUOTE] = ACTIONS(297), - [sym_single_quoted_argument] = ACTIONS(437), - [anon_sym_DOLLAR] = ACTIONS(437), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(297), - [anon_sym_RBRACE] = ACTIONS(297), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(297), - [sym_word] = ACTIONS(299), - [sym_comment] = ACTIONS(67), + [sym_environment_variable_assignment] = STATE(71), + [sym_quoted_argument] = STATE(176), + [sym_file_redirect] = STATE(71), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(441), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(443), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(445), + [sym_comment] = ACTIONS(71), }, [90] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(439), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(447), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(447), + [anon_sym_LF] = ACTIONS(447), + [anon_sym_AMP] = ACTIONS(447), }, [91] = { - [anon_sym_RPAREN] = ACTIONS(441), - [anon_sym_RBRACK] = ACTIONS(443), - [anon_sym_RBRACK_RBRACK] = ACTIONS(443), - [anon_sym_DQUOTE] = ACTIONS(441), - [sym_single_quoted_argument] = ACTIONS(443), - [anon_sym_DOLLAR] = ACTIONS(443), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(441), - [anon_sym_RBRACE] = ACTIONS(441), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(441), - [sym_word] = ACTIONS(403), - [sym_comment] = ACTIONS(67), + [anon_sym_in] = ACTIONS(449), + [sym_comment] = ACTIONS(71), }, [92] = { - [anon_sym_RPAREN] = ACTIONS(445), - [anon_sym_RBRACK] = ACTIONS(447), - [anon_sym_RBRACK_RBRACK] = ACTIONS(447), - [anon_sym_DQUOTE] = ACTIONS(445), - [sym_single_quoted_argument] = ACTIONS(447), - [anon_sym_DOLLAR] = ACTIONS(447), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(445), - [anon_sym_RBRACE] = ACTIONS(445), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(445), - [sym_word] = ACTIONS(405), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(451), + [sym_comment] = ACTIONS(71), }, [93] = { - [anon_sym_COLON] = ACTIONS(449), - [anon_sym_EQ] = ACTIONS(451), - [anon_sym_COLON_QMARK] = ACTIONS(451), - [anon_sym_COLON_DASH] = ACTIONS(451), - [anon_sym_RBRACE] = ACTIONS(453), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(453), + [anon_sym_PIPE] = ACTIONS(453), + [anon_sym_PIPE_AMP] = ACTIONS(453), + [anon_sym_AMP_AMP] = ACTIONS(453), + [anon_sym_PIPE_PIPE] = ACTIONS(453), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(453), + [anon_sym_LF] = ACTIONS(453), + [anon_sym_AMP] = ACTIONS(453), }, [94] = { - [anon_sym_RPAREN] = ACTIONS(455), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(309), + [anon_sym_RBRACE] = ACTIONS(309), + [anon_sym_RBRACK] = ACTIONS(455), + [anon_sym_RBRACK_RBRACK] = ACTIONS(455), + [anon_sym_DQUOTE] = ACTIONS(309), + [sym_single_quoted_argument] = ACTIONS(455), + [anon_sym_DOLLAR] = ACTIONS(455), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(309), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(309), + [sym_word] = ACTIONS(311), + [sym_comment] = ACTIONS(71), }, [95] = { - [anon_sym_SEMI_SEMI] = ACTIONS(457), - [anon_sym_PIPE] = ACTIONS(457), - [anon_sym_PIPE_AMP] = ACTIONS(457), - [anon_sym_AMP_AMP] = ACTIONS(457), - [anon_sym_PIPE_PIPE] = ACTIONS(457), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(457), - [anon_sym_LF] = ACTIONS(457), - [anon_sym_AMP] = ACTIONS(457), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(457), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [96] = { - [anon_sym_RBRACK] = ACTIONS(459), - [anon_sym_RBRACK_RBRACK] = ACTIONS(459), - [anon_sym_DQUOTE] = ACTIONS(461), - [sym_single_quoted_argument] = ACTIONS(459), - [anon_sym_DOLLAR] = ACTIONS(459), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(461), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(461), - [sym_word] = ACTIONS(463), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(459), + [anon_sym_RBRACE] = ACTIONS(459), + [anon_sym_RBRACK] = ACTIONS(461), + [anon_sym_RBRACK_RBRACK] = ACTIONS(461), + [anon_sym_DQUOTE] = ACTIONS(459), + [sym_single_quoted_argument] = ACTIONS(461), + [anon_sym_DOLLAR] = ACTIONS(461), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(459), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(459), + [sym_word] = ACTIONS(417), + [sym_comment] = ACTIONS(71), }, [97] = { + [anon_sym_RPAREN] = ACTIONS(463), + [anon_sym_RBRACE] = ACTIONS(463), [anon_sym_RBRACK] = ACTIONS(465), [anon_sym_RBRACK_RBRACK] = ACTIONS(465), - [anon_sym_DQUOTE] = ACTIONS(467), + [anon_sym_DQUOTE] = ACTIONS(463), [sym_single_quoted_argument] = ACTIONS(465), [anon_sym_DOLLAR] = ACTIONS(465), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(467), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(467), - [sym_word] = ACTIONS(469), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(463), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(463), + [sym_word] = ACTIONS(419), + [sym_comment] = ACTIONS(71), }, [98] = { - [sym_quoted_argument] = STATE(179), - [sym_expansion] = STATE(179), - [sym_operator_expansion] = STATE(179), - [sym_command_substitution] = STATE(179), - [anon_sym_DQUOTE] = ACTIONS(273), - [sym_single_quoted_argument] = ACTIONS(471), - [anon_sym_DOLLAR] = ACTIONS(277), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(279), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(281), - [sym_word] = ACTIONS(473), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(467), + [anon_sym_COLON] = ACTIONS(469), + [anon_sym_EQ] = ACTIONS(471), + [anon_sym_COLON_QMARK] = ACTIONS(471), + [anon_sym_COLON_DASH] = ACTIONS(471), + [sym_comment] = ACTIONS(71), }, [99] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(182), - [anon_sym_DQUOTE] = ACTIONS(475), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_RPAREN] = ACTIONS(473), + [sym_comment] = ACTIONS(71), }, [100] = { - [sym_file_descriptor] = ACTIONS(233), - [anon_sym_SEMI_SEMI] = ACTIONS(235), - [anon_sym_PIPE] = ACTIONS(235), - [anon_sym_PIPE_AMP] = ACTIONS(235), - [anon_sym_AMP_AMP] = ACTIONS(235), - [anon_sym_PIPE_PIPE] = ACTIONS(235), - [anon_sym_DQUOTE] = ACTIONS(235), - [sym_single_quoted_argument] = ACTIONS(235), - [anon_sym_DOLLAR] = ACTIONS(235), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(235), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(235), - [anon_sym_LT] = ACTIONS(235), - [anon_sym_GT] = ACTIONS(235), - [anon_sym_GT_GT] = ACTIONS(235), - [anon_sym_AMP_GT] = ACTIONS(235), - [anon_sym_AMP_GT_GT] = ACTIONS(235), - [anon_sym_LT_AMP] = ACTIONS(235), - [anon_sym_GT_AMP] = ACTIONS(235), - [anon_sym_LT_LT] = ACTIONS(235), - [anon_sym_LT_LT_DASH] = ACTIONS(235), - [sym_word] = ACTIONS(235), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(235), - [anon_sym_LF] = ACTIONS(235), - [anon_sym_AMP] = ACTIONS(235), + [anon_sym_SEMI_SEMI] = ACTIONS(475), + [anon_sym_PIPE] = ACTIONS(475), + [anon_sym_PIPE_AMP] = ACTIONS(475), + [anon_sym_AMP_AMP] = ACTIONS(475), + [anon_sym_PIPE_PIPE] = ACTIONS(475), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(475), + [anon_sym_LF] = ACTIONS(475), + [anon_sym_AMP] = ACTIONS(475), }, [101] = { + [anon_sym_RBRACK] = ACTIONS(477), + [anon_sym_RBRACK_RBRACK] = ACTIONS(477), + [anon_sym_DQUOTE] = ACTIONS(479), + [sym_single_quoted_argument] = ACTIONS(477), [anon_sym_DOLLAR] = ACTIONS(477), - [sym_word] = ACTIONS(479), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(479), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(479), + [sym_word] = ACTIONS(481), + [sym_comment] = ACTIONS(71), }, [102] = { - [sym_leading_word] = ACTIONS(481), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACK] = ACTIONS(483), + [anon_sym_RBRACK_RBRACK] = ACTIONS(483), + [anon_sym_DQUOTE] = ACTIONS(485), + [sym_single_quoted_argument] = ACTIONS(483), + [anon_sym_DOLLAR] = ACTIONS(483), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(485), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(485), + [sym_word] = ACTIONS(487), + [sym_comment] = ACTIONS(71), }, [103] = { - [sym_command] = STATE(186), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(185), + [sym_expansion] = STATE(185), + [sym_operator_expansion] = STATE(185), + [sym_command_substitution] = STATE(185), + [anon_sym_DQUOTE] = ACTIONS(289), + [sym_single_quoted_argument] = ACTIONS(489), + [anon_sym_DOLLAR] = ACTIONS(293), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(295), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(297), + [sym_word] = ACTIONS(491), + [sym_comment] = ACTIONS(71), }, [104] = { - [sym_file_descriptor] = ACTIONS(245), - [anon_sym_SEMI_SEMI] = ACTIONS(247), - [anon_sym_PIPE] = ACTIONS(247), - [anon_sym_PIPE_AMP] = ACTIONS(247), - [anon_sym_AMP_AMP] = ACTIONS(247), - [anon_sym_PIPE_PIPE] = ACTIONS(247), - [anon_sym_DQUOTE] = ACTIONS(247), - [sym_single_quoted_argument] = ACTIONS(247), - [anon_sym_DOLLAR] = ACTIONS(247), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(247), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(247), - [anon_sym_LT] = ACTIONS(247), - [anon_sym_GT] = ACTIONS(247), - [anon_sym_GT_GT] = ACTIONS(247), - [anon_sym_AMP_GT] = ACTIONS(247), - [anon_sym_AMP_GT_GT] = ACTIONS(247), - [anon_sym_LT_AMP] = ACTIONS(247), - [anon_sym_GT_AMP] = ACTIONS(247), - [anon_sym_LT_LT] = ACTIONS(247), - [anon_sym_LT_LT_DASH] = ACTIONS(247), - [sym_word] = ACTIONS(247), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(247), - [anon_sym_LF] = ACTIONS(247), - [anon_sym_AMP] = ACTIONS(247), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(188), + [anon_sym_DQUOTE] = ACTIONS(493), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [105] = { - [sym_quoted_argument] = STATE(187), - [sym_expansion] = STATE(187), - [sym_operator_expansion] = STATE(187), - [sym_command_substitution] = STATE(187), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(189), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(483), - [anon_sym_PIPE] = ACTIONS(483), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(483), - [anon_sym_PIPE_PIPE] = ACTIONS(483), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(485), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(487), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), + [sym_file_descriptor] = ACTIONS(249), + [anon_sym_SEMI_SEMI] = ACTIONS(251), + [anon_sym_PIPE] = ACTIONS(251), + [anon_sym_PIPE_AMP] = ACTIONS(251), + [anon_sym_AMP_AMP] = ACTIONS(251), + [anon_sym_PIPE_PIPE] = ACTIONS(251), + [anon_sym_DQUOTE] = ACTIONS(251), + [sym_single_quoted_argument] = ACTIONS(251), + [anon_sym_DOLLAR] = ACTIONS(251), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(251), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(251), + [anon_sym_LT] = ACTIONS(251), + [anon_sym_GT] = ACTIONS(251), + [anon_sym_GT_GT] = ACTIONS(251), + [anon_sym_AMP_GT] = ACTIONS(251), + [anon_sym_AMP_GT_GT] = ACTIONS(251), + [anon_sym_LT_AMP] = ACTIONS(251), + [anon_sym_GT_AMP] = ACTIONS(251), + [anon_sym_LT_LT] = ACTIONS(251), + [anon_sym_LT_LT_DASH] = ACTIONS(251), + [sym_word] = ACTIONS(251), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(251), + [anon_sym_LF] = ACTIONS(251), + [anon_sym_AMP] = ACTIONS(251), }, [106] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(483), - [anon_sym_PIPE] = ACTIONS(483), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(483), - [anon_sym_PIPE_PIPE] = ACTIONS(483), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), + [anon_sym_DOLLAR] = ACTIONS(495), + [sym_word] = ACTIONS(497), + [sym_comment] = ACTIONS(71), }, [107] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(191), - [anon_sym_DQUOTE] = ACTIONS(489), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_leading_word] = ACTIONS(499), + [sym_comment] = ACTIONS(71), }, [108] = { - [sym_file_descriptor] = ACTIONS(317), - [anon_sym_SEMI_SEMI] = ACTIONS(321), - [anon_sym_PIPE] = ACTIONS(321), - [anon_sym_PIPE_AMP] = ACTIONS(321), - [anon_sym_AMP_AMP] = ACTIONS(321), - [anon_sym_PIPE_PIPE] = ACTIONS(321), - [anon_sym_LT] = ACTIONS(321), - [anon_sym_GT] = ACTIONS(321), - [anon_sym_GT_GT] = ACTIONS(321), - [anon_sym_AMP_GT] = ACTIONS(321), - [anon_sym_AMP_GT_GT] = ACTIONS(321), - [anon_sym_LT_AMP] = ACTIONS(321), - [anon_sym_GT_AMP] = ACTIONS(321), - [anon_sym_LT_LT] = ACTIONS(321), - [anon_sym_LT_LT_DASH] = ACTIONS(321), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(321), - [anon_sym_LF] = ACTIONS(321), - [anon_sym_AMP] = ACTIONS(321), + [sym_command] = STATE(192), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [109] = { - [anon_sym_DOLLAR] = ACTIONS(491), - [sym_word] = ACTIONS(493), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(261), + [anon_sym_SEMI_SEMI] = ACTIONS(263), + [anon_sym_PIPE] = ACTIONS(263), + [anon_sym_PIPE_AMP] = ACTIONS(263), + [anon_sym_AMP_AMP] = ACTIONS(263), + [anon_sym_PIPE_PIPE] = ACTIONS(263), + [anon_sym_DQUOTE] = ACTIONS(263), + [sym_single_quoted_argument] = ACTIONS(263), + [anon_sym_DOLLAR] = ACTIONS(263), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(263), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(263), + [anon_sym_LT] = ACTIONS(263), + [anon_sym_GT] = ACTIONS(263), + [anon_sym_GT_GT] = ACTIONS(263), + [anon_sym_AMP_GT] = ACTIONS(263), + [anon_sym_AMP_GT_GT] = ACTIONS(263), + [anon_sym_LT_AMP] = ACTIONS(263), + [anon_sym_GT_AMP] = ACTIONS(263), + [anon_sym_LT_LT] = ACTIONS(263), + [anon_sym_LT_LT_DASH] = ACTIONS(263), + [sym_word] = ACTIONS(263), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(263), + [anon_sym_LF] = ACTIONS(263), + [anon_sym_AMP] = ACTIONS(263), }, [110] = { - [sym_leading_word] = ACTIONS(495), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(193), + [sym_expansion] = STATE(193), + [sym_operator_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(195), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(501), + [anon_sym_PIPE] = ACTIONS(501), + [anon_sym_PIPE_AMP] = ACTIONS(501), + [anon_sym_AMP_AMP] = ACTIONS(501), + [anon_sym_PIPE_PIPE] = ACTIONS(501), + [anon_sym_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(503), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(505), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(501), + [anon_sym_LF] = ACTIONS(501), + [anon_sym_AMP] = ACTIONS(501), }, [111] = { - [sym_command] = STATE(195), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(501), + [anon_sym_PIPE] = ACTIONS(501), + [anon_sym_PIPE_AMP] = ACTIONS(501), + [anon_sym_AMP_AMP] = ACTIONS(501), + [anon_sym_PIPE_PIPE] = ACTIONS(501), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(501), + [anon_sym_LF] = ACTIONS(501), + [anon_sym_AMP] = ACTIONS(501), }, [112] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(197), + [anon_sym_DQUOTE] = ACTIONS(507), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [113] = { [sym_file_descriptor] = ACTIONS(329), [anon_sym_SEMI_SEMI] = ACTIONS(333), [anon_sym_PIPE] = ACTIONS(333), @@ -9066,127 +9923,95 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(333), [anon_sym_LT_LT] = ACTIONS(333), [anon_sym_LT_LT_DASH] = ACTIONS(333), - [sym_comment] = ACTIONS(135), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(333), [anon_sym_LF] = ACTIONS(333), [anon_sym_AMP] = ACTIONS(333), }, - [113] = { - [sym_file_descriptor] = ACTIONS(497), - [anon_sym_SEMI_SEMI] = ACTIONS(499), - [anon_sym_PIPE] = ACTIONS(499), - [anon_sym_PIPE_AMP] = ACTIONS(499), - [anon_sym_AMP_AMP] = ACTIONS(499), - [anon_sym_PIPE_PIPE] = ACTIONS(499), - [anon_sym_LT] = ACTIONS(499), - [anon_sym_GT] = ACTIONS(499), - [anon_sym_GT_GT] = ACTIONS(499), - [anon_sym_AMP_GT] = ACTIONS(499), - [anon_sym_AMP_GT_GT] = ACTIONS(499), - [anon_sym_LT_AMP] = ACTIONS(499), - [anon_sym_GT_AMP] = ACTIONS(499), - [anon_sym_LT_LT] = ACTIONS(499), - [anon_sym_LT_LT_DASH] = ACTIONS(499), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(499), - [anon_sym_LF] = ACTIONS(499), - [anon_sym_AMP] = ACTIONS(499), - }, [114] = { - [sym_expansion] = STATE(196), - [sym_operator_expansion] = STATE(196), - [aux_sym_heredoc_repeat1] = STATE(200), - [sym__heredoc_middle] = ACTIONS(501), - [sym__heredoc_end] = ACTIONS(503), - [anon_sym_DOLLAR] = ACTIONS(505), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(507), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR] = ACTIONS(509), + [sym_word] = ACTIONS(511), + [sym_comment] = ACTIONS(71), }, [115] = { - [sym_file_descriptor] = ACTIONS(509), - [anon_sym_SEMI_SEMI] = ACTIONS(511), - [anon_sym_PIPE] = ACTIONS(511), - [anon_sym_PIPE_AMP] = ACTIONS(511), - [anon_sym_AMP_AMP] = ACTIONS(511), - [anon_sym_PIPE_PIPE] = ACTIONS(511), - [anon_sym_LT] = ACTIONS(511), - [anon_sym_GT] = ACTIONS(511), - [anon_sym_GT_GT] = ACTIONS(511), - [anon_sym_AMP_GT] = ACTIONS(511), - [anon_sym_AMP_GT_GT] = ACTIONS(511), - [anon_sym_LT_AMP] = ACTIONS(511), - [anon_sym_GT_AMP] = ACTIONS(511), - [anon_sym_LT_LT] = ACTIONS(511), - [anon_sym_LT_LT_DASH] = ACTIONS(511), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(511), - [anon_sym_LF] = ACTIONS(511), - [anon_sym_AMP] = ACTIONS(511), + [sym_leading_word] = ACTIONS(513), + [sym_comment] = ACTIONS(71), }, [116] = { - [sym_file_descriptor] = ACTIONS(513), - [anon_sym_SEMI_SEMI] = ACTIONS(515), - [anon_sym_PIPE] = ACTIONS(515), - [anon_sym_PIPE_AMP] = ACTIONS(515), - [anon_sym_AMP_AMP] = ACTIONS(515), - [anon_sym_PIPE_PIPE] = ACTIONS(515), - [anon_sym_LT] = ACTIONS(515), - [anon_sym_GT] = ACTIONS(515), - [anon_sym_GT_GT] = ACTIONS(515), - [anon_sym_AMP_GT] = ACTIONS(515), - [anon_sym_AMP_GT_GT] = ACTIONS(515), - [anon_sym_LT_AMP] = ACTIONS(515), - [anon_sym_GT_AMP] = ACTIONS(515), - [anon_sym_LT_LT] = ACTIONS(515), - [anon_sym_LT_LT_DASH] = ACTIONS(515), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(515), - [anon_sym_LF] = ACTIONS(515), - [anon_sym_AMP] = ACTIONS(515), + [sym_command] = STATE(201), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [117] = { + [sym_file_descriptor] = ACTIONS(341), + [anon_sym_SEMI_SEMI] = ACTIONS(345), + [anon_sym_PIPE] = ACTIONS(345), + [anon_sym_PIPE_AMP] = ACTIONS(345), + [anon_sym_AMP_AMP] = ACTIONS(345), + [anon_sym_PIPE_PIPE] = ACTIONS(345), + [anon_sym_LT] = ACTIONS(345), + [anon_sym_GT] = ACTIONS(345), + [anon_sym_GT_GT] = ACTIONS(345), + [anon_sym_AMP_GT] = ACTIONS(345), + [anon_sym_AMP_GT_GT] = ACTIONS(345), + [anon_sym_LT_AMP] = ACTIONS(345), + [anon_sym_GT_AMP] = ACTIONS(345), + [anon_sym_LT_LT] = ACTIONS(345), + [anon_sym_LT_LT_DASH] = ACTIONS(345), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(345), + [anon_sym_LF] = ACTIONS(345), + [anon_sym_AMP] = ACTIONS(345), + }, + [118] = { + [sym_file_descriptor] = ACTIONS(515), [anon_sym_SEMI_SEMI] = ACTIONS(517), [anon_sym_PIPE] = ACTIONS(517), [anon_sym_PIPE_AMP] = ACTIONS(517), [anon_sym_AMP_AMP] = ACTIONS(517), [anon_sym_PIPE_PIPE] = ACTIONS(517), - [sym_comment] = ACTIONS(135), + [anon_sym_LT] = ACTIONS(517), + [anon_sym_GT] = ACTIONS(517), + [anon_sym_GT_GT] = ACTIONS(517), + [anon_sym_AMP_GT] = ACTIONS(517), + [anon_sym_AMP_GT_GT] = ACTIONS(517), + [anon_sym_LT_AMP] = ACTIONS(517), + [anon_sym_GT_AMP] = ACTIONS(517), + [anon_sym_LT_LT] = ACTIONS(517), + [anon_sym_LT_LT_DASH] = ACTIONS(517), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(517), [anon_sym_LF] = ACTIONS(517), [anon_sym_AMP] = ACTIONS(517), }, - [118] = { - [anon_sym_DQUOTE] = ACTIONS(403), - [sym__quoted_chars] = ACTIONS(443), - [anon_sym_DOLLAR] = ACTIONS(403), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(403), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - }, [119] = { - [anon_sym_DQUOTE] = ACTIONS(405), - [sym__quoted_chars] = ACTIONS(447), - [anon_sym_DOLLAR] = ACTIONS(405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(405), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(405), - [sym_comment] = ACTIONS(135), + [sym_expansion] = STATE(202), + [sym_operator_expansion] = STATE(202), + [aux_sym_heredoc_repeat1] = STATE(206), + [sym__heredoc_middle] = ACTIONS(519), + [sym__heredoc_end] = ACTIONS(521), + [anon_sym_DOLLAR] = ACTIONS(523), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), + [sym_comment] = ACTIONS(71), }, [120] = { - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_EQ] = ACTIONS(521), - [anon_sym_COLON_QMARK] = ACTIONS(521), - [anon_sym_COLON_DASH] = ACTIONS(521), - [anon_sym_RBRACE] = ACTIONS(523), - [sym_comment] = ACTIONS(67), - }, - [121] = { - [anon_sym_RPAREN] = ACTIONS(525), - [sym_comment] = ACTIONS(67), - }, - [122] = { [sym_file_descriptor] = ACTIONS(527), [anon_sym_SEMI_SEMI] = ACTIONS(529), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(529), [anon_sym_PIPE] = ACTIONS(529), [anon_sym_PIPE_AMP] = ACTIONS(529), [anon_sym_AMP_AMP] = ACTIONS(529), @@ -9200,833 +10025,1100 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(529), [anon_sym_LT_LT] = ACTIONS(529), [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_comment] = ACTIONS(135), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(529), [anon_sym_LF] = ACTIONS(529), [anon_sym_AMP] = ACTIONS(529), }, + [121] = { + [sym_file_descriptor] = ACTIONS(531), + [anon_sym_SEMI_SEMI] = ACTIONS(533), + [anon_sym_PIPE] = ACTIONS(533), + [anon_sym_PIPE_AMP] = ACTIONS(533), + [anon_sym_AMP_AMP] = ACTIONS(533), + [anon_sym_PIPE_PIPE] = ACTIONS(533), + [anon_sym_LT] = ACTIONS(533), + [anon_sym_GT] = ACTIONS(533), + [anon_sym_GT_GT] = ACTIONS(533), + [anon_sym_AMP_GT] = ACTIONS(533), + [anon_sym_AMP_GT_GT] = ACTIONS(533), + [anon_sym_LT_AMP] = ACTIONS(533), + [anon_sym_GT_AMP] = ACTIONS(533), + [anon_sym_LT_LT] = ACTIONS(533), + [anon_sym_LT_LT_DASH] = ACTIONS(533), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(533), + [anon_sym_LF] = ACTIONS(533), + [anon_sym_AMP] = ACTIONS(533), + }, + [122] = { + [anon_sym_DQUOTE] = ACTIONS(417), + [sym__quoted_chars] = ACTIONS(461), + [anon_sym_DOLLAR] = ACTIONS(417), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + }, [123] = { - [anon_sym_DQUOTE] = ACTIONS(531), - [sym__quoted_chars] = ACTIONS(533), - [anon_sym_DOLLAR] = ACTIONS(531), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(531), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(531), - [sym_comment] = ACTIONS(135), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym__quoted_chars] = ACTIONS(465), + [anon_sym_DOLLAR] = ACTIONS(419), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [sym_comment] = ACTIONS(145), }, [124] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_COLON] = ACTIONS(297), - [anon_sym_DQUOTE] = ACTIONS(297), - [sym_single_quoted_argument] = ACTIONS(437), - [anon_sym_LT] = ACTIONS(437), - [anon_sym_GT] = ACTIONS(437), - [anon_sym_GT_GT] = ACTIONS(437), - [anon_sym_AMP_GT] = ACTIONS(437), - [anon_sym_AMP_GT_GT] = ACTIONS(437), - [anon_sym_LT_AMP] = ACTIONS(437), - [anon_sym_GT_AMP] = ACTIONS(437), - [sym_leading_word] = ACTIONS(299), - [sym_comment] = ACTIONS(67), - }, - [125] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(535), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [126] = { - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_COLON] = ACTIONS(441), - [anon_sym_DQUOTE] = ACTIONS(441), - [sym_single_quoted_argument] = ACTIONS(443), - [anon_sym_LT] = ACTIONS(443), - [anon_sym_GT] = ACTIONS(443), - [anon_sym_GT_GT] = ACTIONS(443), - [anon_sym_AMP_GT] = ACTIONS(443), - [anon_sym_AMP_GT_GT] = ACTIONS(443), - [anon_sym_LT_AMP] = ACTIONS(443), - [anon_sym_GT_AMP] = ACTIONS(443), - [sym_leading_word] = ACTIONS(403), - [sym_comment] = ACTIONS(67), - }, - [127] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_COLON] = ACTIONS(445), - [anon_sym_DQUOTE] = ACTIONS(445), - [sym_single_quoted_argument] = ACTIONS(447), - [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), - [sym_leading_word] = ACTIONS(405), - [sym_comment] = ACTIONS(67), - }, - [128] = { + [anon_sym_RBRACE] = ACTIONS(535), [anon_sym_COLON] = ACTIONS(537), [anon_sym_EQ] = ACTIONS(539), [anon_sym_COLON_QMARK] = ACTIONS(539), [anon_sym_COLON_DASH] = ACTIONS(539), - [anon_sym_RBRACE] = ACTIONS(541), - [sym_comment] = ACTIONS(67), + [sym_comment] = ACTIONS(71), + }, + [125] = { + [anon_sym_RPAREN] = ACTIONS(541), + [sym_comment] = ACTIONS(71), + }, + [126] = { + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), + }, + [127] = { + [anon_sym_DQUOTE] = ACTIONS(547), + [sym__quoted_chars] = ACTIONS(549), + [anon_sym_DOLLAR] = ACTIONS(547), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(547), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(547), + [sym_comment] = ACTIONS(145), + }, + [128] = { + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_COLON] = ACTIONS(309), + [anon_sym_DQUOTE] = ACTIONS(309), + [sym_single_quoted_argument] = ACTIONS(455), + [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), + [sym_leading_word] = ACTIONS(311), + [sym_comment] = ACTIONS(71), }, [129] = { - [anon_sym_RPAREN] = ACTIONS(543), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(551), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [130] = { - [sym_quoted_argument] = STATE(187), - [sym_expansion] = STATE(187), - [sym_operator_expansion] = STATE(187), - [sym_command_substitution] = STATE(187), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(208), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(545), - [anon_sym_PIPE] = ACTIONS(545), - [anon_sym_PIPE_AMP] = ACTIONS(545), - [anon_sym_AMP_AMP] = ACTIONS(545), - [anon_sym_PIPE_PIPE] = ACTIONS(545), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(485), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(487), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(545), - [anon_sym_LF] = ACTIONS(545), - [anon_sym_AMP] = ACTIONS(545), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_COLON] = ACTIONS(459), + [anon_sym_DQUOTE] = ACTIONS(459), + [sym_single_quoted_argument] = ACTIONS(461), + [anon_sym_LT] = ACTIONS(461), + [anon_sym_GT] = ACTIONS(461), + [anon_sym_GT_GT] = ACTIONS(461), + [anon_sym_AMP_GT] = ACTIONS(461), + [anon_sym_AMP_GT_GT] = ACTIONS(461), + [anon_sym_LT_AMP] = ACTIONS(461), + [anon_sym_GT_AMP] = ACTIONS(461), + [sym_leading_word] = ACTIONS(417), + [sym_comment] = ACTIONS(71), }, [131] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_COLON] = ACTIONS(463), + [anon_sym_DQUOTE] = ACTIONS(463), + [sym_single_quoted_argument] = ACTIONS(465), + [anon_sym_LT] = ACTIONS(465), + [anon_sym_GT] = ACTIONS(465), + [anon_sym_GT_GT] = ACTIONS(465), + [anon_sym_AMP_GT] = ACTIONS(465), + [anon_sym_AMP_GT_GT] = ACTIONS(465), + [anon_sym_LT_AMP] = ACTIONS(465), + [anon_sym_GT_AMP] = ACTIONS(465), + [sym_leading_word] = ACTIONS(419), + [sym_comment] = ACTIONS(71), + }, + [132] = { + [anon_sym_RBRACE] = ACTIONS(553), + [anon_sym_COLON] = ACTIONS(555), + [anon_sym_EQ] = ACTIONS(557), + [anon_sym_COLON_QMARK] = ACTIONS(557), + [anon_sym_COLON_DASH] = ACTIONS(557), + [sym_comment] = ACTIONS(71), + }, + [133] = { + [anon_sym_RPAREN] = ACTIONS(559), + [sym_comment] = ACTIONS(71), + }, + [134] = { + [sym_compound_command] = STATE(215), + [anon_sym_LBRACE] = ACTIONS(561), + [sym_comment] = ACTIONS(71), + }, + [135] = { + [sym_quoted_argument] = STATE(193), + [sym_expansion] = STATE(193), + [sym_operator_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(216), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(563), + [anon_sym_PIPE] = ACTIONS(563), + [anon_sym_PIPE_AMP] = ACTIONS(563), + [anon_sym_AMP_AMP] = ACTIONS(563), + [anon_sym_PIPE_PIPE] = ACTIONS(563), + [anon_sym_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(503), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(505), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(563), + [anon_sym_LF] = ACTIONS(563), + [anon_sym_AMP] = ACTIONS(563), + }, + [136] = { + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(563), + [anon_sym_PIPE] = ACTIONS(563), + [anon_sym_PIPE_AMP] = ACTIONS(563), + [anon_sym_AMP_AMP] = ACTIONS(563), + [anon_sym_PIPE_PIPE] = ACTIONS(563), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(563), + [anon_sym_LF] = ACTIONS(563), + [anon_sym_AMP] = ACTIONS(563), + }, + [137] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(218), + [anon_sym_DQUOTE] = ACTIONS(565), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [138] = { + [sym_file_descriptor] = ACTIONS(567), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(569), + [sym_single_quoted_argument] = 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), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [139] = { + [anon_sym_DOLLAR] = ACTIONS(571), + [sym_word] = ACTIONS(573), + [sym_comment] = ACTIONS(71), + }, + [140] = { + [sym_leading_word] = ACTIONS(575), + [sym_comment] = ACTIONS(71), + }, + [141] = { + [sym_command] = STATE(222), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), + }, + [142] = { + [sym_file_descriptor] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(579), + [sym_single_quoted_argument] = 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), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [143] = { + [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), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [144] = { + [sym_file_descriptor] = ACTIONS(191), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(193), + [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_DQUOTE] = ACTIONS(193), + [sym_single_quoted_argument] = ACTIONS(193), + [anon_sym_LT] = ACTIONS(193), + [anon_sym_GT] = ACTIONS(193), + [anon_sym_GT_GT] = ACTIONS(193), + [anon_sym_AMP_GT] = ACTIONS(193), + [anon_sym_AMP_GT_GT] = ACTIONS(193), + [anon_sym_LT_AMP] = ACTIONS(193), + [anon_sym_GT_AMP] = ACTIONS(193), + [sym_leading_word] = ACTIONS(193), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [145] = { + [anon_sym_SEMI_SEMI] = ACTIONS(583), + [anon_sym_PIPE] = ACTIONS(187), + [anon_sym_PIPE_AMP] = ACTIONS(187), + [anon_sym_AMP_AMP] = ACTIONS(583), + [anon_sym_PIPE_PIPE] = ACTIONS(583), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(583), + [anon_sym_LF] = ACTIONS(583), + [anon_sym_AMP] = ACTIONS(583), + }, + [146] = { + [sym_file_descriptor] = ACTIONS(191), + [anon_sym_SEMI_SEMI] = ACTIONS(583), + [anon_sym_COLON] = ACTIONS(193), + [anon_sym_PIPE] = ACTIONS(187), + [anon_sym_PIPE_AMP] = ACTIONS(187), + [anon_sym_AMP_AMP] = ACTIONS(583), + [anon_sym_PIPE_PIPE] = ACTIONS(583), + [anon_sym_DQUOTE] = ACTIONS(193), + [sym_single_quoted_argument] = ACTIONS(193), + [anon_sym_LT] = ACTIONS(193), + [anon_sym_GT] = ACTIONS(193), + [anon_sym_GT_GT] = ACTIONS(193), + [anon_sym_AMP_GT] = ACTIONS(193), + [anon_sym_AMP_GT_GT] = ACTIONS(193), + [anon_sym_LT_AMP] = ACTIONS(193), + [anon_sym_GT_AMP] = ACTIONS(193), + [sym_leading_word] = ACTIONS(193), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(583), + [anon_sym_LF] = ACTIONS(583), + [anon_sym_AMP] = ACTIONS(583), + }, + [147] = { + [sym_quoted_argument] = STATE(105), + [sym_expansion] = STATE(105), + [sym_operator_expansion] = STATE(105), + [sym_command_substitution] = STATE(105), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_bracket_command_repeat1] = STATE(223), + [aux_sym_command_repeat2] = STATE(195), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(501), + [anon_sym_PIPE] = ACTIONS(501), + [anon_sym_PIPE_AMP] = ACTIONS(501), + [anon_sym_AMP_AMP] = ACTIONS(501), + [anon_sym_PIPE_PIPE] = ACTIONS(501), + [anon_sym_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(279), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(287), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(501), + [anon_sym_LF] = ACTIONS(501), + [anon_sym_AMP] = ACTIONS(501), + }, + [148] = { + [sym_quoted_argument] = STATE(105), + [sym_expansion] = STATE(105), + [sym_operator_expansion] = STATE(105), + [sym_command_substitution] = STATE(105), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_bracket_command_repeat1] = STATE(224), + [aux_sym_command_repeat2] = STATE(225), + [sym_file_descriptor] = ACTIONS(135), + [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_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(279), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(287), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [149] = { + [sym_quoted_argument] = STATE(226), + [sym_expansion] = STATE(226), + [sym_operator_expansion] = STATE(226), + [sym_command_substitution] = STATE(226), + [anon_sym_DQUOTE] = ACTIONS(157), + [sym_single_quoted_argument] = ACTIONS(587), + [anon_sym_DOLLAR] = ACTIONS(161), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(163), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(165), + [sym_word] = ACTIONS(589), + [sym_comment] = ACTIONS(71), + }, + [150] = { + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [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(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), + }, + [151] = { + [anon_sym_SEMI_SEMI] = ACTIONS(591), + [anon_sym_PIPE] = ACTIONS(591), + [anon_sym_PIPE_AMP] = ACTIONS(591), + [anon_sym_AMP_AMP] = ACTIONS(591), + [anon_sym_PIPE_PIPE] = ACTIONS(591), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(591), + [anon_sym_LF] = ACTIONS(591), + [anon_sym_AMP] = ACTIONS(591), + }, + [152] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_done] = ACTIONS(593), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [153] = { + [anon_sym_SEMI_SEMI] = ACTIONS(595), + [anon_sym_PIPE] = ACTIONS(595), + [anon_sym_PIPE_AMP] = ACTIONS(595), + [anon_sym_AMP_AMP] = ACTIONS(595), + [anon_sym_PIPE_PIPE] = ACTIONS(595), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(595), + [anon_sym_LF] = ACTIONS(595), + [anon_sym_AMP] = ACTIONS(595), + }, + [154] = { + [sym__terminated_statement] = STATE(229), + [sym_while_statement] = STATE(23), + [sym_if_statement] = STATE(23), + [sym_case_statement] = STATE(23), + [sym_function_definition] = STATE(23), + [sym_bracket_command] = STATE(23), + [sym_command] = STATE(23), + [sym_pipeline] = STATE(23), + [sym_list] = STATE(23), + [sym_subshell] = STATE(23), + [sym_environment_variable_assignment] = STATE(24), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [155] = { + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(230), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(597), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [156] = { + [anon_sym_fi] = ACTIONS(599), + [anon_sym_elif] = ACTIONS(599), + [anon_sym_else] = ACTIONS(599), + [sym_comment] = ACTIONS(71), + }, + [157] = { + [anon_sym_fi] = ACTIONS(601), + [sym_comment] = ACTIONS(71), + }, + [158] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_elif_clause] = STATE(156), + [sym_else_clause] = STATE(232), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_if_statement_repeat1] = STATE(233), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(603), + [anon_sym_elif] = ACTIONS(407), + [anon_sym_else] = ACTIONS(409), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [159] = { + [sym_elif_clause] = STATE(234), + [sym_else_clause] = STATE(232), + [anon_sym_fi] = ACTIONS(601), + [anon_sym_elif] = ACTIONS(605), + [anon_sym_else] = ACTIONS(607), + [sym_comment] = ACTIONS(71), + }, + [160] = { + [anon_sym_in] = ACTIONS(545), [anon_sym_SEMI_SEMI] = ACTIONS(545), - [anon_sym_PIPE] = ACTIONS(545), - [anon_sym_PIPE_AMP] = ACTIONS(545), - [anon_sym_AMP_AMP] = ACTIONS(545), - [anon_sym_PIPE_PIPE] = ACTIONS(545), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(545), [anon_sym_LF] = ACTIONS(545), [anon_sym_AMP] = ACTIONS(545), }, - [132] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(210), - [anon_sym_DQUOTE] = ACTIONS(547), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [133] = { - [sym_file_descriptor] = ACTIONS(549), - [anon_sym_SEMI_SEMI] = ACTIONS(551), - [anon_sym_COLON] = ACTIONS(551), - [anon_sym_PIPE] = ACTIONS(551), - [anon_sym_PIPE_AMP] = ACTIONS(551), - [anon_sym_AMP_AMP] = ACTIONS(551), - [anon_sym_PIPE_PIPE] = ACTIONS(551), - [anon_sym_DQUOTE] = ACTIONS(551), - [sym_single_quoted_argument] = ACTIONS(551), - [anon_sym_LT] = ACTIONS(551), - [anon_sym_GT] = ACTIONS(551), - [anon_sym_GT_GT] = ACTIONS(551), - [anon_sym_AMP_GT] = ACTIONS(551), - [anon_sym_AMP_GT_GT] = ACTIONS(551), - [anon_sym_LT_AMP] = ACTIONS(551), - [anon_sym_GT_AMP] = ACTIONS(551), - [sym_leading_word] = ACTIONS(551), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(551), - [anon_sym_LF] = ACTIONS(551), - [anon_sym_AMP] = ACTIONS(551), - }, - [134] = { - [anon_sym_DOLLAR] = ACTIONS(553), - [sym_word] = ACTIONS(555), - [sym_comment] = ACTIONS(67), - }, - [135] = { - [sym_leading_word] = ACTIONS(557), - [sym_comment] = ACTIONS(67), - }, - [136] = { - [sym_command] = STATE(214), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), - }, - [137] = { - [sym_file_descriptor] = ACTIONS(559), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(561), - [sym_single_quoted_argument] = 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), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), - }, - [138] = { - [anon_sym_SEMI_SEMI] = ACTIONS(563), - [anon_sym_PIPE] = ACTIONS(563), - [anon_sym_PIPE_AMP] = ACTIONS(563), - [anon_sym_AMP_AMP] = ACTIONS(563), - [anon_sym_PIPE_PIPE] = ACTIONS(563), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(563), - [anon_sym_LF] = ACTIONS(563), - [anon_sym_AMP] = ACTIONS(563), - }, - [139] = { - [sym_file_descriptor] = ACTIONS(181), - [anon_sym_SEMI_SEMI] = ACTIONS(563), - [anon_sym_COLON] = ACTIONS(183), - [anon_sym_PIPE] = ACTIONS(563), - [anon_sym_PIPE_AMP] = ACTIONS(563), - [anon_sym_AMP_AMP] = ACTIONS(563), - [anon_sym_PIPE_PIPE] = ACTIONS(563), - [anon_sym_DQUOTE] = ACTIONS(183), - [sym_single_quoted_argument] = ACTIONS(183), - [anon_sym_LT] = ACTIONS(183), - [anon_sym_GT] = ACTIONS(183), - [anon_sym_GT_GT] = ACTIONS(183), - [anon_sym_AMP_GT] = ACTIONS(183), - [anon_sym_AMP_GT_GT] = ACTIONS(183), - [anon_sym_LT_AMP] = ACTIONS(183), - [anon_sym_GT_AMP] = ACTIONS(183), - [sym_leading_word] = ACTIONS(183), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(563), - [anon_sym_LF] = ACTIONS(563), - [anon_sym_AMP] = ACTIONS(563), - }, - [140] = { - [anon_sym_SEMI_SEMI] = ACTIONS(565), - [anon_sym_PIPE] = ACTIONS(177), - [anon_sym_PIPE_AMP] = ACTIONS(177), - [anon_sym_AMP_AMP] = ACTIONS(565), - [anon_sym_PIPE_PIPE] = ACTIONS(565), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(565), - [anon_sym_LF] = ACTIONS(565), - [anon_sym_AMP] = ACTIONS(565), - }, - [141] = { - [sym_file_descriptor] = ACTIONS(181), - [anon_sym_SEMI_SEMI] = ACTIONS(565), - [anon_sym_COLON] = ACTIONS(183), - [anon_sym_PIPE] = ACTIONS(177), - [anon_sym_PIPE_AMP] = ACTIONS(177), - [anon_sym_AMP_AMP] = ACTIONS(565), - [anon_sym_PIPE_PIPE] = ACTIONS(565), - [anon_sym_DQUOTE] = ACTIONS(183), - [sym_single_quoted_argument] = ACTIONS(183), - [anon_sym_LT] = ACTIONS(183), - [anon_sym_GT] = ACTIONS(183), - [anon_sym_GT_GT] = ACTIONS(183), - [anon_sym_AMP_GT] = ACTIONS(183), - [anon_sym_AMP_GT_GT] = ACTIONS(183), - [anon_sym_LT_AMP] = ACTIONS(183), - [anon_sym_GT_AMP] = ACTIONS(183), - [sym_leading_word] = ACTIONS(183), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(565), - [anon_sym_LF] = ACTIONS(565), - [anon_sym_AMP] = ACTIONS(565), - }, - [142] = { - [sym_quoted_argument] = STATE(100), - [sym_expansion] = STATE(100), - [sym_operator_expansion] = STATE(100), - [sym_command_substitution] = STATE(100), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_bracket_command_repeat1] = STATE(215), - [aux_sym_command_repeat2] = STATE(189), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(483), - [anon_sym_PIPE] = ACTIONS(483), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(483), - [anon_sym_PIPE_PIPE] = ACTIONS(483), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(263), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(271), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), - }, - [143] = { - [sym_quoted_argument] = STATE(100), - [sym_expansion] = STATE(100), - [sym_operator_expansion] = STATE(100), - [sym_command_substitution] = STATE(100), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_bracket_command_repeat1] = STATE(216), - [aux_sym_command_repeat2] = STATE(217), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(567), - [anon_sym_PIPE] = ACTIONS(567), - [anon_sym_PIPE_AMP] = ACTIONS(567), - [anon_sym_AMP_AMP] = ACTIONS(567), - [anon_sym_PIPE_PIPE] = ACTIONS(567), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(263), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(271), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(567), - [anon_sym_LF] = ACTIONS(567), - [anon_sym_AMP] = ACTIONS(567), - }, - [144] = { - [sym_quoted_argument] = STATE(218), - [sym_expansion] = STATE(218), - [sym_operator_expansion] = STATE(218), - [sym_command_substitution] = STATE(218), - [anon_sym_DQUOTE] = ACTIONS(149), - [sym_single_quoted_argument] = ACTIONS(569), - [anon_sym_DOLLAR] = ACTIONS(153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), - [sym_word] = ACTIONS(571), - [sym_comment] = ACTIONS(67), - }, - [145] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(567), - [anon_sym_PIPE] = ACTIONS(567), - [anon_sym_PIPE_AMP] = ACTIONS(567), - [anon_sym_AMP_AMP] = ACTIONS(567), - [anon_sym_PIPE_PIPE] = ACTIONS(567), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(567), - [anon_sym_LF] = ACTIONS(567), - [anon_sym_AMP] = ACTIONS(567), - }, - [146] = { - [anon_sym_SEMI_SEMI] = ACTIONS(573), - [anon_sym_PIPE] = ACTIONS(573), - [anon_sym_PIPE_AMP] = ACTIONS(573), - [anon_sym_AMP_AMP] = ACTIONS(573), - [anon_sym_PIPE_PIPE] = ACTIONS(573), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(573), - [anon_sym_LF] = ACTIONS(573), - [anon_sym_AMP] = ACTIONS(573), - }, - [147] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_done] = ACTIONS(575), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [148] = { - [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), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(577), - [anon_sym_LF] = ACTIONS(577), - [anon_sym_AMP] = ACTIONS(577), - }, - [149] = { - [sym__terminated_statement] = STATE(221), - [sym_while_statement] = STATE(22), - [sym_if_statement] = STATE(22), - [sym_case_statement] = STATE(22), - [sym_bracket_command] = STATE(22), - [sym_command] = STATE(22), - [sym_pipeline] = STATE(22), - [sym_list] = STATE(22), - [sym_subshell] = STATE(22), - [sym_environment_variable_assignment] = STATE(23), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [150] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(222), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(579), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [151] = { - [anon_sym_fi] = ACTIONS(581), - [anon_sym_elif] = ACTIONS(581), - [anon_sym_else] = ACTIONS(581), - [sym_comment] = ACTIONS(67), - }, - [152] = { - [anon_sym_fi] = ACTIONS(583), - [sym_comment] = ACTIONS(67), - }, - [153] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_elif_clause] = STATE(151), - [sym_else_clause] = STATE(224), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_if_statement_repeat1] = STATE(225), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(585), - [anon_sym_elif] = ACTIONS(393), - [anon_sym_else] = ACTIONS(395), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [154] = { - [sym_elif_clause] = STATE(226), - [sym_else_clause] = STATE(224), - [anon_sym_fi] = ACTIONS(583), - [anon_sym_elif] = ACTIONS(587), - [anon_sym_else] = ACTIONS(589), - [sym_comment] = ACTIONS(67), - }, - [155] = { - [anon_sym_in] = ACTIONS(529), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), - }, - [156] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(231), - [anon_sym_esac] = ACTIONS(591), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), - }, - [157] = { - [anon_sym_SEMI_SEMI] = ACTIONS(597), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(597), - [anon_sym_LF] = ACTIONS(597), - [anon_sym_AMP] = ACTIONS(597), - }, - [158] = { - [sym_quoted_argument] = STATE(233), - [sym_expansion] = STATE(233), - [sym_operator_expansion] = STATE(233), - [sym_command_substitution] = STATE(233), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(599), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(601), - [sym_comment] = ACTIONS(67), - }, - [159] = { - [anon_sym_in] = ACTIONS(603), - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), - }, - [160] = { - [anon_sym_LT] = ACTIONS(605), - [anon_sym_GT] = ACTIONS(605), - [anon_sym_GT_GT] = ACTIONS(607), - [anon_sym_AMP_GT] = ACTIONS(605), - [anon_sym_AMP_GT_GT] = ACTIONS(607), - [anon_sym_LT_AMP] = ACTIONS(607), - [anon_sym_GT_AMP] = ACTIONS(607), - [sym_comment] = ACTIONS(67), - }, [161] = { - [sym_quoted_argument] = STATE(237), - [sym_expansion] = STATE(237), - [sym_operator_expansion] = STATE(237), - [sym_command_substitution] = STATE(237), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_bracket_command_repeat1] = STATE(242), - [aux_sym_command_repeat2] = STATE(243), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(609), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(613), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(629), - [sym_comment] = ACTIONS(67), + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(239), + [anon_sym_esac] = ACTIONS(609), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [162] = { - [sym_quoted_argument] = STATE(244), - [sym_expansion] = STATE(244), - [sym_operator_expansion] = STATE(244), - [sym_command_substitution] = STATE(244), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(631), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [sym_word] = ACTIONS(633), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(615), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(615), + [anon_sym_LF] = ACTIONS(615), + [anon_sym_AMP] = ACTIONS(615), }, [163] = { - [sym_heredoc] = STATE(248), - [sym__simple_heredoc] = ACTIONS(635), - [sym__heredoc_beginning] = ACTIONS(637), - [sym_comment] = ACTIONS(67), + [anon_sym_in] = ACTIONS(617), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [164] = { - [sym_file_descriptor] = ACTIONS(289), - [anon_sym_RPAREN] = ACTIONS(289), - [anon_sym_LT] = ACTIONS(639), - [anon_sym_GT] = ACTIONS(639), - [anon_sym_GT_GT] = ACTIONS(289), - [anon_sym_AMP_GT] = ACTIONS(639), - [anon_sym_AMP_GT_GT] = ACTIONS(289), - [anon_sym_LT_AMP] = ACTIONS(289), - [anon_sym_GT_AMP] = ACTIONS(289), - [anon_sym_LT_LT] = ACTIONS(639), - [anon_sym_LT_LT_DASH] = ACTIONS(289), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(241), + [sym_expansion] = STATE(241), + [sym_operator_expansion] = STATE(241), + [sym_command_substitution] = STATE(241), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(619), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(621), + [sym_comment] = ACTIONS(71), }, [165] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(609), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [anon_sym_LT] = ACTIONS(623), + [anon_sym_GT] = ACTIONS(623), + [anon_sym_GT_GT] = ACTIONS(625), + [anon_sym_AMP_GT] = ACTIONS(623), + [anon_sym_AMP_GT_GT] = ACTIONS(625), + [anon_sym_LT_AMP] = ACTIONS(625), + [anon_sym_GT_AMP] = ACTIONS(625), + [sym_comment] = ACTIONS(71), }, [166] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(299), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_comment] = ACTIONS(135), + [sym_quoted_argument] = STATE(245), + [sym_expansion] = STATE(245), + [sym_operator_expansion] = STATE(245), + [sym_command_substitution] = STATE(245), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_bracket_command_repeat1] = STATE(250), + [aux_sym_command_repeat2] = STATE(251), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(627), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(647), + [sym_comment] = ACTIONS(71), }, [167] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(641), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_quoted_argument] = STATE(252), + [sym_expansion] = STATE(252), + [sym_operator_expansion] = STATE(252), + [sym_command_substitution] = STATE(252), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(649), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [sym_word] = ACTIONS(651), + [sym_comment] = ACTIONS(71), }, [168] = { - [sym_quoted_argument] = STATE(237), - [sym_expansion] = STATE(237), - [sym_operator_expansion] = STATE(237), - [sym_command_substitution] = STATE(237), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_bracket_command_repeat1] = STATE(251), - [aux_sym_command_repeat2] = STATE(252), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(643), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(613), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(629), - [sym_comment] = ACTIONS(67), + [sym_heredoc] = STATE(256), + [sym__simple_heredoc] = ACTIONS(653), + [sym__heredoc_beginning] = ACTIONS(655), + [sym_comment] = ACTIONS(71), }, [169] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(643), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(305), + [anon_sym_RPAREN] = ACTIONS(305), + [anon_sym_LT] = ACTIONS(657), + [anon_sym_GT] = ACTIONS(657), + [anon_sym_GT_GT] = ACTIONS(305), + [anon_sym_AMP_GT] = ACTIONS(657), + [anon_sym_AMP_GT_GT] = ACTIONS(305), + [anon_sym_LT_AMP] = ACTIONS(305), + [anon_sym_GT_AMP] = ACTIONS(305), + [anon_sym_LT_LT] = ACTIONS(657), + [anon_sym_LT_LT_DASH] = ACTIONS(305), + [sym_comment] = ACTIONS(71), }, [170] = { - [anon_sym_in] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(627), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), }, [171] = { - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(243), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(259), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(647), - [anon_sym_LT] = ACTIONS(417), - [anon_sym_GT] = ACTIONS(417), - [anon_sym_GT_GT] = ACTIONS(417), - [anon_sym_AMP_GT] = ACTIONS(417), - [anon_sym_AMP_GT_GT] = ACTIONS(417), - [anon_sym_LT_AMP] = ACTIONS(417), - [anon_sym_GT_AMP] = ACTIONS(417), - [anon_sym_LT_LT] = ACTIONS(419), - [anon_sym_LT_LT_DASH] = ACTIONS(419), - [sym_comment] = ACTIONS(135), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(311), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_comment] = ACTIONS(145), }, [172] = { - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(255), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(363), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(649), - [anon_sym_EQ] = ACTIONS(367), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(659), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [173] = { + [sym_quoted_argument] = STATE(245), + [sym_expansion] = STATE(245), + [sym_operator_expansion] = STATE(245), + [sym_command_substitution] = STATE(245), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_bracket_command_repeat1] = STATE(259), + [aux_sym_command_repeat2] = STATE(260), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(661), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(647), + [sym_comment] = ACTIONS(71), + }, + [174] = { + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(661), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), + }, + [175] = { + [anon_sym_in] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [176] = { + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(251), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(275), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(665), + [anon_sym_LT] = ACTIONS(431), + [anon_sym_GT] = ACTIONS(431), + [anon_sym_GT_GT] = ACTIONS(431), + [anon_sym_AMP_GT] = ACTIONS(431), + [anon_sym_AMP_GT_GT] = ACTIONS(431), + [anon_sym_LT_AMP] = ACTIONS(431), + [anon_sym_GT_AMP] = ACTIONS(431), + [anon_sym_LT_LT] = ACTIONS(433), + [anon_sym_LT_LT_DASH] = ACTIONS(433), + [sym_comment] = ACTIONS(145), + }, + [177] = { + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(263), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(377), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(667), + [anon_sym_EQ] = ACTIONS(381), + [anon_sym_LT] = ACTIONS(431), + [anon_sym_GT] = ACTIONS(431), + [anon_sym_GT_GT] = ACTIONS(431), + [anon_sym_AMP_GT] = ACTIONS(431), + [anon_sym_AMP_GT_GT] = ACTIONS(431), + [anon_sym_LT_AMP] = ACTIONS(431), + [anon_sym_GT_AMP] = ACTIONS(431), + [anon_sym_LT_LT] = ACTIONS(433), + [anon_sym_LT_LT_DASH] = ACTIONS(433), + [sym_comment] = ACTIONS(145), + }, + [178] = { + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(265), + [anon_sym_esac] = ACTIONS(669), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), + }, + [179] = { + [anon_sym_SEMI_SEMI] = ACTIONS(671), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(671), + [anon_sym_LF] = ACTIONS(671), + [anon_sym_AMP] = ACTIONS(671), + }, + [180] = { + [sym_compound_command] = STATE(267), + [anon_sym_LBRACE] = ACTIONS(561), + [sym_comment] = ACTIONS(71), + }, + [181] = { + [anon_sym_RPAREN] = ACTIONS(543), + [anon_sym_RBRACE] = ACTIONS(543), + [anon_sym_RBRACK] = ACTIONS(673), + [anon_sym_RBRACK_RBRACK] = ACTIONS(673), + [anon_sym_DQUOTE] = ACTIONS(543), + [sym_single_quoted_argument] = ACTIONS(673), + [anon_sym_DOLLAR] = ACTIONS(673), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(543), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(543), + [sym_word] = ACTIONS(545), + [sym_comment] = ACTIONS(71), + }, + [182] = { + [anon_sym_RPAREN] = ACTIONS(675), + [anon_sym_RBRACE] = ACTIONS(675), + [anon_sym_RBRACK] = ACTIONS(677), + [anon_sym_RBRACK_RBRACK] = ACTIONS(677), + [anon_sym_DQUOTE] = ACTIONS(675), + [sym_single_quoted_argument] = ACTIONS(677), + [anon_sym_DOLLAR] = ACTIONS(677), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(675), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(675), + [sym_word] = ACTIONS(617), + [sym_comment] = ACTIONS(71), + }, + [183] = { + [sym_quoted_argument] = STATE(268), + [sym_expansion] = STATE(268), + [sym_operator_expansion] = STATE(268), + [sym_command_substitution] = STATE(268), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(679), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(681), + [sym_comment] = ACTIONS(71), + }, + [184] = { + [anon_sym_RPAREN] = ACTIONS(683), + [anon_sym_RBRACE] = ACTIONS(683), + [anon_sym_RBRACK] = ACTIONS(685), + [anon_sym_RBRACK_RBRACK] = ACTIONS(685), + [anon_sym_DQUOTE] = ACTIONS(683), + [sym_single_quoted_argument] = ACTIONS(685), + [anon_sym_DOLLAR] = ACTIONS(685), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(683), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(683), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(71), + }, + [185] = { + [sym_file_descriptor] = ACTIONS(389), + [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(145), + [anon_sym_SEMI] = ACTIONS(393), + [anon_sym_LF] = ACTIONS(393), + [anon_sym_AMP] = ACTIONS(393), + }, + [186] = { + [sym_file_descriptor] = ACTIONS(395), + [anon_sym_SEMI_SEMI] = ACTIONS(399), + [anon_sym_PIPE] = ACTIONS(399), + [anon_sym_PIPE_AMP] = ACTIONS(399), + [anon_sym_AMP_AMP] = ACTIONS(399), + [anon_sym_PIPE_PIPE] = ACTIONS(399), + [anon_sym_LT] = ACTIONS(399), + [anon_sym_GT] = ACTIONS(399), + [anon_sym_GT_GT] = ACTIONS(399), + [anon_sym_AMP_GT] = ACTIONS(399), + [anon_sym_AMP_GT_GT] = ACTIONS(399), + [anon_sym_LT_AMP] = ACTIONS(399), + [anon_sym_GT_AMP] = ACTIONS(399), + [anon_sym_LT_LT] = ACTIONS(399), + [anon_sym_LT_LT_DASH] = ACTIONS(399), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(399), + [anon_sym_LF] = ACTIONS(399), + [anon_sym_AMP] = ACTIONS(399), + }, + [187] = { + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_DOLLAR] = ACTIONS(311), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), + }, + [188] = { + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(687), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [189] = { + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_DOLLAR] = ACTIONS(417), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), [anon_sym_LT] = ACTIONS(417), [anon_sym_GT] = ACTIONS(417), [anon_sym_GT_GT] = ACTIONS(417), @@ -10034,1065 +11126,921 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(417), [anon_sym_LT_AMP] = ACTIONS(417), [anon_sym_GT_AMP] = ACTIONS(417), - [anon_sym_LT_LT] = ACTIONS(419), - [anon_sym_LT_LT_DASH] = ACTIONS(419), - [sym_comment] = ACTIONS(135), - }, - [173] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(257), - [anon_sym_esac] = ACTIONS(651), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), - }, - [174] = { - [anon_sym_SEMI_SEMI] = ACTIONS(653), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(653), - [anon_sym_LF] = ACTIONS(653), - [anon_sym_AMP] = ACTIONS(653), - }, - [175] = { - [anon_sym_RPAREN] = ACTIONS(527), - [anon_sym_RBRACK] = ACTIONS(655), - [anon_sym_RBRACK_RBRACK] = ACTIONS(655), - [anon_sym_DQUOTE] = ACTIONS(527), - [sym_single_quoted_argument] = ACTIONS(655), - [anon_sym_DOLLAR] = ACTIONS(655), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(527), - [anon_sym_RBRACE] = ACTIONS(527), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(527), - [sym_word] = ACTIONS(529), - [sym_comment] = ACTIONS(67), - }, - [176] = { - [sym_quoted_argument] = STATE(259), - [sym_expansion] = STATE(259), - [sym_operator_expansion] = STATE(259), - [sym_command_substitution] = STATE(259), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(657), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(659), - [sym_comment] = ACTIONS(67), - }, - [177] = { - [anon_sym_RPAREN] = ACTIONS(661), - [anon_sym_RBRACK] = ACTIONS(663), - [anon_sym_RBRACK_RBRACK] = ACTIONS(663), - [anon_sym_DQUOTE] = ACTIONS(661), - [sym_single_quoted_argument] = ACTIONS(663), - [anon_sym_DOLLAR] = ACTIONS(663), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(661), - [anon_sym_RBRACE] = ACTIONS(661), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(661), - [sym_word] = ACTIONS(603), - [sym_comment] = ACTIONS(67), - }, - [178] = { - [anon_sym_RPAREN] = ACTIONS(665), - [anon_sym_RBRACK] = ACTIONS(667), - [anon_sym_RBRACK_RBRACK] = ACTIONS(667), - [anon_sym_DQUOTE] = ACTIONS(665), - [sym_single_quoted_argument] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(667), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(665), - [anon_sym_RBRACE] = ACTIONS(665), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(665), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(67), - }, - [179] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_SEMI_SEMI] = ACTIONS(379), - [anon_sym_PIPE] = ACTIONS(379), - [anon_sym_PIPE_AMP] = ACTIONS(379), - [anon_sym_AMP_AMP] = ACTIONS(379), - [anon_sym_PIPE_PIPE] = ACTIONS(379), - [anon_sym_LT] = ACTIONS(379), - [anon_sym_GT] = ACTIONS(379), - [anon_sym_GT_GT] = ACTIONS(379), - [anon_sym_AMP_GT] = ACTIONS(379), - [anon_sym_AMP_GT_GT] = ACTIONS(379), - [anon_sym_LT_AMP] = ACTIONS(379), - [anon_sym_GT_AMP] = ACTIONS(379), - [anon_sym_LT_LT] = ACTIONS(379), - [anon_sym_LT_LT_DASH] = ACTIONS(379), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(379), - [anon_sym_LF] = ACTIONS(379), - [anon_sym_AMP] = ACTIONS(379), - }, - [180] = { - [sym_file_descriptor] = ACTIONS(381), - [anon_sym_SEMI_SEMI] = ACTIONS(385), - [anon_sym_PIPE] = ACTIONS(385), - [anon_sym_PIPE_AMP] = ACTIONS(385), - [anon_sym_AMP_AMP] = ACTIONS(385), - [anon_sym_PIPE_PIPE] = ACTIONS(385), - [anon_sym_LT] = ACTIONS(385), - [anon_sym_GT] = ACTIONS(385), - [anon_sym_GT_GT] = ACTIONS(385), - [anon_sym_AMP_GT] = ACTIONS(385), - [anon_sym_AMP_GT_GT] = ACTIONS(385), - [anon_sym_LT_AMP] = ACTIONS(385), - [anon_sym_GT_AMP] = ACTIONS(385), - [anon_sym_LT_LT] = ACTIONS(385), - [anon_sym_LT_LT_DASH] = ACTIONS(385), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(385), - [anon_sym_LF] = ACTIONS(385), - [anon_sym_AMP] = ACTIONS(385), - }, - [181] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_DQUOTE] = ACTIONS(299), - [sym_single_quoted_argument] = ACTIONS(299), - [anon_sym_DOLLAR] = ACTIONS(299), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(299), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_word] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), - }, - [182] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(669), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [183] = { - [sym_file_descriptor] = ACTIONS(441), - [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_DQUOTE] = ACTIONS(403), - [sym_single_quoted_argument] = ACTIONS(403), - [anon_sym_DOLLAR] = ACTIONS(403), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(403), - [anon_sym_DOLLAR_LPAREN] = 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_word] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), - }, - [184] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [anon_sym_DQUOTE] = ACTIONS(405), - [sym_single_quoted_argument] = ACTIONS(405), - [anon_sym_DOLLAR] = ACTIONS(405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(405), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_word] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), - }, - [185] = { - [anon_sym_COLON] = ACTIONS(671), - [anon_sym_EQ] = ACTIONS(673), - [anon_sym_COLON_QMARK] = ACTIONS(673), - [anon_sym_COLON_DASH] = ACTIONS(673), - [anon_sym_RBRACE] = ACTIONS(675), - [sym_comment] = ACTIONS(67), - }, - [186] = { - [anon_sym_RPAREN] = ACTIONS(677), - [sym_comment] = ACTIONS(67), - }, - [187] = { - [sym_file_descriptor] = ACTIONS(461), - [anon_sym_SEMI_SEMI] = ACTIONS(463), - [anon_sym_PIPE] = ACTIONS(463), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(463), - [anon_sym_PIPE_PIPE] = ACTIONS(463), - [anon_sym_DQUOTE] = ACTIONS(463), - [sym_single_quoted_argument] = ACTIONS(463), - [anon_sym_DOLLAR] = ACTIONS(463), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(463), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(463), - [anon_sym_LT] = ACTIONS(463), - [anon_sym_GT] = ACTIONS(463), - [anon_sym_GT_GT] = ACTIONS(463), - [anon_sym_AMP_GT] = ACTIONS(463), - [anon_sym_AMP_GT_GT] = ACTIONS(463), - [anon_sym_LT_AMP] = ACTIONS(463), - [anon_sym_GT_AMP] = ACTIONS(463), - [anon_sym_LT_LT] = ACTIONS(463), - [anon_sym_LT_LT_DASH] = ACTIONS(463), - [sym_word] = ACTIONS(463), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(463), - [anon_sym_LF] = ACTIONS(463), - [anon_sym_AMP] = ACTIONS(463), - }, - [188] = { - [sym_file_descriptor] = ACTIONS(467), - [anon_sym_SEMI_SEMI] = ACTIONS(469), - [anon_sym_PIPE] = ACTIONS(469), - [anon_sym_PIPE_AMP] = ACTIONS(469), - [anon_sym_AMP_AMP] = ACTIONS(469), - [anon_sym_PIPE_PIPE] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(469), - [sym_single_quoted_argument] = ACTIONS(469), - [anon_sym_DOLLAR] = ACTIONS(469), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(469), - [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_LT] = ACTIONS(469), - [anon_sym_LT_LT_DASH] = ACTIONS(469), - [sym_word] = ACTIONS(469), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(469), - [anon_sym_LF] = ACTIONS(469), - [anon_sym_AMP] = ACTIONS(469), - }, - [189] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(679), - [anon_sym_PIPE] = ACTIONS(679), - [anon_sym_PIPE_AMP] = ACTIONS(679), - [anon_sym_AMP_AMP] = ACTIONS(679), - [anon_sym_PIPE_PIPE] = ACTIONS(679), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(679), - [anon_sym_LF] = ACTIONS(679), - [anon_sym_AMP] = ACTIONS(679), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [190] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_DOLLAR] = ACTIONS(419), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [191] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(681), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_RBRACE] = ACTIONS(689), + [anon_sym_COLON] = ACTIONS(691), + [anon_sym_EQ] = ACTIONS(693), + [anon_sym_COLON_QMARK] = ACTIONS(693), + [anon_sym_COLON_DASH] = ACTIONS(693), + [sym_comment] = ACTIONS(71), }, [192] = { - [sym_file_descriptor] = ACTIONS(441), - [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(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), + [anon_sym_RPAREN] = ACTIONS(695), + [sym_comment] = ACTIONS(71), }, [193] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), + [sym_file_descriptor] = ACTIONS(479), + [anon_sym_SEMI_SEMI] = ACTIONS(481), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(481), + [anon_sym_AMP_AMP] = ACTIONS(481), + [anon_sym_PIPE_PIPE] = ACTIONS(481), + [anon_sym_DQUOTE] = ACTIONS(481), + [sym_single_quoted_argument] = ACTIONS(481), + [anon_sym_DOLLAR] = ACTIONS(481), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(481), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(481), + [anon_sym_LT] = ACTIONS(481), + [anon_sym_GT] = ACTIONS(481), + [anon_sym_GT_GT] = ACTIONS(481), + [anon_sym_AMP_GT] = ACTIONS(481), + [anon_sym_AMP_GT_GT] = ACTIONS(481), + [anon_sym_LT_AMP] = ACTIONS(481), + [anon_sym_GT_AMP] = ACTIONS(481), + [anon_sym_LT_LT] = ACTIONS(481), + [anon_sym_LT_LT_DASH] = ACTIONS(481), + [sym_word] = ACTIONS(481), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(481), + [anon_sym_LF] = ACTIONS(481), + [anon_sym_AMP] = ACTIONS(481), }, [194] = { - [anon_sym_COLON] = ACTIONS(683), - [anon_sym_EQ] = ACTIONS(685), - [anon_sym_COLON_QMARK] = ACTIONS(685), - [anon_sym_COLON_DASH] = ACTIONS(685), - [anon_sym_RBRACE] = ACTIONS(687), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(485), + [anon_sym_SEMI_SEMI] = ACTIONS(487), + [anon_sym_PIPE] = ACTIONS(487), + [anon_sym_PIPE_AMP] = ACTIONS(487), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(487), + [anon_sym_DQUOTE] = ACTIONS(487), + [sym_single_quoted_argument] = ACTIONS(487), + [anon_sym_DOLLAR] = ACTIONS(487), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(487), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(487), + [anon_sym_LT] = ACTIONS(487), + [anon_sym_GT] = ACTIONS(487), + [anon_sym_GT_GT] = ACTIONS(487), + [anon_sym_AMP_GT] = ACTIONS(487), + [anon_sym_AMP_GT_GT] = ACTIONS(487), + [anon_sym_LT_AMP] = ACTIONS(487), + [anon_sym_GT_AMP] = ACTIONS(487), + [anon_sym_LT_LT] = ACTIONS(487), + [anon_sym_LT_LT_DASH] = ACTIONS(487), + [sym_word] = ACTIONS(487), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(487), + [anon_sym_LF] = ACTIONS(487), + [anon_sym_AMP] = ACTIONS(487), }, [195] = { - [anon_sym_RPAREN] = ACTIONS(689), - [sym_comment] = ACTIONS(67), - }, - [196] = { - [sym__heredoc_middle] = ACTIONS(691), - [sym__heredoc_end] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(691), - [sym_comment] = ACTIONS(67), - }, - [197] = { - [sym_file_descriptor] = ACTIONS(695), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), [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(135), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(697), [anon_sym_LF] = ACTIONS(697), [anon_sym_AMP] = ACTIONS(697), }, + [196] = { + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), + }, + [197] = { + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(699), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, [198] = { - [anon_sym_DOLLAR] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [199] = { - [sym_leading_word] = ACTIONS(703), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [200] = { - [sym_expansion] = STATE(272), - [sym_operator_expansion] = STATE(272), - [sym__heredoc_middle] = ACTIONS(705), - [sym__heredoc_end] = ACTIONS(707), - [anon_sym_DOLLAR] = ACTIONS(505), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(507), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(701), + [anon_sym_COLON] = ACTIONS(703), + [anon_sym_EQ] = ACTIONS(705), + [anon_sym_COLON_QMARK] = ACTIONS(705), + [anon_sym_COLON_DASH] = ACTIONS(705), + [sym_comment] = ACTIONS(71), }, [201] = { - [sym_quoted_argument] = STATE(274), - [sym_expansion] = STATE(274), - [sym_operator_expansion] = STATE(274), - [sym_command_substitution] = STATE(274), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(709), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(711), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(707), + [sym_comment] = ACTIONS(71), }, [202] = { - [anon_sym_DQUOTE] = ACTIONS(603), - [sym__quoted_chars] = ACTIONS(663), - [anon_sym_DOLLAR] = ACTIONS(603), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(603), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(603), - [sym_comment] = ACTIONS(135), + [sym__heredoc_middle] = ACTIONS(709), + [sym__heredoc_end] = ACTIONS(709), + [anon_sym_DOLLAR] = ACTIONS(711), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(709), + [sym_comment] = ACTIONS(71), }, [203] = { - [anon_sym_DQUOTE] = ACTIONS(645), - [sym__quoted_chars] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(645), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(645), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(645), - [sym_comment] = ACTIONS(135), + [sym_file_descriptor] = ACTIONS(713), + [anon_sym_SEMI_SEMI] = ACTIONS(715), + [anon_sym_PIPE] = ACTIONS(715), + [anon_sym_PIPE_AMP] = ACTIONS(715), + [anon_sym_AMP_AMP] = ACTIONS(715), + [anon_sym_PIPE_PIPE] = ACTIONS(715), + [anon_sym_LT] = ACTIONS(715), + [anon_sym_GT] = ACTIONS(715), + [anon_sym_GT_GT] = ACTIONS(715), + [anon_sym_AMP_GT] = ACTIONS(715), + [anon_sym_AMP_GT_GT] = ACTIONS(715), + [anon_sym_LT_AMP] = ACTIONS(715), + [anon_sym_GT_AMP] = ACTIONS(715), + [anon_sym_LT_LT] = ACTIONS(715), + [anon_sym_LT_LT_DASH] = ACTIONS(715), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(715), + [anon_sym_LF] = ACTIONS(715), + [anon_sym_AMP] = ACTIONS(715), }, [204] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_COLON] = ACTIONS(527), - [anon_sym_DQUOTE] = ACTIONS(527), - [sym_single_quoted_argument] = 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), - [sym_leading_word] = ACTIONS(529), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR] = ACTIONS(717), + [sym_word] = ACTIONS(719), + [sym_comment] = ACTIONS(71), }, [205] = { - [sym_quoted_argument] = STATE(276), - [sym_expansion] = STATE(276), - [sym_operator_expansion] = STATE(276), - [sym_command_substitution] = STATE(276), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(713), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(715), - [sym_comment] = ACTIONS(67), + [sym_leading_word] = ACTIONS(721), + [sym_comment] = ACTIONS(71), }, [206] = { - [sym_file_descriptor] = ACTIONS(661), - [anon_sym_COLON] = ACTIONS(661), - [anon_sym_DQUOTE] = ACTIONS(661), - [sym_single_quoted_argument] = ACTIONS(663), - [anon_sym_LT] = ACTIONS(663), - [anon_sym_GT] = ACTIONS(663), - [anon_sym_GT_GT] = ACTIONS(663), - [anon_sym_AMP_GT] = ACTIONS(663), - [anon_sym_AMP_GT_GT] = ACTIONS(663), - [anon_sym_LT_AMP] = ACTIONS(663), - [anon_sym_GT_AMP] = ACTIONS(663), - [sym_leading_word] = ACTIONS(603), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(281), + [sym_operator_expansion] = STATE(281), + [sym__heredoc_middle] = ACTIONS(723), + [sym__heredoc_end] = ACTIONS(725), + [anon_sym_DOLLAR] = ACTIONS(523), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), + [sym_comment] = ACTIONS(71), }, [207] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_COLON] = ACTIONS(665), - [anon_sym_DQUOTE] = ACTIONS(665), - [sym_single_quoted_argument] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(667), - [anon_sym_GT] = ACTIONS(667), - [anon_sym_GT_GT] = ACTIONS(667), - [anon_sym_AMP_GT] = ACTIONS(667), - [anon_sym_AMP_GT_GT] = ACTIONS(667), - [anon_sym_LT_AMP] = ACTIONS(667), - [anon_sym_GT_AMP] = ACTIONS(667), - [sym_leading_word] = ACTIONS(645), - [sym_comment] = ACTIONS(67), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym__quoted_chars] = ACTIONS(677), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(617), + [sym_comment] = ACTIONS(145), }, [208] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [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(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(717), - [anon_sym_LF] = ACTIONS(717), - [anon_sym_AMP] = ACTIONS(717), + [sym_quoted_argument] = STATE(283), + [sym_expansion] = STATE(283), + [sym_operator_expansion] = STATE(283), + [sym_command_substitution] = STATE(283), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(727), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(729), + [sym_comment] = ACTIONS(71), }, [209] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_COLON] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_DQUOTE] = ACTIONS(299), - [sym_single_quoted_argument] = ACTIONS(299), - [anon_sym_RBRACE] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [sym_leading_word] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), + [anon_sym_DQUOTE] = ACTIONS(663), + [sym__quoted_chars] = ACTIONS(685), + [anon_sym_DOLLAR] = ACTIONS(663), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(663), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(663), + [sym_comment] = ACTIONS(145), }, [210] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(719), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_COLON] = ACTIONS(543), + [anon_sym_DQUOTE] = ACTIONS(543), + [sym_single_quoted_argument] = ACTIONS(673), + [anon_sym_LT] = ACTIONS(673), + [anon_sym_GT] = ACTIONS(673), + [anon_sym_GT_GT] = ACTIONS(673), + [anon_sym_AMP_GT] = ACTIONS(673), + [anon_sym_AMP_GT_GT] = ACTIONS(673), + [anon_sym_LT_AMP] = ACTIONS(673), + [anon_sym_GT_AMP] = ACTIONS(673), + [sym_leading_word] = ACTIONS(545), + [sym_comment] = ACTIONS(71), }, [211] = { - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(403), - [sym_single_quoted_argument] = ACTIONS(403), - [anon_sym_RBRACE] = 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), - [sym_leading_word] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_COLON] = ACTIONS(675), + [anon_sym_DQUOTE] = ACTIONS(675), + [sym_single_quoted_argument] = ACTIONS(677), + [anon_sym_LT] = ACTIONS(677), + [anon_sym_GT] = ACTIONS(677), + [anon_sym_GT_GT] = ACTIONS(677), + [anon_sym_AMP_GT] = ACTIONS(677), + [anon_sym_AMP_GT_GT] = ACTIONS(677), + [anon_sym_LT_AMP] = ACTIONS(677), + [anon_sym_GT_AMP] = ACTIONS(677), + [sym_leading_word] = ACTIONS(617), + [sym_comment] = ACTIONS(71), }, [212] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_COLON] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [anon_sym_DQUOTE] = ACTIONS(405), - [sym_single_quoted_argument] = ACTIONS(405), - [anon_sym_RBRACE] = ACTIONS(405), - [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), - [sym_leading_word] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), + [sym_quoted_argument] = STATE(285), + [sym_expansion] = STATE(285), + [sym_operator_expansion] = STATE(285), + [sym_command_substitution] = STATE(285), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(731), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(733), + [sym_comment] = ACTIONS(71), }, [213] = { - [anon_sym_COLON] = ACTIONS(721), - [anon_sym_EQ] = ACTIONS(723), - [anon_sym_COLON_QMARK] = ACTIONS(723), - [anon_sym_COLON_DASH] = ACTIONS(723), - [anon_sym_RBRACE] = ACTIONS(725), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_COLON] = ACTIONS(683), + [anon_sym_DQUOTE] = ACTIONS(683), + [sym_single_quoted_argument] = 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), + [sym_leading_word] = ACTIONS(663), + [sym_comment] = ACTIONS(71), }, [214] = { - [anon_sym_RPAREN] = ACTIONS(727), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(288), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_RBRACE] = ACTIONS(735), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [215] = { - [sym_quoted_argument] = STATE(187), - [sym_expansion] = STATE(187), - [sym_operator_expansion] = STATE(187), - [sym_command_substitution] = STATE(187), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(282), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(679), - [anon_sym_PIPE] = ACTIONS(679), - [anon_sym_PIPE_AMP] = ACTIONS(679), - [anon_sym_AMP_AMP] = ACTIONS(679), - [anon_sym_PIPE_PIPE] = ACTIONS(679), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(485), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(487), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(679), - [anon_sym_LF] = ACTIONS(679), - [anon_sym_AMP] = ACTIONS(679), + [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), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), }, [216] = { - [sym_quoted_argument] = STATE(187), - [sym_expansion] = STATE(187), - [sym_operator_expansion] = STATE(187), - [sym_command_substitution] = STATE(187), - [sym_file_redirect] = STATE(43), - [sym_heredoc_redirect] = STATE(43), - [aux_sym_command_repeat2] = STATE(283), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(729), - [anon_sym_PIPE] = ACTIONS(729), - [anon_sym_PIPE_AMP] = ACTIONS(729), - [anon_sym_AMP_AMP] = ACTIONS(729), - [anon_sym_PIPE_PIPE] = ACTIONS(729), - [anon_sym_DQUOTE] = ACTIONS(261), - [sym_single_quoted_argument] = ACTIONS(485), - [anon_sym_DOLLAR] = ACTIONS(265), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(267), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(269), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_word] = ACTIONS(487), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(729), - [anon_sym_LF] = ACTIONS(729), - [anon_sym_AMP] = ACTIONS(729), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(739), + [anon_sym_PIPE] = ACTIONS(739), + [anon_sym_PIPE_AMP] = ACTIONS(739), + [anon_sym_AMP_AMP] = ACTIONS(739), + [anon_sym_PIPE_PIPE] = ACTIONS(739), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(739), + [anon_sym_LF] = ACTIONS(739), + [anon_sym_AMP] = ACTIONS(739), }, [217] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(729), - [anon_sym_PIPE] = ACTIONS(729), - [anon_sym_PIPE_AMP] = ACTIONS(729), - [anon_sym_AMP_AMP] = ACTIONS(729), - [anon_sym_PIPE_PIPE] = ACTIONS(729), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(729), - [anon_sym_LF] = ACTIONS(729), - [anon_sym_AMP] = ACTIONS(729), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_COLON] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [sym_leading_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [218] = { - [sym_file_descriptor] = ACTIONS(549), - [anon_sym_COLON] = ACTIONS(549), - [anon_sym_DQUOTE] = ACTIONS(549), - [sym_single_quoted_argument] = ACTIONS(731), - [anon_sym_LT] = ACTIONS(731), - [anon_sym_GT] = ACTIONS(731), - [anon_sym_GT_GT] = ACTIONS(731), - [anon_sym_AMP_GT] = ACTIONS(731), - [anon_sym_AMP_GT_GT] = ACTIONS(731), - [anon_sym_LT_AMP] = ACTIONS(731), - [anon_sym_GT_AMP] = ACTIONS(731), - [sym_leading_word] = ACTIONS(551), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(741), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [219] = { - [sym_file_descriptor] = ACTIONS(559), - [anon_sym_COLON] = ACTIONS(559), - [anon_sym_DQUOTE] = ACTIONS(559), - [sym_single_quoted_argument] = ACTIONS(733), - [anon_sym_LT] = ACTIONS(733), - [anon_sym_GT] = ACTIONS(733), - [anon_sym_GT_GT] = ACTIONS(733), - [anon_sym_AMP_GT] = ACTIONS(733), - [anon_sym_AMP_GT_GT] = ACTIONS(733), - [anon_sym_LT_AMP] = ACTIONS(733), - [anon_sym_GT_AMP] = ACTIONS(733), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_COLON] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [sym_leading_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [220] = { - [anon_sym_SEMI_SEMI] = ACTIONS(735), - [anon_sym_PIPE] = ACTIONS(735), - [anon_sym_PIPE_AMP] = ACTIONS(735), - [anon_sym_AMP_AMP] = ACTIONS(735), - [anon_sym_PIPE_PIPE] = ACTIONS(735), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(735), - [anon_sym_LF] = ACTIONS(735), - [anon_sym_AMP] = ACTIONS(735), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_COLON] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [sym_leading_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [221] = { - [anon_sym_then] = ACTIONS(737), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(743), + [anon_sym_COLON] = ACTIONS(745), + [anon_sym_EQ] = ACTIONS(747), + [anon_sym_COLON_QMARK] = ACTIONS(747), + [anon_sym_COLON_DASH] = ACTIONS(747), + [sym_comment] = ACTIONS(71), }, [222] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(739), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(749), + [sym_comment] = ACTIONS(71), }, [223] = { - [anon_sym_SEMI_SEMI] = ACTIONS(741), - [anon_sym_PIPE] = ACTIONS(741), - [anon_sym_PIPE_AMP] = ACTIONS(741), - [anon_sym_AMP_AMP] = ACTIONS(741), - [anon_sym_PIPE_PIPE] = ACTIONS(741), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(741), - [anon_sym_LF] = ACTIONS(741), - [anon_sym_AMP] = ACTIONS(741), + [sym_quoted_argument] = STATE(193), + [sym_expansion] = STATE(193), + [sym_operator_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(293), + [sym_file_descriptor] = ACTIONS(135), + [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_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(503), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(505), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(697), + [anon_sym_LF] = ACTIONS(697), + [anon_sym_AMP] = ACTIONS(697), }, [224] = { - [anon_sym_fi] = ACTIONS(743), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(193), + [sym_expansion] = STATE(193), + [sym_operator_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [sym_file_redirect] = STATE(47), + [sym_heredoc_redirect] = STATE(47), + [aux_sym_command_repeat2] = STATE(294), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(751), + [anon_sym_PIPE] = ACTIONS(751), + [anon_sym_PIPE_AMP] = ACTIONS(751), + [anon_sym_AMP_AMP] = ACTIONS(751), + [anon_sym_PIPE_PIPE] = ACTIONS(751), + [anon_sym_DQUOTE] = ACTIONS(277), + [sym_single_quoted_argument] = ACTIONS(503), + [anon_sym_DOLLAR] = ACTIONS(281), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(283), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(285), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_word] = ACTIONS(505), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(751), + [anon_sym_LF] = ACTIONS(751), + [anon_sym_AMP] = ACTIONS(751), }, [225] = { - [sym_elif_clause] = STATE(226), - [sym_else_clause] = STATE(286), - [anon_sym_fi] = ACTIONS(743), - [anon_sym_elif] = ACTIONS(587), - [anon_sym_else] = ACTIONS(589), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(751), + [anon_sym_PIPE] = ACTIONS(751), + [anon_sym_PIPE_AMP] = ACTIONS(751), + [anon_sym_AMP_AMP] = ACTIONS(751), + [anon_sym_PIPE_PIPE] = ACTIONS(751), + [anon_sym_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(751), + [anon_sym_LF] = ACTIONS(751), + [anon_sym_AMP] = ACTIONS(751), }, [226] = { - [anon_sym_fi] = ACTIONS(745), - [anon_sym_elif] = ACTIONS(745), - [anon_sym_else] = ACTIONS(745), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(567), + [anon_sym_COLON] = ACTIONS(567), + [anon_sym_DQUOTE] = ACTIONS(567), + [sym_single_quoted_argument] = ACTIONS(753), + [anon_sym_LT] = ACTIONS(753), + [anon_sym_GT] = ACTIONS(753), + [anon_sym_GT_GT] = ACTIONS(753), + [anon_sym_AMP_GT] = ACTIONS(753), + [anon_sym_AMP_GT_GT] = ACTIONS(753), + [anon_sym_LT_AMP] = ACTIONS(753), + [anon_sym_GT_AMP] = ACTIONS(753), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(71), }, [227] = { - [anon_sym_SEMI_SEMI] = ACTIONS(747), - [anon_sym_PIPE] = ACTIONS(747), - [anon_sym_PIPE_AMP] = ACTIONS(747), - [anon_sym_AMP_AMP] = ACTIONS(747), - [anon_sym_PIPE_PIPE] = ACTIONS(747), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(747), - [anon_sym_LF] = ACTIONS(747), - [anon_sym_AMP] = ACTIONS(747), + [sym_file_descriptor] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_single_quoted_argument] = ACTIONS(755), + [anon_sym_LT] = ACTIONS(755), + [anon_sym_GT] = ACTIONS(755), + [anon_sym_GT_GT] = ACTIONS(755), + [anon_sym_AMP_GT] = ACTIONS(755), + [anon_sym_AMP_GT_GT] = ACTIONS(755), + [anon_sym_LT_AMP] = ACTIONS(755), + [anon_sym_GT_AMP] = ACTIONS(755), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(71), }, [228] = { - [anon_sym_RPAREN] = ACTIONS(749), - [sym_comment] = ACTIONS(67), + [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), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(757), + [anon_sym_LF] = ACTIONS(757), + [anon_sym_AMP] = ACTIONS(757), }, [229] = { - [anon_sym_RPAREN] = ACTIONS(751), - [sym_comment] = ACTIONS(67), + [anon_sym_then] = ACTIONS(759), + [sym_comment] = ACTIONS(71), }, [230] = { - [anon_sym_esac] = ACTIONS(753), - [anon_sym_DQUOTE] = ACTIONS(755), - [sym_single_quoted_argument] = ACTIONS(753), - [anon_sym_DOLLAR] = ACTIONS(753), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(755), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(755), - [sym_word] = ACTIONS(757), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(761), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [231] = { - [sym_case_item] = STATE(290), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [anon_sym_esac] = ACTIONS(759), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(763), + [anon_sym_PIPE] = ACTIONS(763), + [anon_sym_PIPE_AMP] = ACTIONS(763), + [anon_sym_AMP_AMP] = ACTIONS(763), + [anon_sym_PIPE_PIPE] = ACTIONS(763), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(763), + [anon_sym_LF] = ACTIONS(763), + [anon_sym_AMP] = ACTIONS(763), }, [232] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(291), - [anon_sym_esac] = ACTIONS(759), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [anon_sym_fi] = ACTIONS(765), + [sym_comment] = ACTIONS(71), }, [233] = { - [anon_sym_RBRACE] = ACTIONS(761), - [sym_comment] = ACTIONS(67), + [sym_elif_clause] = STATE(234), + [sym_else_clause] = STATE(297), + [anon_sym_fi] = ACTIONS(765), + [anon_sym_elif] = ACTIONS(605), + [anon_sym_else] = ACTIONS(607), + [sym_comment] = ACTIONS(71), }, [234] = { - [anon_sym_RBRACE] = ACTIONS(763), - [sym_comment] = ACTIONS(67), + [anon_sym_fi] = ACTIONS(767), + [anon_sym_elif] = ACTIONS(767), + [anon_sym_else] = ACTIONS(767), + [sym_comment] = ACTIONS(71), }, [235] = { - [sym_quoted_argument] = STATE(294), - [sym_expansion] = STATE(294), - [sym_operator_expansion] = STATE(294), - [sym_command_substitution] = STATE(294), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(765), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [sym_word] = ACTIONS(767), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(769), + [anon_sym_PIPE_AMP] = ACTIONS(769), + [anon_sym_AMP_AMP] = ACTIONS(769), + [anon_sym_PIPE_PIPE] = ACTIONS(769), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(769), + [anon_sym_LF] = ACTIONS(769), + [anon_sym_AMP] = ACTIONS(769), }, [236] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(297), - [anon_sym_DQUOTE] = ACTIONS(769), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_RPAREN] = ACTIONS(771), + [sym_comment] = ACTIONS(71), }, [237] = { - [sym_file_descriptor] = ACTIONS(233), - [anon_sym_RPAREN] = ACTIONS(233), - [anon_sym_DQUOTE] = ACTIONS(233), - [sym_single_quoted_argument] = ACTIONS(231), - [anon_sym_DOLLAR] = ACTIONS(231), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(233), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(233), - [anon_sym_LT] = ACTIONS(231), - [anon_sym_GT] = ACTIONS(231), - [anon_sym_GT_GT] = ACTIONS(233), - [anon_sym_AMP_GT] = ACTIONS(231), - [anon_sym_AMP_GT_GT] = ACTIONS(233), - [anon_sym_LT_AMP] = ACTIONS(233), - [anon_sym_GT_AMP] = ACTIONS(233), - [anon_sym_LT_LT] = ACTIONS(231), - [anon_sym_LT_LT_DASH] = ACTIONS(233), - [sym_word] = ACTIONS(235), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(773), + [sym_comment] = ACTIONS(71), }, [238] = { - [anon_sym_DOLLAR] = ACTIONS(771), - [sym_word] = ACTIONS(773), - [sym_comment] = ACTIONS(67), + [anon_sym_esac] = ACTIONS(775), + [anon_sym_DQUOTE] = ACTIONS(777), + [sym_single_quoted_argument] = ACTIONS(775), + [anon_sym_DOLLAR] = ACTIONS(775), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(777), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(777), + [sym_word] = ACTIONS(779), + [sym_comment] = ACTIONS(71), }, [239] = { - [sym_leading_word] = ACTIONS(775), - [sym_comment] = ACTIONS(67), + [sym_case_item] = STATE(301), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [anon_sym_esac] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [240] = { - [sym_command] = STATE(301), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(302), + [anon_sym_esac] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [241] = { - [sym_file_descriptor] = ACTIONS(245), - [anon_sym_RPAREN] = ACTIONS(245), - [anon_sym_DQUOTE] = ACTIONS(245), - [sym_single_quoted_argument] = ACTIONS(243), - [anon_sym_DOLLAR] = ACTIONS(243), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(245), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(245), - [anon_sym_LT] = ACTIONS(243), - [anon_sym_GT] = ACTIONS(243), - [anon_sym_GT_GT] = ACTIONS(245), - [anon_sym_AMP_GT] = ACTIONS(243), - [anon_sym_AMP_GT_GT] = ACTIONS(245), - [anon_sym_LT_AMP] = ACTIONS(245), - [anon_sym_GT_AMP] = ACTIONS(245), - [anon_sym_LT_LT] = ACTIONS(243), - [anon_sym_LT_LT_DASH] = ACTIONS(245), - [sym_word] = ACTIONS(247), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(783), + [sym_comment] = ACTIONS(71), }, [242] = { - [sym_quoted_argument] = STATE(302), - [sym_expansion] = STATE(302), - [sym_operator_expansion] = STATE(302), - [sym_command_substitution] = STATE(302), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(304), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(777), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(779), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(781), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(785), + [sym_comment] = ACTIONS(71), }, [243] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(777), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(305), + [sym_expansion] = STATE(305), + [sym_operator_expansion] = STATE(305), + [sym_command_substitution] = STATE(305), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(787), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [sym_word] = ACTIONS(789), + [sym_comment] = ACTIONS(71), }, [244] = { - [sym_file_descriptor] = ACTIONS(317), - [anon_sym_RPAREN] = ACTIONS(317), - [anon_sym_LT] = ACTIONS(319), - [anon_sym_GT] = ACTIONS(319), - [anon_sym_GT_GT] = ACTIONS(317), - [anon_sym_AMP_GT] = ACTIONS(319), - [anon_sym_AMP_GT_GT] = ACTIONS(317), - [anon_sym_LT_AMP] = ACTIONS(317), - [anon_sym_GT_AMP] = ACTIONS(317), - [anon_sym_LT_LT] = ACTIONS(319), - [anon_sym_LT_LT_DASH] = ACTIONS(317), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(308), + [anon_sym_DQUOTE] = ACTIONS(791), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [245] = { + [sym_file_descriptor] = ACTIONS(249), + [anon_sym_RPAREN] = ACTIONS(249), + [anon_sym_DQUOTE] = ACTIONS(249), + [sym_single_quoted_argument] = ACTIONS(247), + [anon_sym_DOLLAR] = ACTIONS(247), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(249), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(249), + [anon_sym_LT] = ACTIONS(247), + [anon_sym_GT] = ACTIONS(247), + [anon_sym_GT_GT] = ACTIONS(249), + [anon_sym_AMP_GT] = ACTIONS(247), + [anon_sym_AMP_GT_GT] = ACTIONS(249), + [anon_sym_LT_AMP] = ACTIONS(249), + [anon_sym_GT_AMP] = ACTIONS(249), + [anon_sym_LT_LT] = ACTIONS(247), + [anon_sym_LT_LT_DASH] = ACTIONS(249), + [sym_word] = ACTIONS(251), + [sym_comment] = ACTIONS(71), + }, + [246] = { + [anon_sym_DOLLAR] = ACTIONS(793), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(71), + }, + [247] = { + [sym_leading_word] = ACTIONS(797), + [sym_comment] = ACTIONS(71), + }, + [248] = { + [sym_command] = STATE(312), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), + }, + [249] = { + [sym_file_descriptor] = ACTIONS(261), + [anon_sym_RPAREN] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_single_quoted_argument] = ACTIONS(259), + [anon_sym_DOLLAR] = ACTIONS(259), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(259), + [anon_sym_GT] = ACTIONS(259), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(259), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_LT_LT] = ACTIONS(259), + [anon_sym_LT_LT_DASH] = ACTIONS(261), + [sym_word] = ACTIONS(263), + [sym_comment] = ACTIONS(71), + }, + [250] = { + [sym_quoted_argument] = STATE(313), + [sym_expansion] = STATE(313), + [sym_operator_expansion] = STATE(313), + [sym_command_substitution] = STATE(313), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(315), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(799), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(801), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(803), + [sym_comment] = ACTIONS(71), + }, + [251] = { + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(799), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), + }, + [252] = { [sym_file_descriptor] = ACTIONS(329), [anon_sym_RPAREN] = ACTIONS(329), [anon_sym_LT] = ACTIONS(331), @@ -11104,1168 +12052,1710 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(329), [anon_sym_LT_LT] = ACTIONS(331), [anon_sym_LT_LT_DASH] = ACTIONS(329), - [sym_comment] = ACTIONS(67), - }, - [246] = { - [sym_file_descriptor] = ACTIONS(497), - [anon_sym_RPAREN] = ACTIONS(497), - [anon_sym_LT] = ACTIONS(783), - [anon_sym_GT] = ACTIONS(783), - [anon_sym_GT_GT] = ACTIONS(497), - [anon_sym_AMP_GT] = ACTIONS(783), - [anon_sym_AMP_GT_GT] = ACTIONS(497), - [anon_sym_LT_AMP] = ACTIONS(497), - [anon_sym_GT_AMP] = ACTIONS(497), - [anon_sym_LT_LT] = ACTIONS(783), - [anon_sym_LT_LT_DASH] = ACTIONS(497), - [sym_comment] = ACTIONS(67), - }, - [247] = { - [sym_expansion] = STATE(196), - [sym_operator_expansion] = STATE(196), - [aux_sym_heredoc_repeat1] = STATE(306), - [sym__heredoc_middle] = ACTIONS(501), - [sym__heredoc_end] = ACTIONS(785), - [anon_sym_DOLLAR] = ACTIONS(505), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(507), - [sym_comment] = ACTIONS(67), - }, - [248] = { - [sym_file_descriptor] = ACTIONS(509), - [anon_sym_RPAREN] = ACTIONS(509), - [anon_sym_LT] = ACTIONS(787), - [anon_sym_GT] = ACTIONS(787), - [anon_sym_GT_GT] = ACTIONS(509), - [anon_sym_AMP_GT] = ACTIONS(787), - [anon_sym_AMP_GT_GT] = ACTIONS(509), - [anon_sym_LT_AMP] = ACTIONS(509), - [anon_sym_GT_AMP] = ACTIONS(509), - [anon_sym_LT_LT] = ACTIONS(787), - [anon_sym_LT_LT_DASH] = ACTIONS(509), - [sym_comment] = ACTIONS(67), - }, - [249] = { - [sym_file_descriptor] = ACTIONS(513), - [anon_sym_RPAREN] = ACTIONS(513), - [anon_sym_LT] = ACTIONS(789), - [anon_sym_GT] = ACTIONS(789), - [anon_sym_GT_GT] = ACTIONS(513), - [anon_sym_AMP_GT] = ACTIONS(789), - [anon_sym_AMP_GT_GT] = ACTIONS(513), - [anon_sym_LT_AMP] = ACTIONS(513), - [anon_sym_GT_AMP] = ACTIONS(513), - [anon_sym_LT_LT] = ACTIONS(789), - [anon_sym_LT_LT_DASH] = ACTIONS(513), - [sym_comment] = ACTIONS(67), - }, - [250] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(529), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - }, - [251] = { - [sym_quoted_argument] = STATE(302), - [sym_expansion] = STATE(302), - [sym_operator_expansion] = STATE(302), - [sym_command_substitution] = STATE(302), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(307), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(791), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(779), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(781), - [sym_comment] = ACTIONS(67), - }, - [252] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(791), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [sym_comment] = ACTIONS(71), }, [253] = { - [sym_quoted_argument] = STATE(237), - [sym_expansion] = STATE(237), - [sym_operator_expansion] = STATE(237), - [sym_command_substitution] = STATE(237), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_bracket_command_repeat1] = STATE(308), - [aux_sym_command_repeat2] = STATE(304), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(777), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(613), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(629), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(341), + [anon_sym_RPAREN] = ACTIONS(341), + [anon_sym_LT] = ACTIONS(343), + [anon_sym_GT] = ACTIONS(343), + [anon_sym_GT_GT] = ACTIONS(341), + [anon_sym_AMP_GT] = ACTIONS(343), + [anon_sym_AMP_GT_GT] = ACTIONS(341), + [anon_sym_LT_AMP] = ACTIONS(341), + [anon_sym_GT_AMP] = ACTIONS(341), + [anon_sym_LT_LT] = ACTIONS(343), + [anon_sym_LT_LT_DASH] = ACTIONS(341), + [sym_comment] = ACTIONS(71), }, [254] = { - [sym_quoted_argument] = STATE(237), - [sym_expansion] = STATE(237), - [sym_operator_expansion] = STATE(237), - [sym_command_substitution] = STATE(237), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_bracket_command_repeat1] = STATE(309), - [aux_sym_command_repeat2] = STATE(310), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(793), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(613), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(629), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(515), + [anon_sym_RPAREN] = ACTIONS(515), + [anon_sym_LT] = ACTIONS(805), + [anon_sym_GT] = ACTIONS(805), + [anon_sym_GT_GT] = ACTIONS(515), + [anon_sym_AMP_GT] = ACTIONS(805), + [anon_sym_AMP_GT_GT] = ACTIONS(515), + [anon_sym_LT_AMP] = ACTIONS(515), + [anon_sym_GT_AMP] = ACTIONS(515), + [anon_sym_LT_LT] = ACTIONS(805), + [anon_sym_LT_LT_DASH] = ACTIONS(515), + [sym_comment] = ACTIONS(71), }, [255] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(793), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(202), + [sym_operator_expansion] = STATE(202), + [aux_sym_heredoc_repeat1] = STATE(317), + [sym__heredoc_middle] = ACTIONS(519), + [sym__heredoc_end] = ACTIONS(807), + [anon_sym_DOLLAR] = ACTIONS(523), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), + [sym_comment] = ACTIONS(71), }, [256] = { - [anon_sym_SEMI_SEMI] = ACTIONS(795), - [anon_sym_PIPE] = ACTIONS(795), - [anon_sym_PIPE_AMP] = ACTIONS(795), - [anon_sym_AMP_AMP] = ACTIONS(795), - [anon_sym_PIPE_PIPE] = ACTIONS(795), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(795), - [anon_sym_LF] = ACTIONS(795), - [anon_sym_AMP] = ACTIONS(795), + [sym_file_descriptor] = ACTIONS(527), + [anon_sym_RPAREN] = ACTIONS(527), + [anon_sym_LT] = ACTIONS(809), + [anon_sym_GT] = ACTIONS(809), + [anon_sym_GT_GT] = ACTIONS(527), + [anon_sym_AMP_GT] = ACTIONS(809), + [anon_sym_AMP_GT_GT] = ACTIONS(527), + [anon_sym_LT_AMP] = ACTIONS(527), + [anon_sym_GT_AMP] = ACTIONS(527), + [anon_sym_LT_LT] = ACTIONS(809), + [anon_sym_LT_LT_DASH] = ACTIONS(527), + [sym_comment] = ACTIONS(71), }, [257] = { - [sym_case_item] = STATE(290), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [anon_sym_esac] = ACTIONS(797), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(531), + [anon_sym_RPAREN] = ACTIONS(531), + [anon_sym_LT] = ACTIONS(811), + [anon_sym_GT] = ACTIONS(811), + [anon_sym_GT_GT] = ACTIONS(531), + [anon_sym_AMP_GT] = ACTIONS(811), + [anon_sym_AMP_GT_GT] = ACTIONS(531), + [anon_sym_LT_AMP] = ACTIONS(531), + [anon_sym_GT_AMP] = ACTIONS(531), + [anon_sym_LT_LT] = ACTIONS(811), + [anon_sym_LT_LT_DASH] = ACTIONS(531), + [sym_comment] = ACTIONS(71), }, [258] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(312), - [anon_sym_esac] = ACTIONS(797), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(545), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_comment] = ACTIONS(145), }, [259] = { - [anon_sym_RBRACE] = ACTIONS(799), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(313), + [sym_expansion] = STATE(313), + [sym_operator_expansion] = STATE(313), + [sym_command_substitution] = STATE(313), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(318), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(813), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(801), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(803), + [sym_comment] = ACTIONS(71), }, [260] = { - [anon_sym_RBRACE] = ACTIONS(801), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(813), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), }, [261] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(529), - [sym_single_quoted_argument] = ACTIONS(529), - [anon_sym_DOLLAR] = ACTIONS(529), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(529), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_word] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [sym_quoted_argument] = STATE(245), + [sym_expansion] = STATE(245), + [sym_operator_expansion] = STATE(245), + [sym_command_substitution] = STATE(245), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_bracket_command_repeat1] = STATE(319), + [aux_sym_command_repeat2] = STATE(315), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(799), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(647), + [sym_comment] = ACTIONS(71), }, [262] = { - [sym_quoted_argument] = STATE(315), - [sym_expansion] = STATE(315), - [sym_operator_expansion] = STATE(315), - [sym_command_substitution] = STATE(315), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(803), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(805), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(245), + [sym_expansion] = STATE(245), + [sym_operator_expansion] = STATE(245), + [sym_command_substitution] = STATE(245), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_bracket_command_repeat1] = STATE(320), + [aux_sym_command_repeat2] = STATE(321), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(815), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(631), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(647), + [sym_comment] = ACTIONS(71), }, [263] = { - [sym_file_descriptor] = ACTIONS(661), - [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_DQUOTE] = ACTIONS(603), - [sym_single_quoted_argument] = ACTIONS(603), - [anon_sym_DOLLAR] = ACTIONS(603), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(603), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(603), - [anon_sym_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [anon_sym_LT_LT] = ACTIONS(603), - [anon_sym_LT_LT_DASH] = ACTIONS(603), - [sym_word] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(815), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), }, [264] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_DQUOTE] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(645), - [anon_sym_DOLLAR] = ACTIONS(645), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(645), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [anon_sym_SEMI_SEMI] = ACTIONS(817), + [anon_sym_PIPE] = ACTIONS(817), + [anon_sym_PIPE_AMP] = ACTIONS(817), + [anon_sym_AMP_AMP] = ACTIONS(817), + [anon_sym_PIPE_PIPE] = ACTIONS(817), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(817), + [anon_sym_LF] = ACTIONS(817), + [anon_sym_AMP] = ACTIONS(817), }, [265] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [sym_case_item] = STATE(301), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [anon_sym_esac] = ACTIONS(819), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [266] = { - [sym_quoted_argument] = STATE(317), - [sym_expansion] = STATE(317), - [sym_operator_expansion] = STATE(317), - [sym_command_substitution] = STATE(317), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(807), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(809), - [sym_comment] = ACTIONS(67), + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(323), + [anon_sym_esac] = ACTIONS(819), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [267] = { - [sym_file_descriptor] = ACTIONS(661), - [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_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [anon_sym_LT_LT] = ACTIONS(603), - [anon_sym_LT_LT_DASH] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [anon_sym_SEMI_SEMI] = ACTIONS(821), + [anon_sym_PIPE] = ACTIONS(821), + [anon_sym_PIPE_AMP] = ACTIONS(821), + [anon_sym_AMP_AMP] = ACTIONS(821), + [anon_sym_PIPE_PIPE] = ACTIONS(821), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(821), + [anon_sym_LF] = ACTIONS(821), + [anon_sym_AMP] = ACTIONS(821), }, [268] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [anon_sym_RBRACE] = ACTIONS(823), + [sym_comment] = ACTIONS(71), }, [269] = { - [sym__heredoc_middle] = ACTIONS(441), - [sym__heredoc_end] = ACTIONS(441), - [anon_sym_DOLLAR] = ACTIONS(443), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(441), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(825), + [sym_comment] = ACTIONS(71), }, [270] = { - [sym__heredoc_middle] = ACTIONS(445), - [sym__heredoc_end] = ACTIONS(445), - [anon_sym_DOLLAR] = ACTIONS(447), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(445), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_DOLLAR] = ACTIONS(545), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(545), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), }, [271] = { - [anon_sym_COLON] = ACTIONS(811), - [anon_sym_EQ] = ACTIONS(813), - [anon_sym_COLON_QMARK] = ACTIONS(813), - [anon_sym_COLON_DASH] = ACTIONS(813), - [anon_sym_RBRACE] = ACTIONS(815), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym_single_quoted_argument] = ACTIONS(617), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(617), + [sym_word] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [272] = { - [sym__heredoc_middle] = ACTIONS(817), - [sym__heredoc_end] = ACTIONS(817), - [anon_sym_DOLLAR] = ACTIONS(819), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(817), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(326), + [sym_expansion] = STATE(326), + [sym_operator_expansion] = STATE(326), + [sym_command_substitution] = STATE(326), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(827), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(829), + [sym_comment] = ACTIONS(71), }, [273] = { - [sym_file_descriptor] = ACTIONS(821), - [anon_sym_SEMI_SEMI] = ACTIONS(823), - [anon_sym_PIPE] = ACTIONS(823), - [anon_sym_PIPE_AMP] = ACTIONS(823), - [anon_sym_AMP_AMP] = ACTIONS(823), - [anon_sym_PIPE_PIPE] = ACTIONS(823), - [anon_sym_LT] = ACTIONS(823), - [anon_sym_GT] = ACTIONS(823), - [anon_sym_GT_GT] = ACTIONS(823), - [anon_sym_AMP_GT] = ACTIONS(823), - [anon_sym_AMP_GT_GT] = ACTIONS(823), - [anon_sym_LT_AMP] = ACTIONS(823), - [anon_sym_GT_AMP] = ACTIONS(823), - [anon_sym_LT_LT] = ACTIONS(823), - [anon_sym_LT_LT_DASH] = ACTIONS(823), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(823), - [anon_sym_LF] = ACTIONS(823), - [anon_sym_AMP] = ACTIONS(823), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_DOLLAR] = ACTIONS(663), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(663), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [274] = { - [anon_sym_RBRACE] = ACTIONS(825), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), }, [275] = { - [anon_sym_RBRACE] = ACTIONS(827), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [276] = { - [anon_sym_RBRACE] = ACTIONS(829), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(328), + [sym_expansion] = STATE(328), + [sym_operator_expansion] = STATE(328), + [sym_command_substitution] = STATE(328), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(831), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(833), + [sym_comment] = ACTIONS(71), }, [277] = { - [anon_sym_RBRACE] = ACTIONS(831), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [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(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [278] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_COLON] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(529), - [sym_single_quoted_argument] = ACTIONS(529), - [anon_sym_RBRACE] = ACTIONS(529), - [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), - [sym_leading_word] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [sym__heredoc_middle] = ACTIONS(459), + [sym__heredoc_end] = ACTIONS(459), + [anon_sym_DOLLAR] = ACTIONS(461), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(459), + [sym_comment] = ACTIONS(71), }, [279] = { - [sym_quoted_argument] = STATE(325), - [sym_expansion] = STATE(325), - [sym_operator_expansion] = STATE(325), - [sym_command_substitution] = STATE(325), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(833), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(835), - [sym_comment] = ACTIONS(67), + [sym__heredoc_middle] = ACTIONS(463), + [sym__heredoc_end] = ACTIONS(463), + [anon_sym_DOLLAR] = ACTIONS(465), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(463), + [sym_comment] = ACTIONS(71), }, [280] = { - [sym_file_descriptor] = ACTIONS(661), - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(603), - [sym_single_quoted_argument] = ACTIONS(603), - [anon_sym_RBRACE] = ACTIONS(603), - [anon_sym_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [sym_leading_word] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [anon_sym_RBRACE] = ACTIONS(835), + [anon_sym_COLON] = ACTIONS(837), + [anon_sym_EQ] = ACTIONS(839), + [anon_sym_COLON_QMARK] = ACTIONS(839), + [anon_sym_COLON_DASH] = ACTIONS(839), + [sym_comment] = ACTIONS(71), }, [281] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_COLON] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_DQUOTE] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(645), - [anon_sym_RBRACE] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [sym_leading_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [sym__heredoc_middle] = ACTIONS(841), + [sym__heredoc_end] = ACTIONS(841), + [anon_sym_DOLLAR] = ACTIONS(843), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(841), + [sym_comment] = ACTIONS(71), }, [282] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(837), - [anon_sym_PIPE] = ACTIONS(837), - [anon_sym_PIPE_AMP] = ACTIONS(837), - [anon_sym_AMP_AMP] = ACTIONS(837), - [anon_sym_PIPE_PIPE] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), + [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(145), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), }, [283] = { - [sym_file_redirect] = STATE(116), - [sym_heredoc_redirect] = STATE(116), - [sym_file_descriptor] = ACTIONS(125), - [anon_sym_SEMI_SEMI] = ACTIONS(839), - [anon_sym_PIPE] = ACTIONS(839), - [anon_sym_PIPE_AMP] = ACTIONS(839), - [anon_sym_AMP_AMP] = ACTIONS(839), - [anon_sym_PIPE_PIPE] = ACTIONS(839), - [anon_sym_LT] = ACTIONS(131), - [anon_sym_GT] = ACTIONS(131), - [anon_sym_GT_GT] = ACTIONS(131), - [anon_sym_AMP_GT] = ACTIONS(131), - [anon_sym_AMP_GT_GT] = ACTIONS(131), - [anon_sym_LT_AMP] = ACTIONS(131), - [anon_sym_GT_AMP] = ACTIONS(131), - [anon_sym_LT_LT] = ACTIONS(133), - [anon_sym_LT_LT_DASH] = ACTIONS(133), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(839), - [anon_sym_LF] = ACTIONS(839), - [anon_sym_AMP] = ACTIONS(839), + [anon_sym_RBRACE] = ACTIONS(849), + [sym_comment] = ACTIONS(71), }, [284] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(327), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(841), - [anon_sym_elif] = ACTIONS(841), - [anon_sym_else] = ACTIONS(841), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(851), + [sym_comment] = ACTIONS(71), }, [285] = { - [anon_sym_SEMI_SEMI] = ACTIONS(843), - [anon_sym_PIPE] = ACTIONS(843), - [anon_sym_PIPE_AMP] = ACTIONS(843), - [anon_sym_AMP_AMP] = ACTIONS(843), - [anon_sym_PIPE_PIPE] = ACTIONS(843), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), + [anon_sym_RBRACE] = ACTIONS(853), + [sym_comment] = ACTIONS(71), }, [286] = { - [anon_sym_fi] = ACTIONS(845), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(855), + [sym_comment] = ACTIONS(71), }, [287] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(330), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_SEMI_SEMI] = ACTIONS(847), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(857), + [anon_sym_PIPE] = ACTIONS(857), + [anon_sym_PIPE_AMP] = ACTIONS(857), + [anon_sym_AMP_AMP] = ACTIONS(857), + [anon_sym_PIPE_PIPE] = ACTIONS(857), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(857), + [anon_sym_LF] = ACTIONS(857), + [anon_sym_AMP] = ACTIONS(857), }, [288] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(332), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_SEMI_SEMI] = ACTIONS(849), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(859), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [289] = { - [anon_sym_SEMI_SEMI] = ACTIONS(851), - [anon_sym_PIPE] = ACTIONS(851), - [anon_sym_PIPE_AMP] = ACTIONS(851), - [anon_sym_AMP_AMP] = ACTIONS(851), - [anon_sym_PIPE_PIPE] = ACTIONS(851), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(851), - [anon_sym_LF] = ACTIONS(851), - [anon_sym_AMP] = ACTIONS(851), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_COLON] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [sym_leading_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), }, [290] = { - [anon_sym_esac] = ACTIONS(853), - [anon_sym_DQUOTE] = ACTIONS(855), - [sym_single_quoted_argument] = ACTIONS(853), - [anon_sym_DOLLAR] = ACTIONS(853), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(855), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(855), - [sym_word] = ACTIONS(857), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_COLON] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym_single_quoted_argument] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [sym_leading_word] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [291] = { - [sym_case_item] = STATE(290), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [anon_sym_esac] = ACTIONS(859), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(337), + [sym_expansion] = STATE(337), + [sym_operator_expansion] = STATE(337), + [sym_command_substitution] = STATE(337), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(861), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(863), + [sym_comment] = ACTIONS(71), }, [292] = { - [anon_sym_in] = ACTIONS(861), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_COLON] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [sym_leading_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [293] = { - [anon_sym_in] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [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_LT] = ACTIONS(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(865), + [anon_sym_LF] = ACTIONS(865), + [anon_sym_AMP] = ACTIONS(865), }, [294] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(375), - [anon_sym_LT] = ACTIONS(377), - [anon_sym_GT] = ACTIONS(377), - [anon_sym_GT_GT] = ACTIONS(375), - [anon_sym_AMP_GT] = ACTIONS(377), - [anon_sym_AMP_GT_GT] = ACTIONS(375), - [anon_sym_LT_AMP] = ACTIONS(375), - [anon_sym_GT_AMP] = ACTIONS(375), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(375), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(121), + [sym_heredoc_redirect] = STATE(121), + [sym_file_descriptor] = ACTIONS(135), + [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(141), + [anon_sym_GT] = ACTIONS(141), + [anon_sym_GT_GT] = ACTIONS(141), + [anon_sym_AMP_GT] = ACTIONS(141), + [anon_sym_AMP_GT_GT] = ACTIONS(141), + [anon_sym_LT_AMP] = ACTIONS(141), + [anon_sym_GT_AMP] = ACTIONS(141), + [anon_sym_LT_LT] = ACTIONS(143), + [anon_sym_LT_LT_DASH] = ACTIONS(143), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), }, [295] = { - [sym_file_descriptor] = ACTIONS(381), - [anon_sym_RPAREN] = ACTIONS(381), - [anon_sym_LT] = ACTIONS(383), - [anon_sym_GT] = ACTIONS(383), - [anon_sym_GT_GT] = ACTIONS(381), - [anon_sym_AMP_GT] = ACTIONS(383), - [anon_sym_AMP_GT_GT] = ACTIONS(381), - [anon_sym_LT_AMP] = ACTIONS(381), - [anon_sym_GT_AMP] = ACTIONS(381), - [anon_sym_LT_LT] = ACTIONS(383), - [anon_sym_LT_LT_DASH] = ACTIONS(381), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(339), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(869), + [anon_sym_elif] = ACTIONS(869), + [anon_sym_else] = ACTIONS(869), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [296] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(297), - [anon_sym_DQUOTE] = ACTIONS(297), - [sym_single_quoted_argument] = ACTIONS(437), - [anon_sym_DOLLAR] = ACTIONS(437), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(297), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(297), - [anon_sym_LT] = ACTIONS(437), - [anon_sym_GT] = ACTIONS(437), - [anon_sym_GT_GT] = ACTIONS(297), - [anon_sym_AMP_GT] = ACTIONS(437), - [anon_sym_AMP_GT_GT] = ACTIONS(297), - [anon_sym_LT_AMP] = ACTIONS(297), - [anon_sym_GT_AMP] = ACTIONS(297), - [anon_sym_LT_LT] = ACTIONS(437), - [anon_sym_LT_LT_DASH] = ACTIONS(297), - [sym_word] = ACTIONS(299), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(871), + [anon_sym_PIPE] = ACTIONS(871), + [anon_sym_PIPE_AMP] = ACTIONS(871), + [anon_sym_AMP_AMP] = ACTIONS(871), + [anon_sym_PIPE_PIPE] = ACTIONS(871), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(871), + [anon_sym_LF] = ACTIONS(871), + [anon_sym_AMP] = ACTIONS(871), }, [297] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(865), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_fi] = ACTIONS(873), + [sym_comment] = ACTIONS(71), }, [298] = { - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_RPAREN] = ACTIONS(441), - [anon_sym_DQUOTE] = ACTIONS(441), - [sym_single_quoted_argument] = ACTIONS(443), - [anon_sym_DOLLAR] = ACTIONS(443), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(441), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(441), - [anon_sym_LT] = ACTIONS(443), - [anon_sym_GT] = ACTIONS(443), - [anon_sym_GT_GT] = ACTIONS(441), - [anon_sym_AMP_GT] = ACTIONS(443), - [anon_sym_AMP_GT_GT] = ACTIONS(441), - [anon_sym_LT_AMP] = ACTIONS(441), - [anon_sym_GT_AMP] = ACTIONS(441), - [anon_sym_LT_LT] = ACTIONS(443), - [anon_sym_LT_LT_DASH] = ACTIONS(441), - [sym_word] = ACTIONS(403), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(342), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_SEMI_SEMI] = ACTIONS(875), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [299] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_RPAREN] = ACTIONS(445), - [anon_sym_DQUOTE] = ACTIONS(445), - [sym_single_quoted_argument] = ACTIONS(447), - [anon_sym_DOLLAR] = ACTIONS(447), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(445), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(445), - [anon_sym_LT] = ACTIONS(447), - [anon_sym_GT] = ACTIONS(447), - [anon_sym_GT_GT] = ACTIONS(445), - [anon_sym_AMP_GT] = ACTIONS(447), - [anon_sym_AMP_GT_GT] = ACTIONS(445), - [anon_sym_LT_AMP] = ACTIONS(445), - [anon_sym_GT_AMP] = ACTIONS(445), - [anon_sym_LT_LT] = ACTIONS(447), - [anon_sym_LT_LT_DASH] = ACTIONS(445), - [sym_word] = ACTIONS(405), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(344), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_SEMI_SEMI] = ACTIONS(877), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [300] = { - [anon_sym_COLON] = ACTIONS(867), - [anon_sym_EQ] = ACTIONS(869), - [anon_sym_COLON_QMARK] = ACTIONS(869), - [anon_sym_COLON_DASH] = ACTIONS(869), - [anon_sym_RBRACE] = ACTIONS(871), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(879), + [anon_sym_PIPE] = ACTIONS(879), + [anon_sym_PIPE_AMP] = ACTIONS(879), + [anon_sym_AMP_AMP] = ACTIONS(879), + [anon_sym_PIPE_PIPE] = ACTIONS(879), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(879), + [anon_sym_LF] = ACTIONS(879), + [anon_sym_AMP] = ACTIONS(879), }, [301] = { - [anon_sym_RPAREN] = ACTIONS(873), - [sym_comment] = ACTIONS(67), + [anon_sym_esac] = ACTIONS(881), + [anon_sym_DQUOTE] = ACTIONS(883), + [sym_single_quoted_argument] = ACTIONS(881), + [anon_sym_DOLLAR] = ACTIONS(881), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(883), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(883), + [sym_word] = ACTIONS(885), + [sym_comment] = ACTIONS(71), }, [302] = { - [sym_file_descriptor] = ACTIONS(461), - [anon_sym_RPAREN] = ACTIONS(461), - [anon_sym_DQUOTE] = ACTIONS(461), - [sym_single_quoted_argument] = ACTIONS(459), - [anon_sym_DOLLAR] = ACTIONS(459), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(461), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(461), - [anon_sym_LT] = ACTIONS(459), - [anon_sym_GT] = ACTIONS(459), - [anon_sym_GT_GT] = ACTIONS(461), - [anon_sym_AMP_GT] = ACTIONS(459), - [anon_sym_AMP_GT_GT] = ACTIONS(461), - [anon_sym_LT_AMP] = ACTIONS(461), - [anon_sym_GT_AMP] = ACTIONS(461), - [anon_sym_LT_LT] = ACTIONS(459), - [anon_sym_LT_LT_DASH] = ACTIONS(461), - [sym_word] = ACTIONS(463), - [sym_comment] = ACTIONS(67), + [sym_case_item] = STATE(301), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [anon_sym_esac] = ACTIONS(887), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [303] = { - [sym_file_descriptor] = ACTIONS(467), - [anon_sym_RPAREN] = ACTIONS(467), - [anon_sym_DQUOTE] = ACTIONS(467), - [sym_single_quoted_argument] = ACTIONS(465), - [anon_sym_DOLLAR] = ACTIONS(465), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(467), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(467), - [anon_sym_LT] = ACTIONS(465), - [anon_sym_GT] = ACTIONS(465), - [anon_sym_GT_GT] = ACTIONS(467), - [anon_sym_AMP_GT] = ACTIONS(465), - [anon_sym_AMP_GT_GT] = ACTIONS(467), - [anon_sym_LT_AMP] = ACTIONS(467), - [anon_sym_GT_AMP] = ACTIONS(467), - [anon_sym_LT_LT] = ACTIONS(465), - [anon_sym_LT_LT_DASH] = ACTIONS(467), - [sym_word] = ACTIONS(469), - [sym_comment] = ACTIONS(67), + [anon_sym_in] = ACTIONS(889), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), }, [304] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(875), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [anon_sym_in] = ACTIONS(891), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), }, [305] = { - [sym_file_descriptor] = ACTIONS(695), - [anon_sym_RPAREN] = ACTIONS(695), - [anon_sym_LT] = ACTIONS(877), - [anon_sym_GT] = ACTIONS(877), - [anon_sym_GT_GT] = ACTIONS(695), - [anon_sym_AMP_GT] = ACTIONS(877), - [anon_sym_AMP_GT_GT] = ACTIONS(695), - [anon_sym_LT_AMP] = ACTIONS(695), - [anon_sym_GT_AMP] = ACTIONS(695), - [anon_sym_LT_LT] = ACTIONS(877), - [anon_sym_LT_LT_DASH] = ACTIONS(695), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(389), + [anon_sym_RPAREN] = ACTIONS(389), + [anon_sym_LT] = ACTIONS(391), + [anon_sym_GT] = ACTIONS(391), + [anon_sym_GT_GT] = ACTIONS(389), + [anon_sym_AMP_GT] = ACTIONS(391), + [anon_sym_AMP_GT_GT] = ACTIONS(389), + [anon_sym_LT_AMP] = ACTIONS(389), + [anon_sym_GT_AMP] = ACTIONS(389), + [anon_sym_LT_LT] = ACTIONS(391), + [anon_sym_LT_LT_DASH] = ACTIONS(389), + [sym_comment] = ACTIONS(71), }, [306] = { - [sym_expansion] = STATE(272), - [sym_operator_expansion] = STATE(272), - [sym__heredoc_middle] = ACTIONS(705), - [sym__heredoc_end] = ACTIONS(879), - [anon_sym_DOLLAR] = ACTIONS(505), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(507), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(395), + [anon_sym_RPAREN] = ACTIONS(395), + [anon_sym_LT] = ACTIONS(397), + [anon_sym_GT] = ACTIONS(397), + [anon_sym_GT_GT] = ACTIONS(395), + [anon_sym_AMP_GT] = ACTIONS(397), + [anon_sym_AMP_GT_GT] = ACTIONS(395), + [anon_sym_LT_AMP] = ACTIONS(395), + [anon_sym_GT_AMP] = ACTIONS(395), + [anon_sym_LT_LT] = ACTIONS(397), + [anon_sym_LT_LT_DASH] = ACTIONS(395), + [sym_comment] = ACTIONS(71), }, [307] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(881), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(309), + [anon_sym_DQUOTE] = ACTIONS(309), + [sym_single_quoted_argument] = ACTIONS(455), + [anon_sym_DOLLAR] = ACTIONS(455), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(309), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(309), + [anon_sym_LT] = ACTIONS(455), + [anon_sym_GT] = ACTIONS(455), + [anon_sym_GT_GT] = ACTIONS(309), + [anon_sym_AMP_GT] = ACTIONS(455), + [anon_sym_AMP_GT_GT] = ACTIONS(309), + [anon_sym_LT_AMP] = ACTIONS(309), + [anon_sym_GT_AMP] = ACTIONS(309), + [anon_sym_LT_LT] = ACTIONS(455), + [anon_sym_LT_LT_DASH] = ACTIONS(309), + [sym_word] = ACTIONS(311), + [sym_comment] = ACTIONS(71), }, [308] = { - [sym_quoted_argument] = STATE(302), - [sym_expansion] = STATE(302), - [sym_operator_expansion] = STATE(302), - [sym_command_substitution] = STATE(302), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(339), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(875), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(779), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(781), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(893), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [309] = { - [sym_quoted_argument] = STATE(302), - [sym_expansion] = STATE(302), - [sym_operator_expansion] = STATE(302), - [sym_command_substitution] = STATE(302), - [sym_file_redirect] = STATE(164), - [sym_heredoc_redirect] = STATE(164), - [aux_sym_command_repeat2] = STATE(340), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(883), - [anon_sym_DQUOTE] = ACTIONS(611), - [sym_single_quoted_argument] = ACTIONS(779), - [anon_sym_DOLLAR] = ACTIONS(615), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_word] = ACTIONS(781), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_RPAREN] = ACTIONS(459), + [anon_sym_DQUOTE] = ACTIONS(459), + [sym_single_quoted_argument] = ACTIONS(461), + [anon_sym_DOLLAR] = ACTIONS(461), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(459), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(459), + [anon_sym_LT] = ACTIONS(461), + [anon_sym_GT] = ACTIONS(461), + [anon_sym_GT_GT] = ACTIONS(459), + [anon_sym_AMP_GT] = ACTIONS(461), + [anon_sym_AMP_GT_GT] = ACTIONS(459), + [anon_sym_LT_AMP] = ACTIONS(459), + [anon_sym_GT_AMP] = ACTIONS(459), + [anon_sym_LT_LT] = ACTIONS(461), + [anon_sym_LT_LT_DASH] = ACTIONS(459), + [sym_word] = ACTIONS(417), + [sym_comment] = ACTIONS(71), }, [310] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(883), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_RPAREN] = ACTIONS(463), + [anon_sym_DQUOTE] = ACTIONS(463), + [sym_single_quoted_argument] = ACTIONS(465), + [anon_sym_DOLLAR] = ACTIONS(465), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(463), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(463), + [anon_sym_LT] = ACTIONS(465), + [anon_sym_GT] = ACTIONS(465), + [anon_sym_GT_GT] = ACTIONS(463), + [anon_sym_AMP_GT] = ACTIONS(465), + [anon_sym_AMP_GT_GT] = ACTIONS(463), + [anon_sym_LT_AMP] = ACTIONS(463), + [anon_sym_GT_AMP] = ACTIONS(463), + [anon_sym_LT_LT] = ACTIONS(465), + [anon_sym_LT_LT_DASH] = ACTIONS(463), + [sym_word] = ACTIONS(419), + [sym_comment] = ACTIONS(71), }, [311] = { - [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), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(885), - [anon_sym_LF] = ACTIONS(885), - [anon_sym_AMP] = ACTIONS(885), + [anon_sym_RBRACE] = ACTIONS(895), + [anon_sym_COLON] = ACTIONS(897), + [anon_sym_EQ] = ACTIONS(899), + [anon_sym_COLON_QMARK] = ACTIONS(899), + [anon_sym_COLON_DASH] = ACTIONS(899), + [sym_comment] = ACTIONS(71), }, [312] = { - [sym_case_item] = STATE(290), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [anon_sym_esac] = ACTIONS(887), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(901), + [sym_comment] = ACTIONS(71), }, [313] = { - [anon_sym_RPAREN] = ACTIONS(889), - [anon_sym_RBRACK] = ACTIONS(891), - [anon_sym_RBRACK_RBRACK] = ACTIONS(891), - [anon_sym_DQUOTE] = ACTIONS(889), - [sym_single_quoted_argument] = ACTIONS(891), - [anon_sym_DOLLAR] = ACTIONS(891), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), - [anon_sym_RBRACE] = ACTIONS(889), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), - [sym_word] = ACTIONS(861), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(479), + [anon_sym_RPAREN] = ACTIONS(479), + [anon_sym_DQUOTE] = ACTIONS(479), + [sym_single_quoted_argument] = ACTIONS(477), + [anon_sym_DOLLAR] = ACTIONS(477), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(479), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(479), + [anon_sym_LT] = ACTIONS(477), + [anon_sym_GT] = ACTIONS(477), + [anon_sym_GT_GT] = ACTIONS(479), + [anon_sym_AMP_GT] = ACTIONS(477), + [anon_sym_AMP_GT_GT] = ACTIONS(479), + [anon_sym_LT_AMP] = ACTIONS(479), + [anon_sym_GT_AMP] = ACTIONS(479), + [anon_sym_LT_LT] = ACTIONS(477), + [anon_sym_LT_LT_DASH] = ACTIONS(479), + [sym_word] = ACTIONS(481), + [sym_comment] = ACTIONS(71), }, [314] = { - [anon_sym_RPAREN] = ACTIONS(893), - [anon_sym_RBRACK] = ACTIONS(895), - [anon_sym_RBRACK_RBRACK] = ACTIONS(895), - [anon_sym_DQUOTE] = ACTIONS(893), - [sym_single_quoted_argument] = ACTIONS(895), - [anon_sym_DOLLAR] = ACTIONS(895), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(893), - [anon_sym_RBRACE] = ACTIONS(893), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(893), - [sym_word] = ACTIONS(863), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(485), + [anon_sym_RPAREN] = ACTIONS(485), + [anon_sym_DQUOTE] = ACTIONS(485), + [sym_single_quoted_argument] = ACTIONS(483), + [anon_sym_DOLLAR] = ACTIONS(483), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(485), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(485), + [anon_sym_LT] = ACTIONS(483), + [anon_sym_GT] = ACTIONS(483), + [anon_sym_GT_GT] = ACTIONS(485), + [anon_sym_AMP_GT] = ACTIONS(483), + [anon_sym_AMP_GT_GT] = ACTIONS(485), + [anon_sym_LT_AMP] = ACTIONS(485), + [anon_sym_GT_AMP] = ACTIONS(485), + [anon_sym_LT_LT] = ACTIONS(483), + [anon_sym_LT_LT_DASH] = ACTIONS(485), + [sym_word] = ACTIONS(487), + [sym_comment] = ACTIONS(71), }, [315] = { - [anon_sym_RBRACE] = ACTIONS(897), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(903), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), }, [316] = { - [anon_sym_RBRACE] = ACTIONS(899), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(713), + [anon_sym_RPAREN] = ACTIONS(713), + [anon_sym_LT] = ACTIONS(905), + [anon_sym_GT] = ACTIONS(905), + [anon_sym_GT_GT] = ACTIONS(713), + [anon_sym_AMP_GT] = ACTIONS(905), + [anon_sym_AMP_GT_GT] = ACTIONS(713), + [anon_sym_LT_AMP] = ACTIONS(713), + [anon_sym_GT_AMP] = ACTIONS(713), + [anon_sym_LT_LT] = ACTIONS(905), + [anon_sym_LT_LT_DASH] = ACTIONS(713), + [sym_comment] = ACTIONS(71), }, [317] = { - [anon_sym_RBRACE] = ACTIONS(901), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(281), + [sym_operator_expansion] = STATE(281), + [sym__heredoc_middle] = ACTIONS(723), + [sym__heredoc_end] = ACTIONS(907), + [anon_sym_DOLLAR] = ACTIONS(523), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), + [sym_comment] = ACTIONS(71), }, [318] = { - [anon_sym_RBRACE] = ACTIONS(903), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(909), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), }, [319] = { - [sym_quoted_argument] = STATE(346), - [sym_expansion] = STATE(346), - [sym_operator_expansion] = STATE(346), - [sym_command_substitution] = STATE(346), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(905), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(907), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(313), + [sym_expansion] = STATE(313), + [sym_operator_expansion] = STATE(313), + [sym_command_substitution] = STATE(313), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(351), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(903), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(801), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(803), + [sym_comment] = ACTIONS(71), }, [320] = { - [sym__heredoc_middle] = ACTIONS(661), - [sym__heredoc_end] = ACTIONS(661), - [anon_sym_DOLLAR] = ACTIONS(663), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(661), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(313), + [sym_expansion] = STATE(313), + [sym_operator_expansion] = STATE(313), + [sym_command_substitution] = STATE(313), + [sym_file_redirect] = STATE(169), + [sym_heredoc_redirect] = STATE(169), + [aux_sym_command_repeat2] = STATE(352), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(911), + [anon_sym_DQUOTE] = ACTIONS(629), + [sym_single_quoted_argument] = ACTIONS(801), + [anon_sym_DOLLAR] = ACTIONS(633), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(635), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(637), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_word] = ACTIONS(803), + [sym_comment] = ACTIONS(71), }, [321] = { - [anon_sym_DQUOTE] = ACTIONS(861), - [sym__quoted_chars] = ACTIONS(891), - [anon_sym_DOLLAR] = ACTIONS(861), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [sym_comment] = ACTIONS(135), + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(911), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), }, [322] = { - [anon_sym_DQUOTE] = ACTIONS(863), - [sym__quoted_chars] = ACTIONS(895), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(863), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), - [sym_comment] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(913), + [anon_sym_PIPE] = ACTIONS(913), + [anon_sym_PIPE_AMP] = ACTIONS(913), + [anon_sym_AMP_AMP] = ACTIONS(913), + [anon_sym_PIPE_PIPE] = ACTIONS(913), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(913), + [anon_sym_LF] = ACTIONS(913), + [anon_sym_AMP] = ACTIONS(913), }, [323] = { - [sym_file_descriptor] = ACTIONS(889), - [anon_sym_COLON] = ACTIONS(889), + [sym_case_item] = STATE(301), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [anon_sym_esac] = ACTIONS(915), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), + }, + [324] = { + [anon_sym_RPAREN] = ACTIONS(917), + [anon_sym_RBRACE] = ACTIONS(917), + [anon_sym_RBRACK] = ACTIONS(919), + [anon_sym_RBRACK_RBRACK] = ACTIONS(919), + [anon_sym_DQUOTE] = ACTIONS(917), + [sym_single_quoted_argument] = ACTIONS(919), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(917), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(917), + [sym_word] = ACTIONS(889), + [sym_comment] = ACTIONS(71), + }, + [325] = { + [anon_sym_RPAREN] = ACTIONS(921), + [anon_sym_RBRACE] = ACTIONS(921), + [anon_sym_RBRACK] = ACTIONS(923), + [anon_sym_RBRACK_RBRACK] = ACTIONS(923), + [anon_sym_DQUOTE] = ACTIONS(921), + [sym_single_quoted_argument] = ACTIONS(923), + [anon_sym_DOLLAR] = ACTIONS(923), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(921), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(921), + [sym_word] = ACTIONS(891), + [sym_comment] = ACTIONS(71), + }, + [326] = { + [anon_sym_RBRACE] = ACTIONS(925), + [sym_comment] = ACTIONS(71), + }, + [327] = { + [anon_sym_RBRACE] = ACTIONS(927), + [sym_comment] = ACTIONS(71), + }, + [328] = { + [anon_sym_RBRACE] = ACTIONS(929), + [sym_comment] = ACTIONS(71), + }, + [329] = { + [anon_sym_RBRACE] = ACTIONS(931), + [sym_comment] = ACTIONS(71), + }, + [330] = { + [sym__heredoc_middle] = ACTIONS(675), + [sym__heredoc_end] = ACTIONS(675), + [anon_sym_DOLLAR] = ACTIONS(677), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(675), + [sym_comment] = ACTIONS(71), + }, + [331] = { + [sym_quoted_argument] = STATE(358), + [sym_expansion] = STATE(358), + [sym_operator_expansion] = STATE(358), + [sym_command_substitution] = STATE(358), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(933), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(935), + [sym_comment] = ACTIONS(71), + }, + [332] = { [anon_sym_DQUOTE] = ACTIONS(889), + [sym__quoted_chars] = ACTIONS(919), + [anon_sym_DOLLAR] = ACTIONS(889), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + }, + [333] = { + [anon_sym_DQUOTE] = ACTIONS(891), + [sym__quoted_chars] = ACTIONS(923), + [anon_sym_DOLLAR] = ACTIONS(891), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(891), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + }, + [334] = { + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_COLON] = ACTIONS(917), + [anon_sym_DQUOTE] = ACTIONS(917), + [sym_single_quoted_argument] = ACTIONS(919), + [anon_sym_LT] = ACTIONS(919), + [anon_sym_GT] = ACTIONS(919), + [anon_sym_GT_GT] = ACTIONS(919), + [anon_sym_AMP_GT] = ACTIONS(919), + [anon_sym_AMP_GT_GT] = ACTIONS(919), + [anon_sym_LT_AMP] = ACTIONS(919), + [anon_sym_GT_AMP] = ACTIONS(919), + [sym_leading_word] = ACTIONS(889), + [sym_comment] = ACTIONS(71), + }, + [335] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_COLON] = ACTIONS(921), + [anon_sym_DQUOTE] = ACTIONS(921), + [sym_single_quoted_argument] = ACTIONS(923), + [anon_sym_LT] = ACTIONS(923), + [anon_sym_GT] = ACTIONS(923), + [anon_sym_GT_GT] = ACTIONS(923), + [anon_sym_AMP_GT] = ACTIONS(923), + [anon_sym_AMP_GT_GT] = ACTIONS(923), + [anon_sym_LT_AMP] = ACTIONS(923), + [anon_sym_GT_AMP] = ACTIONS(923), + [sym_leading_word] = ACTIONS(891), + [sym_comment] = ACTIONS(71), + }, + [336] = { + [anon_sym_SEMI_SEMI] = ACTIONS(937), + [anon_sym_PIPE] = ACTIONS(937), + [anon_sym_PIPE_AMP] = ACTIONS(937), + [anon_sym_AMP_AMP] = ACTIONS(937), + [anon_sym_PIPE_PIPE] = ACTIONS(937), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(937), + [anon_sym_LF] = ACTIONS(937), + [anon_sym_AMP] = ACTIONS(937), + }, + [337] = { + [anon_sym_RBRACE] = ACTIONS(939), + [sym_comment] = ACTIONS(71), + }, + [338] = { + [anon_sym_RBRACE] = ACTIONS(941), + [sym_comment] = ACTIONS(71), + }, + [339] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(943), + [anon_sym_elif] = ACTIONS(943), + [anon_sym_else] = ACTIONS(943), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [340] = { + [anon_sym_SEMI_SEMI] = ACTIONS(945), + [anon_sym_PIPE] = ACTIONS(945), + [anon_sym_PIPE_AMP] = ACTIONS(945), + [anon_sym_AMP_AMP] = ACTIONS(945), + [anon_sym_PIPE_PIPE] = ACTIONS(945), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(945), + [anon_sym_LF] = ACTIONS(945), + [anon_sym_AMP] = ACTIONS(945), + }, + [341] = { + [anon_sym_esac] = ACTIONS(947), + [anon_sym_DQUOTE] = ACTIONS(949), + [sym_single_quoted_argument] = ACTIONS(947), + [anon_sym_DOLLAR] = ACTIONS(947), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(949), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(949), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(71), + }, + [342] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_SEMI_SEMI] = ACTIONS(953), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [343] = { + [anon_sym_esac] = ACTIONS(955), + [anon_sym_DQUOTE] = ACTIONS(957), + [sym_single_quoted_argument] = ACTIONS(955), + [anon_sym_DOLLAR] = ACTIONS(955), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(957), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(957), + [sym_word] = ACTIONS(959), + [sym_comment] = ACTIONS(71), + }, + [344] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_SEMI_SEMI] = ACTIONS(961), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [345] = { + [anon_sym_SEMI_SEMI] = ACTIONS(963), + [anon_sym_PIPE] = ACTIONS(963), + [anon_sym_PIPE_AMP] = ACTIONS(963), + [anon_sym_AMP_AMP] = ACTIONS(963), + [anon_sym_PIPE_PIPE] = ACTIONS(963), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(963), + [anon_sym_LF] = ACTIONS(963), + [anon_sym_AMP] = ACTIONS(963), + }, + [346] = { + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(543), + [anon_sym_DQUOTE] = ACTIONS(543), + [sym_single_quoted_argument] = ACTIONS(673), + [anon_sym_DOLLAR] = ACTIONS(673), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(543), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(543), + [anon_sym_LT] = ACTIONS(673), + [anon_sym_GT] = ACTIONS(673), + [anon_sym_GT_GT] = ACTIONS(543), + [anon_sym_AMP_GT] = ACTIONS(673), + [anon_sym_AMP_GT_GT] = ACTIONS(543), + [anon_sym_LT_AMP] = ACTIONS(543), + [anon_sym_GT_AMP] = ACTIONS(543), + [anon_sym_LT_LT] = ACTIONS(673), + [anon_sym_LT_LT_DASH] = ACTIONS(543), + [sym_word] = ACTIONS(545), + [sym_comment] = ACTIONS(71), + }, + [347] = { + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_RPAREN] = ACTIONS(675), + [anon_sym_DQUOTE] = ACTIONS(675), + [sym_single_quoted_argument] = ACTIONS(677), + [anon_sym_DOLLAR] = ACTIONS(677), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(675), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(675), + [anon_sym_LT] = ACTIONS(677), + [anon_sym_GT] = ACTIONS(677), + [anon_sym_GT_GT] = ACTIONS(675), + [anon_sym_AMP_GT] = ACTIONS(677), + [anon_sym_AMP_GT_GT] = ACTIONS(675), + [anon_sym_LT_AMP] = ACTIONS(675), + [anon_sym_GT_AMP] = ACTIONS(675), + [anon_sym_LT_LT] = ACTIONS(677), + [anon_sym_LT_LT_DASH] = ACTIONS(675), + [sym_word] = ACTIONS(617), + [sym_comment] = ACTIONS(71), + }, + [348] = { + [sym_quoted_argument] = STATE(364), + [sym_expansion] = STATE(364), + [sym_operator_expansion] = STATE(364), + [sym_command_substitution] = STATE(364), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(965), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(967), + [sym_comment] = ACTIONS(71), + }, + [349] = { + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(683), + [anon_sym_DQUOTE] = ACTIONS(683), + [sym_single_quoted_argument] = ACTIONS(685), + [anon_sym_DOLLAR] = ACTIONS(685), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(683), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(683), + [anon_sym_LT] = ACTIONS(685), + [anon_sym_GT] = ACTIONS(685), + [anon_sym_GT_GT] = ACTIONS(683), + [anon_sym_AMP_GT] = ACTIONS(685), + [anon_sym_AMP_GT_GT] = ACTIONS(683), + [anon_sym_LT_AMP] = ACTIONS(683), + [anon_sym_GT_AMP] = ACTIONS(683), + [anon_sym_LT_LT] = ACTIONS(685), + [anon_sym_LT_LT_DASH] = ACTIONS(683), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(71), + }, + [350] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(845), + [anon_sym_LT] = ACTIONS(969), + [anon_sym_GT] = ACTIONS(969), + [anon_sym_GT_GT] = ACTIONS(845), + [anon_sym_AMP_GT] = ACTIONS(969), + [anon_sym_AMP_GT_GT] = ACTIONS(845), + [anon_sym_LT_AMP] = ACTIONS(845), + [anon_sym_GT_AMP] = ACTIONS(845), + [anon_sym_LT_LT] = ACTIONS(969), + [anon_sym_LT_LT_DASH] = ACTIONS(845), + [sym_comment] = ACTIONS(71), + }, + [351] = { + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(971), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), + }, + [352] = { + [sym_file_redirect] = STATE(257), + [sym_heredoc_redirect] = STATE(257), + [sym_file_descriptor] = ACTIONS(427), + [anon_sym_RPAREN] = ACTIONS(973), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_GT_GT] = ACTIONS(641), + [anon_sym_AMP_GT] = ACTIONS(639), + [anon_sym_AMP_GT_GT] = ACTIONS(641), + [anon_sym_LT_AMP] = ACTIONS(641), + [anon_sym_GT_AMP] = ACTIONS(641), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(645), + [sym_comment] = ACTIONS(71), + }, + [353] = { + [anon_sym_SEMI_SEMI] = ACTIONS(975), + [anon_sym_PIPE] = ACTIONS(975), + [anon_sym_PIPE_AMP] = ACTIONS(975), + [anon_sym_AMP_AMP] = ACTIONS(975), + [anon_sym_PIPE_PIPE] = ACTIONS(975), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(975), + [anon_sym_LF] = ACTIONS(975), + [anon_sym_AMP] = ACTIONS(975), + }, + [354] = { + [sym_file_descriptor] = ACTIONS(917), + [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_DQUOTE] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_DOLLAR] = ACTIONS(889), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [355] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), + [sym_single_quoted_argument] = ACTIONS(891), + [anon_sym_DOLLAR] = ACTIONS(891), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(891), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), + }, + [356] = { + [sym_file_descriptor] = ACTIONS(917), + [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_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [357] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), + }, + [358] = { + [anon_sym_RBRACE] = ACTIONS(977), + [sym_comment] = ACTIONS(71), + }, + [359] = { + [anon_sym_RBRACE] = ACTIONS(979), + [sym_comment] = ACTIONS(71), + }, + [360] = { + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [sym_leading_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [361] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_COLON] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), [sym_single_quoted_argument] = ACTIONS(891), [anon_sym_LT] = ACTIONS(891), [anon_sym_GT] = ACTIONS(891), @@ -12274,2286 +13764,847 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(891), [anon_sym_LT_AMP] = ACTIONS(891), [anon_sym_GT_AMP] = ACTIONS(891), - [sym_leading_word] = ACTIONS(861), - [sym_comment] = ACTIONS(67), - }, - [324] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_COLON] = ACTIONS(893), - [anon_sym_DQUOTE] = ACTIONS(893), - [sym_single_quoted_argument] = ACTIONS(895), - [anon_sym_LT] = ACTIONS(895), - [anon_sym_GT] = ACTIONS(895), - [anon_sym_GT_GT] = ACTIONS(895), - [anon_sym_AMP_GT] = ACTIONS(895), - [anon_sym_AMP_GT_GT] = ACTIONS(895), - [anon_sym_LT_AMP] = ACTIONS(895), - [anon_sym_GT_AMP] = ACTIONS(895), - [sym_leading_word] = ACTIONS(863), - [sym_comment] = ACTIONS(67), - }, - [325] = { - [anon_sym_RBRACE] = ACTIONS(909), - [sym_comment] = ACTIONS(67), - }, - [326] = { - [anon_sym_RBRACE] = ACTIONS(911), - [sym_comment] = ACTIONS(67), - }, - [327] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(913), - [anon_sym_elif] = ACTIONS(913), - [anon_sym_else] = ACTIONS(913), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [328] = { - [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(135), - [anon_sym_SEMI] = ACTIONS(915), - [anon_sym_LF] = ACTIONS(915), - [anon_sym_AMP] = ACTIONS(915), - }, - [329] = { - [anon_sym_esac] = ACTIONS(917), - [anon_sym_DQUOTE] = ACTIONS(919), - [sym_single_quoted_argument] = ACTIONS(917), - [anon_sym_DOLLAR] = ACTIONS(917), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(919), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(919), - [sym_word] = ACTIONS(921), - [sym_comment] = ACTIONS(67), - }, - [330] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_SEMI_SEMI] = ACTIONS(923), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [331] = { - [anon_sym_esac] = ACTIONS(925), - [anon_sym_DQUOTE] = ACTIONS(927), - [sym_single_quoted_argument] = ACTIONS(925), - [anon_sym_DOLLAR] = ACTIONS(925), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(927), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(927), - [sym_word] = ACTIONS(929), - [sym_comment] = ACTIONS(67), - }, - [332] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_SEMI_SEMI] = ACTIONS(931), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [333] = { - [anon_sym_SEMI_SEMI] = ACTIONS(933), - [anon_sym_PIPE] = ACTIONS(933), - [anon_sym_PIPE_AMP] = ACTIONS(933), - [anon_sym_AMP_AMP] = ACTIONS(933), - [anon_sym_PIPE_PIPE] = ACTIONS(933), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(933), - [anon_sym_LF] = ACTIONS(933), - [anon_sym_AMP] = ACTIONS(933), - }, - [334] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(527), - [anon_sym_DQUOTE] = ACTIONS(527), - [sym_single_quoted_argument] = ACTIONS(655), - [anon_sym_DOLLAR] = ACTIONS(655), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(527), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(527), - [anon_sym_LT] = ACTIONS(655), - [anon_sym_GT] = ACTIONS(655), - [anon_sym_GT_GT] = ACTIONS(527), - [anon_sym_AMP_GT] = ACTIONS(655), - [anon_sym_AMP_GT_GT] = ACTIONS(527), - [anon_sym_LT_AMP] = ACTIONS(527), - [anon_sym_GT_AMP] = ACTIONS(527), - [anon_sym_LT_LT] = ACTIONS(655), - [anon_sym_LT_LT_DASH] = ACTIONS(527), - [sym_word] = ACTIONS(529), - [sym_comment] = ACTIONS(67), - }, - [335] = { - [sym_quoted_argument] = STATE(352), - [sym_expansion] = STATE(352), - [sym_operator_expansion] = STATE(352), - [sym_command_substitution] = STATE(352), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(935), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(937), - [sym_comment] = ACTIONS(67), - }, - [336] = { - [sym_file_descriptor] = ACTIONS(661), - [anon_sym_RPAREN] = ACTIONS(661), - [anon_sym_DQUOTE] = ACTIONS(661), - [sym_single_quoted_argument] = ACTIONS(663), - [anon_sym_DOLLAR] = ACTIONS(663), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(661), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(661), - [anon_sym_LT] = ACTIONS(663), - [anon_sym_GT] = ACTIONS(663), - [anon_sym_GT_GT] = ACTIONS(661), - [anon_sym_AMP_GT] = ACTIONS(663), - [anon_sym_AMP_GT_GT] = ACTIONS(661), - [anon_sym_LT_AMP] = ACTIONS(661), - [anon_sym_GT_AMP] = ACTIONS(661), - [anon_sym_LT_LT] = ACTIONS(663), - [anon_sym_LT_LT_DASH] = ACTIONS(661), - [sym_word] = ACTIONS(603), - [sym_comment] = ACTIONS(67), - }, - [337] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(665), - [anon_sym_DQUOTE] = ACTIONS(665), - [sym_single_quoted_argument] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(667), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(665), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(665), - [anon_sym_LT] = ACTIONS(667), - [anon_sym_GT] = ACTIONS(667), - [anon_sym_GT_GT] = ACTIONS(665), - [anon_sym_AMP_GT] = ACTIONS(667), - [anon_sym_AMP_GT_GT] = ACTIONS(665), - [anon_sym_LT_AMP] = ACTIONS(665), - [anon_sym_GT_AMP] = ACTIONS(665), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(665), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(67), - }, - [338] = { - [sym_file_descriptor] = ACTIONS(821), - [anon_sym_RPAREN] = ACTIONS(821), - [anon_sym_LT] = ACTIONS(939), - [anon_sym_GT] = ACTIONS(939), - [anon_sym_GT_GT] = ACTIONS(821), - [anon_sym_AMP_GT] = ACTIONS(939), - [anon_sym_AMP_GT_GT] = ACTIONS(821), - [anon_sym_LT_AMP] = ACTIONS(821), - [anon_sym_GT_AMP] = ACTIONS(821), - [anon_sym_LT_LT] = ACTIONS(939), - [anon_sym_LT_LT_DASH] = ACTIONS(821), - [sym_comment] = ACTIONS(67), - }, - [339] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(941), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), - }, - [340] = { - [sym_file_redirect] = STATE(249), - [sym_heredoc_redirect] = STATE(249), - [sym_file_descriptor] = ACTIONS(413), - [anon_sym_RPAREN] = ACTIONS(943), - [anon_sym_LT] = ACTIONS(621), - [anon_sym_GT] = ACTIONS(621), - [anon_sym_GT_GT] = ACTIONS(623), - [anon_sym_AMP_GT] = ACTIONS(621), - [anon_sym_AMP_GT_GT] = ACTIONS(623), - [anon_sym_LT_AMP] = ACTIONS(623), - [anon_sym_GT_AMP] = ACTIONS(623), - [anon_sym_LT_LT] = ACTIONS(625), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [sym_comment] = ACTIONS(67), - }, - [341] = { - [anon_sym_SEMI_SEMI] = ACTIONS(945), - [anon_sym_PIPE] = ACTIONS(945), - [anon_sym_PIPE_AMP] = ACTIONS(945), - [anon_sym_AMP_AMP] = ACTIONS(945), - [anon_sym_PIPE_PIPE] = ACTIONS(945), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(945), - [anon_sym_LF] = ACTIONS(945), - [anon_sym_AMP] = ACTIONS(945), - }, - [342] = { - [sym_file_descriptor] = ACTIONS(889), - [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_DQUOTE] = ACTIONS(861), - [sym_single_quoted_argument] = ACTIONS(861), - [anon_sym_DOLLAR] = ACTIONS(861), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_word] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), - }, - [343] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym_single_quoted_argument] = ACTIONS(863), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(863), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_word] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), - }, - [344] = { - [sym_file_descriptor] = ACTIONS(889), - [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(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), - }, - [345] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), - }, - [346] = { - [anon_sym_RBRACE] = ACTIONS(947), - [sym_comment] = ACTIONS(67), - }, - [347] = { - [anon_sym_RBRACE] = ACTIONS(949), - [sym_comment] = ACTIONS(67), - }, - [348] = { - [sym_file_descriptor] = ACTIONS(889), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(861), - [sym_single_quoted_argument] = ACTIONS(861), - [anon_sym_RBRACE] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [sym_leading_word] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), - }, - [349] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_COLON] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym_single_quoted_argument] = ACTIONS(863), - [anon_sym_RBRACE] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [sym_leading_word] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), - }, - [350] = { - [anon_sym_esac] = ACTIONS(951), - [anon_sym_DQUOTE] = ACTIONS(953), - [sym_single_quoted_argument] = ACTIONS(951), - [anon_sym_DOLLAR] = ACTIONS(951), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), - [sym_word] = ACTIONS(955), - [sym_comment] = ACTIONS(67), - }, - [351] = { - [anon_sym_esac] = ACTIONS(957), - [anon_sym_DQUOTE] = ACTIONS(959), - [sym_single_quoted_argument] = ACTIONS(957), - [anon_sym_DOLLAR] = ACTIONS(957), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(959), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(959), - [sym_word] = ACTIONS(961), - [sym_comment] = ACTIONS(67), - }, - [352] = { - [anon_sym_RBRACE] = ACTIONS(963), - [sym_comment] = ACTIONS(67), - }, - [353] = { - [anon_sym_RBRACE] = ACTIONS(965), - [sym_comment] = ACTIONS(67), - }, - [354] = { - [sym__heredoc_middle] = ACTIONS(889), - [sym__heredoc_end] = ACTIONS(889), - [anon_sym_DOLLAR] = ACTIONS(891), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), - [sym_comment] = ACTIONS(67), - }, - [355] = { - [sym__heredoc_middle] = ACTIONS(893), - [sym__heredoc_end] = ACTIONS(893), - [anon_sym_DOLLAR] = ACTIONS(895), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(893), - [sym_comment] = ACTIONS(67), - }, - [356] = { - [sym_file_descriptor] = ACTIONS(889), - [anon_sym_RPAREN] = ACTIONS(889), - [anon_sym_DQUOTE] = ACTIONS(889), - [sym_single_quoted_argument] = ACTIONS(891), - [anon_sym_DOLLAR] = ACTIONS(891), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), - [anon_sym_LT] = ACTIONS(891), - [anon_sym_GT] = ACTIONS(891), - [anon_sym_GT_GT] = ACTIONS(889), - [anon_sym_AMP_GT] = ACTIONS(891), - [anon_sym_AMP_GT_GT] = ACTIONS(889), - [anon_sym_LT_AMP] = ACTIONS(889), - [anon_sym_GT_AMP] = ACTIONS(889), - [anon_sym_LT_LT] = ACTIONS(891), - [anon_sym_LT_LT_DASH] = ACTIONS(889), - [sym_word] = ACTIONS(861), - [sym_comment] = ACTIONS(67), - }, - [357] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_RPAREN] = ACTIONS(893), - [anon_sym_DQUOTE] = ACTIONS(893), - [sym_single_quoted_argument] = ACTIONS(895), - [anon_sym_DOLLAR] = ACTIONS(895), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(893), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(893), - [anon_sym_LT] = ACTIONS(895), - [anon_sym_GT] = ACTIONS(895), - [anon_sym_GT_GT] = ACTIONS(893), - [anon_sym_AMP_GT] = ACTIONS(895), - [anon_sym_AMP_GT_GT] = ACTIONS(893), - [anon_sym_LT_AMP] = ACTIONS(893), - [anon_sym_GT_AMP] = ACTIONS(893), - [anon_sym_LT_LT] = ACTIONS(895), - [anon_sym_LT_LT_DASH] = ACTIONS(893), - [sym_word] = ACTIONS(863), - [sym_comment] = ACTIONS(67), - }, - [358] = { - [anon_sym_SEMI_SEMI] = ACTIONS(967), - [anon_sym_PIPE] = ACTIONS(967), - [anon_sym_PIPE_AMP] = ACTIONS(967), - [anon_sym_AMP_AMP] = ACTIONS(967), - [anon_sym_PIPE_PIPE] = ACTIONS(967), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(967), - [anon_sym_LF] = ACTIONS(967), - [anon_sym_AMP] = ACTIONS(967), - }, - [359] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_elif_clause] = STATE(151), - [sym_else_clause] = STATE(152), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(398), - [aux_sym_if_statement_repeat1] = STATE(154), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(970), - [anon_sym_elif] = ACTIONS(973), - [anon_sym_else] = ACTIONS(976), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), - }, - [360] = { - [anon_sym_SEMI_SEMI] = ACTIONS(979), - [anon_sym_PIPE] = ACTIONS(979), - [anon_sym_PIPE_AMP] = ACTIONS(979), - [anon_sym_AMP_AMP] = ACTIONS(979), - [anon_sym_PIPE_PIPE] = ACTIONS(979), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(979), - [anon_sym_LF] = ACTIONS(979), - [anon_sym_AMP] = ACTIONS(979), - }, - [361] = { - [anon_sym_SEMI_SEMI] = ACTIONS(984), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(984), - [anon_sym_LF] = ACTIONS(984), - [anon_sym_AMP] = ACTIONS(984), + [sym_leading_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), }, [362] = { - [anon_sym_SEMI_SEMI] = ACTIONS(986), - [anon_sym_PIPE] = ACTIONS(986), - [anon_sym_PIPE_AMP] = ACTIONS(986), - [anon_sym_AMP_AMP] = ACTIONS(986), - [anon_sym_PIPE_PIPE] = ACTIONS(986), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(986), - [anon_sym_LF] = ACTIONS(986), - [anon_sym_AMP] = ACTIONS(986), + [anon_sym_esac] = ACTIONS(981), + [anon_sym_DQUOTE] = ACTIONS(983), + [sym_single_quoted_argument] = ACTIONS(981), + [anon_sym_DOLLAR] = ACTIONS(981), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(983), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(983), + [sym_word] = ACTIONS(985), + [sym_comment] = ACTIONS(71), }, [363] = { - [sym__terminated_statement] = STATE(14), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_program_repeat1] = STATE(401), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(993), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_in] = ACTIONS(645), - [anon_sym_RPAREN] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(996), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_RBRACK] = ACTIONS(645), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_RBRACK_RBRACK] = ACTIONS(645), - [anon_sym_COLON] = ACTIONS(1001), - [anon_sym_PIPE] = ACTIONS(1004), - [anon_sym_PIPE_AMP] = ACTIONS(1004), - [anon_sym_AMP_AMP] = ACTIONS(1004), - [anon_sym_PIPE_PIPE] = ACTIONS(1004), - [anon_sym_LPAREN] = ACTIONS(1008), - [anon_sym_DQUOTE] = ACTIONS(1010), - [sym__quoted_chars] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(1001), - [anon_sym_DOLLAR] = ACTIONS(645), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(645), - [anon_sym_RBRACE] = ACTIONS(645), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(1013), - [anon_sym_GT] = ACTIONS(1013), - [anon_sym_GT_GT] = ACTIONS(1013), - [anon_sym_AMP_GT] = ACTIONS(1013), - [anon_sym_AMP_GT_GT] = ACTIONS(1013), - [anon_sym_LT_AMP] = ACTIONS(1013), - [anon_sym_GT_AMP] = ACTIONS(1013), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_leading_word] = ACTIONS(1016), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1004), - [anon_sym_LF] = ACTIONS(1004), - [anon_sym_AMP] = ACTIONS(1004), + [anon_sym_esac] = ACTIONS(987), + [anon_sym_DQUOTE] = ACTIONS(989), + [sym_single_quoted_argument] = ACTIONS(987), + [anon_sym_DOLLAR] = ACTIONS(987), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(989), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(989), + [sym_word] = ACTIONS(991), + [sym_comment] = ACTIONS(71), }, [364] = { - [sym_quoted_argument] = STATE(404), - [sym_expansion] = STATE(404), - [sym_operator_expansion] = STATE(404), - [sym_command_substitution] = STATE(404), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(408), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1021), - [anon_sym_SEMI_SEMI] = ACTIONS(1021), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1024), - [anon_sym_PIPE] = ACTIONS(1021), - [anon_sym_PIPE_AMP] = ACTIONS(1021), - [anon_sym_AMP_AMP] = ACTIONS(1021), - [anon_sym_PIPE_PIPE] = ACTIONS(1021), - [anon_sym_DQUOTE] = ACTIONS(1026), - [sym_single_quoted_argument] = ACTIONS(1028), - [anon_sym_DOLLAR] = ACTIONS(1030), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1032), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1034), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1040), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1021), - [anon_sym_LF] = ACTIONS(1021), - [anon_sym_AMP] = ACTIONS(1021), + [anon_sym_RBRACE] = ACTIONS(993), + [sym_comment] = ACTIONS(71), }, [365] = { - [sym_quoted_argument] = STATE(409), - [sym_expansion] = STATE(409), - [sym_operator_expansion] = STATE(409), - [sym_command_substitution] = STATE(409), - [anon_sym_DQUOTE] = ACTIONS(337), - [sym_single_quoted_argument] = ACTIONS(1042), - [anon_sym_DOLLAR] = ACTIONS(341), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(343), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(345), - [sym_word] = ACTIONS(1044), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(995), + [sym_comment] = ACTIONS(71), }, [366] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(396), - [sym_file_descriptor] = ACTIONS(1046), - [anon_sym_in] = ACTIONS(1049), - [anon_sym_RPAREN] = ACTIONS(1049), - [anon_sym_SEMI_SEMI] = ACTIONS(1049), - [anon_sym_RBRACK] = ACTIONS(1049), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1049), - [anon_sym_COLON] = ACTIONS(1049), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1049), - [anon_sym_PIPE] = ACTIONS(1049), - [anon_sym_PIPE_AMP] = ACTIONS(1049), - [anon_sym_AMP_AMP] = ACTIONS(1049), - [anon_sym_PIPE_PIPE] = ACTIONS(1049), - [anon_sym_DQUOTE] = ACTIONS(1052), - [sym__quoted_chars] = ACTIONS(1056), - [sym_single_quoted_argument] = ACTIONS(1049), - [anon_sym_DOLLAR] = ACTIONS(1058), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1062), - [anon_sym_RBRACE] = ACTIONS(1049), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1066), - [anon_sym_LT] = ACTIONS(1049), - [anon_sym_GT] = ACTIONS(1049), - [anon_sym_GT_GT] = ACTIONS(1049), - [anon_sym_AMP_GT] = ACTIONS(1049), - [anon_sym_AMP_GT_GT] = ACTIONS(1049), - [anon_sym_LT_AMP] = ACTIONS(1049), - [anon_sym_GT_AMP] = ACTIONS(1049), - [anon_sym_LT_LT] = ACTIONS(1049), - [anon_sym_LT_LT_DASH] = ACTIONS(1049), - [sym_leading_word] = ACTIONS(1049), - [sym_word] = ACTIONS(1049), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1049), - [anon_sym_LF] = ACTIONS(1049), - [anon_sym_AMP] = ACTIONS(1049), + [sym__heredoc_middle] = ACTIONS(917), + [sym__heredoc_end] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(917), + [sym_comment] = ACTIONS(71), }, [367] = { - [sym__heredoc_middle] = ACTIONS(441), - [sym__heredoc_end] = ACTIONS(441), - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_in] = ACTIONS(403), - [anon_sym_RPAREN] = ACTIONS(403), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_RBRACK] = ACTIONS(403), - [anon_sym_RBRACK_RBRACK] = ACTIONS(403), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(403), - [sym__quoted_chars] = ACTIONS(403), - [sym_single_quoted_argument] = ACTIONS(403), - [anon_sym_DOLLAR] = ACTIONS(1070), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(403), - [anon_sym_RBRACE] = ACTIONS(403), - [anon_sym_DOLLAR_LPAREN] = 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_leading_word] = ACTIONS(403), - [sym_word] = ACTIONS(1073), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), + [sym__heredoc_middle] = ACTIONS(921), + [sym__heredoc_end] = ACTIONS(921), + [anon_sym_DOLLAR] = ACTIONS(923), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(921), + [sym_comment] = ACTIONS(71), }, [368] = { - [sym__heredoc_middle] = ACTIONS(1076), - [sym__heredoc_end] = ACTIONS(1076), - [sym_file_descriptor] = ACTIONS(1076), - [anon_sym_in] = ACTIONS(1080), - [anon_sym_RPAREN] = ACTIONS(1080), - [anon_sym_SEMI_SEMI] = ACTIONS(1080), - [anon_sym_RBRACK] = ACTIONS(1080), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1080), - [anon_sym_COLON] = ACTIONS(1080), - [anon_sym_PIPE] = ACTIONS(1080), - [anon_sym_PIPE_AMP] = ACTIONS(1080), - [anon_sym_AMP_AMP] = ACTIONS(1080), - [anon_sym_PIPE_PIPE] = ACTIONS(1080), - [anon_sym_DQUOTE] = ACTIONS(1080), - [sym__quoted_chars] = ACTIONS(1080), - [sym_single_quoted_argument] = ACTIONS(1080), - [anon_sym_DOLLAR] = ACTIONS(1080), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1080), - [anon_sym_RBRACE] = ACTIONS(1080), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1080), - [anon_sym_LT] = ACTIONS(1080), - [anon_sym_GT] = ACTIONS(1080), - [anon_sym_GT_GT] = ACTIONS(1080), - [anon_sym_AMP_GT] = ACTIONS(1080), - [anon_sym_AMP_GT_GT] = ACTIONS(1080), - [anon_sym_LT_AMP] = ACTIONS(1080), - [anon_sym_GT_AMP] = ACTIONS(1080), - [anon_sym_LT_LT] = ACTIONS(1080), - [anon_sym_LT_LT_DASH] = ACTIONS(1080), - [sym_leading_word] = ACTIONS(1080), - [sym_word] = ACTIONS(1080), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1080), - [anon_sym_LF] = ACTIONS(1080), - [anon_sym_AMP] = ACTIONS(1080), + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_RPAREN] = ACTIONS(917), + [anon_sym_DQUOTE] = ACTIONS(917), + [sym_single_quoted_argument] = ACTIONS(919), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(917), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(917), + [anon_sym_LT] = ACTIONS(919), + [anon_sym_GT] = ACTIONS(919), + [anon_sym_GT_GT] = ACTIONS(917), + [anon_sym_AMP_GT] = ACTIONS(919), + [anon_sym_AMP_GT_GT] = ACTIONS(917), + [anon_sym_LT_AMP] = ACTIONS(917), + [anon_sym_GT_AMP] = ACTIONS(917), + [anon_sym_LT_LT] = ACTIONS(919), + [anon_sym_LT_LT_DASH] = ACTIONS(917), + [sym_word] = ACTIONS(889), + [sym_comment] = ACTIONS(71), }, [369] = { - [sym_quoted_argument] = STATE(415), - [sym_expansion] = STATE(415), - [sym_operator_expansion] = STATE(415), - [sym_command_substitution] = STATE(415), - [anon_sym_DQUOTE] = ACTIONS(1084), - [sym_single_quoted_argument] = ACTIONS(1086), - [anon_sym_DOLLAR] = ACTIONS(1088), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1090), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1092), - [sym_word] = ACTIONS(1094), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(921), + [anon_sym_DQUOTE] = ACTIONS(921), + [sym_single_quoted_argument] = ACTIONS(923), + [anon_sym_DOLLAR] = ACTIONS(923), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(921), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(921), + [anon_sym_LT] = ACTIONS(923), + [anon_sym_GT] = ACTIONS(923), + [anon_sym_GT_GT] = ACTIONS(921), + [anon_sym_AMP_GT] = ACTIONS(923), + [anon_sym_AMP_GT_GT] = ACTIONS(921), + [anon_sym_LT_AMP] = ACTIONS(921), + [anon_sym_GT_AMP] = ACTIONS(921), + [anon_sym_LT_LT] = ACTIONS(923), + [anon_sym_LT_LT_DASH] = ACTIONS(921), + [sym_word] = ACTIONS(891), + [sym_comment] = ACTIONS(71), }, [370] = { - [sym_heredoc] = STATE(389), - [sym__simple_heredoc] = ACTIONS(1096), - [sym__heredoc_beginning] = ACTIONS(1098), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(997), + [anon_sym_PIPE] = ACTIONS(997), + [anon_sym_PIPE_AMP] = ACTIONS(997), + [anon_sym_AMP_AMP] = ACTIONS(997), + [anon_sym_PIPE_PIPE] = ACTIONS(997), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(997), + [anon_sym_LF] = ACTIONS(997), + [anon_sym_AMP] = ACTIONS(997), }, [371] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(392), - [sym_file_descriptor] = ACTIONS(349), - [ts_builtin_sym_end] = ACTIONS(349), - [anon_sym_while] = ACTIONS(351), - [anon_sym_do] = ACTIONS(351), - [anon_sym_done] = ACTIONS(351), - [anon_sym_if] = ACTIONS(351), - [anon_sym_then] = ACTIONS(351), - [anon_sym_fi] = ACTIONS(351), - [anon_sym_elif] = ACTIONS(351), - [anon_sym_else] = ACTIONS(351), - [anon_sym_case] = ACTIONS(351), - [anon_sym_in] = ACTIONS(1100), - [anon_sym_esac] = ACTIONS(1102), - [anon_sym_RPAREN] = ACTIONS(349), - [anon_sym_SEMI_SEMI] = ACTIONS(349), - [anon_sym_LBRACK] = ACTIONS(351), - [anon_sym_LBRACK_LBRACK] = ACTIONS(351), - [anon_sym_COLON] = ACTIONS(351), - [anon_sym_LPAREN] = ACTIONS(349), - [anon_sym_DQUOTE] = ACTIONS(1104), - [sym_single_quoted_argument] = ACTIONS(1107), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [anon_sym_LT] = ACTIONS(351), - [anon_sym_GT] = ACTIONS(351), - [anon_sym_GT_GT] = ACTIONS(351), - [anon_sym_AMP_GT] = ACTIONS(351), - [anon_sym_AMP_GT_GT] = ACTIONS(351), - [anon_sym_LT_AMP] = ACTIONS(351), - [anon_sym_GT_AMP] = ACTIONS(351), - [sym_leading_word] = ACTIONS(353), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_elif_clause] = STATE(156), + [sym_else_clause] = STATE(157), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(412), + [aux_sym_if_statement_repeat1] = STATE(159), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(1000), + [anon_sym_elif] = ACTIONS(1003), + [anon_sym_else] = ACTIONS(1006), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [372] = { - [sym_file_descriptor] = ACTIONS(497), - [anon_sym_RPAREN] = ACTIONS(499), - [anon_sym_SEMI_SEMI] = ACTIONS(499), - [anon_sym_PIPE] = ACTIONS(499), - [anon_sym_PIPE_AMP] = ACTIONS(499), - [anon_sym_AMP_AMP] = ACTIONS(499), - [anon_sym_PIPE_PIPE] = ACTIONS(499), - [anon_sym_LT] = ACTIONS(499), - [anon_sym_GT] = ACTIONS(499), - [anon_sym_GT_GT] = ACTIONS(499), - [anon_sym_AMP_GT] = ACTIONS(499), - [anon_sym_AMP_GT_GT] = ACTIONS(499), - [anon_sym_LT_AMP] = ACTIONS(499), - [anon_sym_GT_AMP] = ACTIONS(499), - [anon_sym_LT_LT] = ACTIONS(499), - [anon_sym_LT_LT_DASH] = ACTIONS(499), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(499), - [anon_sym_LF] = ACTIONS(499), - [anon_sym_AMP] = ACTIONS(499), + [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), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1009), + [anon_sym_LF] = ACTIONS(1009), + [anon_sym_AMP] = ACTIONS(1009), }, [373] = { - [sym_expansion] = STATE(196), - [sym_operator_expansion] = STATE(196), - [aux_sym_heredoc_repeat1] = STATE(397), - [sym__heredoc_middle] = ACTIONS(501), - [sym__heredoc_end] = ACTIONS(1110), - [anon_sym_DOLLAR] = ACTIONS(505), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(507), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(1014), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1014), + [anon_sym_LF] = ACTIONS(1014), + [anon_sym_AMP] = ACTIONS(1014), }, [374] = { - [sym__heredoc_middle] = ACTIONS(1112), - [sym__heredoc_end] = ACTIONS(1112), - [anon_sym_DOLLAR] = ACTIONS(1115), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1112), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(1016), + [anon_sym_PIPE] = ACTIONS(1016), + [anon_sym_PIPE_AMP] = ACTIONS(1016), + [anon_sym_AMP_AMP] = ACTIONS(1016), + [anon_sym_PIPE_PIPE] = ACTIONS(1016), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1016), + [anon_sym_LF] = ACTIONS(1016), + [anon_sym_AMP] = ACTIONS(1016), }, [375] = { - [sym_file_descriptor] = ACTIONS(1118), - [anon_sym_RPAREN] = ACTIONS(1121), - [anon_sym_SEMI_SEMI] = ACTIONS(1121), - [anon_sym_PIPE] = ACTIONS(1121), - [anon_sym_PIPE_AMP] = ACTIONS(1121), - [anon_sym_AMP_AMP] = ACTIONS(1121), - [anon_sym_PIPE_PIPE] = ACTIONS(1121), - [anon_sym_LT] = ACTIONS(1121), - [anon_sym_GT] = ACTIONS(1121), - [anon_sym_GT_GT] = ACTIONS(1121), - [anon_sym_AMP_GT] = ACTIONS(1121), - [anon_sym_AMP_GT_GT] = ACTIONS(1121), - [anon_sym_LT_AMP] = ACTIONS(1121), - [anon_sym_GT_AMP] = ACTIONS(1121), - [anon_sym_LT_LT] = ACTIONS(1121), - [anon_sym_LT_LT_DASH] = ACTIONS(1121), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1121), - [anon_sym_LF] = ACTIONS(1121), - [anon_sym_AMP] = ACTIONS(1121), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_compound_command] = STATE(395), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(415), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(1023), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_in] = ACTIONS(663), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(1026), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(1031), + [anon_sym_LBRACE] = ACTIONS(1033), + [anon_sym_RBRACE] = ACTIONS(663), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_RBRACK] = ACTIONS(663), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_RBRACK_RBRACK] = ACTIONS(663), + [anon_sym_COLON] = ACTIONS(1035), + [anon_sym_PIPE] = ACTIONS(1038), + [anon_sym_PIPE_AMP] = ACTIONS(1038), + [anon_sym_AMP_AMP] = ACTIONS(1038), + [anon_sym_PIPE_PIPE] = ACTIONS(1038), + [anon_sym_DQUOTE] = ACTIONS(1042), + [sym__quoted_chars] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(1035), + [anon_sym_DOLLAR] = ACTIONS(663), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(663), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(1045), + [anon_sym_GT] = ACTIONS(1045), + [anon_sym_GT_GT] = ACTIONS(1045), + [anon_sym_AMP_GT] = ACTIONS(1045), + [anon_sym_AMP_GT_GT] = ACTIONS(1045), + [anon_sym_LT_AMP] = ACTIONS(1045), + [anon_sym_GT_AMP] = ACTIONS(1045), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_leading_word] = ACTIONS(1048), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1038), + [anon_sym_LF] = ACTIONS(1038), + [anon_sym_AMP] = ACTIONS(1038), }, [376] = { - [anon_sym_LT] = ACTIONS(1124), - [anon_sym_GT] = ACTIONS(1124), - [anon_sym_GT_GT] = ACTIONS(1126), - [anon_sym_AMP_GT] = ACTIONS(1124), - [anon_sym_AMP_GT_GT] = ACTIONS(1126), - [anon_sym_LT_AMP] = ACTIONS(1126), - [anon_sym_GT_AMP] = ACTIONS(1126), - [sym_comment] = ACTIONS(67), + [sym__terminated_statement] = STATE(15), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_program_repeat1] = STATE(34), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_RPAREN] = ACTIONS(1051), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), }, [377] = { - [sym_do_group] = STATE(72), - [sym_file_descriptor] = ACTIONS(1128), - [ts_builtin_sym_end] = ACTIONS(1128), - [anon_sym_while] = ACTIONS(1131), - [anon_sym_do] = ACTIONS(1134), - [anon_sym_done] = ACTIONS(1131), - [anon_sym_if] = ACTIONS(1131), - [anon_sym_then] = ACTIONS(1136), - [anon_sym_fi] = ACTIONS(1131), - [anon_sym_elif] = ACTIONS(1131), - [anon_sym_else] = ACTIONS(1131), - [anon_sym_case] = ACTIONS(1131), - [anon_sym_RPAREN] = ACTIONS(1128), - [anon_sym_SEMI_SEMI] = ACTIONS(1128), - [anon_sym_LBRACK] = ACTIONS(1131), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1131), - [anon_sym_COLON] = ACTIONS(1128), - [anon_sym_LPAREN] = ACTIONS(1128), - [anon_sym_DQUOTE] = ACTIONS(1128), - [sym_single_quoted_argument] = ACTIONS(1131), - [anon_sym_LT] = ACTIONS(1131), - [anon_sym_GT] = ACTIONS(1131), - [anon_sym_GT_GT] = ACTIONS(1131), - [anon_sym_AMP_GT] = ACTIONS(1131), - [anon_sym_AMP_GT_GT] = ACTIONS(1131), - [anon_sym_LT_AMP] = ACTIONS(1131), - [anon_sym_GT_AMP] = ACTIONS(1131), - [sym_leading_word] = ACTIONS(1138), - [sym_comment] = ACTIONS(67), + [sym__heredoc_middle] = ACTIONS(1053), + [sym__heredoc_end] = ACTIONS(1053), + [sym_file_descriptor] = ACTIONS(1053), + [anon_sym_in] = ACTIONS(1057), + [anon_sym_RPAREN] = ACTIONS(1057), + [anon_sym_SEMI_SEMI] = ACTIONS(1061), + [anon_sym_RBRACE] = ACTIONS(1057), + [anon_sym_RBRACK] = ACTIONS(1057), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1057), + [anon_sym_COLON] = ACTIONS(1057), + [anon_sym_PIPE] = ACTIONS(1061), + [anon_sym_PIPE_AMP] = ACTIONS(1061), + [anon_sym_AMP_AMP] = ACTIONS(1061), + [anon_sym_PIPE_PIPE] = ACTIONS(1061), + [anon_sym_DQUOTE] = ACTIONS(1057), + [sym__quoted_chars] = ACTIONS(1057), + [sym_single_quoted_argument] = ACTIONS(1057), + [anon_sym_DOLLAR] = ACTIONS(1057), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1057), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1057), + [anon_sym_LT] = ACTIONS(1057), + [anon_sym_GT] = ACTIONS(1057), + [anon_sym_GT_GT] = ACTIONS(1057), + [anon_sym_AMP_GT] = ACTIONS(1057), + [anon_sym_AMP_GT_GT] = ACTIONS(1057), + [anon_sym_LT_AMP] = ACTIONS(1057), + [anon_sym_GT_AMP] = ACTIONS(1057), + [anon_sym_LT_LT] = ACTIONS(1057), + [anon_sym_LT_LT_DASH] = ACTIONS(1057), + [sym_leading_word] = ACTIONS(1057), + [sym_word] = ACTIONS(1057), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1061), + [anon_sym_LF] = ACTIONS(1061), + [anon_sym_AMP] = ACTIONS(1061), }, [378] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1141), - [anon_sym_PIPE] = ACTIONS(1145), - [anon_sym_PIPE_AMP] = ACTIONS(1145), - [anon_sym_AMP_AMP] = ACTIONS(1149), - [anon_sym_PIPE_PIPE] = ACTIONS(1149), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1141), - [anon_sym_LF] = ACTIONS(1141), - [anon_sym_AMP] = ACTIONS(1141), + [sym_quoted_argument] = STATE(419), + [sym_expansion] = STATE(419), + [sym_operator_expansion] = STATE(419), + [sym_command_substitution] = STATE(419), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(423), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1069), + [anon_sym_SEMI_SEMI] = ACTIONS(1069), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1072), + [anon_sym_PIPE] = ACTIONS(1069), + [anon_sym_PIPE_AMP] = ACTIONS(1069), + [anon_sym_AMP_AMP] = ACTIONS(1069), + [anon_sym_PIPE_PIPE] = ACTIONS(1069), + [anon_sym_DQUOTE] = ACTIONS(1074), + [sym_single_quoted_argument] = ACTIONS(1076), + [anon_sym_DOLLAR] = ACTIONS(1078), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1080), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1082), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1088), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1069), + [anon_sym_LF] = ACTIONS(1069), + [anon_sym_AMP] = ACTIONS(1069), }, [379] = { - [anon_sym_fi] = ACTIONS(1153), - [anon_sym_elif] = ACTIONS(1153), - [anon_sym_else] = ACTIONS(1153), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(425), + [sym_expansion] = STATE(425), + [sym_operator_expansion] = STATE(425), + [sym_command_substitution] = STATE(425), + [anon_sym_DQUOTE] = ACTIONS(1090), + [sym_single_quoted_argument] = ACTIONS(1092), + [anon_sym_DOLLAR] = ACTIONS(1094), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1096), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1098), + [sym_word] = ACTIONS(1100), + [sym_comment] = ACTIONS(71), }, [380] = { - [anon_sym_fi] = ACTIONS(1156), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(410), + [sym_file_descriptor] = ACTIONS(1102), + [anon_sym_in] = ACTIONS(1105), + [anon_sym_RPAREN] = ACTIONS(1105), + [anon_sym_SEMI_SEMI] = ACTIONS(1105), + [anon_sym_RBRACE] = ACTIONS(1105), + [anon_sym_RBRACK] = ACTIONS(1105), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1105), + [anon_sym_COLON] = ACTIONS(1105), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1105), + [anon_sym_PIPE] = ACTIONS(1105), + [anon_sym_PIPE_AMP] = ACTIONS(1105), + [anon_sym_AMP_AMP] = ACTIONS(1105), + [anon_sym_PIPE_PIPE] = ACTIONS(1105), + [anon_sym_DQUOTE] = ACTIONS(1108), + [sym__quoted_chars] = ACTIONS(1112), + [sym_single_quoted_argument] = ACTIONS(1105), + [anon_sym_DOLLAR] = ACTIONS(1114), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1118), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1122), + [anon_sym_LT] = ACTIONS(1105), + [anon_sym_GT] = ACTIONS(1105), + [anon_sym_GT_GT] = ACTIONS(1105), + [anon_sym_AMP_GT] = ACTIONS(1105), + [anon_sym_AMP_GT_GT] = ACTIONS(1105), + [anon_sym_LT_AMP] = ACTIONS(1105), + [anon_sym_GT_AMP] = ACTIONS(1105), + [anon_sym_LT_LT] = ACTIONS(1105), + [anon_sym_LT_LT_DASH] = ACTIONS(1105), + [sym_leading_word] = ACTIONS(1105), + [sym_word] = ACTIONS(1105), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1105), + [anon_sym_LF] = ACTIONS(1105), + [anon_sym_AMP] = ACTIONS(1105), }, [381] = { - [anon_sym_esac] = ACTIONS(1158), - [anon_sym_DQUOTE] = ACTIONS(1161), - [sym_single_quoted_argument] = ACTIONS(1158), - [anon_sym_DOLLAR] = ACTIONS(1158), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1161), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1161), - [sym_word] = ACTIONS(1164), - [sym_comment] = ACTIONS(67), + [sym__heredoc_middle] = ACTIONS(459), + [sym__heredoc_end] = ACTIONS(459), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_in] = ACTIONS(417), + [anon_sym_RPAREN] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_RBRACE] = ACTIONS(417), + [anon_sym_RBRACK] = ACTIONS(417), + [anon_sym_RBRACK_RBRACK] = ACTIONS(417), + [anon_sym_COLON] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym__quoted_chars] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_DOLLAR] = ACTIONS(1126), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_leading_word] = ACTIONS(417), + [sym_word] = ACTIONS(1129), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [382] = { - [anon_sym_RPAREN] = ACTIONS(1167), + [sym_quoted_argument] = STATE(434), + [sym_expansion] = STATE(434), + [sym_operator_expansion] = STATE(434), + [sym_command_substitution] = STATE(434), + [anon_sym_DQUOTE] = ACTIONS(1132), + [sym_single_quoted_argument] = ACTIONS(1134), + [anon_sym_DOLLAR] = ACTIONS(1136), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1138), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1140), + [sym_word] = ACTIONS(1142), + [sym_comment] = ACTIONS(71), + }, + [383] = { + [sym_heredoc] = STATE(403), + [sym__simple_heredoc] = ACTIONS(1144), + [sym__heredoc_beginning] = ACTIONS(1146), + [sym_comment] = ACTIONS(71), + }, + [384] = { + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(406), + [sym_file_descriptor] = ACTIONS(363), + [ts_builtin_sym_end] = ACTIONS(363), + [anon_sym_while] = ACTIONS(365), + [anon_sym_do] = ACTIONS(365), + [anon_sym_done] = ACTIONS(365), + [anon_sym_if] = ACTIONS(365), + [anon_sym_then] = ACTIONS(365), + [anon_sym_fi] = ACTIONS(365), + [anon_sym_elif] = ACTIONS(365), + [anon_sym_else] = ACTIONS(365), + [anon_sym_case] = ACTIONS(365), + [anon_sym_in] = ACTIONS(1148), + [anon_sym_esac] = ACTIONS(1150), + [anon_sym_RPAREN] = ACTIONS(363), + [anon_sym_SEMI_SEMI] = ACTIONS(363), + [anon_sym_function] = ACTIONS(365), + [anon_sym_LPAREN] = ACTIONS(363), + [anon_sym_RBRACE] = ACTIONS(363), + [anon_sym_LBRACK] = ACTIONS(365), + [anon_sym_LBRACK_LBRACK] = ACTIONS(365), + [anon_sym_COLON] = ACTIONS(365), + [anon_sym_DQUOTE] = ACTIONS(1152), + [sym_single_quoted_argument] = ACTIONS(1155), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [anon_sym_LT] = ACTIONS(365), + [anon_sym_GT] = ACTIONS(365), + [anon_sym_GT_GT] = ACTIONS(365), + [anon_sym_AMP_GT] = ACTIONS(365), + [anon_sym_AMP_GT_GT] = ACTIONS(365), + [anon_sym_LT_AMP] = ACTIONS(365), + [anon_sym_GT_AMP] = ACTIONS(365), + [sym_leading_word] = ACTIONS(367), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), + }, + [385] = { + [sym_file_descriptor] = ACTIONS(515), + [anon_sym_RPAREN] = ACTIONS(517), + [anon_sym_SEMI_SEMI] = ACTIONS(517), + [anon_sym_PIPE] = ACTIONS(517), + [anon_sym_PIPE_AMP] = ACTIONS(517), + [anon_sym_AMP_AMP] = ACTIONS(517), + [anon_sym_PIPE_PIPE] = ACTIONS(517), + [anon_sym_LT] = ACTIONS(517), + [anon_sym_GT] = ACTIONS(517), + [anon_sym_GT_GT] = ACTIONS(517), + [anon_sym_AMP_GT] = ACTIONS(517), + [anon_sym_AMP_GT_GT] = ACTIONS(517), + [anon_sym_LT_AMP] = ACTIONS(517), + [anon_sym_GT_AMP] = ACTIONS(517), + [anon_sym_LT_LT] = ACTIONS(517), + [anon_sym_LT_LT_DASH] = ACTIONS(517), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(517), + [anon_sym_LF] = ACTIONS(517), + [anon_sym_AMP] = ACTIONS(517), + }, + [386] = { + [sym_expansion] = STATE(202), + [sym_operator_expansion] = STATE(202), + [aux_sym_heredoc_repeat1] = STATE(411), + [sym__heredoc_middle] = ACTIONS(519), + [sym__heredoc_end] = ACTIONS(1158), + [anon_sym_DOLLAR] = ACTIONS(523), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), + [sym_comment] = ACTIONS(71), + }, + [387] = { + [sym__heredoc_middle] = ACTIONS(1160), + [sym__heredoc_end] = ACTIONS(1160), + [anon_sym_DOLLAR] = ACTIONS(1163), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1160), + [sym_comment] = ACTIONS(71), + }, + [388] = { + [sym_file_descriptor] = ACTIONS(1166), + [anon_sym_RPAREN] = ACTIONS(1169), [anon_sym_SEMI_SEMI] = ACTIONS(1169), - [anon_sym_PIPE] = ACTIONS(1173), - [anon_sym_PIPE_AMP] = ACTIONS(1173), - [anon_sym_AMP_AMP] = ACTIONS(1177), - [anon_sym_PIPE_PIPE] = ACTIONS(1177), - [sym_comment] = ACTIONS(135), + [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(1169), + [anon_sym_GT] = ACTIONS(1169), + [anon_sym_GT_GT] = ACTIONS(1169), + [anon_sym_AMP_GT] = ACTIONS(1169), + [anon_sym_AMP_GT_GT] = ACTIONS(1169), + [anon_sym_LT_AMP] = ACTIONS(1169), + [anon_sym_GT_AMP] = ACTIONS(1169), + [anon_sym_LT_LT] = ACTIONS(1169), + [anon_sym_LT_LT_DASH] = ACTIONS(1169), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(1169), [anon_sym_LF] = ACTIONS(1169), [anon_sym_AMP] = ACTIONS(1169), }, - [383] = { - [sym_file_descriptor] = ACTIONS(1181), - [anon_sym_SEMI_SEMI] = ACTIONS(1141), - [anon_sym_COLON] = ACTIONS(1184), - [anon_sym_PIPE] = ACTIONS(1145), - [anon_sym_PIPE_AMP] = ACTIONS(1145), - [anon_sym_AMP_AMP] = ACTIONS(1149), - [anon_sym_PIPE_PIPE] = ACTIONS(1149), - [anon_sym_DQUOTE] = ACTIONS(1184), - [sym_single_quoted_argument] = ACTIONS(1184), - [anon_sym_LT] = ACTIONS(1184), - [anon_sym_GT] = ACTIONS(1184), - [anon_sym_GT_GT] = ACTIONS(1184), - [anon_sym_AMP_GT] = ACTIONS(1184), - [anon_sym_AMP_GT_GT] = ACTIONS(1184), - [anon_sym_LT_AMP] = ACTIONS(1184), - [anon_sym_GT_AMP] = ACTIONS(1184), - [sym_leading_word] = ACTIONS(1184), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1141), - [anon_sym_LF] = ACTIONS(1141), - [anon_sym_AMP] = ACTIONS(1141), - }, - [384] = { - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(408), - [sym_file_descriptor] = ACTIONS(1187), - [anon_sym_in] = ACTIONS(207), - [anon_sym_RPAREN] = ACTIONS(1194), - [anon_sym_SEMI_SEMI] = ACTIONS(1202), - [anon_sym_RBRACK] = ACTIONS(1211), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1211), - [anon_sym_COLON] = ACTIONS(1214), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1024), - [anon_sym_PIPE] = ACTIONS(1218), - [anon_sym_PIPE_AMP] = ACTIONS(1218), - [anon_sym_AMP_AMP] = ACTIONS(1218), - [anon_sym_PIPE_PIPE] = ACTIONS(1218), - [anon_sym_DQUOTE] = ACTIONS(1226), - [sym_single_quoted_argument] = ACTIONS(1226), - [anon_sym_DOLLAR] = ACTIONS(1211), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1211), - [anon_sym_RBRACE] = ACTIONS(1232), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1211), - [anon_sym_LT] = ACTIONS(1234), - [anon_sym_GT] = ACTIONS(1234), - [anon_sym_GT_GT] = ACTIONS(1234), - [anon_sym_AMP_GT] = ACTIONS(1234), - [anon_sym_AMP_GT_GT] = ACTIONS(1234), - [anon_sym_LT_AMP] = ACTIONS(1234), - [anon_sym_GT_AMP] = ACTIONS(1234), - [anon_sym_LT_LT] = ACTIONS(1241), - [anon_sym_LT_LT_DASH] = ACTIONS(1241), - [sym_leading_word] = ACTIONS(1214), - [sym_word] = ACTIONS(1211), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1202), - [anon_sym_LF] = ACTIONS(1202), - [anon_sym_AMP] = ACTIONS(1202), - }, - [385] = { - [sym__heredoc_middle] = ACTIONS(1112), - [sym__heredoc_end] = ACTIONS(1112), - [sym_file_descriptor] = ACTIONS(1247), - [anon_sym_in] = ACTIONS(207), - [anon_sym_RPAREN] = ACTIONS(1253), - [anon_sym_SEMI_SEMI] = ACTIONS(1259), - [anon_sym_RBRACK] = ACTIONS(1211), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1211), - [anon_sym_COLON] = ACTIONS(1214), - [anon_sym_PIPE] = ACTIONS(1226), - [anon_sym_PIPE_AMP] = ACTIONS(1226), - [anon_sym_AMP_AMP] = ACTIONS(1226), - [anon_sym_PIPE_PIPE] = ACTIONS(1226), - [anon_sym_DQUOTE] = ACTIONS(1266), - [sym__quoted_chars] = ACTIONS(1274), - [sym_single_quoted_argument] = ACTIONS(1226), - [anon_sym_DOLLAR] = ACTIONS(1277), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1277), - [anon_sym_RBRACE] = ACTIONS(1232), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1284), - [anon_sym_LT] = ACTIONS(1226), - [anon_sym_GT] = ACTIONS(1226), - [anon_sym_GT_GT] = ACTIONS(1226), - [anon_sym_AMP_GT] = ACTIONS(1226), - [anon_sym_AMP_GT_GT] = ACTIONS(1226), - [anon_sym_LT_AMP] = ACTIONS(1226), - [anon_sym_GT_AMP] = ACTIONS(1226), - [anon_sym_LT_LT] = ACTIONS(1289), - [anon_sym_LT_LT_DASH] = ACTIONS(1289), - [sym_leading_word] = ACTIONS(1214), - [sym_word] = ACTIONS(1211), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1259), - [anon_sym_LF] = ACTIONS(1259), - [anon_sym_AMP] = ACTIONS(1259), - }, - [386] = { - [sym_file_descriptor] = ACTIONS(1247), - [anon_sym_in] = ACTIONS(207), - [anon_sym_RPAREN] = ACTIONS(1253), - [anon_sym_SEMI_SEMI] = ACTIONS(1259), - [anon_sym_RBRACK] = ACTIONS(1211), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1211), - [anon_sym_COLON] = ACTIONS(1214), - [anon_sym_PIPE] = ACTIONS(1226), - [anon_sym_PIPE_AMP] = ACTIONS(1226), - [anon_sym_AMP_AMP] = ACTIONS(1226), - [anon_sym_PIPE_PIPE] = ACTIONS(1226), - [anon_sym_DQUOTE] = ACTIONS(1266), - [sym__quoted_chars] = ACTIONS(1274), - [sym_single_quoted_argument] = ACTIONS(1226), - [anon_sym_DOLLAR] = ACTIONS(1284), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1284), - [anon_sym_RBRACE] = ACTIONS(1232), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1284), - [anon_sym_LT] = ACTIONS(1226), - [anon_sym_GT] = ACTIONS(1226), - [anon_sym_GT_GT] = ACTIONS(1226), - [anon_sym_AMP_GT] = ACTIONS(1226), - [anon_sym_AMP_GT_GT] = ACTIONS(1226), - [anon_sym_LT_AMP] = ACTIONS(1226), - [anon_sym_GT_AMP] = ACTIONS(1226), - [anon_sym_LT_LT] = ACTIONS(1289), - [anon_sym_LT_LT_DASH] = ACTIONS(1289), - [sym_leading_word] = ACTIONS(1214), - [sym_word] = ACTIONS(1211), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1259), - [anon_sym_LF] = ACTIONS(1259), - [anon_sym_AMP] = ACTIONS(1259), - }, - [387] = { - [sym_file_descriptor] = ACTIONS(1294), - [anon_sym_RPAREN] = ACTIONS(1299), - [anon_sym_SEMI_SEMI] = ACTIONS(1299), - [anon_sym_COLON] = ACTIONS(1184), - [anon_sym_PIPE] = ACTIONS(1299), - [anon_sym_PIPE_AMP] = ACTIONS(1299), - [anon_sym_AMP_AMP] = ACTIONS(1299), - [anon_sym_PIPE_PIPE] = ACTIONS(1299), - [anon_sym_DQUOTE] = ACTIONS(1184), - [sym_single_quoted_argument] = ACTIONS(1184), - [anon_sym_LT] = ACTIONS(1302), - [anon_sym_GT] = ACTIONS(1302), - [anon_sym_GT_GT] = ACTIONS(1302), - [anon_sym_AMP_GT] = ACTIONS(1302), - [anon_sym_AMP_GT_GT] = ACTIONS(1302), - [anon_sym_LT_AMP] = ACTIONS(1302), - [anon_sym_GT_AMP] = ACTIONS(1302), - [anon_sym_LT_LT] = ACTIONS(1299), - [anon_sym_LT_LT_DASH] = ACTIONS(1299), - [sym_leading_word] = ACTIONS(1184), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1299), - [anon_sym_LF] = ACTIONS(1299), - [anon_sym_AMP] = ACTIONS(1299), - }, - [388] = { - [sym_file_descriptor] = ACTIONS(1307), - [anon_sym_RPAREN] = ACTIONS(1299), - [anon_sym_SEMI_SEMI] = ACTIONS(1299), - [anon_sym_PIPE] = ACTIONS(1299), - [anon_sym_PIPE_AMP] = ACTIONS(1299), - [anon_sym_AMP_AMP] = ACTIONS(1299), - [anon_sym_PIPE_PIPE] = ACTIONS(1299), - [anon_sym_LT] = ACTIONS(1299), - [anon_sym_GT] = ACTIONS(1299), - [anon_sym_GT_GT] = ACTIONS(1299), - [anon_sym_AMP_GT] = ACTIONS(1299), - [anon_sym_AMP_GT_GT] = ACTIONS(1299), - [anon_sym_LT_AMP] = ACTIONS(1299), - [anon_sym_GT_AMP] = ACTIONS(1299), - [anon_sym_LT_LT] = ACTIONS(1299), - [anon_sym_LT_LT_DASH] = ACTIONS(1299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1299), - [anon_sym_LF] = ACTIONS(1299), - [anon_sym_AMP] = ACTIONS(1299), - }, [389] = { - [sym_file_descriptor] = ACTIONS(509), - [anon_sym_RPAREN] = ACTIONS(511), - [anon_sym_SEMI_SEMI] = ACTIONS(511), - [anon_sym_PIPE] = ACTIONS(511), - [anon_sym_PIPE_AMP] = ACTIONS(511), - [anon_sym_AMP_AMP] = ACTIONS(511), - [anon_sym_PIPE_PIPE] = ACTIONS(511), - [anon_sym_LT] = ACTIONS(511), - [anon_sym_GT] = ACTIONS(511), - [anon_sym_GT_GT] = ACTIONS(511), - [anon_sym_AMP_GT] = ACTIONS(511), - [anon_sym_AMP_GT_GT] = ACTIONS(511), - [anon_sym_LT_AMP] = ACTIONS(511), - [anon_sym_GT_AMP] = ACTIONS(511), - [anon_sym_LT_LT] = ACTIONS(511), - [anon_sym_LT_LT_DASH] = ACTIONS(511), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(511), - [anon_sym_LF] = ACTIONS(511), - [anon_sym_AMP] = ACTIONS(511), + [anon_sym_LT] = ACTIONS(1172), + [anon_sym_GT] = ACTIONS(1172), + [anon_sym_GT_GT] = ACTIONS(1174), + [anon_sym_AMP_GT] = ACTIONS(1172), + [anon_sym_AMP_GT_GT] = ACTIONS(1174), + [anon_sym_LT_AMP] = ACTIONS(1174), + [anon_sym_GT_AMP] = ACTIONS(1174), + [sym_comment] = ACTIONS(71), }, [390] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_elif_clause] = STATE(151), - [sym_else_clause] = STATE(224), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_if_statement_repeat1] = STATE(225), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [ts_builtin_sym_end] = ACTIONS(187), - [anon_sym_while] = ACTIONS(75), - [anon_sym_done] = ACTIONS(575), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(1310), - [anon_sym_elif] = ACTIONS(1314), - [anon_sym_else] = ACTIONS(1317), - [anon_sym_case] = ACTIONS(79), - [anon_sym_RPAREN] = ACTIONS(295), - [anon_sym_SEMI_SEMI] = ACTIONS(1320), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_do_group] = STATE(75), + [sym_file_descriptor] = ACTIONS(1176), + [ts_builtin_sym_end] = ACTIONS(1176), + [anon_sym_while] = ACTIONS(1179), + [anon_sym_do] = ACTIONS(1182), + [anon_sym_done] = ACTIONS(1179), + [anon_sym_if] = ACTIONS(1179), + [anon_sym_then] = ACTIONS(1184), + [anon_sym_fi] = ACTIONS(1179), + [anon_sym_elif] = ACTIONS(1179), + [anon_sym_else] = ACTIONS(1179), + [anon_sym_case] = ACTIONS(1179), + [anon_sym_RPAREN] = ACTIONS(1176), + [anon_sym_SEMI_SEMI] = ACTIONS(1176), + [anon_sym_function] = ACTIONS(1179), + [anon_sym_LPAREN] = ACTIONS(1176), + [anon_sym_RBRACE] = ACTIONS(1176), + [anon_sym_LBRACK] = ACTIONS(1179), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1179), + [anon_sym_COLON] = ACTIONS(1176), + [anon_sym_DQUOTE] = ACTIONS(1176), + [sym_single_quoted_argument] = ACTIONS(1179), + [anon_sym_LT] = ACTIONS(1179), + [anon_sym_GT] = ACTIONS(1179), + [anon_sym_GT_GT] = ACTIONS(1179), + [anon_sym_AMP_GT] = ACTIONS(1179), + [anon_sym_AMP_GT_GT] = ACTIONS(1179), + [anon_sym_LT_AMP] = ACTIONS(1179), + [anon_sym_GT_AMP] = ACTIONS(1179), + [sym_leading_word] = ACTIONS(1186), + [sym_comment] = ACTIONS(71), }, [391] = { - [sym_elif_clause] = STATE(226), - [sym_else_clause] = STATE(429), - [anon_sym_fi] = ACTIONS(1322), - [anon_sym_elif] = ACTIONS(587), - [anon_sym_else] = ACTIONS(589), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(1189), + [anon_sym_PIPE] = ACTIONS(1193), + [anon_sym_PIPE_AMP] = ACTIONS(1193), + [anon_sym_AMP_AMP] = ACTIONS(1197), + [anon_sym_PIPE_PIPE] = ACTIONS(1197), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1189), + [anon_sym_LF] = ACTIONS(1189), + [anon_sym_AMP] = ACTIONS(1189), }, [392] = { - [sym_case_item] = STATE(290), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [anon_sym_esac] = ACTIONS(1324), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [anon_sym_fi] = ACTIONS(1201), + [anon_sym_elif] = ACTIONS(1201), + [anon_sym_else] = ACTIONS(1201), + [sym_comment] = ACTIONS(71), }, [393] = { - [sym_quoted_argument] = STATE(432), - [sym_expansion] = STATE(432), - [sym_operator_expansion] = STATE(432), - [sym_command_substitution] = STATE(432), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(437), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1326), - [anon_sym_SEMI_SEMI] = ACTIONS(1326), - [anon_sym_RBRACK] = ACTIONS(1331), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1331), - [anon_sym_PIPE] = ACTIONS(1326), - [anon_sym_PIPE_AMP] = ACTIONS(1326), - [anon_sym_AMP_AMP] = ACTIONS(1326), - [anon_sym_PIPE_PIPE] = ACTIONS(1326), - [anon_sym_DQUOTE] = ACTIONS(1333), - [sym_single_quoted_argument] = ACTIONS(1335), - [anon_sym_DOLLAR] = ACTIONS(1337), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1339), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1341), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1343), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1326), - [anon_sym_LF] = ACTIONS(1326), - [anon_sym_AMP] = ACTIONS(1326), + [anon_sym_fi] = ACTIONS(1204), + [sym_comment] = ACTIONS(71), }, [394] = { - [sym_environment_variable_assignment] = STATE(68), - [sym_quoted_argument] = STATE(438), - [sym_file_redirect] = STATE(68), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(1345), - [anon_sym_DQUOTE] = ACTIONS(1347), - [sym_single_quoted_argument] = ACTIONS(1349), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(1351), - [sym_comment] = ACTIONS(67), + [anon_sym_esac] = ACTIONS(1206), + [anon_sym_DQUOTE] = ACTIONS(1209), + [sym_single_quoted_argument] = ACTIONS(1206), + [anon_sym_DOLLAR] = ACTIONS(1206), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1209), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), + [sym_word] = ACTIONS(1212), + [sym_comment] = ACTIONS(71), }, [395] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1353), - [anon_sym_SEMI_SEMI] = ACTIONS(1353), - [anon_sym_PIPE] = ACTIONS(1353), - [anon_sym_PIPE_AMP] = ACTIONS(1353), - [anon_sym_AMP_AMP] = ACTIONS(1353), - [anon_sym_PIPE_PIPE] = ACTIONS(1353), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1353), - [anon_sym_LF] = ACTIONS(1353), - [anon_sym_AMP] = ACTIONS(1353), + [anon_sym_SEMI_SEMI] = ACTIONS(1215), + [anon_sym_PIPE] = ACTIONS(1215), + [anon_sym_PIPE_AMP] = ACTIONS(1215), + [anon_sym_AMP_AMP] = ACTIONS(1215), + [anon_sym_PIPE_PIPE] = ACTIONS(1215), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1215), + [anon_sym_LF] = ACTIONS(1215), + [anon_sym_AMP] = ACTIONS(1215), }, [396] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(1364), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_RPAREN] = ACTIONS(1218), + [anon_sym_SEMI_SEMI] = ACTIONS(1220), + [anon_sym_PIPE] = ACTIONS(1224), + [anon_sym_PIPE_AMP] = ACTIONS(1224), + [anon_sym_AMP_AMP] = ACTIONS(1228), + [anon_sym_PIPE_PIPE] = ACTIONS(1228), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1220), + [anon_sym_LF] = ACTIONS(1220), + [anon_sym_AMP] = ACTIONS(1220), }, [397] = { - [sym_expansion] = STATE(272), - [sym_operator_expansion] = STATE(272), - [sym__heredoc_middle] = ACTIONS(705), - [sym__heredoc_end] = ACTIONS(1366), - [anon_sym_DOLLAR] = ACTIONS(505), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(507), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(1232), + [anon_sym_SEMI_SEMI] = ACTIONS(1189), + [anon_sym_COLON] = ACTIONS(1235), + [anon_sym_PIPE] = ACTIONS(1193), + [anon_sym_PIPE_AMP] = ACTIONS(1193), + [anon_sym_AMP_AMP] = ACTIONS(1197), + [anon_sym_PIPE_PIPE] = ACTIONS(1197), + [anon_sym_DQUOTE] = ACTIONS(1235), + [sym_single_quoted_argument] = ACTIONS(1235), + [anon_sym_LT] = ACTIONS(1235), + [anon_sym_GT] = ACTIONS(1235), + [anon_sym_GT_GT] = ACTIONS(1235), + [anon_sym_AMP_GT] = ACTIONS(1235), + [anon_sym_AMP_GT_GT] = ACTIONS(1235), + [anon_sym_LT_AMP] = ACTIONS(1235), + [anon_sym_GT_AMP] = ACTIONS(1235), + [sym_leading_word] = ACTIONS(1235), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1189), + [anon_sym_LF] = ACTIONS(1189), + [anon_sym_AMP] = ACTIONS(1189), }, [398] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_elif_clause] = STATE(151), - [sym_else_clause] = STATE(224), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_if_statement_repeat1] = STATE(225), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_fi] = ACTIONS(1368), - [anon_sym_elif] = ACTIONS(1314), - [anon_sym_else] = ACTIONS(1317), - [anon_sym_case] = ACTIONS(79), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(423), + [sym_file_descriptor] = ACTIONS(1238), + [anon_sym_in] = ACTIONS(217), + [anon_sym_RPAREN] = ACTIONS(1245), + [anon_sym_SEMI_SEMI] = ACTIONS(1253), + [anon_sym_RBRACE] = ACTIONS(1262), + [anon_sym_RBRACK] = ACTIONS(1264), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1264), + [anon_sym_COLON] = ACTIONS(1267), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1072), + [anon_sym_PIPE] = ACTIONS(1271), + [anon_sym_PIPE_AMP] = ACTIONS(1271), + [anon_sym_AMP_AMP] = ACTIONS(1271), + [anon_sym_PIPE_PIPE] = ACTIONS(1271), + [anon_sym_DQUOTE] = ACTIONS(1279), + [sym_single_quoted_argument] = ACTIONS(1279), + [anon_sym_DOLLAR] = ACTIONS(1264), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1264), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1264), + [anon_sym_LT] = ACTIONS(1285), + [anon_sym_GT] = ACTIONS(1285), + [anon_sym_GT_GT] = ACTIONS(1285), + [anon_sym_AMP_GT] = ACTIONS(1285), + [anon_sym_AMP_GT_GT] = ACTIONS(1285), + [anon_sym_LT_AMP] = ACTIONS(1285), + [anon_sym_GT_AMP] = ACTIONS(1285), + [anon_sym_LT_LT] = ACTIONS(1292), + [anon_sym_LT_LT_DASH] = ACTIONS(1292), + [sym_leading_word] = ACTIONS(1267), + [sym_word] = ACTIONS(1264), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1253), + [anon_sym_LF] = ACTIONS(1253), + [anon_sym_AMP] = ACTIONS(1253), }, [399] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(392), - [anon_sym_esac] = ACTIONS(1102), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [sym__heredoc_middle] = ACTIONS(1160), + [sym__heredoc_end] = ACTIONS(1160), + [sym_file_descriptor] = ACTIONS(1298), + [anon_sym_in] = ACTIONS(217), + [anon_sym_RPAREN] = ACTIONS(1304), + [anon_sym_SEMI_SEMI] = ACTIONS(1310), + [anon_sym_RBRACE] = ACTIONS(1262), + [anon_sym_RBRACK] = ACTIONS(1264), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1264), + [anon_sym_COLON] = ACTIONS(1267), + [anon_sym_PIPE] = ACTIONS(1279), + [anon_sym_PIPE_AMP] = ACTIONS(1279), + [anon_sym_AMP_AMP] = ACTIONS(1279), + [anon_sym_PIPE_PIPE] = ACTIONS(1279), + [anon_sym_DQUOTE] = ACTIONS(1317), + [sym__quoted_chars] = ACTIONS(1325), + [sym_single_quoted_argument] = ACTIONS(1279), + [anon_sym_DOLLAR] = ACTIONS(1328), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1328), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1335), + [anon_sym_LT] = ACTIONS(1279), + [anon_sym_GT] = ACTIONS(1279), + [anon_sym_GT_GT] = ACTIONS(1279), + [anon_sym_AMP_GT] = ACTIONS(1279), + [anon_sym_AMP_GT_GT] = ACTIONS(1279), + [anon_sym_LT_AMP] = ACTIONS(1279), + [anon_sym_GT_AMP] = ACTIONS(1279), + [anon_sym_LT_LT] = ACTIONS(1340), + [anon_sym_LT_LT_DASH] = ACTIONS(1340), + [sym_leading_word] = ACTIONS(1267), + [sym_word] = ACTIONS(1264), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1310), + [anon_sym_LF] = ACTIONS(1310), + [anon_sym_AMP] = ACTIONS(1310), }, [400] = { - [anon_sym_esac] = ACTIONS(1371), - [anon_sym_DQUOTE] = ACTIONS(1374), - [sym_single_quoted_argument] = ACTIONS(1371), - [anon_sym_DOLLAR] = ACTIONS(1371), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1374), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1374), - [sym_word] = ACTIONS(1377), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(1298), + [anon_sym_in] = ACTIONS(217), + [anon_sym_RPAREN] = ACTIONS(1304), + [anon_sym_SEMI_SEMI] = ACTIONS(1310), + [anon_sym_RBRACE] = ACTIONS(1262), + [anon_sym_RBRACK] = ACTIONS(1264), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1264), + [anon_sym_COLON] = ACTIONS(1267), + [anon_sym_PIPE] = ACTIONS(1279), + [anon_sym_PIPE_AMP] = ACTIONS(1279), + [anon_sym_AMP_AMP] = ACTIONS(1279), + [anon_sym_PIPE_PIPE] = ACTIONS(1279), + [anon_sym_DQUOTE] = ACTIONS(1317), + [sym__quoted_chars] = ACTIONS(1325), + [sym_single_quoted_argument] = ACTIONS(1279), + [anon_sym_DOLLAR] = ACTIONS(1335), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1335), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1335), + [anon_sym_LT] = ACTIONS(1279), + [anon_sym_GT] = ACTIONS(1279), + [anon_sym_GT_GT] = ACTIONS(1279), + [anon_sym_AMP_GT] = ACTIONS(1279), + [anon_sym_AMP_GT_GT] = ACTIONS(1279), + [anon_sym_LT_AMP] = ACTIONS(1279), + [anon_sym_GT_AMP] = ACTIONS(1279), + [anon_sym_LT_LT] = ACTIONS(1340), + [anon_sym_LT_LT_DASH] = ACTIONS(1340), + [sym_leading_word] = ACTIONS(1267), + [sym_word] = ACTIONS(1264), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1310), + [anon_sym_LF] = ACTIONS(1310), + [anon_sym_AMP] = ACTIONS(1310), }, [401] = { - [sym__terminated_statement] = STATE(65), - [sym_while_statement] = STATE(15), - [sym_if_statement] = STATE(15), - [sym_case_statement] = STATE(15), - [sym_bracket_command] = STATE(15), - [sym_command] = STATE(15), - [sym_pipeline] = STATE(15), - [sym_list] = STATE(15), - [sym_subshell] = STATE(15), - [sym_environment_variable_assignment] = STATE(16), - [sym_quoted_argument] = STATE(8), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(19), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_while] = ACTIONS(75), - [anon_sym_if] = ACTIONS(77), - [anon_sym_case] = ACTIONS(79), - [anon_sym_SEMI_SEMI] = ACTIONS(1320), - [anon_sym_LBRACK] = ACTIONS(81), - [anon_sym_LBRACK_LBRACK] = ACTIONS(83), - [anon_sym_COLON] = ACTIONS(85), - [anon_sym_LPAREN] = ACTIONS(87), - [anon_sym_DQUOTE] = ACTIONS(89), - [sym_single_quoted_argument] = ACTIONS(91), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(95), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(1345), + [anon_sym_RPAREN] = ACTIONS(1350), + [anon_sym_SEMI_SEMI] = ACTIONS(1350), + [anon_sym_COLON] = ACTIONS(1235), + [anon_sym_PIPE] = ACTIONS(1350), + [anon_sym_PIPE_AMP] = ACTIONS(1350), + [anon_sym_AMP_AMP] = ACTIONS(1350), + [anon_sym_PIPE_PIPE] = ACTIONS(1350), + [anon_sym_DQUOTE] = ACTIONS(1235), + [sym_single_quoted_argument] = ACTIONS(1235), + [anon_sym_LT] = ACTIONS(1353), + [anon_sym_GT] = ACTIONS(1353), + [anon_sym_GT_GT] = ACTIONS(1353), + [anon_sym_AMP_GT] = ACTIONS(1353), + [anon_sym_AMP_GT_GT] = ACTIONS(1353), + [anon_sym_LT_AMP] = ACTIONS(1353), + [anon_sym_GT_AMP] = ACTIONS(1353), + [anon_sym_LT_LT] = ACTIONS(1350), + [anon_sym_LT_LT_DASH] = ACTIONS(1350), + [sym_leading_word] = ACTIONS(1235), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1350), + [anon_sym_LF] = ACTIONS(1350), + [anon_sym_AMP] = ACTIONS(1350), }, [402] = { - [anon_sym_LT] = ACTIONS(1380), - [anon_sym_GT] = ACTIONS(1380), - [anon_sym_GT_GT] = ACTIONS(1382), - [anon_sym_AMP_GT] = ACTIONS(1380), - [anon_sym_AMP_GT_GT] = ACTIONS(1382), - [anon_sym_LT_AMP] = ACTIONS(1382), - [anon_sym_GT_AMP] = ACTIONS(1382), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(1358), + [anon_sym_RPAREN] = ACTIONS(1350), + [anon_sym_SEMI_SEMI] = ACTIONS(1350), + [anon_sym_PIPE] = ACTIONS(1350), + [anon_sym_PIPE_AMP] = ACTIONS(1350), + [anon_sym_AMP_AMP] = ACTIONS(1350), + [anon_sym_PIPE_PIPE] = ACTIONS(1350), + [anon_sym_LT] = ACTIONS(1350), + [anon_sym_GT] = ACTIONS(1350), + [anon_sym_GT_GT] = ACTIONS(1350), + [anon_sym_AMP_GT] = ACTIONS(1350), + [anon_sym_AMP_GT_GT] = ACTIONS(1350), + [anon_sym_LT_AMP] = ACTIONS(1350), + [anon_sym_GT_AMP] = ACTIONS(1350), + [anon_sym_LT_LT] = ACTIONS(1350), + [anon_sym_LT_LT_DASH] = ACTIONS(1350), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1350), + [anon_sym_LF] = ACTIONS(1350), + [anon_sym_AMP] = ACTIONS(1350), }, [403] = { - [sym_quoted_argument] = STATE(446), - [sym_expansion] = STATE(446), - [sym_operator_expansion] = STATE(446), - [sym_command_substitution] = STATE(446), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_bracket_command_repeat1] = STATE(451), - [aux_sym_command_repeat2] = STATE(452), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1384), - [anon_sym_SEMI_SEMI] = ACTIONS(1384), - [anon_sym_PIPE] = ACTIONS(1384), - [anon_sym_PIPE_AMP] = ACTIONS(1384), - [anon_sym_AMP_AMP] = ACTIONS(1384), - [anon_sym_PIPE_PIPE] = ACTIONS(1384), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_single_quoted_argument] = ACTIONS(1389), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1397), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1384), - [anon_sym_LF] = ACTIONS(1384), - [anon_sym_AMP] = ACTIONS(1384), - }, - [404] = { - [anon_sym_RBRACE] = ACTIONS(1399), - [sym_comment] = ACTIONS(67), - }, - [405] = { - [sym_quoted_argument] = STATE(454), - [sym_expansion] = STATE(454), - [sym_operator_expansion] = STATE(454), - [sym_command_substitution] = STATE(454), - [anon_sym_DQUOTE] = ACTIONS(1401), - [sym_single_quoted_argument] = ACTIONS(1403), - [anon_sym_DOLLAR] = ACTIONS(1405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1407), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1409), - [sym_word] = ACTIONS(1411), - [sym_comment] = ACTIONS(67), - }, - [406] = { - [anon_sym_RBRACE] = ACTIONS(1413), - [sym_comment] = ACTIONS(67), - }, - [407] = { - [sym_file_descriptor] = ACTIONS(289), - [anon_sym_RPAREN] = ACTIONS(291), - [anon_sym_SEMI_SEMI] = ACTIONS(291), - [anon_sym_PIPE] = ACTIONS(291), - [anon_sym_PIPE_AMP] = ACTIONS(291), - [anon_sym_AMP_AMP] = ACTIONS(291), - [anon_sym_PIPE_PIPE] = ACTIONS(291), - [anon_sym_LT] = ACTIONS(291), - [anon_sym_GT] = ACTIONS(291), - [anon_sym_GT_GT] = ACTIONS(291), - [anon_sym_AMP_GT] = ACTIONS(291), - [anon_sym_AMP_GT_GT] = ACTIONS(291), - [anon_sym_LT_AMP] = ACTIONS(291), - [anon_sym_GT_AMP] = ACTIONS(291), - [anon_sym_LT_LT] = ACTIONS(291), - [anon_sym_LT_LT_DASH] = ACTIONS(291), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(291), - [anon_sym_LF] = ACTIONS(291), - [anon_sym_AMP] = ACTIONS(291), - }, - [408] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1384), - [anon_sym_SEMI_SEMI] = ACTIONS(1384), - [anon_sym_PIPE] = ACTIONS(1384), - [anon_sym_PIPE_AMP] = ACTIONS(1384), - [anon_sym_AMP_AMP] = ACTIONS(1384), - [anon_sym_PIPE_PIPE] = ACTIONS(1384), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1384), - [anon_sym_LF] = ACTIONS(1384), - [anon_sym_AMP] = ACTIONS(1384), - }, - [409] = { - [sym_file_descriptor] = ACTIONS(549), - [anon_sym_SEMI_SEMI] = ACTIONS(551), - [anon_sym_COLON] = ACTIONS(551), - [anon_sym_PIPE] = ACTIONS(551), - [anon_sym_PIPE_AMP] = ACTIONS(551), - [anon_sym_AMP_AMP] = ACTIONS(551), - [anon_sym_PIPE_PIPE] = ACTIONS(551), - [anon_sym_DQUOTE] = ACTIONS(551), - [sym_single_quoted_argument] = ACTIONS(551), - [anon_sym_RBRACE] = ACTIONS(1232), - [anon_sym_LT] = ACTIONS(551), - [anon_sym_GT] = ACTIONS(551), - [anon_sym_GT_GT] = ACTIONS(551), - [anon_sym_AMP_GT] = ACTIONS(551), - [anon_sym_AMP_GT_GT] = ACTIONS(551), - [anon_sym_LT_AMP] = ACTIONS(551), - [anon_sym_GT_AMP] = ACTIONS(551), - [sym_leading_word] = ACTIONS(551), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(551), - [anon_sym_LF] = ACTIONS(551), - [anon_sym_AMP] = ACTIONS(551), - }, - [410] = { - [sym_file_descriptor] = ACTIONS(559), - [anon_sym_SEMI_SEMI] = ACTIONS(561), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(561), - [sym_single_quoted_argument] = ACTIONS(561), - [anon_sym_RBRACE] = ACTIONS(1415), - [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), - [sym_leading_word] = ACTIONS(561), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(561), - [anon_sym_LF] = ACTIONS(561), - [anon_sym_AMP] = ACTIONS(561), - }, - [411] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_in] = ACTIONS(299), - [anon_sym_RPAREN] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_RBRACK] = ACTIONS(299), - [anon_sym_RBRACK_RBRACK] = ACTIONS(299), - [anon_sym_COLON] = ACTIONS(299), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_DQUOTE] = ACTIONS(299), - [sym_single_quoted_argument] = ACTIONS(299), - [anon_sym_DOLLAR] = ACTIONS(299), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(299), - [anon_sym_RBRACE] = ACTIONS(299), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_leading_word] = ACTIONS(299), - [sym_word] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), - }, - [412] = { - [sym__heredoc_middle] = ACTIONS(441), - [sym__heredoc_end] = ACTIONS(441), - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_in] = ACTIONS(403), - [anon_sym_RPAREN] = ACTIONS(403), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_RBRACK] = ACTIONS(403), - [anon_sym_RBRACK_RBRACK] = ACTIONS(403), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(403), - [sym__quoted_chars] = ACTIONS(403), - [sym_single_quoted_argument] = ACTIONS(403), - [anon_sym_DOLLAR] = ACTIONS(403), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(403), - [anon_sym_RBRACE] = ACTIONS(403), - [anon_sym_DOLLAR_LPAREN] = 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_leading_word] = ACTIONS(403), - [sym_word] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), - }, - [413] = { - [sym__heredoc_middle] = ACTIONS(445), - [sym__heredoc_end] = ACTIONS(445), - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_in] = ACTIONS(405), - [anon_sym_RPAREN] = ACTIONS(405), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_RBRACK] = ACTIONS(405), - [anon_sym_RBRACK_RBRACK] = ACTIONS(405), - [anon_sym_COLON] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [anon_sym_DQUOTE] = ACTIONS(405), - [sym__quoted_chars] = ACTIONS(405), - [sym_single_quoted_argument] = ACTIONS(405), - [anon_sym_DOLLAR] = ACTIONS(405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(405), - [anon_sym_RBRACE] = ACTIONS(405), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_leading_word] = ACTIONS(405), - [sym_word] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), - }, - [414] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(461), - [anon_sym_DQUOTE] = ACTIONS(1417), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [415] = { - [sym_file_descriptor] = ACTIONS(1419), - [anon_sym_RPAREN] = ACTIONS(1422), - [anon_sym_SEMI_SEMI] = ACTIONS(1422), - [anon_sym_COLON] = ACTIONS(1422), - [anon_sym_PIPE] = ACTIONS(1422), - [anon_sym_PIPE_AMP] = ACTIONS(1422), - [anon_sym_AMP_AMP] = ACTIONS(1422), - [anon_sym_PIPE_PIPE] = ACTIONS(1422), - [anon_sym_DQUOTE] = ACTIONS(1422), - [sym_single_quoted_argument] = ACTIONS(1422), - [anon_sym_LT] = ACTIONS(1422), - [anon_sym_GT] = ACTIONS(1422), - [anon_sym_GT_GT] = ACTIONS(1422), - [anon_sym_AMP_GT] = ACTIONS(1422), - [anon_sym_AMP_GT_GT] = ACTIONS(1422), - [anon_sym_LT_AMP] = ACTIONS(1422), - [anon_sym_GT_AMP] = ACTIONS(1422), - [anon_sym_LT_LT] = ACTIONS(1422), - [anon_sym_LT_LT_DASH] = ACTIONS(1422), - [sym_leading_word] = ACTIONS(1422), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1422), - [anon_sym_LF] = ACTIONS(1422), - [anon_sym_AMP] = ACTIONS(1422), - }, - [416] = { - [anon_sym_DOLLAR] = ACTIONS(1425), - [sym_word] = ACTIONS(1427), - [sym_comment] = ACTIONS(67), - }, - [417] = { - [sym_leading_word] = ACTIONS(1429), - [sym_comment] = ACTIONS(67), - }, - [418] = { - [sym_command] = STATE(465), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), - }, - [419] = { - [sym_file_descriptor] = ACTIONS(1431), - [anon_sym_RPAREN] = ACTIONS(1434), - [anon_sym_SEMI_SEMI] = ACTIONS(1434), - [anon_sym_COLON] = ACTIONS(1434), - [anon_sym_PIPE] = ACTIONS(1434), - [anon_sym_PIPE_AMP] = ACTIONS(1434), - [anon_sym_AMP_AMP] = ACTIONS(1434), - [anon_sym_PIPE_PIPE] = ACTIONS(1434), - [anon_sym_DQUOTE] = ACTIONS(1434), - [sym_single_quoted_argument] = ACTIONS(1434), - [anon_sym_LT] = ACTIONS(1434), - [anon_sym_GT] = ACTIONS(1434), - [anon_sym_GT_GT] = ACTIONS(1434), - [anon_sym_AMP_GT] = ACTIONS(1434), - [anon_sym_AMP_GT_GT] = ACTIONS(1434), - [anon_sym_LT_AMP] = ACTIONS(1434), - [anon_sym_GT_AMP] = ACTIONS(1434), - [anon_sym_LT_LT] = ACTIONS(1434), - [anon_sym_LT_LT_DASH] = ACTIONS(1434), - [sym_leading_word] = ACTIONS(1434), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1434), - [anon_sym_LF] = ACTIONS(1434), - [anon_sym_AMP] = ACTIONS(1434), - }, - [420] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1437), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1437), - [anon_sym_LF] = ACTIONS(1437), - [anon_sym_AMP] = ACTIONS(1437), - }, - [421] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1439), - [anon_sym_PIPE] = ACTIONS(1439), - [anon_sym_PIPE_AMP] = ACTIONS(1439), - [anon_sym_AMP_AMP] = ACTIONS(1439), - [anon_sym_PIPE_PIPE] = ACTIONS(1439), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1439), - [anon_sym_LF] = ACTIONS(1439), - [anon_sym_AMP] = ACTIONS(1439), - }, - [422] = { - [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(135), - [anon_sym_SEMI] = ACTIONS(697), - [anon_sym_LF] = ACTIONS(697), - [anon_sym_AMP] = ACTIONS(697), - }, - [423] = { - [sym_quoted_argument] = STATE(467), - [sym_expansion] = STATE(467), - [sym_operator_expansion] = STATE(467), - [sym_command_substitution] = STATE(467), - [anon_sym_DQUOTE] = ACTIONS(1084), - [sym_single_quoted_argument] = ACTIONS(1444), - [anon_sym_DOLLAR] = ACTIONS(1088), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1090), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1092), - [sym_word] = ACTIONS(1446), - [sym_comment] = ACTIONS(67), - }, - [424] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1448), - [anon_sym_PIPE] = ACTIONS(1448), - [anon_sym_PIPE_AMP] = ACTIONS(1448), - [anon_sym_AMP_AMP] = ACTIONS(1448), - [anon_sym_PIPE_PIPE] = ACTIONS(1448), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1448), - [anon_sym_LF] = ACTIONS(1448), - [anon_sym_AMP] = ACTIONS(1448), - }, - [425] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_in] = ACTIONS(645), - [anon_sym_RPAREN] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_RBRACK] = ACTIONS(645), - [anon_sym_RBRACK_RBRACK] = ACTIONS(645), - [anon_sym_COLON] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_DQUOTE] = ACTIONS(645), - [sym__quoted_chars] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(645), - [anon_sym_DOLLAR] = ACTIONS(645), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(645), - [anon_sym_RBRACE] = ACTIONS(645), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_leading_word] = ACTIONS(645), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), - }, - [426] = { - [sym__heredoc_middle] = ACTIONS(889), - [sym__heredoc_end] = ACTIONS(889), - [sym_file_descriptor] = ACTIONS(889), - [anon_sym_in] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_RBRACK] = ACTIONS(861), - [anon_sym_RBRACK_RBRACK] = ACTIONS(861), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(861), - [sym__quoted_chars] = ACTIONS(861), - [sym_single_quoted_argument] = ACTIONS(861), - [anon_sym_DOLLAR] = ACTIONS(861), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_RBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_leading_word] = ACTIONS(861), - [sym_word] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), - }, - [427] = { - [anon_sym_esac] = ACTIONS(1452), - [anon_sym_DQUOTE] = ACTIONS(1455), - [sym_single_quoted_argument] = ACTIONS(1452), - [anon_sym_DOLLAR] = ACTIONS(1452), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1455), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1455), - [sym_word] = ACTIONS(1458), - [sym_comment] = ACTIONS(67), - }, - [428] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1461), - [anon_sym_PIPE] = ACTIONS(1461), - [anon_sym_PIPE_AMP] = ACTIONS(1461), - [anon_sym_AMP_AMP] = ACTIONS(1461), - [anon_sym_PIPE_PIPE] = ACTIONS(1461), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1461), - [anon_sym_LF] = ACTIONS(1461), - [anon_sym_AMP] = ACTIONS(1461), - }, - [429] = { - [anon_sym_fi] = ACTIONS(1464), - [sym_comment] = ACTIONS(67), - }, - [430] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1466), - [anon_sym_PIPE] = ACTIONS(1466), - [anon_sym_PIPE_AMP] = ACTIONS(1466), - [anon_sym_AMP_AMP] = ACTIONS(1466), - [anon_sym_PIPE_PIPE] = ACTIONS(1466), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1466), - [anon_sym_LF] = ACTIONS(1466), - [anon_sym_AMP] = ACTIONS(1466), - }, - [431] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(471), - [anon_sym_DQUOTE] = ACTIONS(1471), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [432] = { - [sym_file_descriptor] = ACTIONS(461), - [anon_sym_RPAREN] = ACTIONS(463), - [anon_sym_SEMI_SEMI] = ACTIONS(463), - [anon_sym_RBRACK] = ACTIONS(463), - [anon_sym_RBRACK_RBRACK] = ACTIONS(463), - [anon_sym_PIPE] = ACTIONS(463), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(463), - [anon_sym_PIPE_PIPE] = ACTIONS(463), - [anon_sym_DQUOTE] = ACTIONS(463), - [sym_single_quoted_argument] = ACTIONS(463), - [anon_sym_DOLLAR] = ACTIONS(463), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(463), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(463), - [anon_sym_LT] = ACTIONS(463), - [anon_sym_GT] = ACTIONS(463), - [anon_sym_GT_GT] = ACTIONS(463), - [anon_sym_AMP_GT] = ACTIONS(463), - [anon_sym_AMP_GT_GT] = ACTIONS(463), - [anon_sym_LT_AMP] = ACTIONS(463), - [anon_sym_GT_AMP] = ACTIONS(463), - [anon_sym_LT_LT] = ACTIONS(463), - [anon_sym_LT_LT_DASH] = ACTIONS(463), - [sym_word] = ACTIONS(463), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(463), - [anon_sym_LF] = ACTIONS(463), - [anon_sym_AMP] = ACTIONS(463), - }, - [433] = { - [anon_sym_DOLLAR] = ACTIONS(1473), - [sym_word] = ACTIONS(1475), - [sym_comment] = ACTIONS(67), - }, - [434] = { - [sym_leading_word] = ACTIONS(1477), - [sym_comment] = ACTIONS(67), - }, - [435] = { - [sym_command] = STATE(475), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), - }, - [436] = { - [sym_file_descriptor] = ACTIONS(467), - [anon_sym_RPAREN] = ACTIONS(469), - [anon_sym_SEMI_SEMI] = ACTIONS(469), - [anon_sym_RBRACK] = ACTIONS(469), - [anon_sym_RBRACK_RBRACK] = ACTIONS(469), - [anon_sym_PIPE] = ACTIONS(469), - [anon_sym_PIPE_AMP] = ACTIONS(469), - [anon_sym_AMP_AMP] = ACTIONS(469), - [anon_sym_PIPE_PIPE] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(469), - [sym_single_quoted_argument] = ACTIONS(469), - [anon_sym_DOLLAR] = ACTIONS(469), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(469), - [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_LT] = ACTIONS(469), - [anon_sym_LT_LT_DASH] = ACTIONS(469), - [sym_word] = ACTIONS(469), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(469), - [anon_sym_LF] = ACTIONS(469), - [anon_sym_AMP] = ACTIONS(469), - }, - [437] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1479), - [anon_sym_SEMI_SEMI] = ACTIONS(1479), - [anon_sym_PIPE] = ACTIONS(1479), - [anon_sym_PIPE_AMP] = ACTIONS(1479), - [anon_sym_AMP_AMP] = ACTIONS(1479), - [anon_sym_PIPE_PIPE] = ACTIONS(1479), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1479), - [anon_sym_LF] = ACTIONS(1479), - [anon_sym_AMP] = ACTIONS(1479), - }, - [438] = { - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(477), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(259), - [anon_sym_SEMI_SEMI] = ACTIONS(259), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1484), - [anon_sym_PIPE] = ACTIONS(259), - [anon_sym_PIPE_AMP] = ACTIONS(259), - [anon_sym_AMP_AMP] = ACTIONS(259), - [anon_sym_PIPE_PIPE] = ACTIONS(259), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(259), - [anon_sym_LF] = ACTIONS(259), - [anon_sym_AMP] = ACTIONS(259), - }, - [439] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(479), - [anon_sym_DQUOTE] = ACTIONS(1486), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [440] = { - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(481), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(363), - [anon_sym_SEMI_SEMI] = ACTIONS(363), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1488), - [anon_sym_PIPE] = ACTIONS(363), - [anon_sym_PIPE_AMP] = ACTIONS(363), - [anon_sym_AMP_AMP] = ACTIONS(363), - [anon_sym_PIPE_PIPE] = ACTIONS(363), - [anon_sym_EQ] = ACTIONS(367), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(363), - [anon_sym_LF] = ACTIONS(363), - [anon_sym_AMP] = ACTIONS(363), - }, - [441] = { - [sym_file_descriptor] = ACTIONS(513), - [anon_sym_RPAREN] = ACTIONS(515), - [anon_sym_SEMI_SEMI] = ACTIONS(515), - [anon_sym_PIPE] = ACTIONS(515), - [anon_sym_PIPE_AMP] = ACTIONS(515), - [anon_sym_AMP_AMP] = ACTIONS(515), - [anon_sym_PIPE_PIPE] = ACTIONS(515), - [anon_sym_LT] = ACTIONS(515), - [anon_sym_GT] = ACTIONS(515), - [anon_sym_GT_GT] = ACTIONS(515), - [anon_sym_AMP_GT] = ACTIONS(515), - [anon_sym_AMP_GT_GT] = ACTIONS(515), - [anon_sym_LT_AMP] = ACTIONS(515), - [anon_sym_GT_AMP] = ACTIONS(515), - [anon_sym_LT_LT] = ACTIONS(515), - [anon_sym_LT_LT_DASH] = ACTIONS(515), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(515), - [anon_sym_LF] = ACTIONS(515), - [anon_sym_AMP] = ACTIONS(515), - }, - [442] = { [sym_file_descriptor] = ACTIONS(527), - [anon_sym_in] = ACTIONS(529), [anon_sym_RPAREN] = ACTIONS(529), [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_RBRACK] = ACTIONS(529), - [anon_sym_RBRACK_RBRACK] = ACTIONS(529), - [anon_sym_COLON] = ACTIONS(529), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(529), [anon_sym_PIPE] = ACTIONS(529), [anon_sym_PIPE_AMP] = ACTIONS(529), [anon_sym_AMP_AMP] = ACTIONS(529), [anon_sym_PIPE_PIPE] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(529), - [sym_single_quoted_argument] = ACTIONS(529), - [anon_sym_DOLLAR] = ACTIONS(529), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(529), - [anon_sym_RBRACE] = ACTIONS(529), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(529), [anon_sym_LT] = ACTIONS(529), [anon_sym_GT] = ACTIONS(529), [anon_sym_GT_GT] = ACTIONS(529), @@ -14563,268 +14614,1325 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(529), [anon_sym_LT_LT] = ACTIONS(529), [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_leading_word] = ACTIONS(529), - [sym_word] = ACTIONS(529), - [sym_comment] = ACTIONS(135), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(529), [anon_sym_LF] = ACTIONS(529), [anon_sym_AMP] = ACTIONS(529), }, + [404] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_elif_clause] = STATE(156), + [sym_else_clause] = STATE(232), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_if_statement_repeat1] = STATE(233), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [ts_builtin_sym_end] = ACTIONS(197), + [anon_sym_while] = ACTIONS(79), + [anon_sym_done] = ACTIONS(593), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(1361), + [anon_sym_elif] = ACTIONS(1365), + [anon_sym_else] = ACTIONS(1368), + [anon_sym_case] = ACTIONS(83), + [anon_sym_RPAREN] = ACTIONS(243), + [anon_sym_SEMI_SEMI] = ACTIONS(1371), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_RBRACE] = ACTIONS(859), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [405] = { + [sym_elif_clause] = STATE(234), + [sym_else_clause] = STATE(448), + [anon_sym_fi] = ACTIONS(1373), + [anon_sym_elif] = ACTIONS(605), + [anon_sym_else] = ACTIONS(607), + [sym_comment] = ACTIONS(71), + }, + [406] = { + [sym_case_item] = STATE(301), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [anon_sym_esac] = ACTIONS(1375), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), + }, + [407] = { + [sym_quoted_argument] = STATE(451), + [sym_expansion] = STATE(451), + [sym_operator_expansion] = STATE(451), + [sym_command_substitution] = STATE(451), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(456), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1377), + [anon_sym_SEMI_SEMI] = ACTIONS(1377), + [anon_sym_RBRACK] = ACTIONS(1382), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1382), + [anon_sym_PIPE] = ACTIONS(1377), + [anon_sym_PIPE_AMP] = ACTIONS(1377), + [anon_sym_AMP_AMP] = ACTIONS(1377), + [anon_sym_PIPE_PIPE] = ACTIONS(1377), + [anon_sym_DQUOTE] = ACTIONS(1384), + [sym_single_quoted_argument] = ACTIONS(1386), + [anon_sym_DOLLAR] = ACTIONS(1388), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1390), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1392), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1394), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1377), + [anon_sym_LF] = ACTIONS(1377), + [anon_sym_AMP] = ACTIONS(1377), + }, + [408] = { + [sym_environment_variable_assignment] = STATE(71), + [sym_quoted_argument] = STATE(457), + [sym_file_redirect] = STATE(71), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(1396), + [anon_sym_DQUOTE] = ACTIONS(1398), + [sym_single_quoted_argument] = ACTIONS(1400), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(1402), + [sym_comment] = ACTIONS(71), + }, + [409] = { + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1404), + [anon_sym_SEMI_SEMI] = ACTIONS(1404), + [anon_sym_PIPE] = ACTIONS(1404), + [anon_sym_PIPE_AMP] = ACTIONS(1404), + [anon_sym_AMP_AMP] = ACTIONS(1404), + [anon_sym_PIPE_PIPE] = ACTIONS(1404), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1404), + [anon_sym_LF] = ACTIONS(1404), + [anon_sym_AMP] = ACTIONS(1404), + }, + [410] = { + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1415), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [411] = { + [sym_expansion] = STATE(281), + [sym_operator_expansion] = STATE(281), + [sym__heredoc_middle] = ACTIONS(723), + [sym__heredoc_end] = ACTIONS(1417), + [anon_sym_DOLLAR] = ACTIONS(523), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), + [sym_comment] = ACTIONS(71), + }, + [412] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_elif_clause] = STATE(156), + [sym_else_clause] = STATE(232), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_if_statement_repeat1] = STATE(233), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_fi] = ACTIONS(1419), + [anon_sym_elif] = ACTIONS(1365), + [anon_sym_else] = ACTIONS(1368), + [anon_sym_case] = ACTIONS(83), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [413] = { + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(406), + [anon_sym_esac] = ACTIONS(1150), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), + }, + [414] = { + [anon_sym_esac] = ACTIONS(1422), + [anon_sym_DQUOTE] = ACTIONS(1425), + [sym_single_quoted_argument] = ACTIONS(1422), + [anon_sym_DOLLAR] = ACTIONS(1422), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1425), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1425), + [sym_word] = ACTIONS(1428), + [sym_comment] = ACTIONS(71), + }, + [415] = { + [sym__terminated_statement] = STATE(68), + [sym_while_statement] = STATE(16), + [sym_if_statement] = STATE(16), + [sym_case_statement] = STATE(16), + [sym_function_definition] = STATE(16), + [sym_bracket_command] = STATE(16), + [sym_command] = STATE(16), + [sym_pipeline] = STATE(16), + [sym_list] = STATE(16), + [sym_subshell] = STATE(16), + [sym_environment_variable_assignment] = STATE(17), + [sym_quoted_argument] = STATE(10), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(20), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_while] = ACTIONS(79), + [anon_sym_if] = ACTIONS(81), + [anon_sym_case] = ACTIONS(83), + [anon_sym_SEMI_SEMI] = ACTIONS(1371), + [anon_sym_function] = ACTIONS(85), + [anon_sym_LPAREN] = ACTIONS(87), + [anon_sym_LBRACK] = ACTIONS(89), + [anon_sym_LBRACK_LBRACK] = ACTIONS(91), + [anon_sym_COLON] = ACTIONS(93), + [anon_sym_DQUOTE] = ACTIONS(95), + [sym_single_quoted_argument] = ACTIONS(97), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(101), + [sym_comment] = ACTIONS(71), + }, + [416] = { + [sym_compound_command] = STATE(395), + [anon_sym_SEMI_SEMI] = ACTIONS(241), + [anon_sym_LBRACE] = ACTIONS(1033), + [anon_sym_PIPE] = ACTIONS(241), + [anon_sym_PIPE_AMP] = ACTIONS(241), + [anon_sym_AMP_AMP] = ACTIONS(241), + [anon_sym_PIPE_PIPE] = ACTIONS(241), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(241), + [anon_sym_LF] = ACTIONS(241), + [anon_sym_AMP] = ACTIONS(241), + }, + [417] = { + [anon_sym_LT] = ACTIONS(1431), + [anon_sym_GT] = ACTIONS(1431), + [anon_sym_GT_GT] = ACTIONS(1433), + [anon_sym_AMP_GT] = ACTIONS(1431), + [anon_sym_AMP_GT_GT] = ACTIONS(1433), + [anon_sym_LT_AMP] = ACTIONS(1433), + [anon_sym_GT_AMP] = ACTIONS(1433), + [sym_comment] = ACTIONS(71), + }, + [418] = { + [sym_quoted_argument] = STATE(465), + [sym_expansion] = STATE(465), + [sym_operator_expansion] = STATE(465), + [sym_command_substitution] = STATE(465), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_bracket_command_repeat1] = STATE(470), + [aux_sym_command_repeat2] = STATE(471), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1435), + [anon_sym_SEMI_SEMI] = ACTIONS(1435), + [anon_sym_PIPE] = ACTIONS(1435), + [anon_sym_PIPE_AMP] = ACTIONS(1435), + [anon_sym_AMP_AMP] = ACTIONS(1435), + [anon_sym_PIPE_PIPE] = ACTIONS(1435), + [anon_sym_DQUOTE] = ACTIONS(1438), + [sym_single_quoted_argument] = ACTIONS(1440), + [anon_sym_DOLLAR] = ACTIONS(1442), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1444), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1446), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1448), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1435), + [anon_sym_LF] = ACTIONS(1435), + [anon_sym_AMP] = ACTIONS(1435), + }, + [419] = { + [anon_sym_RBRACE] = ACTIONS(1450), + [sym_comment] = ACTIONS(71), + }, + [420] = { + [sym_quoted_argument] = STATE(473), + [sym_expansion] = STATE(473), + [sym_operator_expansion] = STATE(473), + [sym_command_substitution] = STATE(473), + [anon_sym_DQUOTE] = ACTIONS(1452), + [sym_single_quoted_argument] = ACTIONS(1454), + [anon_sym_DOLLAR] = ACTIONS(1456), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1458), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1460), + [sym_word] = ACTIONS(1462), + [sym_comment] = ACTIONS(71), + }, + [421] = { + [anon_sym_RBRACE] = ACTIONS(1464), + [sym_comment] = ACTIONS(71), + }, + [422] = { + [sym_file_descriptor] = ACTIONS(305), + [anon_sym_RPAREN] = ACTIONS(307), + [anon_sym_SEMI_SEMI] = ACTIONS(307), + [anon_sym_PIPE] = ACTIONS(307), + [anon_sym_PIPE_AMP] = ACTIONS(307), + [anon_sym_AMP_AMP] = ACTIONS(307), + [anon_sym_PIPE_PIPE] = ACTIONS(307), + [anon_sym_LT] = ACTIONS(307), + [anon_sym_GT] = ACTIONS(307), + [anon_sym_GT_GT] = ACTIONS(307), + [anon_sym_AMP_GT] = ACTIONS(307), + [anon_sym_AMP_GT_GT] = ACTIONS(307), + [anon_sym_LT_AMP] = ACTIONS(307), + [anon_sym_GT_AMP] = ACTIONS(307), + [anon_sym_LT_LT] = ACTIONS(307), + [anon_sym_LT_LT_DASH] = ACTIONS(307), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(307), + [anon_sym_LF] = ACTIONS(307), + [anon_sym_AMP] = ACTIONS(307), + }, + [423] = { + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1435), + [anon_sym_SEMI_SEMI] = ACTIONS(1435), + [anon_sym_PIPE] = ACTIONS(1435), + [anon_sym_PIPE_AMP] = ACTIONS(1435), + [anon_sym_AMP_AMP] = ACTIONS(1435), + [anon_sym_PIPE_PIPE] = ACTIONS(1435), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1435), + [anon_sym_LF] = ACTIONS(1435), + [anon_sym_AMP] = ACTIONS(1435), + }, + [424] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(480), + [anon_sym_DQUOTE] = ACTIONS(1466), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [425] = { + [sym_file_descriptor] = ACTIONS(567), + [anon_sym_SEMI_SEMI] = ACTIONS(569), + [anon_sym_RBRACE] = ACTIONS(1262), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(569), + [sym_single_quoted_argument] = 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), + [sym_leading_word] = ACTIONS(569), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(569), + [anon_sym_LF] = ACTIONS(569), + [anon_sym_AMP] = ACTIONS(569), + }, + [426] = { + [anon_sym_DOLLAR] = ACTIONS(1468), + [sym_word] = ACTIONS(1470), + [sym_comment] = ACTIONS(71), + }, + [427] = { + [sym_leading_word] = ACTIONS(1472), + [sym_comment] = ACTIONS(71), + }, + [428] = { + [sym_command] = STATE(484), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), + }, + [429] = { + [sym_file_descriptor] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_RBRACE] = ACTIONS(1474), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(579), + [sym_single_quoted_argument] = 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), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [430] = { + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_in] = ACTIONS(311), + [anon_sym_RPAREN] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_RBRACE] = ACTIONS(311), + [anon_sym_RBRACK] = ACTIONS(311), + [anon_sym_RBRACK_RBRACK] = ACTIONS(311), + [anon_sym_COLON] = ACTIONS(311), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_DOLLAR] = ACTIONS(311), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_leading_word] = ACTIONS(311), + [sym_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), + }, + [431] = { + [sym__heredoc_middle] = ACTIONS(459), + [sym__heredoc_end] = ACTIONS(459), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_in] = ACTIONS(417), + [anon_sym_RPAREN] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_RBRACE] = ACTIONS(417), + [anon_sym_RBRACK] = ACTIONS(417), + [anon_sym_RBRACK_RBRACK] = ACTIONS(417), + [anon_sym_COLON] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym__quoted_chars] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_DOLLAR] = ACTIONS(417), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_leading_word] = ACTIONS(417), + [sym_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), + }, + [432] = { + [sym__heredoc_middle] = ACTIONS(463), + [sym__heredoc_end] = ACTIONS(463), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_in] = ACTIONS(419), + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_RBRACE] = ACTIONS(419), + [anon_sym_RBRACK] = ACTIONS(419), + [anon_sym_RBRACK_RBRACK] = ACTIONS(419), + [anon_sym_COLON] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym__quoted_chars] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_DOLLAR] = ACTIONS(419), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_leading_word] = ACTIONS(419), + [sym_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), + }, + [433] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(486), + [anon_sym_DQUOTE] = ACTIONS(1476), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [434] = { + [sym_file_descriptor] = ACTIONS(1478), + [anon_sym_RPAREN] = ACTIONS(1481), + [anon_sym_SEMI_SEMI] = ACTIONS(1481), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(1481), + [sym_single_quoted_argument] = ACTIONS(1481), + [anon_sym_LT] = ACTIONS(1481), + [anon_sym_GT] = ACTIONS(1481), + [anon_sym_GT_GT] = ACTIONS(1481), + [anon_sym_AMP_GT] = ACTIONS(1481), + [anon_sym_AMP_GT_GT] = ACTIONS(1481), + [anon_sym_LT_AMP] = ACTIONS(1481), + [anon_sym_GT_AMP] = ACTIONS(1481), + [anon_sym_LT_LT] = ACTIONS(1481), + [anon_sym_LT_LT_DASH] = ACTIONS(1481), + [sym_leading_word] = ACTIONS(1481), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1481), + [anon_sym_LF] = ACTIONS(1481), + [anon_sym_AMP] = ACTIONS(1481), + }, + [435] = { + [anon_sym_DOLLAR] = ACTIONS(1484), + [sym_word] = ACTIONS(1486), + [sym_comment] = ACTIONS(71), + }, + [436] = { + [sym_leading_word] = ACTIONS(1488), + [sym_comment] = ACTIONS(71), + }, + [437] = { + [sym_command] = STATE(490), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), + }, + [438] = { + [sym_file_descriptor] = ACTIONS(1490), + [anon_sym_RPAREN] = ACTIONS(1493), + [anon_sym_SEMI_SEMI] = ACTIONS(1493), + [anon_sym_COLON] = ACTIONS(1493), + [anon_sym_PIPE] = ACTIONS(1493), + [anon_sym_PIPE_AMP] = ACTIONS(1493), + [anon_sym_AMP_AMP] = ACTIONS(1493), + [anon_sym_PIPE_PIPE] = ACTIONS(1493), + [anon_sym_DQUOTE] = ACTIONS(1493), + [sym_single_quoted_argument] = ACTIONS(1493), + [anon_sym_LT] = ACTIONS(1493), + [anon_sym_GT] = ACTIONS(1493), + [anon_sym_GT_GT] = ACTIONS(1493), + [anon_sym_AMP_GT] = ACTIONS(1493), + [anon_sym_AMP_GT_GT] = ACTIONS(1493), + [anon_sym_LT_AMP] = ACTIONS(1493), + [anon_sym_GT_AMP] = ACTIONS(1493), + [anon_sym_LT_LT] = ACTIONS(1493), + [anon_sym_LT_LT_DASH] = ACTIONS(1493), + [sym_leading_word] = ACTIONS(1493), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1493), + [anon_sym_LF] = ACTIONS(1493), + [anon_sym_AMP] = ACTIONS(1493), + }, + [439] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1496), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1496), + [anon_sym_LF] = ACTIONS(1496), + [anon_sym_AMP] = ACTIONS(1496), + }, + [440] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1498), + [anon_sym_PIPE] = ACTIONS(1498), + [anon_sym_PIPE_AMP] = ACTIONS(1498), + [anon_sym_AMP_AMP] = ACTIONS(1498), + [anon_sym_PIPE_PIPE] = ACTIONS(1498), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1498), + [anon_sym_LF] = ACTIONS(1498), + [anon_sym_AMP] = ACTIONS(1498), + }, + [441] = { + [sym_file_descriptor] = ACTIONS(713), + [anon_sym_RPAREN] = ACTIONS(715), + [anon_sym_SEMI_SEMI] = ACTIONS(715), + [anon_sym_PIPE] = ACTIONS(715), + [anon_sym_PIPE_AMP] = ACTIONS(715), + [anon_sym_AMP_AMP] = ACTIONS(715), + [anon_sym_PIPE_PIPE] = ACTIONS(715), + [anon_sym_LT] = ACTIONS(715), + [anon_sym_GT] = ACTIONS(715), + [anon_sym_GT_GT] = ACTIONS(715), + [anon_sym_AMP_GT] = ACTIONS(715), + [anon_sym_AMP_GT_GT] = ACTIONS(715), + [anon_sym_LT_AMP] = ACTIONS(715), + [anon_sym_GT_AMP] = ACTIONS(715), + [anon_sym_LT_LT] = ACTIONS(715), + [anon_sym_LT_LT_DASH] = ACTIONS(715), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(715), + [anon_sym_LF] = ACTIONS(715), + [anon_sym_AMP] = ACTIONS(715), + }, + [442] = { + [sym_quoted_argument] = STATE(492), + [sym_expansion] = STATE(492), + [sym_operator_expansion] = STATE(492), + [sym_command_substitution] = STATE(492), + [anon_sym_DQUOTE] = ACTIONS(1132), + [sym_single_quoted_argument] = ACTIONS(1503), + [anon_sym_DOLLAR] = ACTIONS(1136), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1138), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1140), + [sym_word] = ACTIONS(1505), + [sym_comment] = ACTIONS(71), + }, [443] = { - [sym_file_descriptor] = ACTIONS(821), - [anon_sym_RPAREN] = ACTIONS(823), - [anon_sym_SEMI_SEMI] = ACTIONS(823), - [anon_sym_PIPE] = ACTIONS(823), - [anon_sym_PIPE_AMP] = ACTIONS(823), - [anon_sym_AMP_AMP] = ACTIONS(823), - [anon_sym_PIPE_PIPE] = ACTIONS(823), - [anon_sym_LT] = ACTIONS(823), - [anon_sym_GT] = ACTIONS(823), - [anon_sym_GT_GT] = ACTIONS(823), - [anon_sym_AMP_GT] = ACTIONS(823), - [anon_sym_AMP_GT_GT] = ACTIONS(823), - [anon_sym_LT_AMP] = ACTIONS(823), - [anon_sym_GT_AMP] = ACTIONS(823), - [anon_sym_LT_LT] = ACTIONS(823), - [anon_sym_LT_LT_DASH] = ACTIONS(823), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(823), - [anon_sym_LF] = ACTIONS(823), - [anon_sym_AMP] = ACTIONS(823), + [anon_sym_SEMI_SEMI] = ACTIONS(1507), + [anon_sym_PIPE] = ACTIONS(1507), + [anon_sym_PIPE_AMP] = ACTIONS(1507), + [anon_sym_AMP_AMP] = ACTIONS(1507), + [anon_sym_PIPE_PIPE] = ACTIONS(1507), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1507), + [anon_sym_LF] = ACTIONS(1507), + [anon_sym_AMP] = ACTIONS(1507), }, [444] = { - [sym_quoted_argument] = STATE(482), - [sym_expansion] = STATE(482), - [sym_operator_expansion] = STATE(482), - [sym_command_substitution] = STATE(482), - [anon_sym_DQUOTE] = ACTIONS(1401), - [sym_single_quoted_argument] = ACTIONS(1490), - [anon_sym_DOLLAR] = ACTIONS(1405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1407), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1409), - [sym_word] = ACTIONS(1492), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_in] = ACTIONS(663), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_RBRACE] = ACTIONS(663), + [anon_sym_RBRACK] = ACTIONS(663), + [anon_sym_RBRACK_RBRACK] = ACTIONS(663), + [anon_sym_COLON] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym__quoted_chars] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_DOLLAR] = ACTIONS(663), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(663), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_leading_word] = ACTIONS(663), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [445] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(485), - [anon_sym_DQUOTE] = ACTIONS(1494), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym__heredoc_middle] = ACTIONS(917), + [sym__heredoc_end] = ACTIONS(917), + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_in] = ACTIONS(889), + [anon_sym_RPAREN] = ACTIONS(889), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_RBRACE] = ACTIONS(889), + [anon_sym_RBRACK] = ACTIONS(889), + [anon_sym_RBRACK_RBRACK] = ACTIONS(889), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(889), + [sym__quoted_chars] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_DOLLAR] = ACTIONS(889), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_leading_word] = ACTIONS(889), + [sym_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), }, [446] = { - [sym_file_descriptor] = ACTIONS(233), - [anon_sym_RPAREN] = ACTIONS(235), - [anon_sym_SEMI_SEMI] = ACTIONS(235), - [anon_sym_PIPE] = ACTIONS(235), - [anon_sym_PIPE_AMP] = ACTIONS(235), - [anon_sym_AMP_AMP] = ACTIONS(235), - [anon_sym_PIPE_PIPE] = ACTIONS(235), - [anon_sym_DQUOTE] = ACTIONS(235), - [sym_single_quoted_argument] = ACTIONS(235), - [anon_sym_DOLLAR] = ACTIONS(235), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(235), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(235), - [anon_sym_LT] = ACTIONS(235), - [anon_sym_GT] = ACTIONS(235), - [anon_sym_GT_GT] = ACTIONS(235), - [anon_sym_AMP_GT] = ACTIONS(235), - [anon_sym_AMP_GT_GT] = ACTIONS(235), - [anon_sym_LT_AMP] = ACTIONS(235), - [anon_sym_GT_AMP] = ACTIONS(235), - [anon_sym_LT_LT] = ACTIONS(235), - [anon_sym_LT_LT_DASH] = ACTIONS(235), - [sym_word] = ACTIONS(235), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(235), - [anon_sym_LF] = ACTIONS(235), - [anon_sym_AMP] = ACTIONS(235), + [anon_sym_esac] = ACTIONS(1511), + [anon_sym_DQUOTE] = ACTIONS(1514), + [sym_single_quoted_argument] = ACTIONS(1511), + [anon_sym_DOLLAR] = ACTIONS(1511), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1514), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1514), + [sym_word] = ACTIONS(1517), + [sym_comment] = ACTIONS(71), }, [447] = { - [anon_sym_DOLLAR] = ACTIONS(1496), - [sym_word] = ACTIONS(1498), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(1520), + [anon_sym_PIPE] = ACTIONS(1520), + [anon_sym_PIPE_AMP] = ACTIONS(1520), + [anon_sym_AMP_AMP] = ACTIONS(1520), + [anon_sym_PIPE_PIPE] = ACTIONS(1520), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1520), + [anon_sym_LF] = ACTIONS(1520), + [anon_sym_AMP] = ACTIONS(1520), }, [448] = { - [sym_leading_word] = ACTIONS(1500), - [sym_comment] = ACTIONS(67), + [anon_sym_fi] = ACTIONS(1523), + [sym_comment] = ACTIONS(71), }, [449] = { - [sym_command] = STATE(489), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(1525), + [anon_sym_PIPE] = ACTIONS(1525), + [anon_sym_PIPE_AMP] = ACTIONS(1525), + [anon_sym_AMP_AMP] = ACTIONS(1525), + [anon_sym_PIPE_PIPE] = ACTIONS(1525), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1525), + [anon_sym_LF] = ACTIONS(1525), + [anon_sym_AMP] = ACTIONS(1525), }, [450] = { - [sym_file_descriptor] = ACTIONS(245), - [anon_sym_RPAREN] = ACTIONS(247), - [anon_sym_SEMI_SEMI] = ACTIONS(247), - [anon_sym_PIPE] = ACTIONS(247), - [anon_sym_PIPE_AMP] = ACTIONS(247), - [anon_sym_AMP_AMP] = ACTIONS(247), - [anon_sym_PIPE_PIPE] = ACTIONS(247), - [anon_sym_DQUOTE] = ACTIONS(247), - [sym_single_quoted_argument] = ACTIONS(247), - [anon_sym_DOLLAR] = ACTIONS(247), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(247), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(247), - [anon_sym_LT] = ACTIONS(247), - [anon_sym_GT] = ACTIONS(247), - [anon_sym_GT_GT] = ACTIONS(247), - [anon_sym_AMP_GT] = ACTIONS(247), - [anon_sym_AMP_GT_GT] = ACTIONS(247), - [anon_sym_LT_AMP] = ACTIONS(247), - [anon_sym_GT_AMP] = ACTIONS(247), - [anon_sym_LT_LT] = ACTIONS(247), - [anon_sym_LT_LT_DASH] = ACTIONS(247), - [sym_word] = ACTIONS(247), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(247), - [anon_sym_LF] = ACTIONS(247), - [anon_sym_AMP] = ACTIONS(247), + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(496), + [anon_sym_DQUOTE] = ACTIONS(1530), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [451] = { - [sym_quoted_argument] = STATE(490), - [sym_expansion] = STATE(490), - [sym_operator_expansion] = STATE(490), - [sym_command_substitution] = STATE(490), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(492), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1502), - [anon_sym_SEMI_SEMI] = ACTIONS(1502), - [anon_sym_PIPE] = ACTIONS(1502), - [anon_sym_PIPE_AMP] = ACTIONS(1502), - [anon_sym_AMP_AMP] = ACTIONS(1502), - [anon_sym_PIPE_PIPE] = ACTIONS(1502), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_single_quoted_argument] = ACTIONS(1505), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1507), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1502), - [anon_sym_LF] = ACTIONS(1502), - [anon_sym_AMP] = ACTIONS(1502), + [sym_file_descriptor] = ACTIONS(479), + [anon_sym_RPAREN] = ACTIONS(481), + [anon_sym_SEMI_SEMI] = ACTIONS(481), + [anon_sym_RBRACK] = ACTIONS(481), + [anon_sym_RBRACK_RBRACK] = ACTIONS(481), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(481), + [anon_sym_AMP_AMP] = ACTIONS(481), + [anon_sym_PIPE_PIPE] = ACTIONS(481), + [anon_sym_DQUOTE] = ACTIONS(481), + [sym_single_quoted_argument] = ACTIONS(481), + [anon_sym_DOLLAR] = ACTIONS(481), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(481), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(481), + [anon_sym_LT] = ACTIONS(481), + [anon_sym_GT] = ACTIONS(481), + [anon_sym_GT_GT] = ACTIONS(481), + [anon_sym_AMP_GT] = ACTIONS(481), + [anon_sym_AMP_GT_GT] = ACTIONS(481), + [anon_sym_LT_AMP] = ACTIONS(481), + [anon_sym_GT_AMP] = ACTIONS(481), + [anon_sym_LT_LT] = ACTIONS(481), + [anon_sym_LT_LT_DASH] = ACTIONS(481), + [sym_word] = ACTIONS(481), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(481), + [anon_sym_LF] = ACTIONS(481), + [anon_sym_AMP] = ACTIONS(481), }, [452] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1502), - [anon_sym_SEMI_SEMI] = ACTIONS(1502), - [anon_sym_PIPE] = ACTIONS(1502), - [anon_sym_PIPE_AMP] = ACTIONS(1502), - [anon_sym_AMP_AMP] = ACTIONS(1502), - [anon_sym_PIPE_PIPE] = ACTIONS(1502), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1502), - [anon_sym_LF] = ACTIONS(1502), - [anon_sym_AMP] = ACTIONS(1502), + [anon_sym_DOLLAR] = ACTIONS(1532), + [sym_word] = ACTIONS(1534), + [sym_comment] = ACTIONS(71), }, [453] = { - [sym_expansion] = STATE(48), - [sym_operator_expansion] = STATE(48), - [sym_command_substitution] = STATE(48), - [aux_sym_quoted_argument_repeat1] = STATE(494), - [anon_sym_DQUOTE] = ACTIONS(1509), - [sym__quoted_chars] = ACTIONS(141), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_leading_word] = ACTIONS(1536), + [sym_comment] = ACTIONS(71), }, [454] = { - [sym_file_descriptor] = ACTIONS(317), - [anon_sym_RPAREN] = ACTIONS(321), - [anon_sym_SEMI_SEMI] = ACTIONS(321), - [anon_sym_PIPE] = ACTIONS(321), - [anon_sym_PIPE_AMP] = ACTIONS(321), - [anon_sym_AMP_AMP] = ACTIONS(321), - [anon_sym_PIPE_PIPE] = ACTIONS(321), - [anon_sym_LT] = ACTIONS(321), - [anon_sym_GT] = ACTIONS(321), - [anon_sym_GT_GT] = ACTIONS(321), - [anon_sym_AMP_GT] = ACTIONS(321), - [anon_sym_AMP_GT_GT] = ACTIONS(321), - [anon_sym_LT_AMP] = ACTIONS(321), - [anon_sym_GT_AMP] = ACTIONS(321), - [anon_sym_LT_LT] = ACTIONS(321), - [anon_sym_LT_LT_DASH] = ACTIONS(321), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(321), - [anon_sym_LF] = ACTIONS(321), - [anon_sym_AMP] = ACTIONS(321), + [sym_command] = STATE(500), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [455] = { - [anon_sym_DOLLAR] = ACTIONS(1511), - [sym_word] = ACTIONS(1513), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(485), + [anon_sym_RPAREN] = ACTIONS(487), + [anon_sym_SEMI_SEMI] = ACTIONS(487), + [anon_sym_RBRACK] = ACTIONS(487), + [anon_sym_RBRACK_RBRACK] = ACTIONS(487), + [anon_sym_PIPE] = ACTIONS(487), + [anon_sym_PIPE_AMP] = ACTIONS(487), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(487), + [anon_sym_DQUOTE] = ACTIONS(487), + [sym_single_quoted_argument] = ACTIONS(487), + [anon_sym_DOLLAR] = ACTIONS(487), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(487), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(487), + [anon_sym_LT] = ACTIONS(487), + [anon_sym_GT] = ACTIONS(487), + [anon_sym_GT_GT] = ACTIONS(487), + [anon_sym_AMP_GT] = ACTIONS(487), + [anon_sym_AMP_GT_GT] = ACTIONS(487), + [anon_sym_LT_AMP] = ACTIONS(487), + [anon_sym_GT_AMP] = ACTIONS(487), + [anon_sym_LT_LT] = ACTIONS(487), + [anon_sym_LT_LT_DASH] = ACTIONS(487), + [sym_word] = ACTIONS(487), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(487), + [anon_sym_LF] = ACTIONS(487), + [anon_sym_AMP] = ACTIONS(487), }, [456] = { - [sym_leading_word] = ACTIONS(1515), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1538), + [anon_sym_SEMI_SEMI] = ACTIONS(1538), + [anon_sym_PIPE] = ACTIONS(1538), + [anon_sym_PIPE_AMP] = ACTIONS(1538), + [anon_sym_AMP_AMP] = ACTIONS(1538), + [anon_sym_PIPE_PIPE] = ACTIONS(1538), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1538), + [anon_sym_LF] = ACTIONS(1538), + [anon_sym_AMP] = ACTIONS(1538), }, [457] = { - [sym_command] = STATE(498), - [sym_environment_variable_assignment] = STATE(17), - [sym_quoted_argument] = STATE(82), - [sym_file_redirect] = STATE(17), - [aux_sym_command_repeat1] = STATE(86), - [sym_file_descriptor] = ACTIONS(71), - [anon_sym_COLON] = ACTIONS(217), - [anon_sym_DQUOTE] = ACTIONS(219), - [sym_single_quoted_argument] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(93), - [anon_sym_GT] = ACTIONS(93), - [anon_sym_GT_GT] = ACTIONS(93), - [anon_sym_AMP_GT] = ACTIONS(93), - [anon_sym_AMP_GT_GT] = ACTIONS(93), - [anon_sym_LT_AMP] = ACTIONS(93), - [anon_sym_GT_AMP] = ACTIONS(93), - [sym_leading_word] = ACTIONS(223), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(502), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(275), + [anon_sym_SEMI_SEMI] = ACTIONS(275), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1543), + [anon_sym_PIPE] = ACTIONS(275), + [anon_sym_PIPE_AMP] = ACTIONS(275), + [anon_sym_AMP_AMP] = ACTIONS(275), + [anon_sym_PIPE_PIPE] = ACTIONS(275), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(275), + [anon_sym_LF] = ACTIONS(275), + [anon_sym_AMP] = ACTIONS(275), }, [458] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(504), + [anon_sym_DQUOTE] = ACTIONS(1545), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [459] = { + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(506), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(377), + [anon_sym_SEMI_SEMI] = ACTIONS(377), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1547), + [anon_sym_PIPE] = ACTIONS(377), + [anon_sym_PIPE_AMP] = ACTIONS(377), + [anon_sym_AMP_AMP] = ACTIONS(377), + [anon_sym_PIPE_PIPE] = ACTIONS(377), + [anon_sym_EQ] = ACTIONS(381), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(377), + [anon_sym_LF] = ACTIONS(377), + [anon_sym_AMP] = ACTIONS(377), + }, + [460] = { + [sym_file_descriptor] = ACTIONS(531), + [anon_sym_RPAREN] = ACTIONS(533), + [anon_sym_SEMI_SEMI] = ACTIONS(533), + [anon_sym_PIPE] = ACTIONS(533), + [anon_sym_PIPE_AMP] = ACTIONS(533), + [anon_sym_AMP_AMP] = ACTIONS(533), + [anon_sym_PIPE_PIPE] = ACTIONS(533), + [anon_sym_LT] = ACTIONS(533), + [anon_sym_GT] = ACTIONS(533), + [anon_sym_GT_GT] = ACTIONS(533), + [anon_sym_AMP_GT] = ACTIONS(533), + [anon_sym_AMP_GT_GT] = ACTIONS(533), + [anon_sym_LT_AMP] = ACTIONS(533), + [anon_sym_GT_AMP] = ACTIONS(533), + [anon_sym_LT_LT] = ACTIONS(533), + [anon_sym_LT_LT_DASH] = ACTIONS(533), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(533), + [anon_sym_LF] = ACTIONS(533), + [anon_sym_AMP] = ACTIONS(533), + }, + [461] = { + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_in] = ACTIONS(545), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_RBRACE] = ACTIONS(545), + [anon_sym_RBRACK] = ACTIONS(545), + [anon_sym_RBRACK_RBRACK] = ACTIONS(545), + [anon_sym_COLON] = ACTIONS(545), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_DOLLAR] = ACTIONS(545), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(545), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_leading_word] = ACTIONS(545), + [sym_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), + }, + [462] = { + [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(145), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [463] = { + [sym_quoted_argument] = STATE(507), + [sym_expansion] = STATE(507), + [sym_operator_expansion] = STATE(507), + [sym_command_substitution] = STATE(507), + [anon_sym_DQUOTE] = ACTIONS(1452), + [sym_single_quoted_argument] = ACTIONS(1549), + [anon_sym_DOLLAR] = ACTIONS(1456), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1458), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1460), + [sym_word] = ACTIONS(1551), + [sym_comment] = ACTIONS(71), + }, + [464] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(510), + [anon_sym_DQUOTE] = ACTIONS(1553), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [465] = { + [sym_file_descriptor] = ACTIONS(249), + [anon_sym_RPAREN] = ACTIONS(251), + [anon_sym_SEMI_SEMI] = ACTIONS(251), + [anon_sym_PIPE] = ACTIONS(251), + [anon_sym_PIPE_AMP] = ACTIONS(251), + [anon_sym_AMP_AMP] = ACTIONS(251), + [anon_sym_PIPE_PIPE] = ACTIONS(251), + [anon_sym_DQUOTE] = ACTIONS(251), + [sym_single_quoted_argument] = ACTIONS(251), + [anon_sym_DOLLAR] = ACTIONS(251), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(251), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(251), + [anon_sym_LT] = ACTIONS(251), + [anon_sym_GT] = ACTIONS(251), + [anon_sym_GT_GT] = ACTIONS(251), + [anon_sym_AMP_GT] = ACTIONS(251), + [anon_sym_AMP_GT_GT] = ACTIONS(251), + [anon_sym_LT_AMP] = ACTIONS(251), + [anon_sym_GT_AMP] = ACTIONS(251), + [anon_sym_LT_LT] = ACTIONS(251), + [anon_sym_LT_LT_DASH] = ACTIONS(251), + [sym_word] = ACTIONS(251), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(251), + [anon_sym_LF] = ACTIONS(251), + [anon_sym_AMP] = ACTIONS(251), + }, + [466] = { + [anon_sym_DOLLAR] = ACTIONS(1555), + [sym_word] = ACTIONS(1557), + [sym_comment] = ACTIONS(71), + }, + [467] = { + [sym_leading_word] = ACTIONS(1559), + [sym_comment] = ACTIONS(71), + }, + [468] = { + [sym_command] = STATE(514), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), + }, + [469] = { + [sym_file_descriptor] = ACTIONS(261), + [anon_sym_RPAREN] = ACTIONS(263), + [anon_sym_SEMI_SEMI] = ACTIONS(263), + [anon_sym_PIPE] = ACTIONS(263), + [anon_sym_PIPE_AMP] = ACTIONS(263), + [anon_sym_AMP_AMP] = ACTIONS(263), + [anon_sym_PIPE_PIPE] = ACTIONS(263), + [anon_sym_DQUOTE] = ACTIONS(263), + [sym_single_quoted_argument] = ACTIONS(263), + [anon_sym_DOLLAR] = ACTIONS(263), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(263), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(263), + [anon_sym_LT] = ACTIONS(263), + [anon_sym_GT] = ACTIONS(263), + [anon_sym_GT_GT] = ACTIONS(263), + [anon_sym_AMP_GT] = ACTIONS(263), + [anon_sym_AMP_GT_GT] = ACTIONS(263), + [anon_sym_LT_AMP] = ACTIONS(263), + [anon_sym_GT_AMP] = ACTIONS(263), + [anon_sym_LT_LT] = ACTIONS(263), + [anon_sym_LT_LT_DASH] = ACTIONS(263), + [sym_word] = ACTIONS(263), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(263), + [anon_sym_LF] = ACTIONS(263), + [anon_sym_AMP] = ACTIONS(263), + }, + [470] = { + [sym_quoted_argument] = STATE(515), + [sym_expansion] = STATE(515), + [sym_operator_expansion] = STATE(515), + [sym_command_substitution] = STATE(515), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(517), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1561), + [anon_sym_SEMI_SEMI] = ACTIONS(1561), + [anon_sym_PIPE] = ACTIONS(1561), + [anon_sym_PIPE_AMP] = ACTIONS(1561), + [anon_sym_AMP_AMP] = ACTIONS(1561), + [anon_sym_PIPE_PIPE] = ACTIONS(1561), + [anon_sym_DQUOTE] = ACTIONS(1438), + [sym_single_quoted_argument] = ACTIONS(1564), + [anon_sym_DOLLAR] = ACTIONS(1442), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1444), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1446), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1566), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1561), + [anon_sym_LF] = ACTIONS(1561), + [anon_sym_AMP] = ACTIONS(1561), + }, + [471] = { + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1561), + [anon_sym_SEMI_SEMI] = ACTIONS(1561), + [anon_sym_PIPE] = ACTIONS(1561), + [anon_sym_PIPE_AMP] = ACTIONS(1561), + [anon_sym_AMP_AMP] = ACTIONS(1561), + [anon_sym_PIPE_PIPE] = ACTIONS(1561), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1561), + [anon_sym_LF] = ACTIONS(1561), + [anon_sym_AMP] = ACTIONS(1561), + }, + [472] = { + [sym_expansion] = STATE(50), + [sym_operator_expansion] = STATE(50), + [sym_command_substitution] = STATE(50), + [aux_sym_quoted_argument_repeat1] = STATE(519), + [anon_sym_DQUOTE] = ACTIONS(1568), + [sym__quoted_chars] = ACTIONS(149), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), + }, + [473] = { [sym_file_descriptor] = ACTIONS(329), [anon_sym_RPAREN] = ACTIONS(333), [anon_sym_SEMI_SEMI] = ACTIONS(333), @@ -14841,2367 +15949,2690 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(333), [anon_sym_LT_LT] = ACTIONS(333), [anon_sym_LT_LT_DASH] = ACTIONS(333), - [sym_comment] = ACTIONS(135), + [sym_comment] = ACTIONS(145), [anon_sym_SEMI] = ACTIONS(333), [anon_sym_LF] = ACTIONS(333), [anon_sym_AMP] = ACTIONS(333), }, - [459] = { - [sym__heredoc_middle] = ACTIONS(893), - [sym__heredoc_end] = ACTIONS(893), - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_in] = ACTIONS(863), - [anon_sym_RPAREN] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_RBRACK] = ACTIONS(863), - [anon_sym_RBRACK_RBRACK] = ACTIONS(863), - [anon_sym_COLON] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym__quoted_chars] = ACTIONS(863), - [sym_single_quoted_argument] = ACTIONS(863), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(863), - [anon_sym_RBRACE] = ACTIONS(863), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_leading_word] = ACTIONS(863), - [sym_word] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), - }, - [460] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_COLON] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_DQUOTE] = ACTIONS(299), - [sym_single_quoted_argument] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_leading_word] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), - }, - [461] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(1517), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [462] = { - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_RPAREN] = ACTIONS(403), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(403), - [sym_single_quoted_argument] = 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_leading_word] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), - }, - [463] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_RPAREN] = ACTIONS(405), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_COLON] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [anon_sym_DQUOTE] = ACTIONS(405), - [sym_single_quoted_argument] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_leading_word] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), - }, - [464] = { - [anon_sym_COLON] = ACTIONS(1519), - [anon_sym_EQ] = ACTIONS(1521), - [anon_sym_COLON_QMARK] = ACTIONS(1521), - [anon_sym_COLON_DASH] = ACTIONS(1521), - [anon_sym_RBRACE] = ACTIONS(1523), - [sym_comment] = ACTIONS(67), - }, - [465] = { - [anon_sym_RPAREN] = ACTIONS(1525), - [sym_comment] = ACTIONS(67), - }, - [466] = { - [sym_case_item] = STATE(230), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [aux_sym_case_statement_repeat1] = STATE(504), - [anon_sym_esac] = ACTIONS(1527), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), - }, - [467] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(379), - [anon_sym_SEMI_SEMI] = ACTIONS(379), - [anon_sym_COLON] = ACTIONS(379), - [anon_sym_PIPE] = ACTIONS(379), - [anon_sym_PIPE_AMP] = ACTIONS(379), - [anon_sym_AMP_AMP] = ACTIONS(379), - [anon_sym_PIPE_PIPE] = ACTIONS(379), - [anon_sym_DQUOTE] = ACTIONS(379), - [sym_single_quoted_argument] = ACTIONS(379), - [anon_sym_LT] = ACTIONS(379), - [anon_sym_GT] = ACTIONS(379), - [anon_sym_GT_GT] = ACTIONS(379), - [anon_sym_AMP_GT] = ACTIONS(379), - [anon_sym_AMP_GT_GT] = ACTIONS(379), - [anon_sym_LT_AMP] = ACTIONS(379), - [anon_sym_GT_AMP] = ACTIONS(379), - [anon_sym_LT_LT] = ACTIONS(379), - [anon_sym_LT_LT_DASH] = ACTIONS(379), - [sym_leading_word] = ACTIONS(379), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(379), - [anon_sym_LF] = ACTIONS(379), - [anon_sym_AMP] = ACTIONS(379), - }, - [468] = { - [sym_file_descriptor] = ACTIONS(381), - [anon_sym_RPAREN] = ACTIONS(385), - [anon_sym_SEMI_SEMI] = ACTIONS(385), - [anon_sym_COLON] = ACTIONS(385), - [anon_sym_PIPE] = ACTIONS(385), - [anon_sym_PIPE_AMP] = ACTIONS(385), - [anon_sym_AMP_AMP] = ACTIONS(385), - [anon_sym_PIPE_PIPE] = ACTIONS(385), - [anon_sym_DQUOTE] = ACTIONS(385), - [sym_single_quoted_argument] = ACTIONS(385), - [anon_sym_LT] = ACTIONS(385), - [anon_sym_GT] = ACTIONS(385), - [anon_sym_GT_GT] = ACTIONS(385), - [anon_sym_AMP_GT] = ACTIONS(385), - [anon_sym_AMP_GT_GT] = ACTIONS(385), - [anon_sym_LT_AMP] = ACTIONS(385), - [anon_sym_GT_AMP] = ACTIONS(385), - [anon_sym_LT_LT] = ACTIONS(385), - [anon_sym_LT_LT_DASH] = ACTIONS(385), - [sym_leading_word] = ACTIONS(385), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(385), - [anon_sym_LF] = ACTIONS(385), - [anon_sym_AMP] = ACTIONS(385), - }, - [469] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1529), - [anon_sym_PIPE] = ACTIONS(1529), - [anon_sym_PIPE_AMP] = ACTIONS(1529), - [anon_sym_AMP_AMP] = ACTIONS(1529), - [anon_sym_PIPE_PIPE] = ACTIONS(1529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1529), - [anon_sym_LF] = ACTIONS(1529), - [anon_sym_AMP] = ACTIONS(1529), - }, - [470] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_RBRACK] = ACTIONS(299), - [anon_sym_RBRACK_RBRACK] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_DQUOTE] = ACTIONS(299), - [sym_single_quoted_argument] = ACTIONS(299), - [anon_sym_DOLLAR] = ACTIONS(299), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(299), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_word] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), - }, - [471] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(1532), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), - }, - [472] = { - [sym_file_descriptor] = ACTIONS(441), - [anon_sym_RPAREN] = ACTIONS(403), - [anon_sym_SEMI_SEMI] = ACTIONS(403), - [anon_sym_RBRACK] = ACTIONS(403), - [anon_sym_RBRACK_RBRACK] = 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_DQUOTE] = ACTIONS(403), - [sym_single_quoted_argument] = ACTIONS(403), - [anon_sym_DOLLAR] = ACTIONS(403), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(403), - [anon_sym_DOLLAR_LPAREN] = 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_word] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), - }, - [473] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_RPAREN] = ACTIONS(405), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_RBRACK] = ACTIONS(405), - [anon_sym_RBRACK_RBRACK] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [anon_sym_DQUOTE] = ACTIONS(405), - [sym_single_quoted_argument] = ACTIONS(405), - [anon_sym_DOLLAR] = ACTIONS(405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(405), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_word] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), - }, [474] = { - [anon_sym_COLON] = ACTIONS(1534), - [anon_sym_EQ] = ACTIONS(1536), - [anon_sym_COLON_QMARK] = ACTIONS(1536), - [anon_sym_COLON_DASH] = ACTIONS(1536), - [anon_sym_RBRACE] = ACTIONS(1538), - [sym_comment] = ACTIONS(67), + [anon_sym_DOLLAR] = ACTIONS(1570), + [sym_word] = ACTIONS(1572), + [sym_comment] = ACTIONS(71), }, [475] = { - [anon_sym_RPAREN] = ACTIONS(1540), - [sym_comment] = ACTIONS(67), + [sym_leading_word] = ACTIONS(1574), + [sym_comment] = ACTIONS(71), }, [476] = { - [sym_quoted_argument] = STATE(446), - [sym_expansion] = STATE(446), - [sym_operator_expansion] = STATE(446), - [sym_command_substitution] = STATE(446), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_bracket_command_repeat1] = STATE(509), - [aux_sym_command_repeat2] = STATE(510), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(483), - [anon_sym_SEMI_SEMI] = ACTIONS(483), - [anon_sym_PIPE] = ACTIONS(483), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(483), - [anon_sym_PIPE_PIPE] = ACTIONS(483), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_single_quoted_argument] = ACTIONS(1389), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1397), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), + [sym_command] = STATE(523), + [sym_environment_variable_assignment] = STATE(18), + [sym_quoted_argument] = STATE(85), + [sym_file_redirect] = STATE(18), + [aux_sym_command_repeat1] = STATE(89), + [sym_file_descriptor] = ACTIONS(75), + [anon_sym_COLON] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(229), + [sym_single_quoted_argument] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(99), + [anon_sym_GT] = ACTIONS(99), + [anon_sym_GT_GT] = ACTIONS(99), + [anon_sym_AMP_GT] = ACTIONS(99), + [anon_sym_AMP_GT_GT] = ACTIONS(99), + [anon_sym_LT_AMP] = ACTIONS(99), + [anon_sym_GT_AMP] = ACTIONS(99), + [sym_leading_word] = ACTIONS(233), + [sym_comment] = ACTIONS(71), }, [477] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(483), - [anon_sym_SEMI_SEMI] = ACTIONS(483), - [anon_sym_PIPE] = ACTIONS(483), - [anon_sym_PIPE_AMP] = ACTIONS(483), - [anon_sym_AMP_AMP] = ACTIONS(483), - [anon_sym_PIPE_PIPE] = ACTIONS(483), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), + [sym_file_descriptor] = ACTIONS(341), + [anon_sym_RPAREN] = ACTIONS(345), + [anon_sym_SEMI_SEMI] = ACTIONS(345), + [anon_sym_PIPE] = ACTIONS(345), + [anon_sym_PIPE_AMP] = ACTIONS(345), + [anon_sym_AMP_AMP] = ACTIONS(345), + [anon_sym_PIPE_PIPE] = ACTIONS(345), + [anon_sym_LT] = ACTIONS(345), + [anon_sym_GT] = ACTIONS(345), + [anon_sym_GT_GT] = ACTIONS(345), + [anon_sym_AMP_GT] = ACTIONS(345), + [anon_sym_AMP_GT_GT] = ACTIONS(345), + [anon_sym_LT_AMP] = ACTIONS(345), + [anon_sym_GT_AMP] = ACTIONS(345), + [anon_sym_LT_LT] = ACTIONS(345), + [anon_sym_LT_LT_DASH] = ACTIONS(345), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(345), + [anon_sym_LF] = ACTIONS(345), + [anon_sym_AMP] = ACTIONS(345), }, [478] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), + [sym__heredoc_middle] = ACTIONS(921), + [sym__heredoc_end] = ACTIONS(921), + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_in] = ACTIONS(891), + [anon_sym_RPAREN] = ACTIONS(891), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_RBRACE] = ACTIONS(891), + [anon_sym_RBRACK] = ACTIONS(891), + [anon_sym_RBRACK_RBRACK] = ACTIONS(891), + [anon_sym_COLON] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), + [sym__quoted_chars] = ACTIONS(891), + [sym_single_quoted_argument] = ACTIONS(891), + [anon_sym_DOLLAR] = ACTIONS(891), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(891), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_leading_word] = ACTIONS(891), + [sym_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), }, [479] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(1542), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_RBRACE] = ACTIONS(311), + [anon_sym_COLON] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [sym_leading_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [480] = { - [sym_quoted_argument] = STATE(446), - [sym_expansion] = STATE(446), - [sym_operator_expansion] = STATE(446), - [sym_command_substitution] = STATE(446), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_bracket_command_repeat1] = STATE(512), - [aux_sym_command_repeat2] = STATE(513), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(567), - [anon_sym_SEMI_SEMI] = ACTIONS(567), - [anon_sym_PIPE] = ACTIONS(567), - [anon_sym_PIPE_AMP] = ACTIONS(567), - [anon_sym_AMP_AMP] = ACTIONS(567), - [anon_sym_PIPE_PIPE] = ACTIONS(567), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_single_quoted_argument] = ACTIONS(1389), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1397), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(567), - [anon_sym_LF] = ACTIONS(567), - [anon_sym_AMP] = ACTIONS(567), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1576), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [481] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(567), - [anon_sym_SEMI_SEMI] = ACTIONS(567), - [anon_sym_PIPE] = ACTIONS(567), - [anon_sym_PIPE_AMP] = ACTIONS(567), - [anon_sym_AMP_AMP] = ACTIONS(567), - [anon_sym_PIPE_PIPE] = ACTIONS(567), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(567), - [anon_sym_LF] = ACTIONS(567), - [anon_sym_AMP] = ACTIONS(567), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_RBRACE] = ACTIONS(417), + [anon_sym_COLON] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [sym_leading_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [482] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(379), - [anon_sym_SEMI_SEMI] = ACTIONS(379), - [anon_sym_PIPE] = ACTIONS(379), - [anon_sym_PIPE_AMP] = ACTIONS(379), - [anon_sym_AMP_AMP] = ACTIONS(379), - [anon_sym_PIPE_PIPE] = ACTIONS(379), - [anon_sym_LT] = ACTIONS(379), - [anon_sym_GT] = ACTIONS(379), - [anon_sym_GT_GT] = ACTIONS(379), - [anon_sym_AMP_GT] = ACTIONS(379), - [anon_sym_AMP_GT_GT] = ACTIONS(379), - [anon_sym_LT_AMP] = ACTIONS(379), - [anon_sym_GT_AMP] = ACTIONS(379), - [anon_sym_LT_LT] = ACTIONS(379), - [anon_sym_LT_LT_DASH] = ACTIONS(379), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(379), - [anon_sym_LF] = ACTIONS(379), - [anon_sym_AMP] = ACTIONS(379), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_RBRACE] = ACTIONS(419), + [anon_sym_COLON] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [sym_leading_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [483] = { - [sym_file_descriptor] = ACTIONS(381), - [anon_sym_RPAREN] = ACTIONS(385), - [anon_sym_SEMI_SEMI] = ACTIONS(385), - [anon_sym_PIPE] = ACTIONS(385), - [anon_sym_PIPE_AMP] = ACTIONS(385), - [anon_sym_AMP_AMP] = ACTIONS(385), - [anon_sym_PIPE_PIPE] = ACTIONS(385), - [anon_sym_LT] = ACTIONS(385), - [anon_sym_GT] = ACTIONS(385), - [anon_sym_GT_GT] = ACTIONS(385), - [anon_sym_AMP_GT] = ACTIONS(385), - [anon_sym_AMP_GT_GT] = ACTIONS(385), - [anon_sym_LT_AMP] = ACTIONS(385), - [anon_sym_GT_AMP] = ACTIONS(385), - [anon_sym_LT_LT] = ACTIONS(385), - [anon_sym_LT_LT_DASH] = ACTIONS(385), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(385), - [anon_sym_LF] = ACTIONS(385), - [anon_sym_AMP] = ACTIONS(385), + [anon_sym_RBRACE] = ACTIONS(1578), + [anon_sym_COLON] = ACTIONS(1580), + [anon_sym_EQ] = ACTIONS(1582), + [anon_sym_COLON_QMARK] = ACTIONS(1582), + [anon_sym_COLON_DASH] = ACTIONS(1582), + [sym_comment] = ACTIONS(71), }, [484] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_DQUOTE] = ACTIONS(299), - [sym_single_quoted_argument] = ACTIONS(299), - [anon_sym_DOLLAR] = ACTIONS(299), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(299), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_word] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), + [anon_sym_RPAREN] = ACTIONS(1584), + [sym_comment] = ACTIONS(71), }, [485] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(1544), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_COLON] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_leading_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [486] = { - [sym_file_descriptor] = ACTIONS(441), - [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_DQUOTE] = ACTIONS(403), - [sym_single_quoted_argument] = ACTIONS(403), - [anon_sym_DOLLAR] = ACTIONS(403), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(403), - [anon_sym_DOLLAR_LPAREN] = 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_word] = ACTIONS(403), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1586), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [487] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_RPAREN] = ACTIONS(405), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [anon_sym_DQUOTE] = ACTIONS(405), - [sym_single_quoted_argument] = ACTIONS(405), - [anon_sym_DOLLAR] = ACTIONS(405), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(405), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_word] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_RPAREN] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_COLON] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_leading_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [488] = { - [anon_sym_COLON] = ACTIONS(1546), - [anon_sym_EQ] = ACTIONS(1548), - [anon_sym_COLON_QMARK] = ACTIONS(1548), - [anon_sym_COLON_DASH] = ACTIONS(1548), - [anon_sym_RBRACE] = ACTIONS(1550), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_COLON] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_leading_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [489] = { - [anon_sym_RPAREN] = ACTIONS(1552), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(1588), + [anon_sym_COLON] = ACTIONS(1590), + [anon_sym_EQ] = ACTIONS(1592), + [anon_sym_COLON_QMARK] = ACTIONS(1592), + [anon_sym_COLON_DASH] = ACTIONS(1592), + [sym_comment] = ACTIONS(71), }, [490] = { - [sym_file_descriptor] = ACTIONS(461), - [anon_sym_RPAREN] = ACTIONS(463), - [anon_sym_SEMI_SEMI] = ACTIONS(463), - [anon_sym_PIPE] = ACTIONS(463), - [anon_sym_PIPE_AMP] = ACTIONS(463), - [anon_sym_AMP_AMP] = ACTIONS(463), - [anon_sym_PIPE_PIPE] = ACTIONS(463), - [anon_sym_DQUOTE] = ACTIONS(463), - [sym_single_quoted_argument] = ACTIONS(463), - [anon_sym_DOLLAR] = ACTIONS(463), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(463), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(463), - [anon_sym_LT] = ACTIONS(463), - [anon_sym_GT] = ACTIONS(463), - [anon_sym_GT_GT] = ACTIONS(463), - [anon_sym_AMP_GT] = ACTIONS(463), - [anon_sym_AMP_GT_GT] = ACTIONS(463), - [anon_sym_LT_AMP] = ACTIONS(463), - [anon_sym_GT_AMP] = ACTIONS(463), - [anon_sym_LT_LT] = ACTIONS(463), - [anon_sym_LT_LT_DASH] = ACTIONS(463), - [sym_word] = ACTIONS(463), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(463), - [anon_sym_LF] = ACTIONS(463), - [anon_sym_AMP] = ACTIONS(463), + [anon_sym_RPAREN] = ACTIONS(1594), + [sym_comment] = ACTIONS(71), }, [491] = { - [sym_file_descriptor] = ACTIONS(467), - [anon_sym_RPAREN] = ACTIONS(469), - [anon_sym_SEMI_SEMI] = ACTIONS(469), - [anon_sym_PIPE] = ACTIONS(469), - [anon_sym_PIPE_AMP] = ACTIONS(469), - [anon_sym_AMP_AMP] = ACTIONS(469), - [anon_sym_PIPE_PIPE] = ACTIONS(469), - [anon_sym_DQUOTE] = ACTIONS(469), - [sym_single_quoted_argument] = ACTIONS(469), - [anon_sym_DOLLAR] = ACTIONS(469), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(469), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(469), - [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_LT] = ACTIONS(469), - [anon_sym_LT_LT_DASH] = ACTIONS(469), - [sym_word] = ACTIONS(469), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(469), - [anon_sym_LF] = ACTIONS(469), - [anon_sym_AMP] = ACTIONS(469), + [sym_case_item] = STATE(238), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [aux_sym_case_statement_repeat1] = STATE(533), + [anon_sym_esac] = ACTIONS(1596), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [492] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(1554), - [anon_sym_SEMI_SEMI] = ACTIONS(1554), - [anon_sym_PIPE] = ACTIONS(1554), - [anon_sym_PIPE_AMP] = ACTIONS(1554), - [anon_sym_AMP_AMP] = ACTIONS(1554), - [anon_sym_PIPE_PIPE] = ACTIONS(1554), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1554), - [anon_sym_LF] = ACTIONS(1554), - [anon_sym_AMP] = ACTIONS(1554), + [sym_file_descriptor] = ACTIONS(389), + [anon_sym_RPAREN] = ACTIONS(393), + [anon_sym_SEMI_SEMI] = ACTIONS(393), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(393), + [sym_single_quoted_argument] = 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_leading_word] = ACTIONS(393), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(393), + [anon_sym_LF] = ACTIONS(393), + [anon_sym_AMP] = ACTIONS(393), }, [493] = { - [sym_file_descriptor] = ACTIONS(297), - [anon_sym_RPAREN] = ACTIONS(299), - [anon_sym_SEMI_SEMI] = ACTIONS(299), - [anon_sym_PIPE] = ACTIONS(299), - [anon_sym_PIPE_AMP] = ACTIONS(299), - [anon_sym_AMP_AMP] = ACTIONS(299), - [anon_sym_PIPE_PIPE] = ACTIONS(299), - [anon_sym_LT] = ACTIONS(299), - [anon_sym_GT] = ACTIONS(299), - [anon_sym_GT_GT] = ACTIONS(299), - [anon_sym_AMP_GT] = ACTIONS(299), - [anon_sym_AMP_GT_GT] = ACTIONS(299), - [anon_sym_LT_AMP] = ACTIONS(299), - [anon_sym_GT_AMP] = ACTIONS(299), - [anon_sym_LT_LT] = ACTIONS(299), - [anon_sym_LT_LT_DASH] = ACTIONS(299), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(299), - [anon_sym_LF] = ACTIONS(299), - [anon_sym_AMP] = ACTIONS(299), + [sym_file_descriptor] = ACTIONS(395), + [anon_sym_RPAREN] = ACTIONS(399), + [anon_sym_SEMI_SEMI] = ACTIONS(399), + [anon_sym_COLON] = ACTIONS(399), + [anon_sym_PIPE] = ACTIONS(399), + [anon_sym_PIPE_AMP] = ACTIONS(399), + [anon_sym_AMP_AMP] = ACTIONS(399), + [anon_sym_PIPE_PIPE] = ACTIONS(399), + [anon_sym_DQUOTE] = ACTIONS(399), + [sym_single_quoted_argument] = ACTIONS(399), + [anon_sym_LT] = ACTIONS(399), + [anon_sym_GT] = ACTIONS(399), + [anon_sym_GT_GT] = ACTIONS(399), + [anon_sym_AMP_GT] = ACTIONS(399), + [anon_sym_AMP_GT_GT] = ACTIONS(399), + [anon_sym_LT_AMP] = ACTIONS(399), + [anon_sym_GT_AMP] = ACTIONS(399), + [anon_sym_LT_LT] = ACTIONS(399), + [anon_sym_LT_LT_DASH] = ACTIONS(399), + [sym_leading_word] = ACTIONS(399), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(399), + [anon_sym_LF] = ACTIONS(399), + [anon_sym_AMP] = ACTIONS(399), }, [494] = { - [sym_expansion] = STATE(123), - [sym_operator_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [anon_sym_DQUOTE] = ACTIONS(1557), - [sym__quoted_chars] = ACTIONS(313), - [anon_sym_DOLLAR] = ACTIONS(143), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(145), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(147), - [sym_comment] = ACTIONS(135), + [anon_sym_SEMI_SEMI] = ACTIONS(1598), + [anon_sym_PIPE] = ACTIONS(1598), + [anon_sym_PIPE_AMP] = ACTIONS(1598), + [anon_sym_AMP_AMP] = ACTIONS(1598), + [anon_sym_PIPE_PIPE] = ACTIONS(1598), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1598), + [anon_sym_LF] = ACTIONS(1598), + [anon_sym_AMP] = ACTIONS(1598), }, [495] = { - [sym_file_descriptor] = ACTIONS(441), - [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(135), - [anon_sym_SEMI] = ACTIONS(403), - [anon_sym_LF] = ACTIONS(403), - [anon_sym_AMP] = ACTIONS(403), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_RBRACK] = ACTIONS(311), + [anon_sym_RBRACK_RBRACK] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_DOLLAR] = ACTIONS(311), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [496] = { - [sym_file_descriptor] = ACTIONS(445), - [anon_sym_RPAREN] = ACTIONS(405), - [anon_sym_SEMI_SEMI] = ACTIONS(405), - [anon_sym_PIPE] = ACTIONS(405), - [anon_sym_PIPE_AMP] = ACTIONS(405), - [anon_sym_AMP_AMP] = ACTIONS(405), - [anon_sym_PIPE_PIPE] = ACTIONS(405), - [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_LT_LT] = ACTIONS(405), - [anon_sym_LT_LT_DASH] = ACTIONS(405), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(405), - [anon_sym_LF] = ACTIONS(405), - [anon_sym_AMP] = ACTIONS(405), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1601), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [497] = { - [anon_sym_COLON] = ACTIONS(1559), - [anon_sym_EQ] = ACTIONS(1561), - [anon_sym_COLON_QMARK] = ACTIONS(1561), - [anon_sym_COLON_DASH] = ACTIONS(1561), - [anon_sym_RBRACE] = ACTIONS(1563), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_RPAREN] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_RBRACK] = ACTIONS(417), + [anon_sym_RBRACK_RBRACK] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_DOLLAR] = ACTIONS(417), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [498] = { - [anon_sym_RPAREN] = ACTIONS(1565), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_RBRACK] = ACTIONS(419), + [anon_sym_RBRACK_RBRACK] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_DOLLAR] = ACTIONS(419), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [499] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(529), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_COLON] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(529), - [sym_single_quoted_argument] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_leading_word] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [anon_sym_RBRACE] = ACTIONS(1603), + [anon_sym_COLON] = ACTIONS(1605), + [anon_sym_EQ] = ACTIONS(1607), + [anon_sym_COLON_QMARK] = ACTIONS(1607), + [anon_sym_COLON_DASH] = ACTIONS(1607), + [sym_comment] = ACTIONS(71), }, [500] = { - [sym_quoted_argument] = STATE(522), - [sym_expansion] = STATE(522), - [sym_operator_expansion] = STATE(522), - [sym_command_substitution] = STATE(522), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(1567), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(1569), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(1609), + [sym_comment] = ACTIONS(71), }, [501] = { - [sym_file_descriptor] = ACTIONS(661), - [anon_sym_RPAREN] = ACTIONS(603), - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(603), - [sym_single_quoted_argument] = ACTIONS(603), - [anon_sym_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [anon_sym_LT_LT] = ACTIONS(603), - [anon_sym_LT_LT_DASH] = ACTIONS(603), - [sym_leading_word] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [sym_quoted_argument] = STATE(465), + [sym_expansion] = STATE(465), + [sym_operator_expansion] = STATE(465), + [sym_command_substitution] = STATE(465), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_bracket_command_repeat1] = STATE(538), + [aux_sym_command_repeat2] = STATE(539), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(501), + [anon_sym_SEMI_SEMI] = ACTIONS(501), + [anon_sym_PIPE] = ACTIONS(501), + [anon_sym_PIPE_AMP] = ACTIONS(501), + [anon_sym_AMP_AMP] = ACTIONS(501), + [anon_sym_PIPE_PIPE] = ACTIONS(501), + [anon_sym_DQUOTE] = ACTIONS(1438), + [sym_single_quoted_argument] = ACTIONS(1440), + [anon_sym_DOLLAR] = ACTIONS(1442), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1444), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1446), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1448), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(501), + [anon_sym_LF] = ACTIONS(501), + [anon_sym_AMP] = ACTIONS(501), }, [502] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_COLON] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_DQUOTE] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_leading_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(501), + [anon_sym_SEMI_SEMI] = ACTIONS(501), + [anon_sym_PIPE] = ACTIONS(501), + [anon_sym_PIPE_AMP] = ACTIONS(501), + [anon_sym_AMP_AMP] = ACTIONS(501), + [anon_sym_PIPE_PIPE] = ACTIONS(501), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(501), + [anon_sym_LF] = ACTIONS(501), + [anon_sym_AMP] = ACTIONS(501), }, [503] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1571), - [anon_sym_PIPE] = ACTIONS(1571), - [anon_sym_PIPE_AMP] = ACTIONS(1571), - [anon_sym_AMP_AMP] = ACTIONS(1571), - [anon_sym_PIPE_PIPE] = ACTIONS(1571), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1571), - [anon_sym_LF] = ACTIONS(1571), - [anon_sym_AMP] = ACTIONS(1571), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [504] = { - [sym_case_item] = STATE(290), - [sym_quoted_argument] = STATE(228), - [sym_expansion] = STATE(228), - [sym_operator_expansion] = STATE(228), - [sym_command_substitution] = STATE(228), - [anon_sym_esac] = ACTIONS(1574), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(593), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(595), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1611), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [505] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(529), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_RBRACK] = ACTIONS(529), - [anon_sym_RBRACK_RBRACK] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(529), - [sym_single_quoted_argument] = ACTIONS(529), - [anon_sym_DOLLAR] = ACTIONS(529), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(529), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_word] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [sym_quoted_argument] = STATE(465), + [sym_expansion] = STATE(465), + [sym_operator_expansion] = STATE(465), + [sym_command_substitution] = STATE(465), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_bracket_command_repeat1] = STATE(541), + [aux_sym_command_repeat2] = STATE(542), + [sym_file_descriptor] = ACTIONS(1067), + [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_DQUOTE] = ACTIONS(1438), + [sym_single_quoted_argument] = ACTIONS(1440), + [anon_sym_DOLLAR] = ACTIONS(1442), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1444), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1446), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1448), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, [506] = { - [sym_quoted_argument] = STATE(525), - [sym_expansion] = STATE(525), - [sym_operator_expansion] = STATE(525), - [sym_command_substitution] = STATE(525), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(1576), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(1578), - [sym_comment] = ACTIONS(67), + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [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(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(585), + [anon_sym_LF] = ACTIONS(585), + [anon_sym_AMP] = ACTIONS(585), }, [507] = { - [sym_file_descriptor] = ACTIONS(661), - [anon_sym_RPAREN] = ACTIONS(603), - [anon_sym_SEMI_SEMI] = ACTIONS(603), - [anon_sym_RBRACK] = ACTIONS(603), - [anon_sym_RBRACK_RBRACK] = 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_DQUOTE] = ACTIONS(603), - [sym_single_quoted_argument] = ACTIONS(603), - [anon_sym_DOLLAR] = ACTIONS(603), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(603), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(603), - [anon_sym_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [anon_sym_LT_LT] = ACTIONS(603), - [anon_sym_LT_LT_DASH] = ACTIONS(603), - [sym_word] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [sym_file_descriptor] = ACTIONS(389), + [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(145), + [anon_sym_SEMI] = ACTIONS(393), + [anon_sym_LF] = ACTIONS(393), + [anon_sym_AMP] = ACTIONS(393), }, [508] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_RBRACK] = ACTIONS(645), - [anon_sym_RBRACK_RBRACK] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_DQUOTE] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(645), - [anon_sym_DOLLAR] = ACTIONS(645), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(645), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [sym_file_descriptor] = ACTIONS(395), + [anon_sym_RPAREN] = ACTIONS(399), + [anon_sym_SEMI_SEMI] = ACTIONS(399), + [anon_sym_PIPE] = ACTIONS(399), + [anon_sym_PIPE_AMP] = ACTIONS(399), + [anon_sym_AMP_AMP] = ACTIONS(399), + [anon_sym_PIPE_PIPE] = ACTIONS(399), + [anon_sym_LT] = ACTIONS(399), + [anon_sym_GT] = ACTIONS(399), + [anon_sym_GT_GT] = ACTIONS(399), + [anon_sym_AMP_GT] = ACTIONS(399), + [anon_sym_AMP_GT_GT] = ACTIONS(399), + [anon_sym_LT_AMP] = ACTIONS(399), + [anon_sym_GT_AMP] = ACTIONS(399), + [anon_sym_LT_LT] = ACTIONS(399), + [anon_sym_LT_LT_DASH] = ACTIONS(399), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(399), + [anon_sym_LF] = ACTIONS(399), + [anon_sym_AMP] = ACTIONS(399), }, [509] = { - [sym_quoted_argument] = STATE(490), - [sym_expansion] = STATE(490), - [sym_operator_expansion] = STATE(490), - [sym_command_substitution] = STATE(490), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(527), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(679), - [anon_sym_SEMI_SEMI] = ACTIONS(679), - [anon_sym_PIPE] = ACTIONS(679), - [anon_sym_PIPE_AMP] = ACTIONS(679), - [anon_sym_AMP_AMP] = ACTIONS(679), - [anon_sym_PIPE_PIPE] = ACTIONS(679), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_single_quoted_argument] = ACTIONS(1505), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1507), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(679), - [anon_sym_LF] = ACTIONS(679), - [anon_sym_AMP] = ACTIONS(679), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_DQUOTE] = ACTIONS(311), + [sym_single_quoted_argument] = ACTIONS(311), + [anon_sym_DOLLAR] = ACTIONS(311), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_word] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [510] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(679), - [anon_sym_SEMI_SEMI] = ACTIONS(679), - [anon_sym_PIPE] = ACTIONS(679), - [anon_sym_PIPE_AMP] = ACTIONS(679), - [anon_sym_AMP_AMP] = ACTIONS(679), - [anon_sym_PIPE_PIPE] = ACTIONS(679), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(679), - [anon_sym_LF] = ACTIONS(679), - [anon_sym_AMP] = ACTIONS(679), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1613), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [511] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(529), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_RPAREN] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_DQUOTE] = ACTIONS(417), + [sym_single_quoted_argument] = ACTIONS(417), + [anon_sym_DOLLAR] = ACTIONS(417), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_word] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [512] = { - [sym_quoted_argument] = STATE(490), - [sym_expansion] = STATE(490), - [sym_operator_expansion] = STATE(490), - [sym_command_substitution] = STATE(490), - [sym_file_redirect] = STATE(407), - [sym_heredoc_redirect] = STATE(407), - [aux_sym_command_repeat2] = STATE(528), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(729), - [anon_sym_SEMI_SEMI] = ACTIONS(729), - [anon_sym_PIPE] = ACTIONS(729), - [anon_sym_PIPE_AMP] = ACTIONS(729), - [anon_sym_AMP_AMP] = ACTIONS(729), - [anon_sym_PIPE_PIPE] = ACTIONS(729), - [anon_sym_DQUOTE] = ACTIONS(1387), - [sym_single_quoted_argument] = ACTIONS(1505), - [anon_sym_DOLLAR] = ACTIONS(1391), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1395), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_word] = ACTIONS(1507), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(729), - [anon_sym_LF] = ACTIONS(729), - [anon_sym_AMP] = ACTIONS(729), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_DQUOTE] = ACTIONS(419), + [sym_single_quoted_argument] = ACTIONS(419), + [anon_sym_DOLLAR] = ACTIONS(419), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(419), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_word] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [513] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(729), - [anon_sym_SEMI_SEMI] = ACTIONS(729), - [anon_sym_PIPE] = ACTIONS(729), - [anon_sym_PIPE_AMP] = ACTIONS(729), - [anon_sym_AMP_AMP] = ACTIONS(729), - [anon_sym_PIPE_PIPE] = ACTIONS(729), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(729), - [anon_sym_LF] = ACTIONS(729), - [anon_sym_AMP] = ACTIONS(729), + [anon_sym_RBRACE] = ACTIONS(1615), + [anon_sym_COLON] = ACTIONS(1617), + [anon_sym_EQ] = ACTIONS(1619), + [anon_sym_COLON_QMARK] = ACTIONS(1619), + [anon_sym_COLON_DASH] = ACTIONS(1619), + [sym_comment] = ACTIONS(71), }, [514] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(529), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [anon_sym_DQUOTE] = ACTIONS(529), - [sym_single_quoted_argument] = ACTIONS(529), - [anon_sym_DOLLAR] = ACTIONS(529), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(529), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_word] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [anon_sym_RPAREN] = ACTIONS(1621), + [sym_comment] = ACTIONS(71), }, [515] = { - [sym_quoted_argument] = STATE(529), - [sym_expansion] = STATE(529), - [sym_operator_expansion] = STATE(529), - [sym_command_substitution] = STATE(529), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(1580), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(1582), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(479), + [anon_sym_RPAREN] = ACTIONS(481), + [anon_sym_SEMI_SEMI] = ACTIONS(481), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(481), + [anon_sym_AMP_AMP] = ACTIONS(481), + [anon_sym_PIPE_PIPE] = ACTIONS(481), + [anon_sym_DQUOTE] = ACTIONS(481), + [sym_single_quoted_argument] = ACTIONS(481), + [anon_sym_DOLLAR] = ACTIONS(481), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(481), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(481), + [anon_sym_LT] = ACTIONS(481), + [anon_sym_GT] = ACTIONS(481), + [anon_sym_GT_GT] = ACTIONS(481), + [anon_sym_AMP_GT] = ACTIONS(481), + [anon_sym_AMP_GT_GT] = ACTIONS(481), + [anon_sym_LT_AMP] = ACTIONS(481), + [anon_sym_GT_AMP] = ACTIONS(481), + [anon_sym_LT_LT] = ACTIONS(481), + [anon_sym_LT_LT_DASH] = ACTIONS(481), + [sym_word] = ACTIONS(481), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(481), + [anon_sym_LF] = ACTIONS(481), + [anon_sym_AMP] = ACTIONS(481), }, [516] = { - [sym_file_descriptor] = ACTIONS(661), - [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_DQUOTE] = ACTIONS(603), - [sym_single_quoted_argument] = ACTIONS(603), - [anon_sym_DOLLAR] = ACTIONS(603), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(603), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(603), - [anon_sym_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [anon_sym_LT_LT] = ACTIONS(603), - [anon_sym_LT_LT_DASH] = ACTIONS(603), - [sym_word] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [sym_file_descriptor] = ACTIONS(485), + [anon_sym_RPAREN] = ACTIONS(487), + [anon_sym_SEMI_SEMI] = ACTIONS(487), + [anon_sym_PIPE] = ACTIONS(487), + [anon_sym_PIPE_AMP] = ACTIONS(487), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(487), + [anon_sym_DQUOTE] = ACTIONS(487), + [sym_single_quoted_argument] = ACTIONS(487), + [anon_sym_DOLLAR] = ACTIONS(487), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(487), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(487), + [anon_sym_LT] = ACTIONS(487), + [anon_sym_GT] = ACTIONS(487), + [anon_sym_GT_GT] = ACTIONS(487), + [anon_sym_AMP_GT] = ACTIONS(487), + [anon_sym_AMP_GT_GT] = ACTIONS(487), + [anon_sym_LT_AMP] = ACTIONS(487), + [anon_sym_GT_AMP] = ACTIONS(487), + [anon_sym_LT_LT] = ACTIONS(487), + [anon_sym_LT_LT_DASH] = ACTIONS(487), + [sym_word] = ACTIONS(487), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(487), + [anon_sym_LF] = ACTIONS(487), + [anon_sym_AMP] = ACTIONS(487), }, [517] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_DQUOTE] = ACTIONS(645), - [sym_single_quoted_argument] = ACTIONS(645), - [anon_sym_DOLLAR] = ACTIONS(645), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(645), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_word] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(1623), + [anon_sym_SEMI_SEMI] = ACTIONS(1623), + [anon_sym_PIPE] = ACTIONS(1623), + [anon_sym_PIPE_AMP] = ACTIONS(1623), + [anon_sym_AMP_AMP] = ACTIONS(1623), + [anon_sym_PIPE_PIPE] = ACTIONS(1623), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1623), + [anon_sym_LF] = ACTIONS(1623), + [anon_sym_AMP] = ACTIONS(1623), }, [518] = { - [sym_file_descriptor] = ACTIONS(527), - [anon_sym_RPAREN] = ACTIONS(529), - [anon_sym_SEMI_SEMI] = ACTIONS(529), - [anon_sym_PIPE] = ACTIONS(529), - [anon_sym_PIPE_AMP] = ACTIONS(529), - [anon_sym_AMP_AMP] = ACTIONS(529), - [anon_sym_PIPE_PIPE] = ACTIONS(529), - [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_LT_LT] = ACTIONS(529), - [anon_sym_LT_LT_DASH] = ACTIONS(529), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(529), - [anon_sym_LF] = ACTIONS(529), - [anon_sym_AMP] = ACTIONS(529), + [sym_file_descriptor] = ACTIONS(309), + [anon_sym_RPAREN] = ACTIONS(311), + [anon_sym_SEMI_SEMI] = ACTIONS(311), + [anon_sym_PIPE] = ACTIONS(311), + [anon_sym_PIPE_AMP] = ACTIONS(311), + [anon_sym_AMP_AMP] = ACTIONS(311), + [anon_sym_PIPE_PIPE] = ACTIONS(311), + [anon_sym_LT] = ACTIONS(311), + [anon_sym_GT] = ACTIONS(311), + [anon_sym_GT_GT] = ACTIONS(311), + [anon_sym_AMP_GT] = ACTIONS(311), + [anon_sym_AMP_GT_GT] = ACTIONS(311), + [anon_sym_LT_AMP] = ACTIONS(311), + [anon_sym_GT_AMP] = ACTIONS(311), + [anon_sym_LT_LT] = ACTIONS(311), + [anon_sym_LT_LT_DASH] = ACTIONS(311), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(311), + [anon_sym_LF] = ACTIONS(311), + [anon_sym_AMP] = ACTIONS(311), }, [519] = { - [sym_quoted_argument] = STATE(531), - [sym_expansion] = STATE(531), - [sym_operator_expansion] = STATE(531), - [sym_command_substitution] = STATE(531), - [anon_sym_DQUOTE] = ACTIONS(113), - [sym_single_quoted_argument] = ACTIONS(1584), - [anon_sym_DOLLAR] = ACTIONS(117), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(119), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(121), - [sym_word] = ACTIONS(1586), - [sym_comment] = ACTIONS(67), + [sym_expansion] = STATE(127), + [sym_operator_expansion] = STATE(127), + [sym_command_substitution] = STATE(127), + [anon_sym_DQUOTE] = ACTIONS(1626), + [sym__quoted_chars] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(151), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(153), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(155), + [sym_comment] = ACTIONS(145), }, [520] = { - [sym_file_descriptor] = ACTIONS(661), - [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_LT] = ACTIONS(603), - [anon_sym_GT] = ACTIONS(603), - [anon_sym_GT_GT] = ACTIONS(603), - [anon_sym_AMP_GT] = ACTIONS(603), - [anon_sym_AMP_GT_GT] = ACTIONS(603), - [anon_sym_LT_AMP] = ACTIONS(603), - [anon_sym_GT_AMP] = ACTIONS(603), - [anon_sym_LT_LT] = ACTIONS(603), - [anon_sym_LT_LT_DASH] = ACTIONS(603), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(603), - [anon_sym_LF] = ACTIONS(603), - [anon_sym_AMP] = ACTIONS(603), + [sym_file_descriptor] = ACTIONS(459), + [anon_sym_RPAREN] = ACTIONS(417), + [anon_sym_SEMI_SEMI] = ACTIONS(417), + [anon_sym_PIPE] = ACTIONS(417), + [anon_sym_PIPE_AMP] = ACTIONS(417), + [anon_sym_AMP_AMP] = ACTIONS(417), + [anon_sym_PIPE_PIPE] = ACTIONS(417), + [anon_sym_LT] = ACTIONS(417), + [anon_sym_GT] = ACTIONS(417), + [anon_sym_GT_GT] = ACTIONS(417), + [anon_sym_AMP_GT] = ACTIONS(417), + [anon_sym_AMP_GT_GT] = ACTIONS(417), + [anon_sym_LT_AMP] = ACTIONS(417), + [anon_sym_GT_AMP] = ACTIONS(417), + [anon_sym_LT_LT] = ACTIONS(417), + [anon_sym_LT_LT_DASH] = ACTIONS(417), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(417), + [anon_sym_LF] = ACTIONS(417), + [anon_sym_AMP] = ACTIONS(417), }, [521] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(645), - [anon_sym_SEMI_SEMI] = ACTIONS(645), - [anon_sym_PIPE] = ACTIONS(645), - [anon_sym_PIPE_AMP] = ACTIONS(645), - [anon_sym_AMP_AMP] = ACTIONS(645), - [anon_sym_PIPE_PIPE] = ACTIONS(645), - [anon_sym_LT] = ACTIONS(645), - [anon_sym_GT] = ACTIONS(645), - [anon_sym_GT_GT] = ACTIONS(645), - [anon_sym_AMP_GT] = ACTIONS(645), - [anon_sym_AMP_GT_GT] = ACTIONS(645), - [anon_sym_LT_AMP] = ACTIONS(645), - [anon_sym_GT_AMP] = ACTIONS(645), - [anon_sym_LT_LT] = ACTIONS(645), - [anon_sym_LT_LT_DASH] = ACTIONS(645), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(645), - [anon_sym_LF] = ACTIONS(645), - [anon_sym_AMP] = ACTIONS(645), + [sym_file_descriptor] = ACTIONS(463), + [anon_sym_RPAREN] = ACTIONS(419), + [anon_sym_SEMI_SEMI] = ACTIONS(419), + [anon_sym_PIPE] = ACTIONS(419), + [anon_sym_PIPE_AMP] = ACTIONS(419), + [anon_sym_AMP_AMP] = ACTIONS(419), + [anon_sym_PIPE_PIPE] = ACTIONS(419), + [anon_sym_LT] = ACTIONS(419), + [anon_sym_GT] = ACTIONS(419), + [anon_sym_GT_GT] = ACTIONS(419), + [anon_sym_AMP_GT] = ACTIONS(419), + [anon_sym_AMP_GT_GT] = ACTIONS(419), + [anon_sym_LT_AMP] = ACTIONS(419), + [anon_sym_GT_AMP] = ACTIONS(419), + [anon_sym_LT_LT] = ACTIONS(419), + [anon_sym_LT_LT_DASH] = ACTIONS(419), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(419), + [anon_sym_LF] = ACTIONS(419), + [anon_sym_AMP] = ACTIONS(419), }, [522] = { - [anon_sym_RBRACE] = ACTIONS(1588), - [sym_comment] = ACTIONS(67), + [anon_sym_RBRACE] = ACTIONS(1628), + [anon_sym_COLON] = ACTIONS(1630), + [anon_sym_EQ] = ACTIONS(1632), + [anon_sym_COLON_QMARK] = ACTIONS(1632), + [anon_sym_COLON_DASH] = ACTIONS(1632), + [sym_comment] = ACTIONS(71), }, [523] = { - [anon_sym_RBRACE] = ACTIONS(1590), - [sym_comment] = ACTIONS(67), + [anon_sym_RPAREN] = ACTIONS(1634), + [sym_comment] = ACTIONS(71), }, [524] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1592), - [anon_sym_PIPE] = ACTIONS(1592), - [anon_sym_PIPE_AMP] = ACTIONS(1592), - [anon_sym_AMP_AMP] = ACTIONS(1592), - [anon_sym_PIPE_PIPE] = ACTIONS(1592), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(1592), - [anon_sym_LF] = ACTIONS(1592), - [anon_sym_AMP] = ACTIONS(1592), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_RBRACE] = ACTIONS(545), + [anon_sym_COLON] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [sym_leading_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), }, [525] = { - [anon_sym_RBRACE] = ACTIONS(1595), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_RBRACE] = ACTIONS(617), + [anon_sym_COLON] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym_single_quoted_argument] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [sym_leading_word] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [526] = { - [anon_sym_RBRACE] = ACTIONS(1597), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(551), + [sym_expansion] = STATE(551), + [sym_operator_expansion] = STATE(551), + [sym_command_substitution] = STATE(551), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(1636), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(1638), + [sym_comment] = ACTIONS(71), }, [527] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(837), - [anon_sym_SEMI_SEMI] = ACTIONS(837), - [anon_sym_PIPE] = ACTIONS(837), - [anon_sym_PIPE_AMP] = ACTIONS(837), - [anon_sym_AMP_AMP] = ACTIONS(837), - [anon_sym_PIPE_PIPE] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_RBRACE] = ACTIONS(663), + [anon_sym_COLON] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [sym_leading_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [528] = { - [sym_file_redirect] = STATE(441), - [sym_heredoc_redirect] = STATE(441), - [sym_file_descriptor] = ACTIONS(1019), - [anon_sym_RPAREN] = ACTIONS(839), - [anon_sym_SEMI_SEMI] = ACTIONS(839), - [anon_sym_PIPE] = ACTIONS(839), - [anon_sym_PIPE_AMP] = ACTIONS(839), - [anon_sym_AMP_AMP] = ACTIONS(839), - [anon_sym_PIPE_PIPE] = ACTIONS(839), - [anon_sym_LT] = ACTIONS(1036), - [anon_sym_GT] = ACTIONS(1036), - [anon_sym_GT_GT] = ACTIONS(1036), - [anon_sym_AMP_GT] = ACTIONS(1036), - [anon_sym_AMP_GT_GT] = ACTIONS(1036), - [anon_sym_LT_AMP] = ACTIONS(1036), - [anon_sym_GT_AMP] = ACTIONS(1036), - [anon_sym_LT_LT] = ACTIONS(1038), - [anon_sym_LT_LT_DASH] = ACTIONS(1038), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(839), - [anon_sym_LF] = ACTIONS(839), - [anon_sym_AMP] = ACTIONS(839), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_COLON] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_leading_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), }, [529] = { - [anon_sym_RBRACE] = ACTIONS(1599), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_RPAREN] = ACTIONS(617), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_COLON] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym_single_quoted_argument] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(617), + [sym_leading_word] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [530] = { - [anon_sym_RBRACE] = ACTIONS(1601), - [sym_comment] = ACTIONS(67), + [sym_quoted_argument] = STATE(553), + [sym_expansion] = STATE(553), + [sym_operator_expansion] = STATE(553), + [sym_command_substitution] = STATE(553), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(1640), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(1642), + [sym_comment] = ACTIONS(71), }, [531] = { - [anon_sym_RBRACE] = ACTIONS(1603), - [sym_comment] = ACTIONS(67), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_COLON] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_leading_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [532] = { - [anon_sym_RBRACE] = ACTIONS(1605), - [sym_comment] = ACTIONS(67), + [anon_sym_SEMI_SEMI] = ACTIONS(1644), + [anon_sym_PIPE] = ACTIONS(1644), + [anon_sym_PIPE_AMP] = ACTIONS(1644), + [anon_sym_AMP_AMP] = ACTIONS(1644), + [anon_sym_PIPE_PIPE] = ACTIONS(1644), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1644), + [anon_sym_LF] = ACTIONS(1644), + [anon_sym_AMP] = ACTIONS(1644), }, [533] = { - [sym_file_descriptor] = ACTIONS(889), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(861), - [sym_single_quoted_argument] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_leading_word] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), + [sym_case_item] = STATE(301), + [sym_quoted_argument] = STATE(236), + [sym_expansion] = STATE(236), + [sym_operator_expansion] = STATE(236), + [sym_command_substitution] = STATE(236), + [anon_sym_esac] = ACTIONS(1647), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(613), + [sym_comment] = ACTIONS(71), }, [534] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_RPAREN] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_COLON] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym_single_quoted_argument] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_leading_word] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_RBRACK] = ACTIONS(545), + [anon_sym_RBRACK_RBRACK] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_DOLLAR] = ACTIONS(545), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(545), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), }, [535] = { - [sym_file_descriptor] = ACTIONS(889), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_SEMI_SEMI] = ACTIONS(861), - [anon_sym_RBRACK] = ACTIONS(861), - [anon_sym_RBRACK_RBRACK] = 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_DQUOTE] = ACTIONS(861), - [sym_single_quoted_argument] = ACTIONS(861), - [anon_sym_DOLLAR] = ACTIONS(861), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_word] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_RPAREN] = ACTIONS(617), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_RBRACK] = ACTIONS(617), + [anon_sym_RBRACK_RBRACK] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym_single_quoted_argument] = ACTIONS(617), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(617), + [sym_word] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), }, [536] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_RPAREN] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_RBRACK] = ACTIONS(863), - [anon_sym_RBRACK_RBRACK] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym_single_quoted_argument] = ACTIONS(863), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(863), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_word] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), + [sym_quoted_argument] = STATE(556), + [sym_expansion] = STATE(556), + [sym_operator_expansion] = STATE(556), + [sym_command_substitution] = STATE(556), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(1649), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(1651), + [sym_comment] = ACTIONS(71), }, [537] = { - [sym_file_descriptor] = ACTIONS(889), - [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_DQUOTE] = ACTIONS(861), - [sym_single_quoted_argument] = ACTIONS(861), - [anon_sym_DOLLAR] = ACTIONS(861), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_word] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_RBRACK] = ACTIONS(663), + [anon_sym_RBRACK_RBRACK] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_DOLLAR] = ACTIONS(663), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(663), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, [538] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_RPAREN] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_DQUOTE] = ACTIONS(863), - [sym_single_quoted_argument] = ACTIONS(863), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(863), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_word] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), + [sym_quoted_argument] = STATE(515), + [sym_expansion] = STATE(515), + [sym_operator_expansion] = STATE(515), + [sym_command_substitution] = STATE(515), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(558), + [sym_file_descriptor] = ACTIONS(1067), + [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_DQUOTE] = ACTIONS(1438), + [sym_single_quoted_argument] = ACTIONS(1564), + [anon_sym_DOLLAR] = ACTIONS(1442), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1444), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1446), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1566), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(697), + [anon_sym_LF] = ACTIONS(697), + [anon_sym_AMP] = ACTIONS(697), }, [539] = { - [sym_file_descriptor] = ACTIONS(889), - [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(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(861), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(861), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(861), - [anon_sym_LF] = ACTIONS(861), - [anon_sym_AMP] = ACTIONS(861), + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [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(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(697), + [anon_sym_LF] = ACTIONS(697), + [anon_sym_AMP] = ACTIONS(697), }, [540] = { - [sym_file_descriptor] = ACTIONS(893), - [anon_sym_RPAREN] = ACTIONS(863), - [anon_sym_SEMI_SEMI] = ACTIONS(863), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(863), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(863), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(863), - [anon_sym_LT_AMP] = ACTIONS(863), - [anon_sym_GT_AMP] = ACTIONS(863), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(863), - [sym_comment] = ACTIONS(135), - [anon_sym_SEMI] = ACTIONS(863), - [anon_sym_LF] = ACTIONS(863), - [anon_sym_AMP] = ACTIONS(863), + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), + }, + [541] = { + [sym_quoted_argument] = STATE(515), + [sym_expansion] = STATE(515), + [sym_operator_expansion] = STATE(515), + [sym_command_substitution] = STATE(515), + [sym_file_redirect] = STATE(422), + [sym_heredoc_redirect] = STATE(422), + [aux_sym_command_repeat2] = STATE(559), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(751), + [anon_sym_SEMI_SEMI] = ACTIONS(751), + [anon_sym_PIPE] = ACTIONS(751), + [anon_sym_PIPE_AMP] = ACTIONS(751), + [anon_sym_AMP_AMP] = ACTIONS(751), + [anon_sym_PIPE_PIPE] = ACTIONS(751), + [anon_sym_DQUOTE] = ACTIONS(1438), + [sym_single_quoted_argument] = ACTIONS(1564), + [anon_sym_DOLLAR] = ACTIONS(1442), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1444), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1446), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_word] = ACTIONS(1566), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(751), + [anon_sym_LF] = ACTIONS(751), + [anon_sym_AMP] = ACTIONS(751), + }, + [542] = { + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [anon_sym_RPAREN] = ACTIONS(751), + [anon_sym_SEMI_SEMI] = ACTIONS(751), + [anon_sym_PIPE] = ACTIONS(751), + [anon_sym_PIPE_AMP] = ACTIONS(751), + [anon_sym_AMP_AMP] = ACTIONS(751), + [anon_sym_PIPE_PIPE] = ACTIONS(751), + [anon_sym_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(751), + [anon_sym_LF] = ACTIONS(751), + [anon_sym_AMP] = ACTIONS(751), + }, + [543] = { + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_single_quoted_argument] = ACTIONS(545), + [anon_sym_DOLLAR] = ACTIONS(545), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(545), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_word] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), + }, + [544] = { + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_RPAREN] = ACTIONS(617), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_DQUOTE] = ACTIONS(617), + [sym_single_quoted_argument] = ACTIONS(617), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(617), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(617), + [sym_word] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), + }, + [545] = { + [sym_quoted_argument] = STATE(560), + [sym_expansion] = STATE(560), + [sym_operator_expansion] = STATE(560), + [sym_command_substitution] = STATE(560), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(1653), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(1655), + [sym_comment] = ACTIONS(71), + }, + [546] = { + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [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_DQUOTE] = ACTIONS(663), + [sym_single_quoted_argument] = ACTIONS(663), + [anon_sym_DOLLAR] = ACTIONS(663), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(663), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_word] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [547] = { + [sym_file_descriptor] = ACTIONS(543), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(545), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(545), + [anon_sym_GT] = ACTIONS(545), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(545), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(545), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(545), + [anon_sym_LF] = ACTIONS(545), + [anon_sym_AMP] = ACTIONS(545), + }, + [548] = { + [sym_file_descriptor] = ACTIONS(675), + [anon_sym_RPAREN] = ACTIONS(617), + [anon_sym_SEMI_SEMI] = ACTIONS(617), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(617), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(617), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(617), + [anon_sym_LT_AMP] = ACTIONS(617), + [anon_sym_GT_AMP] = ACTIONS(617), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(617), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(617), + [anon_sym_LF] = ACTIONS(617), + [anon_sym_AMP] = ACTIONS(617), + }, + [549] = { + [sym_quoted_argument] = STATE(562), + [sym_expansion] = STATE(562), + [sym_operator_expansion] = STATE(562), + [sym_command_substitution] = STATE(562), + [anon_sym_DQUOTE] = ACTIONS(123), + [sym_single_quoted_argument] = ACTIONS(1657), + [anon_sym_DOLLAR] = ACTIONS(127), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(129), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(131), + [sym_word] = ACTIONS(1659), + [sym_comment] = ACTIONS(71), + }, + [550] = { + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [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(663), + [anon_sym_GT] = ACTIONS(663), + [anon_sym_GT_GT] = ACTIONS(663), + [anon_sym_AMP_GT] = ACTIONS(663), + [anon_sym_AMP_GT_GT] = ACTIONS(663), + [anon_sym_LT_AMP] = ACTIONS(663), + [anon_sym_GT_AMP] = ACTIONS(663), + [anon_sym_LT_LT] = ACTIONS(663), + [anon_sym_LT_LT_DASH] = ACTIONS(663), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [551] = { + [anon_sym_RBRACE] = ACTIONS(1661), + [sym_comment] = ACTIONS(71), + }, + [552] = { + [anon_sym_RBRACE] = ACTIONS(1663), + [sym_comment] = ACTIONS(71), + }, + [553] = { + [anon_sym_RBRACE] = ACTIONS(1665), + [sym_comment] = ACTIONS(71), + }, + [554] = { + [anon_sym_RBRACE] = ACTIONS(1667), + [sym_comment] = ACTIONS(71), + }, + [555] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1669), + [anon_sym_PIPE] = ACTIONS(1669), + [anon_sym_PIPE_AMP] = ACTIONS(1669), + [anon_sym_AMP_AMP] = ACTIONS(1669), + [anon_sym_PIPE_PIPE] = ACTIONS(1669), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(1669), + [anon_sym_LF] = ACTIONS(1669), + [anon_sym_AMP] = ACTIONS(1669), + }, + [556] = { + [anon_sym_RBRACE] = ACTIONS(1672), + [sym_comment] = ACTIONS(71), + }, + [557] = { + [anon_sym_RBRACE] = ACTIONS(1674), + [sym_comment] = ACTIONS(71), + }, + [558] = { + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [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_LT] = ACTIONS(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(865), + [anon_sym_LF] = ACTIONS(865), + [anon_sym_AMP] = ACTIONS(865), + }, + [559] = { + [sym_file_redirect] = STATE(460), + [sym_heredoc_redirect] = STATE(460), + [sym_file_descriptor] = ACTIONS(1067), + [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(1084), + [anon_sym_GT] = ACTIONS(1084), + [anon_sym_GT_GT] = ACTIONS(1084), + [anon_sym_AMP_GT] = ACTIONS(1084), + [anon_sym_AMP_GT_GT] = ACTIONS(1084), + [anon_sym_LT_AMP] = ACTIONS(1084), + [anon_sym_GT_AMP] = ACTIONS(1084), + [anon_sym_LT_LT] = ACTIONS(1086), + [anon_sym_LT_LT_DASH] = ACTIONS(1086), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(867), + [anon_sym_LF] = ACTIONS(867), + [anon_sym_AMP] = ACTIONS(867), + }, + [560] = { + [anon_sym_RBRACE] = ACTIONS(1676), + [sym_comment] = ACTIONS(71), + }, + [561] = { + [anon_sym_RBRACE] = ACTIONS(1678), + [sym_comment] = ACTIONS(71), + }, + [562] = { + [anon_sym_RBRACE] = ACTIONS(1680), + [sym_comment] = ACTIONS(71), + }, + [563] = { + [anon_sym_RBRACE] = ACTIONS(1682), + [sym_comment] = ACTIONS(71), + }, + [564] = { + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_RBRACE] = ACTIONS(889), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [sym_leading_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [565] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_RBRACE] = ACTIONS(891), + [anon_sym_COLON] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), + [sym_single_quoted_argument] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [sym_leading_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), + }, + [566] = { + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_RPAREN] = ACTIONS(889), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_COLON] = 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_DQUOTE] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_leading_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [567] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(891), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_COLON] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), + [sym_single_quoted_argument] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_leading_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), + }, + [568] = { + [sym_file_descriptor] = ACTIONS(917), + [anon_sym_RPAREN] = ACTIONS(889), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_RBRACK] = ACTIONS(889), + [anon_sym_RBRACK_RBRACK] = 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_DQUOTE] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_DOLLAR] = ACTIONS(889), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [569] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(891), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_RBRACK] = ACTIONS(891), + [anon_sym_RBRACK_RBRACK] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), + [sym_single_quoted_argument] = ACTIONS(891), + [anon_sym_DOLLAR] = ACTIONS(891), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(891), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), + }, + [570] = { + [sym_file_descriptor] = ACTIONS(917), + [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_DQUOTE] = ACTIONS(889), + [sym_single_quoted_argument] = ACTIONS(889), + [anon_sym_DOLLAR] = ACTIONS(889), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(889), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(889), + [anon_sym_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_word] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [571] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(891), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_DQUOTE] = ACTIONS(891), + [sym_single_quoted_argument] = ACTIONS(891), + [anon_sym_DOLLAR] = ACTIONS(891), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(891), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_word] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), + }, + [572] = { + [sym_file_descriptor] = ACTIONS(917), + [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_LT] = ACTIONS(889), + [anon_sym_GT] = ACTIONS(889), + [anon_sym_GT_GT] = ACTIONS(889), + [anon_sym_AMP_GT] = ACTIONS(889), + [anon_sym_AMP_GT_GT] = ACTIONS(889), + [anon_sym_LT_AMP] = ACTIONS(889), + [anon_sym_GT_AMP] = ACTIONS(889), + [anon_sym_LT_LT] = ACTIONS(889), + [anon_sym_LT_LT_DASH] = ACTIONS(889), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [573] = { + [sym_file_descriptor] = ACTIONS(921), + [anon_sym_RPAREN] = ACTIONS(891), + [anon_sym_SEMI_SEMI] = ACTIONS(891), + [anon_sym_PIPE] = ACTIONS(891), + [anon_sym_PIPE_AMP] = ACTIONS(891), + [anon_sym_AMP_AMP] = ACTIONS(891), + [anon_sym_PIPE_PIPE] = ACTIONS(891), + [anon_sym_LT] = ACTIONS(891), + [anon_sym_GT] = ACTIONS(891), + [anon_sym_GT_GT] = ACTIONS(891), + [anon_sym_AMP_GT] = ACTIONS(891), + [anon_sym_AMP_GT_GT] = ACTIONS(891), + [anon_sym_LT_AMP] = ACTIONS(891), + [anon_sym_GT_AMP] = ACTIONS(891), + [anon_sym_LT_LT] = ACTIONS(891), + [anon_sym_LT_LT_DASH] = ACTIONS(891), + [sym_comment] = ACTIONS(145), + [anon_sym_SEMI] = ACTIONS(891), + [anon_sym_LF] = ACTIONS(891), + [anon_sym_AMP] = ACTIONS(891), }, }; static TSParseActionEntry ts_parse_actions[] = { [0] = {.count = 0, .reusable = false, .depends_on_lookahead = false}, - [1] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(372), - [3] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(373), - [5] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(374), - [7] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(375), - [9] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(376), + [1] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(385), + [3] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(386), + [5] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(387), + [7] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(388), + [9] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(389), [11] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(0), [13] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(3), - [15] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(71), - [17] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(358), + [15] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(74), + [17] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(370), [19] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(4), - [21] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(359), - [23] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(360), - [25] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(149), - [27] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(150), + [21] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(371), + [23] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(372), + [25] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(154), + [27] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(155), [29] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(5), - [31] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(361), - [33] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(362), - [35] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(363), + [31] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(373), + [33] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(374), + [35] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(375), [37] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(6), - [39] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(95), - [41] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(95), - [43] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(364), - [45] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(63), - [47] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(64), - [49] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(9), - [51] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(365), - [53] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(366), - [55] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(367), - [57] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(368), - [59] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(369), - [61] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(369), - [63] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(370), - [65] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(370), - [67] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT_EXTRA(), - [69] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(371), - [71] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(2), - [73] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 0), - [75] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(3), - [77] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(4), - [79] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(5), - [81] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(6), - [83] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(7), - [85] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(8), - [87] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(9), - [89] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(10), - [91] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(8), - [93] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(11), - [95] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(12), - [97] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(20), - [99] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(20), - [101] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(25), - [103] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(26), - [105] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(27), - [107] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(28), - [109] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(29), - [111] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(30), - [113] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(31), - [115] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(32), - [117] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(33), - [119] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(34), - [121] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(35), - [123] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(36), - [125] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(39), - [127] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), - [129] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(40), - [131] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(41), - [133] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(42), - [135] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT_EXTRA(), - [137] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(45), - [139] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(47), - [141] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(48), - [143] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(49), - [145] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(50), - [147] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(51), - [149] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(53), - [151] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(54), - [153] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(55), - [155] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(56), - [157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(57), - [159] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(58), - [161] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1, .rename_sequence_id = 1), - [163] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(59), - [165] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(60), - [167] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, ACCEPT_INPUT(), - [169] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), - [171] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), - [173] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), - [175] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(62), - [177] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(63), - [179] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(64), - [181] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), - [183] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), - [185] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1), - [187] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 1), - [189] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(66), - [191] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(66), - [193] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(67), - [195] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(69), - [197] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(70), - [199] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(71), - [201] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(73), - [203] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(74), - [205] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(75), - [207] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(77), - [209] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(78), - [211] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(79), - [213] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(80), - [215] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(81), - [217] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(82), - [219] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(83), - [221] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(82), - [223] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(84), - [225] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(87), - [227] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(88), - [229] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(89), - [231] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [233] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [235] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [237] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(91), - [239] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(92), - [241] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(93), - [243] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1, .rename_sequence_id = 2), - [245] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1, .rename_sequence_id = 2), - [247] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1, .rename_sequence_id = 2), - [249] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(95), - [251] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(96), - [253] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(97), - [255] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(98), - [257] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(98), - [259] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), - [261] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(99), - [263] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(100), - [265] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(101), - [267] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(102), - [269] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(103), - [271] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(104), - [273] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(107), - [275] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(108), - [277] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(109), - [279] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(110), - [281] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(111), - [283] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(112), - [285] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(113), - [287] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(114), - [289] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), - [291] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), - [293] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), - [295] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(117), - [297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), - [299] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), - [301] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_quoted_argument_repeat1, 1), - [303] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_quoted_argument_repeat1, 1), - [305] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(118), - [307] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(119), - [309] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(120), - [311] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(122), - [313] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(123), - [315] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(124), - [317] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), - [319] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2), - [321] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), - [323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(126), + [39] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(376), + [41] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(214), + [43] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(377), + [45] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(8), + [47] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(100), + [49] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(100), + [51] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(378), + [53] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(66), + [55] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(67), + [57] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(379), + [59] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(380), + [61] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(381), + [63] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(382), + [65] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(382), + [67] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(383), + [69] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(383), + [71] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT_EXTRA(), + [73] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(384), + [75] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(2), + [77] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 0), + [79] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(3), + [81] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(4), + [83] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(5), + [85] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(6), + [87] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(7), + [89] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(8), + [91] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(9), + [93] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(10), + [95] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(11), + [97] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(10), + [99] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(12), + [101] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(13), + [103] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(21), + [105] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(21), + [107] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(26), + [109] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(27), + [111] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(28), + [113] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(29), + [115] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(30), + [117] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(31), + [119] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(32), + [121] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(33), + [123] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(35), + [125] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(36), + [127] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(37), + [129] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(38), + [131] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(39), + [133] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(40), + [135] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(43), + [137] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), + [139] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(44), + [141] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(45), + [143] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(46), + [145] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT_EXTRA(), + [147] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(49), + [149] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(50), + [151] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(51), + [153] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(52), + [155] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(53), + [157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(55), + [159] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(56), + [161] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(57), + [163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(58), + [165] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(59), + [167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(60), + [169] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1, .rename_sequence_id = 1), + [171] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(61), + [173] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(62), + [175] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(63), + [177] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, ACCEPT_INPUT(), + [179] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), + [181] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), + [183] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), + [185] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(65), + [187] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(66), + [189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(67), + [191] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), + [193] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), + [195] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1), + [197] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 1), + [199] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(69), + [201] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(69), + [203] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(70), + [205] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(72), + [207] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(73), + [209] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(74), + [211] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(76), + [213] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(77), + [215] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(78), + [217] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(80), + [219] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(81), + [221] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(82), + [223] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(83), + [225] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(84), + [227] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(85), + [229] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(86), + [231] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(85), + [233] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(87), + [235] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(90), + [237] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(91), + [239] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(92), + [241] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), + [243] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(93), + [245] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(94), + [247] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [249] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [251] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [253] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(96), + [255] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(97), + [257] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(98), + [259] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1, .rename_sequence_id = 2), + [261] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1, .rename_sequence_id = 2), + [263] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1, .rename_sequence_id = 2), + [265] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(100), + [267] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(101), + [269] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(102), + [271] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(103), + [273] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(103), + [275] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), + [277] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(104), + [279] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(105), + [281] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(106), + [283] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(107), + [285] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(108), + [287] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(109), + [289] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(112), + [291] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(113), + [293] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(114), + [295] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(115), + [297] = {.count = 1, .reusable = true, .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 = true, .depends_on_lookahead = false}, SHIFT(119), + [305] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), + [307] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), + [309] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), + [311] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), + [313] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_quoted_argument_repeat1, 1), + [315] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_quoted_argument_repeat1, 1), + [317] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(122), + [319] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(123), + [321] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(124), + [323] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(126), [325] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(127), - [327] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(128), - [329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), - [331] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), - [333] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), - [335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 4), - [337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(132), - [339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(133), - [341] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(134), - [343] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(135), - [345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(136), - [347] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(137), - [349] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), - [351] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), - [353] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), - [355] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), - [357] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 2), - [359] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [327] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(128), + [329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), + [331] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2), + [333] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), + [335] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(130), + [337] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(131), + [339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(132), + [341] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), + [343] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), + [345] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), + [347] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(134), + [349] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 4), + [351] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(137), + [353] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(138), + [355] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(139), + [357] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(140), + [359] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(141), [361] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(142), - [363] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 5), - [365] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(143), - [367] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(144), - [369] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), - [371] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 2), - [373] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), - [375] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), - [377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3), - [379] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), - [381] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), - [383] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), - [385] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), - [387] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(146), - [389] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), - [391] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(148), - [393] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(149), - [395] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(150), - [397] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(155), - [399] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(156), - [401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(157), - [403] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), - [405] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2, .rename_sequence_id = 7), - [407] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(158), - [409] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(158), - [411] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(159), - [413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(160), - [415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(161), - [417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(162), - [419] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(163), - [421] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(166), - [423] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(168), - [425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(170), - [427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(171), - [429] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(171), - [431] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(172), - [433] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(173), - [435] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(174), - [437] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_quoted_argument, 2), - [439] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(175), - [441] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), - [443] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 2), - [445] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2, .rename_sequence_id = 7), - [447] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 2, .rename_sequence_id = 7), - [449] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(176), - [451] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(176), - [453] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(177), - [455] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(178), - [457] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), - [459] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [461] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [463] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [465] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2, .rename_sequence_id = 3), - [467] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2, .rename_sequence_id = 3), - [469] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2, .rename_sequence_id = 3), - [471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(179), - [473] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(180), - [475] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(181), - [477] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(183), - [479] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(184), - [481] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(185), - [483] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), - [485] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(187), - [487] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(188), - [489] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(190), - [491] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(192), - [493] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(193), - [495] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(194), - [497] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), - [499] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), - [501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(196), - [503] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(197), - [505] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(198), - [507] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(199), - [509] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), - [511] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), - [513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), - [515] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), - [517] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), - [519] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(201), - [521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(201), - [523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(202), - [525] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(203), - [527] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 3), - [529] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 3), - [531] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_quoted_argument_repeat1, 2), - [533] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_quoted_argument_repeat1, 2), - [535] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(204), - [537] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(205), - [539] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(205), - [541] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(206), - [543] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(207), - [545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 8), - [547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(209), - [549] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), - [551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), + [363] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), + [365] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), + [367] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), + [369] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [371] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 2), + [373] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [375] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(147), + [377] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 5), + [379] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(148), + [381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(149), + [383] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), + [385] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 2), + [387] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), + [389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), + [391] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3), + [393] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), + [395] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), + [397] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), + [399] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), + [401] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(151), + [403] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), + [405] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(153), + [407] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(154), + [409] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(155), + [411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(160), + [413] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(161), + [415] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(162), + [417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), + [419] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2, .rename_sequence_id = 7), + [421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(163), + [423] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(164), + [425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(164), + [427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(165), + [429] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(166), + [431] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(167), + [433] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(168), + [435] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(171), + [437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(173), + [439] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(175), + [441] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(176), + [443] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(176), + [445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(177), + [447] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(178), + [449] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(179), + [451] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(180), + [453] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), + [455] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_quoted_argument, 2), + [457] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(181), + [459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), + [461] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 2), + [463] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2, .rename_sequence_id = 7), + [465] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 2, .rename_sequence_id = 7), + [467] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(182), + [469] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(183), + [471] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(183), + [473] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(184), + [475] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), + [477] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [479] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [481] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [483] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2, .rename_sequence_id = 3), + [485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2, .rename_sequence_id = 3), + [487] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2, .rename_sequence_id = 3), + [489] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(185), + [491] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(186), + [493] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(187), + [495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(189), + [497] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(190), + [499] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(191), + [501] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), + [503] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(193), + [505] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(194), + [507] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(196), + [509] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(198), + [511] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(199), + [513] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(200), + [515] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), + [517] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), + [519] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(202), + [521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(203), + [523] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(204), + [525] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(205), + [527] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), + [529] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), + [531] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), + [533] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), + [535] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(207), + [537] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(208), + [539] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(208), + [541] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(209), + [543] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 3), + [545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 3), + [547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_quoted_argument_repeat1, 2), + [549] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_quoted_argument_repeat1, 2), + [551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(210), [553] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(211), [555] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(212), - [557] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(213), - [559] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 10), - [561] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 10), - [563] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), - [565] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), - [567] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 11), - [569] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(218), - [571] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(219), - [573] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), - [575] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(220), - [577] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), - [579] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 1), - [581] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), - [583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(223), - [585] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(223), - [587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(149), - [589] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(150), - [591] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(227), + [557] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(212), + [559] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(213), + [561] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(214), + [563] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 8), + [565] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(217), + [567] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), + [569] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), + [571] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(219), + [573] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(220), + [575] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(221), + [577] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 10), + [579] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 10), + [581] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), + [583] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), + [585] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 11), + [587] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(226), + [589] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(227), + [591] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), [593] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(228), - [595] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(229), - [597] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(232), - [599] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(233), - [601] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(234), - [603] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), - [605] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(235), - [607] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(235), - [609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2), - [611] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(236), - [613] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(237), - [615] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(238), - [617] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(239), - [619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(240), - [621] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(162), - [623] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(162), - [625] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(163), - [627] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(163), - [629] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(241), - [631] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(244), - [633] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(245), - [635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(246), - [637] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(247), - [639] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 1), - [641] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(250), - [643] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 4), - [645] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), - [647] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(253), - [649] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(254), - [651] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(256), - [653] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(258), - [655] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_quoted_argument, 3), - [657] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(259), - [659] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(260), - [661] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), - [663] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), - [665] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), - [667] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command_substitution, 3), - [669] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(261), - [671] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(262), - [673] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(262), - [675] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(263), - [677] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(264), - [679] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), - [681] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(265), - [683] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(266), - [685] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(266), - [687] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(267), - [689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(268), - [691] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), - [693] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), - [695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), - [697] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), - [699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(269), - [701] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(270), - [703] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(271), - [705] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(272), - [707] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(273), - [709] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(274), - [711] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(275), - [713] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(276), - [715] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(277), - [717] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 13), - [719] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(278), - [721] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(279), - [723] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(279), - [725] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(280), - [727] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(281), - [729] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 14), - [731] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), - [733] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 10), - [735] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), - [737] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(284), - [739] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), - [741] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), - [743] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(285), - [745] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 2), - [747] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), - [749] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(287), - [751] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(288), - [753] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), - [755] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), - [757] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), - [759] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(289), - [761] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(292), - [763] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(293), - [765] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(294), - [767] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(295), - [769] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(296), + [595] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), + [597] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 1), + [599] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), + [601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(231), + [603] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(231), + [605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(154), + [607] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(155), + [609] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(235), + [611] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(236), + [613] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(237), + [615] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(240), + [617] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), + [619] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(241), + [621] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(242), + [623] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(243), + [625] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(243), + [627] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2), + [629] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(244), + [631] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(245), + [633] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(246), + [635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(247), + [637] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(248), + [639] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(167), + [641] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(167), + [643] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(168), + [645] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(168), + [647] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(249), + [649] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(252), + [651] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(253), + [653] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(254), + [655] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(255), + [657] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 1), + [659] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(258), + [661] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 4), + [663] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), + [665] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(261), + [667] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(262), + [669] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(264), + [671] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(266), + [673] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_quoted_argument, 3), + [675] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), + [677] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), + [679] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(268), + [681] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(269), + [683] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), + [685] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command_substitution, 3), + [687] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(270), + [689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(271), + [691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(272), + [693] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(272), + [695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(273), + [697] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), + [699] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(274), + [701] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(275), + [703] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(276), + [705] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(276), + [707] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(277), + [709] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), + [711] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), + [713] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), + [715] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), + [717] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(278), + [719] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(279), + [721] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(280), + [723] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(281), + [725] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(282), + [727] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(283), + [729] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(284), + [731] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(285), + [733] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(286), + [735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(287), + [737] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 13), + [739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 13), + [741] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(289), + [743] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(290), + [745] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(291), + [747] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(291), + [749] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(292), + [751] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 14), + [753] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), + [755] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 10), + [757] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), + [759] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(295), + [761] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), + [763] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), + [765] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(296), + [767] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 2), + [769] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), [771] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(298), - [773] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(299), - [775] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(300), - [777] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3), - [779] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(302), - [781] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(303), - [783] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 1), - [785] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(305), - [787] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc_redirect, 2), - [789] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 2), - [791] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 8), - [793] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 11), - [795] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5, .rename_sequence_id = 15), + [773] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(299), + [775] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), + [777] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), + [779] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), + [781] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(300), + [783] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(303), + [785] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(304), + [787] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(305), + [789] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(306), + [791] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(307), + [793] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(309), + [795] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(310), [797] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(311), - [799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(313), - [801] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(314), - [803] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(315), - [805] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(316), - [807] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(317), - [809] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(318), - [811] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(319), - [813] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(319), - [815] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(320), - [817] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 2), - [819] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 2), - [821] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), - [823] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), - [825] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(321), - [827] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(322), - [829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(323), - [831] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(324), - [833] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(325), - [835] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(326), - [837] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5), - [839] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 16), - [841] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), - [843] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), - [845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(328), - [847] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(329), - [849] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(331), - [851] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), - [853] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 2), - [855] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), - [857] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), - [859] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(333), - [861] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), - [863] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), - [865] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(334), - [867] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(335), - [869] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(335), - [871] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(336), - [873] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(337), - [875] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4), - [877] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 2), - [879] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(338), - [881] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 13), - [883] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 14), - [885] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), - [887] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(341), - [889] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), - [891] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), - [893] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), - [895] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), - [897] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(342), - [899] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(343), - [901] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(344), - [903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(345), - [905] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(346), - [907] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(347), - [909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(348), - [911] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(349), - [913] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), - [915] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), - [917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), - [919] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), - [921] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), - [923] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(350), - [925] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3, .rename_sequence_id = 20), - [927] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3, .rename_sequence_id = 20), - [929] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3, .rename_sequence_id = 20), - [931] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(351), - [933] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), - [935] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(352), - [937] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(353), - [939] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 3), - [941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5), - [943] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 16), - [945] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), - [947] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(354), - [949] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(355), - [951] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), - [953] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), - [955] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), - [957] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4, .rename_sequence_id = 22), - [959] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4, .rename_sequence_id = 22), - [961] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4, .rename_sequence_id = 22), - [963] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(356), - [965] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(357), - [967] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), REDUCE(sym_do_group, 3), - [970] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(148), - [973] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(149), - [976] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(150), - [979] = {.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), - [984] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(399), - [986] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 5, .rename_sequence_id = 15), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), REDUCE(sym_case_statement, 7), REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), - [993] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(2), - [996] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_subshell, 3), REDUCE(sym_command_substitution, 3), SHIFT(400), - [1001] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(8), - [1004] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_subshell, 3), REDUCE(sym_command_substitution, 3), - [1008] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(9), - [1010] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(10), - [1013] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(11), - [1016] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(12), - [1019] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(402), - [1021] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), - [1024] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(403), - [1026] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(31), - [1028] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(404), - [1030] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(33), - [1032] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(34), - [1034] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(35), - [1036] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(405), - [1038] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(370), - [1040] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(406), - [1042] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(409), - [1044] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(410), - [1046] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), - [1049] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), - [1052] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(411), - [1056] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(48), - [1058] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(49), - [1062] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(50), - [1066] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(51), - [1070] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), SHIFT(412), - [1073] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), SHIFT(413), - [1076] = {.count = 3, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), - [1080] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), - [1084] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(414), - [1086] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(415), - [1088] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(416), - [1090] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(417), - [1092] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(418), - [1094] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(419), - [1096] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(372), - [1098] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(373), - [1100] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(420), - [1102] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(421), - [1104] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(31), - [1107] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(228), - [1110] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(422), - [1112] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), - [1115] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), - [1118] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), - [1121] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), - [1124] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(423), - [1126] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(423), - [1128] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1131] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1134] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(71), - [1136] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(359), - [1138] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1141] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(62), - [1145] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(63), - [1149] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(64), - [1153] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), REDUCE(aux_sym_if_statement_repeat1, 2), - [1156] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(424), - [1158] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1161] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1164] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(425), - [1169] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(62), - [1173] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(63), - [1177] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(64), - [1181] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), - [1184] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), - [1187] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(402), - [1194] = {.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_file_redirect, 3), SHIFT(287), - [1202] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(78), - [1211] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), - [1214] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), REDUCE(sym_file_redirect, 3), - [1218] = {.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 = 9), REDUCE(sym_file_redirect, 3), - [1226] = {.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 = 9), REDUCE(sym_file_redirect, 3), - [1232] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(426), - [1234] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(405), - [1241] = {.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(370), - [1247] = {.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 = 9), REDUCE(sym_file_redirect, 3), - [1253] = {.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(287), - [1259] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(78), - [1266] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_quoted_argument_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), REDUCE(sym_file_redirect, 3), - [1274] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 2), - [1277] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_quoted_argument_repeat1, 2), REDUCE(aux_sym_heredoc_repeat1, 2), - [1284] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_quoted_argument_repeat1, 2), - [1289] = {.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), - [1294] = {.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), - [1299] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), - [1302] = {.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), - [1307] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), - [1310] = {.count = 3, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), REDUCE(sym_elif_clause, 4), SHIFT(223), - [1314] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(149), - [1317] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(150), - [1320] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(427), - [1322] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(428), - [1324] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(430), - [1326] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 8), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 14), - [1331] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(95), - [1333] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(431), - [1335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(432), - [1337] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(433), - [1339] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(434), - [1341] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(435), - [1343] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(436), - [1345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(438), - [1347] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(439), - [1349] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(438), - [1351] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(440), - [1353] = {.count = 10, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 2, .rename_sequence_id = 4), REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 11), REDUCE(sym_command, 3, .rename_sequence_id = 8), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 14), REDUCE(sym_command, 4, .rename_sequence_id = 13), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 16), - [1364] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(442), - [1366] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(443), - [1368] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(223), - [1371] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), REDUCE(sym_case_item, 3, .rename_sequence_id = 20), - [1374] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), REDUCE(sym_case_item, 3, .rename_sequence_id = 20), - [1377] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), REDUCE(sym_case_item, 3, .rename_sequence_id = 20), - [1380] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(444), - [1382] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(444), - [1384] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 3), - [1387] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(445), - [1389] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(446), - [1391] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(447), - [1393] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(448), - [1395] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(449), - [1397] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(450), - [1399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(426), - [1401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(453), - [1403] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(454), - [1405] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(455), - [1407] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(456), - [1409] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(457), - [1411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(458), - [1413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(459), - [1415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(459), - [1417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(460), - [1419] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), - [1422] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), - [1425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(462), - [1427] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(463), - [1429] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(464), - [1431] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), - [1434] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), - [1437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(466), - [1439] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 5, .rename_sequence_id = 15), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), - [1444] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(467), + [799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3), + [801] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(313), + [803] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(314), + [805] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 1), + [807] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(316), + [809] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc_redirect, 2), + [811] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 2), + [813] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 8), + [815] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 11), + [817] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5, .rename_sequence_id = 15), + [819] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(322), + [821] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 16), + [823] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(324), + [825] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(325), + [827] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(326), + [829] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(327), + [831] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(328), + [833] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(329), + [835] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(330), + [837] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(331), + [839] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(331), + [841] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 2), + [843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 2), + [845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), + [847] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), + [849] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(332), + [851] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(333), + [853] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(334), + [855] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(335), + [857] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_command, 2), + [859] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(336), + [861] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(337), + [863] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(338), + [865] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5), + [867] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 16), + [869] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), + [871] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), + [873] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(340), + [875] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(341), + [877] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(343), + [879] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), + [881] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 2), + [883] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), + [885] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), + [887] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(345), + [889] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), + [891] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), + [893] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(346), + [895] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(347), + [897] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(348), + [899] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(348), + [901] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(349), + [903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4), + [905] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 2), + [907] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(350), + [909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 13), + [911] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 14), + [913] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), + [915] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(353), + [917] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), + [919] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), + [921] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), + [923] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), + [925] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(354), + [927] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(355), + [929] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(356), + [931] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(357), + [933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(358), + [935] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(359), + [937] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_command, 3), + [939] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(360), + [941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(361), + [943] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), + [945] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), + [947] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), + [949] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), + [951] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), + [953] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(362), + [955] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3, .rename_sequence_id = 20), + [957] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3, .rename_sequence_id = 20), + [959] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3, .rename_sequence_id = 20), + [961] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(363), + [963] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), + [965] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(364), + [967] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(365), + [969] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 3), + [971] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5), + [973] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 16), + [975] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), + [977] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(366), + [979] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(367), + [981] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), + [983] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), + [985] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), + [987] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4, .rename_sequence_id = 22), + [989] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4, .rename_sequence_id = 22), + [991] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4, .rename_sequence_id = 22), + [993] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(368), + [995] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(369), + [997] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), REDUCE(sym_do_group, 3), + [1000] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(153), + [1003] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(154), + [1006] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(155), + [1009] = {.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), + [1014] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(413), + [1016] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 5, .rename_sequence_id = 15), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), REDUCE(sym_case_statement, 7), REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), + [1023] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(2), + [1026] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_subshell, 3), REDUCE(sym_command_substitution, 3), SHIFT(414), + [1031] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(7), + [1033] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(214), + [1035] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(10), + [1038] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_subshell, 3), REDUCE(sym_command_substitution, 3), + [1042] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(11), + [1045] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(12), + [1048] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(13), + [1051] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(416), + [1053] = {.count = 3, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), + [1057] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), + [1061] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_command, 2), REDUCE(sym_compound_command, 3), REDUCE(sym_operator_expansion, 3, .rename_sequence_id = 12), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 17), REDUCE(sym_operator_expansion, 5, .rename_sequence_id = 18), + [1067] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(417), + [1069] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), + [1072] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(418), + [1074] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(35), + [1076] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(419), + [1078] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(37), + [1080] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(38), + [1082] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(39), + [1084] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(420), + [1086] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(383), + [1088] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(421), + [1090] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(424), + [1092] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(425), + [1094] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(426), + [1096] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(427), + [1098] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(428), + [1100] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(429), + [1102] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), + [1105] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), + [1108] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(430), + [1112] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(50), + [1114] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(51), + [1118] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(52), + [1122] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_quoted_argument, 2), REDUCE(sym_quoted_argument, 3), SHIFT(53), + [1126] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), SHIFT(431), + [1129] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 2), SHIFT(432), + [1132] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(433), + [1134] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(434), + [1136] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(435), + [1138] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(436), + [1140] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(437), + [1142] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(438), + [1144] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(385), + [1146] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(386), + [1148] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(439), + [1150] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(440), + [1152] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(35), + [1155] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(236), + [1158] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(441), + [1160] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), + [1163] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), + [1166] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), + [1169] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), + [1172] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(442), + [1174] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(442), + [1176] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [1179] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [1182] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(74), + [1184] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(371), + [1186] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [1189] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(65), + [1193] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(66), + [1197] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(67), + [1201] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), REDUCE(aux_sym_if_statement_repeat1, 2), + [1204] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(443), + [1206] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [1209] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [1212] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [1215] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 13), REDUCE(sym_function_definition, 5, .rename_sequence_id = 16), + [1218] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(444), + [1220] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(65), + [1224] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(66), + [1228] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(67), + [1232] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), + [1235] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), + [1238] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(417), + [1245] = {.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_file_redirect, 3), SHIFT(298), + [1253] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(81), + [1262] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(445), + [1264] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), + [1267] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), REDUCE(sym_file_redirect, 3), + [1271] = {.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 = 9), REDUCE(sym_file_redirect, 3), + [1279] = {.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 = 9), REDUCE(sym_file_redirect, 3), + [1285] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(420), + [1292] = {.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(383), + [1298] = {.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 = 9), REDUCE(sym_file_redirect, 3), + [1304] = {.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(298), + [1310] = {.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 = 9), REDUCE(sym_file_redirect, 3), SHIFT(81), + [1317] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_quoted_argument_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 9), REDUCE(sym_file_redirect, 3), + [1325] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 2), + [1328] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_quoted_argument_repeat1, 2), REDUCE(aux_sym_heredoc_repeat1, 2), + [1335] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_quoted_argument_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_quoted_argument_repeat1, 2), + [1340] = {.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), + [1345] = {.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), + [1350] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), + [1353] = {.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), + [1358] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), + [1361] = {.count = 3, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), REDUCE(sym_elif_clause, 4), SHIFT(231), + [1365] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(154), + [1368] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(155), + [1371] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(446), + [1373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(447), + [1375] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(449), + [1377] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 8), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 14), + [1382] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(100), + [1384] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(450), + [1386] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(451), + [1388] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(452), + [1390] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(453), + [1392] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(454), + [1394] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(455), + [1396] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(457), + [1398] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(458), + [1400] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(457), + [1402] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(459), + [1404] = {.count = 10, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 2, .rename_sequence_id = 4), REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 11), REDUCE(sym_command, 3, .rename_sequence_id = 8), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 14), REDUCE(sym_command, 4, .rename_sequence_id = 13), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 16), + [1415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(461), + [1417] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(462), + [1419] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(231), + [1422] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), REDUCE(sym_case_item, 3, .rename_sequence_id = 20), + [1425] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), REDUCE(sym_case_item, 3, .rename_sequence_id = 20), + [1428] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), REDUCE(sym_case_item, 3, .rename_sequence_id = 20), + [1431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(463), + [1433] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(463), + [1435] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 3), + [1438] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(464), + [1440] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(465), + [1442] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(466), + [1444] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(467), [1446] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(468), - [1448] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [1452] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), REDUCE(sym_case_item, 4, .rename_sequence_id = 22), - [1455] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), REDUCE(sym_case_item, 4, .rename_sequence_id = 22), - [1458] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), REDUCE(sym_case_item, 4, .rename_sequence_id = 22), - [1461] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), - [1464] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(469), - [1466] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), REDUCE(sym_case_statement, 7), REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), - [1471] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(470), - [1473] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(472), - [1475] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(473), - [1477] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(474), - [1479] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 13), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 16), - [1484] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(476), - [1486] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(478), - [1488] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(480), - [1490] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(482), - [1492] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(483), - [1494] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(484), - [1496] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(486), - [1498] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(487), - [1500] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(488), - [1502] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 4), - [1505] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(490), - [1507] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(491), - [1509] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(493), - [1511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(495), - [1513] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(496), - [1515] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(497), - [1517] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(499), - [1519] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(500), - [1521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(500), - [1523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(501), - [1525] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(502), - [1527] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(503), - [1529] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [1532] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(505), - [1534] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(506), - [1536] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(506), - [1538] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(507), - [1540] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(508), - [1542] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(511), - [1544] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(514), - [1546] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(515), - [1548] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(515), - [1550] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(516), - [1552] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(517), - [1554] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 5), - [1557] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(518), - [1559] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(519), - [1561] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(519), - [1563] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(520), - [1565] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(521), - [1567] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(522), - [1569] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(523), - [1571] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), - [1574] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(524), - [1576] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(525), - [1578] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(526), - [1580] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(529), - [1582] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(530), - [1584] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(531), - [1586] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(532), - [1588] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(533), - [1590] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(534), - [1592] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), - [1595] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(535), - [1597] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(536), - [1599] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(537), - [1601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(538), - [1603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(539), - [1605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(540), + [1448] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(469), + [1450] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(445), + [1452] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(472), + [1454] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(473), + [1456] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(474), + [1458] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(475), + [1460] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(476), + [1462] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(477), + [1464] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(478), + [1466] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(479), + [1468] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(481), + [1470] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(482), + [1472] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(483), + [1474] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(478), + [1476] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(485), + [1478] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), + [1481] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), + [1484] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(487), + [1486] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(488), + [1488] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(489), + [1490] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), + [1493] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2, .rename_sequence_id = 3), REDUCE(sym_file_redirect, 3, .rename_sequence_id = 6), + [1496] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(491), + [1498] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 5, .rename_sequence_id = 15), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), + [1503] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(492), + [1505] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(493), + [1507] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [1511] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), REDUCE(sym_case_item, 4, .rename_sequence_id = 22), + [1514] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), REDUCE(sym_case_item, 4, .rename_sequence_id = 22), + [1517] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), REDUCE(sym_case_item, 4, .rename_sequence_id = 22), + [1520] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), + [1523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(494), + [1525] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), REDUCE(sym_case_statement, 7), REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), + [1530] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(495), + [1532] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(497), + [1534] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(498), + [1536] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(499), + [1538] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 13), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 16), + [1543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(501), + [1545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(503), + [1547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(505), + [1549] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(507), + [1551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(508), + [1553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(509), + [1555] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(511), + [1557] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(512), + [1559] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(513), + [1561] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 4), + [1564] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(515), + [1566] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(516), + [1568] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(518), + [1570] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(520), + [1572] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(521), + [1574] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(522), + [1576] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(524), + [1578] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(525), + [1580] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(526), + [1582] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(526), + [1584] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(527), + [1586] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(528), + [1588] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(529), + [1590] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(530), + [1592] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(530), + [1594] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(531), + [1596] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(532), + [1598] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [1601] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(534), + [1603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(535), + [1605] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(536), + [1607] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(536), + [1609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(537), + [1611] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(540), + [1613] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(543), + [1615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(544), + [1617] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(545), + [1619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(545), + [1621] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(546), + [1623] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 5), + [1626] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(547), + [1628] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(548), + [1630] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(549), + [1632] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(549), + [1634] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(550), + [1636] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(551), + [1638] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(552), + [1640] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(553), + [1642] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(554), + [1644] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 6, .rename_sequence_id = 19), + [1647] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(555), + [1649] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(556), + [1651] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(557), + [1653] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(560), + [1655] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(561), + [1657] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(562), + [1659] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(563), + [1661] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(564), + [1663] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(565), + [1665] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(566), + [1667] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(567), + [1669] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), REDUCE(sym_case_statement, 7, .rename_sequence_id = 21), + [1672] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(568), + [1674] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(569), + [1676] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(570), + [1678] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(571), + [1680] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(572), + [1682] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(573), }; void *tree_sitter_bash_external_scanner_create();