From 3abfbbd7bd8206bc7de6845f63b3483b8889f47d Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Sat, 15 Jul 2017 22:41:56 -0700 Subject: [PATCH] Handle strings containing command substitutions --- corpus/expressions.txt | 16 + grammar.js | 15 +- src/grammar.json | 64 +- src/parser.c | 54418 +++++++++++++++++++++------------------ 4 files changed, 29754 insertions(+), 24759 deletions(-) diff --git a/corpus/expressions.txt b/corpus/expressions.txt index fba7209..9f556dc 100644 --- a/corpus/expressions.txt +++ b/corpus/expressions.txt @@ -120,3 +120,19 @@ echo "a ${b} c" "d $e" (command (command_name) (string (expansion (variable_name))) (string (simple_expansion (variable_name))))) + +========================================= +Strings containing command substitutions +========================================= + +find "`dirname $file`" -name "$base"'*' + +--- + +(program + (command + (command_name) + (string (command_substitution (command (command_name) (simple_expansion (variable_name))))) + (word) + (string (simple_expansion (variable_name))) + (raw_string))) diff --git a/grammar.js b/grammar.js index 27231bb..f6cd90b 100644 --- a/grammar.js +++ b/grammar.js @@ -131,7 +131,7 @@ module.exports = grammar({ $._statement )), - list: $ => prec.left(seq( + list: $ => prec.left(-1, seq( $._statement, choice('&&', '||'), $._statement @@ -204,6 +204,7 @@ module.exports = grammar({ _expression: $ => choice( $.word, $.string, + $.array, $.raw_string, $.expansion, $.simple_expansion, @@ -214,7 +215,7 @@ module.exports = grammar({ string: $ => seq( '"', repeat(choice( - /[^"$]+/, + /[^"`$]+/, $.expansion, $.simple_expansion, $.command_substitution @@ -222,6 +223,12 @@ module.exports = grammar({ '"' ), + array: $ => seq( + '(', + repeat($.word), + ')' + ), + raw_string: $ => /'[^']*'/, simple_expansion: $ => seq( @@ -248,8 +255,8 @@ module.exports = grammar({ ), command_substitution: $ => choice( - seq('$(', $.command, ')'), - seq('`', $.command, '`') + seq('$(', $._statement, ')'), + prec(1, seq('`', $._statement, '`')) ), process_substitution: $ => seq( diff --git a/src/grammar.json b/src/grammar.json index 82f6660..83fec45 100644 --- a/src/grammar.json +++ b/src/grammar.json @@ -396,7 +396,7 @@ }, "list": { "type": "PREC_LEFT", - "value": 0, + "value": -1, "content": { "type": "SEQ", "members": [ @@ -727,6 +727,10 @@ "type": "SYMBOL", "name": "string" }, + { + "type": "SYMBOL", + "name": "array" + }, { "type": "SYMBOL", "name": "raw_string" @@ -763,7 +767,7 @@ "members": [ { "type": "PATTERN", - "value": "[^\"$]+" + "value": "[^\"`$]+" }, { "type": "SYMBOL", @@ -786,6 +790,26 @@ } ] }, + "array": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "(" + }, + { + "type": "REPEAT", + "content": { + "type": "SYMBOL", + "name": "word" + } + }, + { + "type": "STRING", + "value": ")" + } + ] + }, "raw_string": { "type": "PATTERN", "value": "'[^']*'" @@ -900,7 +924,7 @@ }, { "type": "SYMBOL", - "name": "command" + "name": "_statement" }, { "type": "STRING", @@ -909,21 +933,25 @@ ] }, { - "type": "SEQ", - "members": [ - { - "type": "STRING", - "value": "`" - }, - { - "type": "SYMBOL", - "name": "command" - }, - { - "type": "STRING", - "value": "`" - } - ] + "type": "PREC", + "value": 1, + "content": { + "type": "SEQ", + "members": [ + { + "type": "STRING", + "value": "`" + }, + { + "type": "SYMBOL", + "name": "_statement" + }, + { + "type": "STRING", + "value": "`" + } + ] + } } ] }, diff --git a/src/parser.c b/src/parser.c index de0ebef..9d57053 100644 --- a/src/parser.c +++ b/src/parser.c @@ -4,8 +4,8 @@ #pragma GCC diagnostic ignored "-Wmissing-field-initializers" #define LANGUAGE_VERSION 3 -#define STATE_COUNT 1015 -#define SYMBOL_COUNT 104 +#define STATE_COUNT 1172 +#define SYMBOL_COUNT 106 #define TOKEN_COUNT 69 #define EXTERNAL_TOKEN_COUNT 6 #define MAX_RENAME_SEQUENCE_LENGTH 5 @@ -56,7 +56,7 @@ enum { anon_sym_LT_LT = 43, anon_sym_LT_LT_DASH = 44, anon_sym_DQUOTE = 45, - aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH = 46, + aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH = 46, sym_raw_string = 47, anon_sym_DOLLAR = 48, anon_sym_DOLLAR_LBRACE = 49, @@ -101,22 +101,24 @@ enum { sym_heredoc_redirect = 88, sym_heredoc = 89, sym_string = 90, - sym_simple_expansion = 91, - sym_expansion = 92, - sym_command_substitution = 93, - sym_process_substitution = 94, - sym_special_variable_name = 95, - aux_sym_program_repeat1 = 96, - aux_sym_if_statement_repeat1 = 97, - aux_sym_case_statement_repeat1 = 98, - aux_sym_bracket_command_repeat1 = 99, - aux_sym_command_repeat1 = 100, - aux_sym_command_repeat2 = 101, - aux_sym_heredoc_repeat1 = 102, - aux_sym_string_repeat1 = 103, - rename_sym_1 = 104, - rename_sym_command_name = 105, - rename_sym_variable_name = 106, + sym_array = 91, + sym_simple_expansion = 92, + sym_expansion = 93, + sym_command_substitution = 94, + sym_process_substitution = 95, + sym_special_variable_name = 96, + aux_sym_program_repeat1 = 97, + aux_sym_if_statement_repeat1 = 98, + aux_sym_case_statement_repeat1 = 99, + aux_sym_bracket_command_repeat1 = 100, + aux_sym_command_repeat1 = 101, + aux_sym_command_repeat2 = 102, + aux_sym_heredoc_repeat1 = 103, + aux_sym_string_repeat1 = 104, + aux_sym_array_repeat1 = 105, + rename_sym_1 = 106, + rename_sym_command_name = 107, + rename_sym_variable_name = 108, }; static const char *ts_symbol_names[] = { @@ -166,7 +168,7 @@ static const char *ts_symbol_names[] = { [anon_sym_LT_LT] = "<<", [anon_sym_LT_LT_DASH] = "<<-", [anon_sym_DQUOTE] = "\"", - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = "/[^\"$]+/", + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = "/[^\"`$]+/", [sym_raw_string] = "raw_string", [anon_sym_DOLLAR] = "$", [anon_sym_DOLLAR_LBRACE] = "${", @@ -211,6 +213,7 @@ static const char *ts_symbol_names[] = { [sym_heredoc_redirect] = "heredoc_redirect", [sym_heredoc] = "heredoc", [sym_string] = "string", + [sym_array] = "array", [sym_simple_expansion] = "simple_expansion", [sym_expansion] = "expansion", [sym_command_substitution] = "command_substitution", @@ -224,6 +227,7 @@ static const char *ts_symbol_names[] = { [aux_sym_command_repeat2] = "command_repeat2", [aux_sym_heredoc_repeat1] = "heredoc_repeat1", [aux_sym_string_repeat1] = "string_repeat1", + [aux_sym_array_repeat1] = "array_repeat1", [rename_sym_1] = "", [rename_sym_command_name] = "command_name", [rename_sym_variable_name] = "variable_name", @@ -506,7 +510,7 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = { + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = { .visible = false, .named = false, .structural = true, @@ -776,6 +780,12 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, + [sym_array] = { + .visible = true, + .named = true, + .structural = true, + .extra = false, + }, [sym_simple_expansion] = { .visible = true, .named = true, @@ -854,6 +864,12 @@ static const TSSymbolMetadata ts_symbol_metadata[SYMBOL_COUNT] = { .structural = true, .extra = false, }, + [aux_sym_array_repeat1] = { + .visible = false, + .named = false, + .structural = true, + .extra = false, + }, }; static TSSymbol ts_rename_sequences[13][MAX_RENAME_SEQUENCE_LENGTH] = { @@ -2162,6 +2178,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(124); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == '<') ADVANCE(128); if (lookahead == '>') @@ -2416,7 +2434,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '\\') ADVANCE(151); if (lookahead == '`') - ADVANCE(153); + ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || @@ -2426,94 +2444,53 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(150); END_STATE(); case 149: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') ADVANCE(150); if (lookahead == '\"' || - lookahead == '$') + lookahead == '$' || + lookahead == '`') ADVANCE(5); if (lookahead != 0) ADVANCE(149); END_STATE(); case 150: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead != 0 && lookahead != '\"' && - lookahead != '$') + lookahead != '$' && + lookahead != '`') ADVANCE(150); END_STATE(); case 151: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '\n') ADVANCE(152); if (lookahead != 0 && lookahead != '\"' && - lookahead != '$') + lookahead != '$' && + lookahead != '`') ADVANCE(150); END_STATE(); case 152: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); if (lookahead == '#') ADVANCE(149); if (lookahead == '\\') ADVANCE(151); - if (lookahead == '`') - ADVANCE(153); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') ADVANCE(152); if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') ADVANCE(150); END_STATE(); case 153: - ACCEPT_TOKEN(anon_sym_BQUOTE); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 154: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(77); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(155); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(154); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 155: if (lookahead == '\n') - SKIP(154); - END_STATE(); - case 156: - if (lookahead == '\n') - ADVANCE(157); + ADVANCE(154); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -2529,54 +2506,54 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(159); + SKIP(156); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(158); + ADVANCE(155); END_STATE(); - case 157: + case 154: ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(157); + ADVANCE(154); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(158); + ADVANCE(155); END_STATE(); - case 158: + case 155: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(157); + ADVANCE(154); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(158); + ADVANCE(155); END_STATE(); - case 159: + case 156: if (lookahead == '\n') - SKIP(156); + SKIP(153); END_STATE(); - case 160: + case 157: if (lookahead == 0) ADVANCE(1); if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(161); + SKIP(158); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(160); + SKIP(157); END_STATE(); - case 161: + case 158: if (lookahead == '\n') - SKIP(160); + SKIP(157); END_STATE(); - case 162: + case 159: if (lookahead == 0) ADVANCE(1); if (lookahead == '\"') @@ -2596,7 +2573,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ':') ADVANCE(13); if (lookahead == ';') - ADVANCE(163); + ADVANCE(160); if (lookahead == '<') ADVANCE(84); if (lookahead == '>') @@ -2604,17 +2581,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '[') ADVANCE(89); if (lookahead == '\\') - SKIP(164); + SKIP(161); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') ADVANCE(92); if (lookahead == 'd') - ADVANCE(165); + ADVANCE(162); if (lookahead == 'e') - ADVANCE(169); + ADVANCE(166); if (lookahead == 'f') - ADVANCE(175); + ADVANCE(172); if (lookahead == 'i') ADVANCE(106); if (lookahead == 'w') @@ -2625,23 +2602,84 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(162); + SKIP(159); if ((lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 163: + case 160: if (lookahead == ';') ADVANCE(141); END_STATE(); - case 164: + case 161: if (lookahead == '\n') - SKIP(162); + SKIP(159); END_STATE(); - case 165: + case 162: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'o') - ADVANCE(166); + ADVANCE(163); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 163: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(164); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 164: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(165); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 165: + ACCEPT_TOKEN(anon_sym_done); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2661,7 +2699,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 166: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') + if (lookahead == 'l') ADVANCE(167); if (lookahead != 0 && lookahead != '\t' && @@ -2682,8 +2720,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 167: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') + if (lookahead == 'i') ADVANCE(168); + if (lookahead == 's') + ADVANCE(170); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2702,7 +2742,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(76); END_STATE(); case 168: - ACCEPT_TOKEN(anon_sym_done); + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(169); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2721,9 +2763,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(76); END_STATE(); case 169: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'l') - ADVANCE(170); + ACCEPT_TOKEN(anon_sym_elif); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2743,10 +2783,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { END_STATE(); case 170: ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') + if (lookahead == 'e') ADVANCE(171); - if (lookahead == 's') - ADVANCE(173); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -2765,67 +2803,6 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(76); END_STATE(); case 171: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') - ADVANCE(172); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 172: - ACCEPT_TOKEN(anon_sym_elif); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 173: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(174); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 174: ACCEPT_TOKEN(anon_sym_else); if (lookahead != 0 && lookahead != '\t' && @@ -2844,10 +2821,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 175: + case 172: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(176); + ADVANCE(173); if (lookahead == 'o') ADVANCE(97); if (lookahead == 'u') @@ -2869,7 +2846,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 176: + case 173: ACCEPT_TOKEN(anon_sym_fi); if (lookahead != 0 && lookahead != '\t' && @@ -2888,39 +2865,39 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 177: + case 174: if (lookahead == '\n') - ADVANCE(178); + ADVANCE(175); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') - ADVANCE(179); + ADVANCE(176); if (lookahead == ';') ADVANCE(140); if (lookahead == '\\') - SKIP(180); + SKIP(177); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(177); + SKIP(174); END_STATE(); - case 178: + case 175: ACCEPT_TOKEN(anon_sym_LF); END_STATE(); - case 179: + case 176: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '&') ADVANCE(139); END_STATE(); - case 180: + case 177: if (lookahead == '\n') - SKIP(177); + SKIP(174); END_STATE(); - case 181: + case 178: if (lookahead == '\n') - ADVANCE(178); + ADVANCE(175); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -2928,7 +2905,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '$') ADVANCE(74); if (lookahead == '&') - ADVANCE(182); + ADVANCE(179); if (lookahead == '\'') ADVANCE(80); if (lookahead == ':') @@ -2940,7 +2917,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(86); if (lookahead == '\\') - SKIP(184); + SKIP(181); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -2948,17 +2925,17 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(181); + SKIP(178); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 182: + case 179: ACCEPT_TOKEN(anon_sym_AMP); if (lookahead == '&') - ADVANCE(183); + ADVANCE(180); if (lookahead == '>') ADVANCE(78); if (lookahead != 0 && @@ -2979,7 +2956,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 183: + case 180: ACCEPT_TOKEN(anon_sym_AMP_AMP); if (lookahead != 0 && lookahead != '\t' && @@ -2998,92 +2975,157 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 184: + case 181: if (lookahead == '\n') - SKIP(181); + SKIP(178); END_STATE(); - case 185: + case 182: + if (lookahead == '\"') + ADVANCE(3); if (lookahead == '#') ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(77); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); if (lookahead == '\\') - SKIP(186); - if (lookahead == 'i') - ADVANCE(187); + SKIP(183); + if (lookahead == '`') + ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') + SKIP(182); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 183: + if (lookahead == '\n') + SKIP(182); + END_STATE(); + case 184: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') SKIP(185); + if (lookahead == 'i') + ADVANCE(186); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(184); + END_STATE(); + case 185: + if (lookahead == '\n') + SKIP(184); END_STATE(); case 186: - if (lookahead == '\n') - SKIP(185); - END_STATE(); - case 187: if (lookahead == 'n') ADVANCE(59); END_STATE(); - case 188: + case 187: if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(189); + SKIP(188); if (lookahead == 'd') - ADVANCE(190); + ADVANCE(189); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(188); + SKIP(187); + END_STATE(); + case 188: + if (lookahead == '\n') + SKIP(187); END_STATE(); case 189: - if (lookahead == '\n') - SKIP(188); + if (lookahead == 'o') + ADVANCE(190); END_STATE(); case 190: - if (lookahead == 'o') - ADVANCE(191); - END_STATE(); - case 191: ACCEPT_TOKEN(anon_sym_do); END_STATE(); - case 192: + case 191: if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(193); + SKIP(192); if (lookahead == 't') ADVANCE(60); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(192); + SKIP(191); + END_STATE(); + case 192: + if (lookahead == '\n') + SKIP(191); END_STATE(); case 193: - if (lookahead == '\n') - SKIP(192); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '\\') + SKIP(194); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(193); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '&' && + lookahead != '(' && + lookahead != ')' && + lookahead != ';' && + lookahead != '<' && + lookahead != '>' && + lookahead != '`' && + lookahead != '{' && + lookahead != '}') + ADVANCE(120); END_STATE(); case 194: + if (lookahead == '\n') + SKIP(193); + END_STATE(); + case 195: if (lookahead == '#') ADVANCE(5); if (lookahead == '(') ADVANCE(8); if (lookahead == '\\') - SKIP(195); + SKIP(196); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(194); - END_STATE(); - case 195: - if (lookahead == '\n') - SKIP(194); + SKIP(195); END_STATE(); case 196: if (lookahead == '\n') - ADVANCE(178); + SKIP(195); + END_STATE(); + case 197: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -3091,19 +3133,19 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == ';') ADVANCE(140); if (lookahead == '\\') - SKIP(197); + SKIP(198); if (lookahead == 'i') - ADVANCE(187); + ADVANCE(186); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(196); - END_STATE(); - case 197: - if (lookahead == '\n') - SKIP(196); + SKIP(197); END_STATE(); case 198: + if (lookahead == '\n') + SKIP(197); + END_STATE(); + case 199: if (lookahead == '!') ADVANCE(2); if (lookahead == '#') @@ -3115,79 +3157,79 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '-') ADVANCE(11); if (lookahead == '0') - ADVANCE(199); + ADVANCE(200); if (lookahead == '?') ADVANCE(21); if (lookahead == '@') ADVANCE(22); if (lookahead == '\\') - SKIP(201); + SKIP(202); if (lookahead == '_') - ADVANCE(202); + ADVANCE(203); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(198); + SKIP(199); if (('1' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(200); + ADVANCE(201); END_STATE(); - case 199: + case 200: ACCEPT_TOKEN(anon_sym_0); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(200); + ADVANCE(201); END_STATE(); - case 200: + case 201: ACCEPT_TOKEN(sym_simple_variable_name); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(200); - END_STATE(); - case 201: - if (lookahead == '\n') - SKIP(198); + ADVANCE(201); END_STATE(); case 202: + if (lookahead == '\n') + SKIP(199); + END_STATE(); + case 203: ACCEPT_TOKEN(anon_sym__); if (('0' <= lookahead && lookahead <= '9') || ('A' <= lookahead && lookahead <= 'Z') || lookahead == '_' || ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(200); + ADVANCE(201); END_STATE(); - case 203: + case 204: if (lookahead == '!') - ADVANCE(204); + ADVANCE(205); if (lookahead == '#') ADVANCE(4); if (lookahead == '$') - ADVANCE(205); - if (lookahead == '*') ADVANCE(206); - if (lookahead == '-') + if (lookahead == '*') ADVANCE(207); - if (lookahead == '0') + if (lookahead == '-') ADVANCE(208); - if (lookahead == '?') + if (lookahead == '0') ADVANCE(209); - if (lookahead == '@') + if (lookahead == '?') ADVANCE(210); + if (lookahead == '@') + ADVANCE(211); if (lookahead == '\\') - SKIP(211); + SKIP(212); if (lookahead == '_') - ADVANCE(212); + ADVANCE(213); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(203); + SKIP(204); if (lookahead != 0 && (lookahead < ' ' || lookahead > '$') && (lookahead < '(' || lookahead > '*') && @@ -3199,7 +3241,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 204: + case 205: ACCEPT_TOKEN(anon_sym_BANG); if (lookahead != 0 && lookahead != '\t' && @@ -3218,7 +3260,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 205: + case 206: ACCEPT_TOKEN(anon_sym_DOLLAR); if (lookahead != 0 && lookahead != '\t' && @@ -3237,7 +3279,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 206: + case 207: ACCEPT_TOKEN(anon_sym_STAR); if (lookahead != 0 && lookahead != '\t' && @@ -3256,7 +3298,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 207: + case 208: ACCEPT_TOKEN(anon_sym_DASH); if (lookahead != 0 && lookahead != '\t' && @@ -3275,7 +3317,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 208: + case 209: ACCEPT_TOKEN(anon_sym_0); if (lookahead != 0 && lookahead != '\t' && @@ -3294,7 +3336,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 209: + case 210: ACCEPT_TOKEN(anon_sym_QMARK); if (lookahead != 0 && lookahead != '\t' && @@ -3313,7 +3355,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 210: + case 211: ACCEPT_TOKEN(anon_sym_AT); if (lookahead != 0 && lookahead != '\t' && @@ -3332,11 +3374,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 211: - if (lookahead == '\n') - SKIP(203); - END_STATE(); case 212: + if (lookahead == '\n') + SKIP(204); + END_STATE(); + case 213: ACCEPT_TOKEN(anon_sym__); if (lookahead != 0 && lookahead != '\t' && @@ -3355,7 +3397,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 213: + case 214: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -3364,21 +3406,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(124); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == '<') ADVANCE(128); if (lookahead == '>') ADVANCE(129); if (lookahead == '\\') - SKIP(214); + SKIP(215); if (lookahead == ']') - ADVANCE(215); + ADVANCE(216); if (lookahead == '`') ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(213); + SKIP(214); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -3387,14 +3431,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 214: - if (lookahead == '\n') - SKIP(213); - END_STATE(); case 215: + if (lookahead == '\n') + SKIP(214); + END_STATE(); + case 216: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead == ']') - ADVANCE(216); + ADVANCE(217); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -3414,7 +3458,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 216: + case 217: ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); if (lookahead != 0 && lookahead != '\t' && @@ -3434,7 +3478,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 217: + case 218: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -3443,21 +3487,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(124); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == '<') ADVANCE(128); if (lookahead == '>') ADVANCE(129); if (lookahead == '\\') - SKIP(218); + SKIP(219); if (lookahead == ']') - ADVANCE(219); + ADVANCE(220); if (lookahead == '`') ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(217); + SKIP(218); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -3466,11 +3512,11 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 218: - if (lookahead == '\n') - SKIP(217); - END_STATE(); case 219: + if (lookahead == '\n') + SKIP(218); + END_STATE(); + case 220: ACCEPT_TOKEN(anon_sym_RBRACK); if (lookahead != 0 && lookahead != '\t' && @@ -3490,7 +3536,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 220: + case 221: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -3499,21 +3545,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(124); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == '<') ADVANCE(128); if (lookahead == '>') ADVANCE(129); if (lookahead == '\\') - SKIP(221); + SKIP(222); if (lookahead == ']') - ADVANCE(222); + ADVANCE(223); if (lookahead == '`') ADVANCE(28); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(220); + SKIP(221); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -3522,14 +3570,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 221: - if (lookahead == '\n') - SKIP(220); - END_STATE(); case 222: + if (lookahead == '\n') + SKIP(221); + END_STATE(); + case 223: ACCEPT_TOKEN(sym_word); if (lookahead == ']') - ADVANCE(216); + ADVANCE(217); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -3549,9 +3597,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 223: + case 224: if (lookahead == '\n') - ADVANCE(178); + ADVANCE(175); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -3562,6 +3610,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(138); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ';') ADVANCE(140); if (lookahead == '<') @@ -3569,30 +3619,30 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(224); + SKIP(225); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') - ADVANCE(225); + ADVANCE(226); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(223); + SKIP(224); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 224: - if (lookahead == '\n') - SKIP(223); - END_STATE(); case 225: + if (lookahead == '\n') + SKIP(224); + END_STATE(); + case 226: ACCEPT_TOKEN(anon_sym_PIPE); if (lookahead == '&') ADVANCE(147); if (lookahead == '|') - ADVANCE(226); + ADVANCE(227); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -3609,7 +3659,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 226: + case 227: ACCEPT_TOKEN(anon_sym_PIPE_PIPE); if (lookahead != 0 && lookahead != '\t' && @@ -3629,24 +3679,24 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 227: + case 228: if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(228); + SKIP(229); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(227); - END_STATE(); - case 228: - if (lookahead == '\n') - SKIP(227); + SKIP(228); END_STATE(); case 229: if (lookahead == '\n') - ADVANCE(178); + SKIP(228); + END_STATE(); + case 230: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -3658,23 +3708,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(230); + SKIP(231); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(229); - END_STATE(); - case 230: - if (lookahead == '\n') - SKIP(229); + SKIP(230); END_STATE(); case 231: + if (lookahead == '\n') + SKIP(230); + END_STATE(); + case 232: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') - ADVANCE(114); + ADVANCE(233); if (lookahead == ')') ADVANCE(9); if (lookahead == '<') @@ -3682,30 +3732,40 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(232); + SKIP(234); + if (lookahead == '|') + ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(233); - END_STATE(); - case 232: - if (lookahead == '\n') - SKIP(231); + ADVANCE(235); END_STATE(); case 233: + if (lookahead == '&') + ADVANCE(139); + if (lookahead == '>') + ADVANCE(115); + END_STATE(); + case 234: + if (lookahead == '\n') + SKIP(232); + END_STATE(); + case 235: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(233); + ADVANCE(235); END_STATE(); - case 234: + case 236: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') - ADVANCE(114); + ADVANCE(233); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == '<') @@ -3715,686 +3775,92 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(235); + SKIP(237); + if (lookahead == '|') + ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(236); + ADVANCE(238); END_STATE(); - case 235: + case 237: if (lookahead == '\n') - SKIP(234); + SKIP(236); END_STATE(); - case 236: + case 238: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(236); - END_STATE(); - case 237: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '\\') - SKIP(238); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(237); - END_STATE(); - case 238: - if (lookahead == '\n') - SKIP(237); + ADVANCE(238); END_STATE(); case 239: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') - ADVANCE(114); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); + ADVANCE(240); + if (lookahead == ')') + ADVANCE(9); if (lookahead == '\\') - SKIP(240); - if (lookahead == '`') - ADVANCE(28); + SKIP(241); + if (lookahead == '|') + ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(241); + SKIP(239); END_STATE(); case 240: + if (lookahead == '&') + ADVANCE(139); + END_STATE(); + case 241: if (lookahead == '\n') SKIP(239); END_STATE(); - case 241: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(241); - END_STATE(); case 242: + if (lookahead == '\"') + ADVANCE(3); if (lookahead == '#') ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); if (lookahead == '&') - ADVANCE(114); + ADVANCE(243); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(13); if (lookahead == '<') - ADVANCE(142); - if (lookahead == '=') - ADVANCE(17); + ADVANCE(84); if (lookahead == '>') - ADVANCE(18); + ADVANCE(86); if (lookahead == '\\') - SKIP(243); + SKIP(244); if (lookahead == '`') ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(244); + SKIP(242); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); END_STATE(); case 243: - if (lookahead == '\n') - SKIP(242); - END_STATE(); - case 244: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(244); - END_STATE(); - case 245: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(246); - if (lookahead == '`') - ADVANCE(28); - 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 == 0) - ADVANCE(1); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(77); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == ';') - ADVANCE(163); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '[') - ADVANCE(89); - if (lookahead == '\\') - SKIP(248); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'c') - ADVANCE(92); - if (lookahead == 'd') - ADVANCE(249); - if (lookahead == 'e') - ADVANCE(169); - if (lookahead == 'f') - ADVANCE(175); - if (lookahead == 'i') - ADVANCE(106); - if (lookahead == 't') - ADVANCE(251); - if (lookahead == 'w') - ADVANCE(108); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(247); - if ((lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 248: - if (lookahead == '\n') - SKIP(247); - END_STATE(); - case 249: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'o') - ADVANCE(250); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 250: - ACCEPT_TOKEN(anon_sym_do); - if (lookahead == 'n') - ADVANCE(167); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 251: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'h') - ADVANCE(252); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 252: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(253); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 253: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') - ADVANCE(254); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 254: - ACCEPT_TOKEN(anon_sym_then); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 255: - if (lookahead == '\n') - ADVANCE(256); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(258); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(257); - END_STATE(); - case 256: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(256); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(257); - END_STATE(); - case 257: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(256); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(257); - END_STATE(); - case 258: - if (lookahead == '\n') - SKIP(255); - END_STATE(); - case 259: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(77); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '[') - ADVANCE(89); - if (lookahead == '\\') - SKIP(260); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'c') - ADVANCE(92); - if (lookahead == 'd') - ADVANCE(165); - if (lookahead == 'f') - ADVANCE(96); - if (lookahead == 'i') - ADVANCE(106); - if (lookahead == 'w') - ADVANCE(108); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(259); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 260: - if (lookahead == '\n') - SKIP(259); - END_STATE(); - case 261: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(262); - if (lookahead == 'd') - ADVANCE(190); - if (lookahead == 't') - ADVANCE(60); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(261); - END_STATE(); - case 262: - if (lookahead == '\n') - SKIP(261); - END_STATE(); - case 263: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(77); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '[') - ADVANCE(89); - if (lookahead == '\\') - SKIP(264); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'c') - ADVANCE(92); - if (lookahead == 'e') - ADVANCE(169); - if (lookahead == 'f') - ADVANCE(175); - if (lookahead == 'i') - ADVANCE(106); - if (lookahead == 'w') - ADVANCE(108); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(263); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 264: - if (lookahead == '\n') - SKIP(263); - END_STATE(); - case 265: - if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(7); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '\\') - SKIP(266); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(265); - END_STATE(); - case 266: - if (lookahead == '\n') - SKIP(265); - END_STATE(); - case 267: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(268); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '\\') - SKIP(271); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(267); - END_STATE(); - case 268: - ACCEPT_TOKEN(anon_sym_COLON); - if (lookahead == '-') - ADVANCE(269); - if (lookahead == '?') - ADVANCE(270); - END_STATE(); - case 269: - ACCEPT_TOKEN(anon_sym_COLON_DASH); - END_STATE(); - case 270: - ACCEPT_TOKEN(anon_sym_COLON_QMARK); - END_STATE(); - case 271: - if (lookahead == '\n') - SKIP(267); - END_STATE(); - case 272: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == ':') - ADVANCE(268); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '\\') - SKIP(273); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(272); - END_STATE(); - case 273: - if (lookahead == '\n') - SKIP(272); - END_STATE(); - case 274: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(128); - if (lookahead == '>') - ADVANCE(129); - if (lookahead == '\\') - SKIP(275); - if (lookahead == ']') - ADVANCE(215); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(274); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - lookahead != ';' && - lookahead != '<' && - lookahead != '{') - ADVANCE(120); - END_STATE(); - case 275: - if (lookahead == '\n') - SKIP(274); - END_STATE(); - case 276: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == '<') - ADVANCE(128); - if (lookahead == '>') - ADVANCE(129); - if (lookahead == '\\') - SKIP(277); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(276); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - lookahead != ';' && - lookahead != '<' && - lookahead != '{' && - lookahead != '}') - ADVANCE(120); - END_STATE(); - case 277: - if (lookahead == '\n') - SKIP(276); - END_STATE(); - case 278: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(279); - if (lookahead == '\\') - SKIP(280); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(278); - END_STATE(); - case 279: - ACCEPT_TOKEN(anon_sym_DOLLAR); - if (lookahead == '{') - ADVANCE(125); - END_STATE(); - case 280: - if (lookahead == '\n') - SKIP(278); - END_STATE(); - case 281: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(282); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(283); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(281); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 282: ACCEPT_TOKEN(sym_leading_word); if (lookahead == '&') - ADVANCE(183); + ADVANCE(180); if (lookahead == '>') ADVANCE(78); if (lookahead != 0 && @@ -4415,61 +3881,21 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 283: + case 244: if (lookahead == '\n') - SKIP(281); + SKIP(242); END_STATE(); - case 284: - if (lookahead == '\"') - ADVANCE(3); + case 245: if (lookahead == '#') ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); if (lookahead == '&') - ADVANCE(114); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == ')') - ADVANCE(9); + ADVANCE(233); if (lookahead == '<') ADVANCE(142); if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(285); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(284); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - lookahead != ';' && - lookahead != '<' && - lookahead != '{' && - lookahead != '}') - ADVANCE(120); - END_STATE(); - case 285: - if (lookahead == '\n') - SKIP(284); - END_STATE(); - case 286: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(287); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(288); + SKIP(246); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -4478,132 +3904,364 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(286); + ADVANCE(247); END_STATE(); - case 287: - if (lookahead == '&') - ADVANCE(139); - if (lookahead == '>') - ADVANCE(115); - END_STATE(); - case 288: + case 246: if (lookahead == '\n') - SKIP(286); + SKIP(245); END_STATE(); - case 289: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(114); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(290); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(289); - END_STATE(); - case 290: - if (lookahead == '\n') - SKIP(289); - END_STATE(); - case 291: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(287); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(292); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(293); - END_STATE(); - case 292: - if (lookahead == '\n') - SKIP(291); - END_STATE(); - case 293: + case 247: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(293); + ADVANCE(247); END_STATE(); - case 294: + case 248: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(233); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(249); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(250); + END_STATE(); + case 249: + if (lookahead == '\n') + SKIP(248); + END_STATE(); + case 250: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(250); + END_STATE(); + case 251: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(240); + if (lookahead == '\\') + SKIP(252); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(251); + END_STATE(); + case 252: + if (lookahead == '\n') + SKIP(251); + END_STATE(); + case 253: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(5); if (lookahead == '$') - ADVANCE(124); + ADVANCE(74); if (lookahead == '&') - ADVANCE(114); + ADVANCE(243); if (lookahead == '\'') - ADVANCE(126); + ADVANCE(80); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(254); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(253); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 254: + if (lookahead == '\n') + SKIP(253); + END_STATE(); + case 255: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '\\') + SKIP(256); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(255); + END_STATE(); + case 256: + if (lookahead == '\n') + SKIP(255); + END_STATE(); + case 257: + if (lookahead == 0) + ADVANCE(1); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(77); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == ';') + ADVANCE(160); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '[') + ADVANCE(89); + if (lookahead == '\\') + SKIP(258); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(92); + if (lookahead == 'd') + ADVANCE(259); + if (lookahead == 'e') + ADVANCE(166); + if (lookahead == 'f') + ADVANCE(172); + if (lookahead == 'i') + ADVANCE(106); + if (lookahead == 't') + ADVANCE(261); + if (lookahead == 'w') + ADVANCE(108); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(257); + if ((lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 258: + if (lookahead == '\n') + SKIP(257); + END_STATE(); + case 259: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'o') + ADVANCE(260); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 260: + ACCEPT_TOKEN(anon_sym_do); + if (lookahead == 'n') + ADVANCE(164); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 261: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'h') + ADVANCE(262); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 262: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(263); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 263: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(264); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 264: + ACCEPT_TOKEN(anon_sym_then); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 265: + if (lookahead == '\n') + ADVANCE(266); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ';') + ADVANCE(140); if (lookahead == '<') ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(295); - if (lookahead == '`') - ADVANCE(28); + SKIP(268); + if (lookahead == '|') + ADVANCE(146); if (lookahead == '\t' || - lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(294); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - lookahead != ';' && - lookahead != '<' && - lookahead != '{' && - lookahead != '}') - ADVANCE(120); + ADVANCE(267); END_STATE(); - case 295: + case 266: + ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - SKIP(294); - END_STATE(); - case 296: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(297); - if (lookahead == '{') - ADVANCE(69); + ADVANCE(266); if (lookahead == '\t' || - lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(296); + ADVANCE(267); END_STATE(); - case 297: + case 267: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - SKIP(296); + ADVANCE(266); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(267); END_STATE(); - case 298: + case 268: + if (lookahead == '\n') + SKIP(265); + END_STATE(); + case 269: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4625,13 +4283,15 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '[') ADVANCE(89); if (lookahead == '\\') - SKIP(299); + SKIP(270); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') ADVANCE(92); + if (lookahead == 'd') + ADVANCE(162); if (lookahead == 'f') - ADVANCE(175); + ADVANCE(96); if (lookahead == 'i') ADVANCE(106); if (lookahead == 'w') @@ -4640,66 +4300,262 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(298); + SKIP(269); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 299: + case 270: if (lookahead == '\n') - SKIP(298); + SKIP(269); END_STATE(); - case 300: + case 271: if (lookahead == '#') ADVANCE(5); if (lookahead == '\\') - SKIP(301); + SKIP(272); + if (lookahead == 'd') + ADVANCE(189); + if (lookahead == 't') + ADVANCE(60); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(271); + END_STATE(); + case 272: + if (lookahead == '\n') + SKIP(271); + END_STATE(); + case 273: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(77); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '[') + ADVANCE(89); + if (lookahead == '\\') + SKIP(274); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(92); if (lookahead == 'e') - ADVANCE(302); + ADVANCE(166); if (lookahead == 'f') - ADVANCE(303); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(300); - END_STATE(); - case 301: - if (lookahead == '\n') - SKIP(300); - END_STATE(); - case 302: - if (lookahead == 'l') - ADVANCE(38); - END_STATE(); - case 303: + ADVANCE(172); if (lookahead == 'i') - ADVANCE(47); - END_STATE(); - case 304: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(305); - if (lookahead == 'f') - ADVANCE(303); + ADVANCE(106); + if (lookahead == 'w') + ADVANCE(108); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(304); + SKIP(273); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); END_STATE(); - case 305: + case 274: if (lookahead == '\n') - SKIP(304); + SKIP(273); END_STATE(); - case 306: + case 275: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') + ADVANCE(7); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '\\') + SKIP(276); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(275); + END_STATE(); + case 276: + if (lookahead == '\n') + SKIP(275); + END_STATE(); + case 277: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '\\') + SKIP(281); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(277); + END_STATE(); + case 278: + ACCEPT_TOKEN(anon_sym_COLON); + if (lookahead == '-') + ADVANCE(279); + if (lookahead == '?') + ADVANCE(280); + END_STATE(); + case 279: + ACCEPT_TOKEN(anon_sym_COLON_DASH); + END_STATE(); + case 280: + ACCEPT_TOKEN(anon_sym_COLON_QMARK); + END_STATE(); + case 281: + if (lookahead == '\n') + SKIP(277); + END_STATE(); + case 282: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == ':') + ADVANCE(278); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '\\') + SKIP(283); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(282); + END_STATE(); + case 283: + if (lookahead == '\n') + SKIP(282); + END_STATE(); + case 284: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(124); + if (lookahead == '\'') + ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '<') + ADVANCE(128); + if (lookahead == '>') + ADVANCE(129); + if (lookahead == '\\') + SKIP(285); + if (lookahead == ']') + ADVANCE(216); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(284); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + lookahead != ';' && + lookahead != '<' && + lookahead != '{') + ADVANCE(120); + END_STATE(); + case 285: + if (lookahead == '\n') + SKIP(284); + END_STATE(); + case 286: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') ADVANCE(287); + if (lookahead == '\\') + SKIP(288); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(286); + END_STATE(); + case 287: + ACCEPT_TOKEN(anon_sym_DOLLAR); + if (lookahead == '{') + ADVANCE(125); + END_STATE(); + case 288: + if (lookahead == '\n') + SKIP(286); + END_STATE(); + case 289: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(240); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '\\') + SKIP(290); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(289); + END_STATE(); + case 290: + if (lookahead == '\n') + SKIP(289); + END_STATE(); + case 291: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(124); + if (lookahead == '&') + ADVANCE(233); + if (lookahead == '\'') + ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == '<') @@ -4707,34 +4563,93 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(307); + SKIP(292); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(291); + if (lookahead != 0 && + lookahead != ';' && + lookahead != '<' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(120); + END_STATE(); + case 292: + if (lookahead == '\n') + SKIP(291); + END_STATE(); + case 293: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(233); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(294); + if (lookahead == '`') + ADVANCE(28); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(308); + SKIP(293); END_STATE(); - case 307: + case 294: if (lookahead == '\n') - SKIP(306); + SKIP(293); END_STATE(); - case 308: + case 295: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(233); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(296); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(297); + END_STATE(); + case 296: + if (lookahead == '\n') + SKIP(295); + END_STATE(); + case 297: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(308); + ADVANCE(297); END_STATE(); - case 309: + case 298: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') - ADVANCE(287); - if (lookahead == '(') - ADVANCE(8); + ADVANCE(233); if (lookahead == ')') ADVANCE(9); if (lookahead == '<') @@ -4744,53 +4659,211 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(310); + SKIP(299); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(311); + ADVANCE(300); END_STATE(); - case 310: + case 299: if (lookahead == '\n') - SKIP(309); + SKIP(298); END_STATE(); - case 311: + case 300: ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - ADVANCE(311); + ADVANCE(300); END_STATE(); - case 312: + case 301: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(124); + if (lookahead == '&') + ADVANCE(233); + if (lookahead == '\'') + ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(302); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(301); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + lookahead != ';' && + lookahead != '<' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(120); + END_STATE(); + case 302: + if (lookahead == '\n') + SKIP(301); + END_STATE(); + case 303: if (lookahead == '#') ADVANCE(5); if (lookahead == '&') - ADVANCE(313); - if (lookahead == ')') - ADVANCE(9); + ADVANCE(233); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '>') + ADVANCE(18); if (lookahead == '\\') - SKIP(314); + SKIP(304); + if (lookahead == '`') + ADVANCE(28); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(312); + ADVANCE(305); + END_STATE(); + case 304: + if (lookahead == '\n') + SKIP(303); + END_STATE(); + case 305: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(305); + END_STATE(); + case 306: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') + SKIP(307); + if (lookahead == '{') + ADVANCE(69); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(306); + END_STATE(); + case 307: + if (lookahead == '\n') + SKIP(306); + END_STATE(); + case 308: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(77); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '[') + ADVANCE(89); + if (lookahead == '\\') + SKIP(309); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(92); + if (lookahead == 'f') + ADVANCE(172); + if (lookahead == 'i') + ADVANCE(106); + if (lookahead == 'w') + ADVANCE(108); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(308); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 309: + if (lookahead == '\n') + SKIP(308); + END_STATE(); + case 310: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') + SKIP(311); + if (lookahead == 'e') + ADVANCE(312); + if (lookahead == 'f') + ADVANCE(313); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(310); + END_STATE(); + case 311: + if (lookahead == '\n') + SKIP(310); + END_STATE(); + case 312: + if (lookahead == 'l') + ADVANCE(38); END_STATE(); case 313: - if (lookahead == '&') - ADVANCE(139); + if (lookahead == 'i') + ADVANCE(47); END_STATE(); case 314: - if (lookahead == '\n') - SKIP(312); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') + SKIP(315); + if (lookahead == 'f') + ADVANCE(313); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(314); END_STATE(); case 315: + if (lookahead == '\n') + SKIP(314); + END_STATE(); + case 316: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -4799,21 +4872,23 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(124); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == '<') ADVANCE(128); if (lookahead == '>') ADVANCE(129); if (lookahead == '\\') - SKIP(316); + SKIP(317); if (lookahead == '`') ADVANCE(28); if (lookahead == 'e') - ADVANCE(317); + ADVANCE(318); if (lookahead == '\t' || lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(315); + SKIP(316); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && lookahead != ';' && @@ -4822,14 +4897,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 316: - if (lookahead == '\n') - SKIP(315); - END_STATE(); case 317: + if (lookahead == '\n') + SKIP(316); + END_STATE(); + case 318: ACCEPT_TOKEN(sym_word); if (lookahead == 's') - ADVANCE(318); + ADVANCE(319); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -4848,10 +4923,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 318: + case 319: ACCEPT_TOKEN(sym_word); if (lookahead == 'a') - ADVANCE(319); + ADVANCE(320); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -4871,30 +4946,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 319: + case 320: ACCEPT_TOKEN(sym_word); if (lookahead == 'c') - ADVANCE(320); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '&' && - lookahead != '(' && - lookahead != ')' && - lookahead != ';' && - lookahead != '<' && - lookahead != '>' && - lookahead != '\\' && - lookahead != '`' && - lookahead != '{' && - lookahead != '}') - ADVANCE(120); - END_STATE(); - case 320: - ACCEPT_TOKEN(anon_sym_esac); + ADVANCE(321); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && @@ -4914,3092 +4969,60 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(120); END_STATE(); case 321: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); - if (lookahead == '&') - ADVANCE(287); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(322); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(225); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(321); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - lookahead != ';' && - lookahead != '<' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(120); - END_STATE(); - case 322: - if (lookahead == '\n') - SKIP(321); - END_STATE(); - case 323: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(77); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '[') - ADVANCE(89); - if (lookahead == '\\') - SKIP(324); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'c') - ADVANCE(92); - if (lookahead == 'f') - ADVANCE(96); - if (lookahead == 'i') - ADVANCE(106); - if (lookahead == 'w') - ADVANCE(108); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(323); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 324: - if (lookahead == '\n') - SKIP(323); - END_STATE(); - case 325: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(287); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(326); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(325); - END_STATE(); - case 326: - if (lookahead == '\n') - SKIP(325); - END_STATE(); - case 327: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(287); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(328); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(329); - END_STATE(); - case 328: - if (lookahead == '\n') - SKIP(327); - END_STATE(); - case 329: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(329); - END_STATE(); - case 330: - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '\\') - SKIP(331); - if (lookahead == '}') - ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(330); - END_STATE(); - case 331: - if (lookahead == '\n') - SKIP(330); - END_STATE(); - case 332: - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(77); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == ';') - ADVANCE(163); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '[') - ADVANCE(89); - if (lookahead == '\\') - SKIP(333); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'c') - ADVANCE(92); - if (lookahead == 'f') - ADVANCE(96); - if (lookahead == 'i') - ADVANCE(106); - if (lookahead == 'w') - ADVANCE(108); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ') - SKIP(332); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 333: - if (lookahead == '\n') - SKIP(332); - END_STATE(); - case 334: - if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(335); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == '(') - ADVANCE(8); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(84); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '[') - ADVANCE(89); - if (lookahead == '\\') - SKIP(336); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == 'c') - ADVANCE(92); - if (lookahead == 'f') - ADVANCE(96); - if (lookahead == 'i') - ADVANCE(106); - if (lookahead == 'w') - ADVANCE(108); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(334); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 335: - ACCEPT_TOKEN(anon_sym_AMP); - if (lookahead == '>') - ADVANCE(78); + ACCEPT_TOKEN(anon_sym_esac); if (lookahead != 0 && lookahead != '\t' && lookahead != '\n' && lookahead != '\r' && lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '&' && lookahead != '(' && lookahead != ')' && - lookahead != ':' && lookahead != ';' && - lookahead != '=' && + lookahead != '<' && lookahead != '>' && lookahead != '\\' && lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 336: - if (lookahead == '\n') - SKIP(334); - END_STATE(); - case 337: - if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '\\') - SKIP(338); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(337); - END_STATE(); - case 338: - if (lookahead == '\n') - SKIP(337); - END_STATE(); - case 339: - if (lookahead == '\n') - ADVANCE(340); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '$') - ADVANCE(398); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == '(') - ADVANCE(352); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '[') - ADVANCE(364); - if (lookahead == '\\') - ADVANCE(366); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'c') - ADVANCE(370); - if (lookahead == 'f') - ADVANCE(374); - if (lookahead == 'i') - ADVANCE(384); - if (lookahead == 'w') - ADVANCE(387); - if (lookahead == '{') - ADVANCE(392); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(397); - if (lookahead != 0) - ADVANCE(347); - END_STATE(); - case 340: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(340); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == '(') - ADVANCE(352); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '[') - ADVANCE(364); - if (lookahead == '\\') - ADVANCE(366); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'c') - ADVANCE(370); - if (lookahead == 'f') - ADVANCE(374); - if (lookahead == 'i') - ADVANCE(384); - if (lookahead == 'w') - ADVANCE(387); - if (lookahead == '{') - ADVANCE(392); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(397); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 341: - ACCEPT_TOKEN(anon_sym_AMP); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&') - ADVANCE(342); - if (lookahead == '>') - ADVANCE(344); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 342: - ACCEPT_TOKEN(anon_sym_AMP_AMP); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 343: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 344: - ACCEPT_TOKEN(anon_sym_AMP_GT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '>') - ADVANCE(345); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 345: - ACCEPT_TOKEN(anon_sym_AMP_GT_GT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 346: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\"') - ADVANCE(82); - if (lookahead == '$') - ADVANCE(80); - if (lookahead == '\'') - ADVANCE(347); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(349); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(351); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(350); - if (lookahead != 0) - ADVANCE(346); - END_STATE(); - case 347: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 348: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 349: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\"') - ADVANCE(82); - if (lookahead == '$') - ADVANCE(80); - if (lookahead == '\'') - ADVANCE(343); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(350); - if (lookahead != 0) - ADVANCE(349); - END_STATE(); - case 350: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\'') - ADVANCE(150); - if (lookahead == '\"' || - lookahead == '$') - ADVANCE(82); - if (lookahead != 0) - ADVANCE(350); - END_STATE(); - case 351: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\'') - ADVANCE(348); - if (lookahead == '\"' || - lookahead == '$') - ADVANCE(82); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - ('&' <= lookahead && lookahead <= ')') || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(350); - if (lookahead != 0) - ADVANCE(351); - END_STATE(); - case 352: - ACCEPT_TOKEN(anon_sym_LPAREN); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 353: - ACCEPT_TOKEN(anon_sym_RPAREN); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 354: - ACCEPT_TOKEN(anon_sym_COLON); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 355: - ACCEPT_TOKEN(anon_sym_SEMI); - if (lookahead == ';') - ADVANCE(356); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 356: - ACCEPT_TOKEN(anon_sym_SEMI_SEMI); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 357: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&') - ADVANCE(358); - if (lookahead == '<') - ADVANCE(359); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - (':' <= lookahead && lookahead <= '=') || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 358: - ACCEPT_TOKEN(anon_sym_LT_AMP); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 359: - ACCEPT_TOKEN(anon_sym_LT_LT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '-') - ADVANCE(360); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 360: - ACCEPT_TOKEN(anon_sym_LT_LT_DASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 361: - ACCEPT_TOKEN(anon_sym_GT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&') - ADVANCE(362); - if (lookahead == '>') - ADVANCE(363); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 362: - ACCEPT_TOKEN(anon_sym_GT_AMP); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 363: - ACCEPT_TOKEN(anon_sym_GT_GT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ':' || - lookahead == ';' || - lookahead == '=' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(343); - END_STATE(); - case 364: - ACCEPT_TOKEN(anon_sym_LBRACK); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '[') - ADVANCE(365); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 365: - ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 366: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(367); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 367: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(340); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == '(') - ADVANCE(352); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '[') - ADVANCE(364); - if (lookahead == '\\') - ADVANCE(366); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'c') - ADVANCE(370); - if (lookahead == 'f') - ADVANCE(374); - if (lookahead == 'i') - ADVANCE(384); - if (lookahead == 'w') - ADVANCE(387); - if (lookahead == '{') - ADVANCE(392); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(397); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 368: - ACCEPT_TOKEN(anon_sym_RBRACK); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == ']') - ADVANCE(369); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 369: - ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 370: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'a') - ADVANCE(371); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 371: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 's') - ADVANCE(372); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 372: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'e') - ADVANCE(373); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 373: - ACCEPT_TOKEN(anon_sym_case); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 374: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'o') - ADVANCE(375); - if (lookahead == 'u') - ADVANCE(377); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 375: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'r') - ADVANCE(376); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 376: - ACCEPT_TOKEN(anon_sym_for); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 377: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'n') - ADVANCE(378); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 378: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'c') - ADVANCE(379); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 379: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 't') - ADVANCE(380); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 380: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'i') - ADVANCE(381); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 381: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'o') - ADVANCE(382); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 382: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'n') - ADVANCE(383); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 383: - ACCEPT_TOKEN(anon_sym_function); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 384: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'f') - ADVANCE(385); - if (lookahead == 'n') - ADVANCE(386); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 385: - ACCEPT_TOKEN(anon_sym_if); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 386: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 387: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'h') - ADVANCE(388); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 388: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'i') - ADVANCE(389); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 389: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'l') - ADVANCE(390); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 390: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'e') - ADVANCE(391); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 391: - ACCEPT_TOKEN(anon_sym_while); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 392: - ACCEPT_TOKEN(anon_sym_LBRACE); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 393: - ACCEPT_TOKEN(anon_sym_PIPE); - if (lookahead == '&') - ADVANCE(394); - if (lookahead == '|') - ADVANCE(395); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 394: - ACCEPT_TOKEN(anon_sym_PIPE_AMP); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 395: - ACCEPT_TOKEN(anon_sym_PIPE_PIPE); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 396: - ACCEPT_TOKEN(anon_sym_RBRACE); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 397: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(340); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == '(') - ADVANCE(352); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '[') - ADVANCE(364); - if (lookahead == '\\') - ADVANCE(366); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'c') - ADVANCE(370); - if (lookahead == 'f') - ADVANCE(374); - if (lookahead == 'i') - ADVANCE(384); - if (lookahead == 'w') - ADVANCE(387); - if (lookahead == '{') - ADVANCE(392); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(397); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 398: - ACCEPT_TOKEN(anon_sym_DOLLAR); - if (lookahead == '(') - ADVANCE(75); - if (lookahead == '{') - ADVANCE(125); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 399: - if (lookahead == '\n') - ADVANCE(400); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '$') - ADVANCE(398); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(401); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(402); - if (lookahead != 0) - ADVANCE(347); - END_STATE(); - case 400: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(400); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(401); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(402); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 401: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(402); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 402: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(400); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(401); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(402); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 403: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'n') - ADVANCE(386); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 404: - if (lookahead == '\n') - ADVANCE(405); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(124); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == '\'') - ADVANCE(126); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(407); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(225); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(406); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < '{' || lookahead > '}')) + lookahead != '{' && + lookahead != '}') ADVANCE(120); END_STATE(); - case 405: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(405); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(406); - END_STATE(); - case 406: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(405); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(406); - END_STATE(); - case 407: - if (lookahead == '\n') - SKIP(404); - END_STATE(); - case 408: - if (lookahead == '\n') - ADVANCE(409); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '$') - ADVANCE(398); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(410); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(412); - if (lookahead != 0) - ADVANCE(347); - END_STATE(); - case 409: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(409); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(410); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(412); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 410: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(411); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 411: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(409); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(410); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(412); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 412: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(409); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(354); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(348); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(410); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(412); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 413: - if (lookahead == '\n') - ADVANCE(414); - if (lookahead == '!') - ADVANCE(415); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(416); - if (lookahead == '$') - ADVANCE(398); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == '*') - ADVANCE(417); - if (lookahead == '-') - ADVANCE(418); - if (lookahead == '0') - ADVANCE(419); - if (lookahead == ':') - ADVANCE(421); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(424); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '?') - ADVANCE(425); - if (lookahead == '@') - ADVANCE(426); - if (lookahead == '\\') - ADVANCE(427); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '_') - ADVANCE(429); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(430); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(428); - if (('1' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0) - ADVANCE(347); - END_STATE(); - case 414: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(414); - if (lookahead == '!') - ADVANCE(415); - if (lookahead == '#') - ADVANCE(416); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == '*') - ADVANCE(417); - if (lookahead == '-') - ADVANCE(418); - if (lookahead == '0') - ADVANCE(419); - if (lookahead == ':') - ADVANCE(421); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(424); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '?') - ADVANCE(425); - if (lookahead == '@') - ADVANCE(426); - if (lookahead == '\\') - ADVANCE(427); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '_') - ADVANCE(429); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(430); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(428); - if (('1' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < ' ' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 415: - ACCEPT_TOKEN(anon_sym_BANG); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 416: - ACCEPT_TOKEN(anon_sym_POUND); - if (lookahead == '\n') - ADVANCE(150); - if (lookahead == '\"' || - lookahead == '$') - ADVANCE(5); - if (lookahead != 0) - ADVANCE(149); - END_STATE(); - case 417: - ACCEPT_TOKEN(anon_sym_STAR); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 418: - ACCEPT_TOKEN(anon_sym_DASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 419: - ACCEPT_TOKEN(anon_sym_0); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 420: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 421: - ACCEPT_TOKEN(anon_sym_COLON); - if (lookahead == '-') - ADVANCE(422); - if (lookahead == '?') - ADVANCE(423); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 422: - ACCEPT_TOKEN(anon_sym_COLON_DASH); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 423: - ACCEPT_TOKEN(anon_sym_COLON_QMARK); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 424: - ACCEPT_TOKEN(anon_sym_EQ); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '&' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '<' || - lookahead == '>' || - lookahead == '\\' || - lookahead == '`' || - lookahead == '{' || - lookahead == '}') - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(348); - END_STATE(); - case 425: - ACCEPT_TOKEN(anon_sym_QMARK); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 426: - ACCEPT_TOKEN(anon_sym_AT); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 427: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(428); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 428: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(414); - if (lookahead == '!') - ADVANCE(415); - if (lookahead == '#') - ADVANCE(416); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == '*') - ADVANCE(417); - if (lookahead == '-') - ADVANCE(418); - if (lookahead == '0') - ADVANCE(419); - if (lookahead == ':') - ADVANCE(421); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(424); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '?') - ADVANCE(425); - if (lookahead == '@') - ADVANCE(426); - if (lookahead == '\\') - ADVANCE(427); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '_') - ADVANCE(429); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(430); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(428); - if (('1' <= lookahead && lookahead <= 'Z') || - ('a' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < ' ' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 429: - ACCEPT_TOKEN(anon_sym__); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 430: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == 'n') - ADVANCE(431); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 431: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == '$') - ADVANCE(76); - if (lookahead == '&' || - lookahead == '<' || - lookahead == '>') - ADVANCE(343); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(348); - if (lookahead == '\t' || - lookahead == '\n' || - lookahead == '\r' || - lookahead == ' ' || - lookahead == '#' || - lookahead == '(' || - lookahead == ')' || - lookahead == ';' || - lookahead == '\\' || - lookahead == '`' || - ('{' <= lookahead && lookahead <= '}')) - ADVANCE(150); - if (('0' <= lookahead && lookahead <= '9') || - ('A' <= lookahead && lookahead <= 'Z') || - ('_' <= lookahead && lookahead <= 'z')) - ADVANCE(420); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 432: - if (lookahead == '\n') - ADVANCE(433); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '$') - ADVANCE(398); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(421); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(424); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(434); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(435); - if (lookahead != 0) - ADVANCE(347); - END_STATE(); - case 433: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(433); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(421); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(424); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(434); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(435); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 434: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(435); - if (lookahead != 0 && - lookahead != '\"' && - lookahead != '$') - ADVANCE(150); - END_STATE(); - case 435: - ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(433); - if (lookahead == '#') - ADVANCE(149); - if (lookahead == '&') - ADVANCE(341); - if (lookahead == '\'') - ADVANCE(346); - if (lookahead == ')') - ADVANCE(353); - if (lookahead == ':') - ADVANCE(421); - if (lookahead == ';') - ADVANCE(355); - if (lookahead == '<') - ADVANCE(357); - if (lookahead == '=') - ADVANCE(424); - if (lookahead == '>') - ADVANCE(361); - if (lookahead == '\\') - ADVANCE(434); - if (lookahead == ']') - ADVANCE(368); - if (lookahead == '`') - ADVANCE(153); - if (lookahead == 'i') - ADVANCE(403); - if (lookahead == '|') - ADVANCE(393); - if (lookahead == '}') - ADVANCE(396); - if (lookahead == '(' || - lookahead == '{') - ADVANCE(150); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(435); - if (lookahead != 0 && - (lookahead < '\"' || lookahead > '$')) - ADVANCE(347); - END_STATE(); - case 436: - if (lookahead == 0) - ADVANCE(1); + case 322: if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(5); if (lookahead == '$') - ADVANCE(398); + ADVANCE(74); if (lookahead == '&') ADVANCE(77); if (lookahead == '\'') - ADVANCE(437); + ADVANCE(323); if (lookahead == '(') ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ':') - ADVANCE(440); - if (lookahead == ';') - ADVANCE(163); + ADVANCE(326); if (lookahead == '<') ADVANCE(84); if (lookahead == '>') ADVANCE(86); if (lookahead == '[') - ADVANCE(441); + ADVANCE(327); if (lookahead == '\\') - SKIP(443); + SKIP(329); if (lookahead == '`') ADVANCE(28); if (lookahead == 'c') - ADVANCE(444); - if (lookahead == 'd') - ADVANCE(448); - if (lookahead == 'e') - ADVANCE(452); + ADVANCE(330); if (lookahead == 'f') - ADVANCE(461); + ADVANCE(334); if (lookahead == 'i') - ADVANCE(472); - if (lookahead == 't') - ADVANCE(475); + ADVANCE(344); if (lookahead == 'w') - ADVANCE(479); - if (lookahead == '}') - ADVANCE(72); + ADVANCE(346); if (lookahead == '=' || lookahead == '|') ADVANCE(120); @@ -8007,14 +5030,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead == '\n' || lookahead == '\r' || lookahead == ' ') - SKIP(436); - if ((lookahead < '{' || lookahead > '}')) - ADVANCE(439); + SKIP(322); + if (lookahead != 0 && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); END_STATE(); - case 437: + case 323: ACCEPT_TOKEN(sym_leading_word); if (lookahead == '\'') - ADVANCE(438); + ADVANCE(324); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8037,9 +5062,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ('{' <= lookahead && lookahead <= '}')) ADVANCE(82); if (lookahead != 0) - ADVANCE(437); + ADVANCE(323); END_STATE(); - case 438: + case 324: ACCEPT_TOKEN(sym_raw_string); if (lookahead == ':' || lookahead == '=' || @@ -8061,9 +5086,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 439: + case 325: ACCEPT_TOKEN(sym_leading_word); if (lookahead == ':' || lookahead == '=' || @@ -8085,9 +5110,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 440: + case 326: ACCEPT_TOKEN(anon_sym_COLON); if (lookahead != 0 && lookahead != '\t' && @@ -8107,10 +5132,10 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '}') ADVANCE(120); END_STATE(); - case 441: + case 327: ACCEPT_TOKEN(anon_sym_LBRACK); if (lookahead == '[') - ADVANCE(442); + ADVANCE(328); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8132,9 +5157,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 442: + case 328: ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); if (lookahead == ':' || lookahead == '=' || @@ -8156,16 +5181,16 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 443: + case 329: if (lookahead == '\n') - SKIP(436); + SKIP(322); END_STATE(); - case 444: + case 330: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'a') - ADVANCE(445); + ADVANCE(331); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8187,12 +5212,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '`' && lookahead != 'a' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 445: + case 331: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 's') - ADVANCE(446); + ADVANCE(332); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8213,12 +5238,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 446: + case 332: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(447); + ADVANCE(333); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8239,9 +5264,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 447: + case 333: ACCEPT_TOKEN(anon_sym_case); if (lookahead == ':' || lookahead == '=' || @@ -8263,351 +5288,14 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 448: + case 334: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'o') - ADVANCE(449); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 449: - ACCEPT_TOKEN(anon_sym_do); - if (lookahead == 'n') - ADVANCE(450); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 450: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(451); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 451: - ACCEPT_TOKEN(anon_sym_done); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 452: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'l') - ADVANCE(453); - if (lookahead == 's') - ADVANCE(458); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 453: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') - ADVANCE(454); - if (lookahead == 's') - ADVANCE(456); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 454: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'f') - ADVANCE(455); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 455: - ACCEPT_TOKEN(anon_sym_elif); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 456: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(457); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 457: - ACCEPT_TOKEN(anon_sym_else); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 458: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'a') - ADVANCE(459); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - lookahead != 'a' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 459: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'c') - ADVANCE(460); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 460: - ACCEPT_TOKEN(anon_sym_esac); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 461: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'i') - ADVANCE(462); - if (lookahead == 'o') - ADVANCE(463); + ADVANCE(335); if (lookahead == 'u') - ADVANCE(465); + ADVANCE(337); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8628,36 +5316,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 462: - ACCEPT_TOKEN(anon_sym_fi); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 463: + case 335: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'r') - ADVANCE(464); + ADVANCE(336); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8678,9 +5342,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 464: + case 336: ACCEPT_TOKEN(anon_sym_for); if (lookahead == ':' || lookahead == '=' || @@ -8702,12 +5366,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 465: + case 337: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'n') - ADVANCE(466); + ADVANCE(338); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8728,12 +5392,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 466: + case 338: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'c') - ADVANCE(467); + ADVANCE(339); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8754,12 +5418,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 467: + case 339: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 't') - ADVANCE(468); + ADVANCE(340); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8780,12 +5444,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 468: + case 340: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(469); + ADVANCE(341); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8806,12 +5470,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 469: + case 341: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'o') - ADVANCE(470); + ADVANCE(342); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8832,12 +5496,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 470: + case 342: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'n') - ADVANCE(471); + ADVANCE(343); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8858,9 +5522,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 471: + case 343: ACCEPT_TOKEN(anon_sym_function); if (lookahead == ':' || lookahead == '=' || @@ -8882,14 +5546,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 472: + case 344: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'f') - ADVANCE(473); - if (lookahead == 'n') - ADVANCE(474); + ADVANCE(345); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8910,9 +5572,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 473: + case 345: ACCEPT_TOKEN(anon_sym_if); if (lookahead == ':' || lookahead == '=' || @@ -8934,36 +5596,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 474: - ACCEPT_TOKEN(anon_sym_in); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 475: + case 346: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'h') - ADVANCE(476); + ADVANCE(347); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -8984,114 +5622,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 476: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'e') - ADVANCE(477); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 477: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'n') - ADVANCE(478); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 478: - ACCEPT_TOKEN(anon_sym_then); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 479: - ACCEPT_TOKEN(sym_leading_word); - if (lookahead == 'h') - ADVANCE(480); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 480: + case 347: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'i') - ADVANCE(481); + ADVANCE(348); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -9112,12 +5648,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 481: + case 348: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'l') - ADVANCE(482); + ADVANCE(349); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -9138,12 +5674,12 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 482: + case 349: ACCEPT_TOKEN(sym_leading_word); if (lookahead == 'e') - ADVANCE(483); + ADVANCE(350); if (lookahead == ':' || lookahead == '=' || lookahead == '|') @@ -9164,9 +5700,9 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 483: + case 350: ACCEPT_TOKEN(anon_sym_while); if (lookahead == ':' || lookahead == '=' || @@ -9188,15 +5724,1979 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 484: + case 351: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(77); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '[') + ADVANCE(89); + if (lookahead == '\\') + SKIP(352); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(92); + if (lookahead == 'f') + ADVANCE(96); + if (lookahead == 'i') + ADVANCE(106); + if (lookahead == 'w') + ADVANCE(108); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(351); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 352: if (lookahead == '\n') - ADVANCE(178); + SKIP(351); + END_STATE(); + case 353: + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '\\') + SKIP(354); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(353); + END_STATE(); + case 354: + if (lookahead == '\n') + SKIP(353); + END_STATE(); + case 355: + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(77); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == ';') + ADVANCE(160); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '[') + ADVANCE(89); + if (lookahead == '\\') + SKIP(356); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(92); + if (lookahead == 'f') + ADVANCE(96); + if (lookahead == 'i') + ADVANCE(106); + if (lookahead == 'w') + ADVANCE(108); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(355); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 356: + if (lookahead == '\n') + SKIP(355); + END_STATE(); + case 357: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(358); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '[') + ADVANCE(89); + if (lookahead == '\\') + SKIP(359); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(92); + if (lookahead == 'f') + ADVANCE(96); + if (lookahead == 'i') + ADVANCE(106); + if (lookahead == 'w') + ADVANCE(108); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(357); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 358: + ACCEPT_TOKEN(anon_sym_AMP); + if (lookahead == '>') + ADVANCE(78); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '>' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 359: + if (lookahead == '\n') + SKIP(357); + END_STATE(); + case 360: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '#') ADVANCE(5); + if (lookahead == '&') + ADVANCE(176); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '\\') + SKIP(361); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(360); + END_STATE(); + case 361: + if (lookahead == '\n') + SKIP(360); + END_STATE(); + case 362: + if (lookahead == '\n') + ADVANCE(363); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(389); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(415); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(420); + if (lookahead != 0) + ADVANCE(370); + END_STATE(); + case 363: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(363); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(389); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(415); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(420); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 364: + ACCEPT_TOKEN(anon_sym_AMP); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&') + ADVANCE(365); + if (lookahead == '>') + ADVANCE(367); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 365: + ACCEPT_TOKEN(anon_sym_AMP_AMP); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 366: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 367: + ACCEPT_TOKEN(anon_sym_AMP_GT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '>') + ADVANCE(368); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 368: + ACCEPT_TOKEN(anon_sym_AMP_GT_GT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 369: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(80); + if (lookahead == '\'') + ADVANCE(370); + if (lookahead == '\"' || + lookahead == '`') + ADVANCE(82); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(372); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(374); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(373); + if (lookahead != 0) + ADVANCE(369); + END_STATE(); + case 370: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 371: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 372: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(80); + if (lookahead == '\'') + ADVANCE(366); + if (lookahead == '\"' || + lookahead == '`') + ADVANCE(82); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(373); + if (lookahead != 0) + ADVANCE(372); + END_STATE(); + case 373: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\'') + ADVANCE(150); + if (lookahead == '\"' || + lookahead == '$' || + lookahead == '`') + ADVANCE(82); + if (lookahead != 0) + ADVANCE(373); + END_STATE(); + case 374: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\'') + ADVANCE(371); + if (lookahead == '\"' || + lookahead == '$' || + lookahead == '`') + ADVANCE(82); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + ('&' <= lookahead && lookahead <= ')') || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(373); + if (lookahead != 0) + ADVANCE(374); + END_STATE(); + case 375: + ACCEPT_TOKEN(anon_sym_LPAREN); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 376: + ACCEPT_TOKEN(anon_sym_RPAREN); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 377: + ACCEPT_TOKEN(anon_sym_COLON); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 378: + ACCEPT_TOKEN(anon_sym_SEMI); + if (lookahead == ';') + ADVANCE(379); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 379: + ACCEPT_TOKEN(anon_sym_SEMI_SEMI); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 380: + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&') + ADVANCE(381); + if (lookahead == '<') + ADVANCE(382); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + (':' <= lookahead && lookahead <= '=') || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 381: + ACCEPT_TOKEN(anon_sym_LT_AMP); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 382: + ACCEPT_TOKEN(anon_sym_LT_LT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '-') + ADVANCE(383); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 383: + ACCEPT_TOKEN(anon_sym_LT_LT_DASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 384: + ACCEPT_TOKEN(anon_sym_GT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&') + ADVANCE(385); + if (lookahead == '>') + ADVANCE(386); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 385: + ACCEPT_TOKEN(anon_sym_GT_AMP); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 386: + ACCEPT_TOKEN(anon_sym_GT_GT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ':' || + lookahead == ';' || + lookahead == '=' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(366); + END_STATE(); + case 387: + ACCEPT_TOKEN(anon_sym_LBRACK); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '[') + ADVANCE(388); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 388: + ACCEPT_TOKEN(anon_sym_LBRACK_LBRACK); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 389: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(390); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 390: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(363); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(389); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(415); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(420); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 391: + ACCEPT_TOKEN(anon_sym_RBRACK); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == ']') + ADVANCE(392); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 392: + ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 393: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'a') + ADVANCE(394); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`' && + lookahead != 'a') + ADVANCE(370); + END_STATE(); + case 394: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 's') + ADVANCE(395); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 395: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'e') + ADVANCE(396); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 396: + ACCEPT_TOKEN(anon_sym_case); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 397: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'o') + ADVANCE(398); + if (lookahead == 'u') + ADVANCE(400); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 398: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'r') + ADVANCE(399); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 399: + ACCEPT_TOKEN(anon_sym_for); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 400: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'n') + ADVANCE(401); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 401: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'c') + ADVANCE(402); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 402: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 't') + ADVANCE(403); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 403: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'i') + ADVANCE(404); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 404: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'o') + ADVANCE(405); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 405: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'n') + ADVANCE(406); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 406: + ACCEPT_TOKEN(anon_sym_function); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 407: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'f') + ADVANCE(408); + if (lookahead == 'n') + ADVANCE(409); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 408: + ACCEPT_TOKEN(anon_sym_if); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 409: + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 410: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'h') + ADVANCE(411); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 411: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'i') + ADVANCE(412); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 412: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'l') + ADVANCE(413); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 413: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'e') + ADVANCE(414); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 414: + ACCEPT_TOKEN(anon_sym_while); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 415: + ACCEPT_TOKEN(anon_sym_LBRACE); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 416: + ACCEPT_TOKEN(anon_sym_PIPE); + if (lookahead == '&') + ADVANCE(417); + if (lookahead == '|') + ADVANCE(418); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 417: + ACCEPT_TOKEN(anon_sym_PIPE_AMP); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 418: + ACCEPT_TOKEN(anon_sym_PIPE_PIPE); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 419: + ACCEPT_TOKEN(anon_sym_RBRACE); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 420: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(363); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(389); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(415); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(420); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 421: + ACCEPT_TOKEN(anon_sym_DOLLAR); + if (lookahead == '(') + ADVANCE(75); + if (lookahead == '{') + ADVANCE(125); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 422: + if (lookahead == '\n') + ADVANCE(423); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(424); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(425); + if (lookahead != 0) + ADVANCE(370); + END_STATE(); + case 423: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(423); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(424); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(425); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 424: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(425); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 425: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(423); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(424); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(425); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 426: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'n') + ADVANCE(409); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 427: + if (lookahead == '\n') + ADVANCE(428); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(124); if (lookahead == '&') ADVANCE(138); + if (lookahead == '\'') + ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ';') @@ -9206,315 +7706,1413 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(485); + SKIP(430); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') - ADVANCE(146); + ADVANCE(226); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(484); + ADVANCE(429); + if (lookahead != 0 && + (lookahead < '{' || lookahead > '}')) + ADVANCE(120); END_STATE(); - case 485: + case 428: + ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - SKIP(484); + ADVANCE(428); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(429); END_STATE(); - case 486: + case 429: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - ADVANCE(178); + ADVANCE(428); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(429); + END_STATE(); + case 430: + if (lookahead == '\n') + SKIP(427); + END_STATE(); + case 431: + if (lookahead == '\n') + ADVANCE(432); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(433); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(435); + if (lookahead != 0) + ADVANCE(370); + END_STATE(); + case 432: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(432); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(433); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(435); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 433: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(434); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 434: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(432); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(433); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(435); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 435: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(432); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(433); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(435); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 436: + if (lookahead == '\n') + ADVANCE(437); + if (lookahead == '!') + ADVANCE(438); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(439); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == '*') + ADVANCE(440); + if (lookahead == '-') + ADVANCE(441); + if (lookahead == '0') + ADVANCE(442); + if (lookahead == ':') + ADVANCE(444); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(447); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '?') + ADVANCE(448); + if (lookahead == '@') + ADVANCE(449); + if (lookahead == '\\') + ADVANCE(450); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '_') + ADVANCE(452); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(453); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(451); + if (('1' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0) + ADVANCE(370); + END_STATE(); + case 437: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(437); + if (lookahead == '!') + ADVANCE(438); + if (lookahead == '#') + ADVANCE(439); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == '*') + ADVANCE(440); + if (lookahead == '-') + ADVANCE(441); + if (lookahead == '0') + ADVANCE(442); + if (lookahead == ':') + ADVANCE(444); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(447); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '?') + ADVANCE(448); + if (lookahead == '@') + ADVANCE(449); + if (lookahead == '\\') + ADVANCE(450); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '_') + ADVANCE(452); + if (lookahead == 'i') + ADVANCE(453); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(451); + if (('1' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < ' ' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 438: + ACCEPT_TOKEN(anon_sym_BANG); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 439: + ACCEPT_TOKEN(anon_sym_POUND); + if (lookahead == '\n') + ADVANCE(150); + if (lookahead == '\"' || + lookahead == '$' || + lookahead == '`') + ADVANCE(5); + if (lookahead != 0) + ADVANCE(149); + END_STATE(); + case 440: + ACCEPT_TOKEN(anon_sym_STAR); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 441: + ACCEPT_TOKEN(anon_sym_DASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 442: + ACCEPT_TOKEN(anon_sym_0); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 443: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 444: + ACCEPT_TOKEN(anon_sym_COLON); + if (lookahead == '-') + ADVANCE(445); + if (lookahead == '?') + ADVANCE(446); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 445: + ACCEPT_TOKEN(anon_sym_COLON_DASH); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 446: + ACCEPT_TOKEN(anon_sym_COLON_QMARK); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 447: + ACCEPT_TOKEN(anon_sym_EQ); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '&' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '<' || + lookahead == '>' || + lookahead == '\\' || + lookahead == '{' || + lookahead == '}') + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(371); + END_STATE(); + case 448: + ACCEPT_TOKEN(anon_sym_QMARK); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 449: + ACCEPT_TOKEN(anon_sym_AT); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 450: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(451); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 451: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(437); + if (lookahead == '!') + ADVANCE(438); + if (lookahead == '#') + ADVANCE(439); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == '*') + ADVANCE(440); + if (lookahead == '-') + ADVANCE(441); + if (lookahead == '0') + ADVANCE(442); + if (lookahead == ':') + ADVANCE(444); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(447); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '?') + ADVANCE(448); + if (lookahead == '@') + ADVANCE(449); + if (lookahead == '\\') + ADVANCE(450); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '_') + ADVANCE(452); + if (lookahead == 'i') + ADVANCE(453); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(451); + if (('1' <= lookahead && lookahead <= 'Z') || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < ' ' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 452: + ACCEPT_TOKEN(anon_sym__); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 453: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == 'n') + ADVANCE(454); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 454: + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == '$') + ADVANCE(76); + if (lookahead == '&' || + lookahead == '<' || + lookahead == '>') + ADVANCE(366); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(371); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ' || + lookahead == '#' || + lookahead == '(' || + lookahead == ')' || + lookahead == ';' || + lookahead == '\\' || + ('{' <= lookahead && lookahead <= '}')) + ADVANCE(150); + if (('0' <= lookahead && lookahead <= '9') || + ('A' <= lookahead && lookahead <= 'Z') || + lookahead == '_' || + ('a' <= lookahead && lookahead <= 'z')) + ADVANCE(443); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + (lookahead < '_' || lookahead > '}')) + ADVANCE(370); + END_STATE(); + case 455: + if (lookahead == '\n') + ADVANCE(456); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(457); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(459); + if (lookahead != 0) + ADVANCE(370); + END_STATE(); + case 456: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(456); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(457); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(459); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 457: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(458); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 458: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(456); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(457); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(459); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 459: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(456); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(377); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(371); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '[') + ADVANCE(387); + if (lookahead == '\\') + ADVANCE(457); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'c') + ADVANCE(393); + if (lookahead == 'f') + ADVANCE(397); + if (lookahead == 'i') + ADVANCE(407); + if (lookahead == 'w') + ADVANCE(410); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(459); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 460: + if (lookahead == '\n') + ADVANCE(461); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(444); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(447); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(462); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(463); + if (lookahead != 0) + ADVANCE(370); + END_STATE(); + case 461: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(461); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(444); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(447); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(462); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(463); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 462: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(463); + if (lookahead != 0 && + lookahead != '\"' && + lookahead != '$' && + lookahead != '`') + ADVANCE(150); + END_STATE(); + case 463: + ACCEPT_TOKEN(aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(461); + if (lookahead == '#') + ADVANCE(149); + if (lookahead == '&') + ADVANCE(364); + if (lookahead == '\'') + ADVANCE(369); + if (lookahead == '(') + ADVANCE(375); + if (lookahead == ')') + ADVANCE(376); + if (lookahead == ':') + ADVANCE(444); + if (lookahead == ';') + ADVANCE(378); + if (lookahead == '<') + ADVANCE(380); + if (lookahead == '=') + ADVANCE(447); + if (lookahead == '>') + ADVANCE(384); + if (lookahead == '\\') + ADVANCE(462); + if (lookahead == ']') + ADVANCE(391); + if (lookahead == 'i') + ADVANCE(426); + if (lookahead == '{') + ADVANCE(150); + if (lookahead == '|') + ADVANCE(416); + if (lookahead == '}') + ADVANCE(419); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(463); + if (lookahead != 0 && + (lookahead < '\"' || lookahead > '$') && + lookahead != '`') + ADVANCE(370); + END_STATE(); + case 464: + if (lookahead == 0) + ADVANCE(1); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(5); if (lookahead == '$') - ADVANCE(74); + ADVANCE(421); if (lookahead == '&') - ADVANCE(182); + ADVANCE(77); if (lookahead == '\'') - ADVANCE(80); + ADVANCE(323); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ':') - ADVANCE(13); + ADVANCE(326); if (lookahead == ';') - ADVANCE(140); + ADVANCE(160); if (lookahead == '<') ADVANCE(84); if (lookahead == '>') ADVANCE(86); + if (lookahead == '[') + ADVANCE(327); if (lookahead == '\\') - SKIP(487); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(486); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 487: - if (lookahead == '\n') - SKIP(486); - END_STATE(); - case 488: - if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '\\') - SKIP(489); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(488); - END_STATE(); - case 489: - if (lookahead == '\n') - SKIP(488); - END_STATE(); - case 490: - if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(74); - if (lookahead == '&') - ADVANCE(182); - if (lookahead == '\'') - ADVANCE(80); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(13); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(491); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(494); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(490); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < ':' || lookahead > '>') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 491: - ACCEPT_TOKEN(anon_sym_LT); - if (lookahead == '&') - ADVANCE(85); - if (lookahead == '<') - ADVANCE(492); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '=') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 492: - ACCEPT_TOKEN(anon_sym_LT_LT); - if (lookahead == '-') - ADVANCE(493); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 493: - ACCEPT_TOKEN(anon_sym_LT_LT_DASH); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - lookahead != '\"' && - lookahead != '#' && - lookahead != '(' && - lookahead != ')' && - lookahead != ':' && - lookahead != ';' && - lookahead != '=' && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(76); - END_STATE(); - case 494: - if (lookahead == '\n') - SKIP(490); - END_STATE(); - case 495: - if (lookahead == '\n') - ADVANCE(496); - if (lookahead == '\"') - ADVANCE(3); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '$') - ADVANCE(398); - if (lookahead == '&') - ADVANCE(182); - if (lookahead == '\'') - ADVANCE(437); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ':') - ADVANCE(440); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(491); - if (lookahead == '=') - ADVANCE(120); - if (lookahead == '>') - ADVANCE(86); - if (lookahead == '\\') - SKIP(498); - if (lookahead == ']') - ADVANCE(499); + SKIP(465); if (lookahead == '`') ADVANCE(28); + if (lookahead == 'c') + ADVANCE(330); + if (lookahead == 'd') + ADVANCE(466); + if (lookahead == 'e') + ADVANCE(470); + if (lookahead == 'f') + ADVANCE(479); if (lookahead == 'i') - ADVANCE(501); - if (lookahead == '|') - ADVANCE(225); + ADVANCE(481); + if (lookahead == 't') + ADVANCE(483); + if (lookahead == 'w') + ADVANCE(346); if (lookahead == '}') ADVANCE(72); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(497); - if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); - END_STATE(); - case 496: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(496); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(497); - END_STATE(); - case 497: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(496); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(497); - END_STATE(); - case 498: - if (lookahead == '\n') - SKIP(495); - END_STATE(); - case 499: - ACCEPT_TOKEN(anon_sym_RBRACK); - if (lookahead == ']') - ADVANCE(500); - if (lookahead == ':' || - lookahead == '=' || + if (lookahead == '=' || lookahead == '|') ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != ']' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + if (lookahead == '\t' || + lookahead == '\n' || + lookahead == '\r' || + lookahead == ' ') + SKIP(464); + if ((lookahead < '{' || lookahead > '}')) + ADVANCE(325); END_STATE(); - case 500: - ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); - if (lookahead == ':' || - lookahead == '=' || - lookahead == '|') - ADVANCE(120); - if (lookahead == '$' || - lookahead == '&' || - ('<' <= lookahead && lookahead <= '>')) - ADVANCE(76); - if (lookahead != 0 && - lookahead != '\t' && - lookahead != '\n' && - lookahead != '\r' && - lookahead != ' ' && - (lookahead < '\"' || lookahead > '$') && - lookahead != '(' && - lookahead != ')' && - (lookahead < ':' || lookahead > '>') && - lookahead != '\\' && - lookahead != '`' && - (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + case 465: + if (lookahead == '\n') + SKIP(464); END_STATE(); - case 501: + case 466: ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'o') + ADVANCE(467); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 467: + ACCEPT_TOKEN(anon_sym_do); if (lookahead == 'n') + ADVANCE(468); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 468: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(469); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 469: + ACCEPT_TOKEN(anon_sym_done); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 470: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'l') + ADVANCE(471); + if (lookahead == 's') + ADVANCE(476); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 471: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'i') + ADVANCE(472); + if (lookahead == 's') ADVANCE(474); if (lookahead == ':' || lookahead == '=' || @@ -9536,61 +9134,770 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { lookahead != '\\' && lookahead != '`' && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); END_STATE(); - case 502: + case 472: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(473); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 473: + ACCEPT_TOKEN(anon_sym_elif); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 474: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(475); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 475: + ACCEPT_TOKEN(anon_sym_else); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 476: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'a') + ADVANCE(477); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + lookahead != 'a' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 477: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'c') + ADVANCE(478); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 478: + ACCEPT_TOKEN(anon_sym_esac); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 479: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'i') + ADVANCE(480); + if (lookahead == 'o') + ADVANCE(335); + if (lookahead == 'u') + ADVANCE(337); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 480: + ACCEPT_TOKEN(anon_sym_fi); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 481: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'f') + ADVANCE(345); + if (lookahead == 'n') + ADVANCE(482); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 482: + ACCEPT_TOKEN(anon_sym_in); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 483: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'h') + ADVANCE(484); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 484: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'e') + ADVANCE(485); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 485: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(486); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 486: + ACCEPT_TOKEN(anon_sym_then); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 487: if (lookahead == '\n') - ADVANCE(178); + ADVANCE(175); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(488); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(487); + END_STATE(); + case 488: + if (lookahead == '\n') + SKIP(487); + END_STATE(); + case 489: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') ADVANCE(5); if (lookahead == '$') - ADVANCE(398); + ADVANCE(74); if (lookahead == '&') - ADVANCE(182); + ADVANCE(179); if (lookahead == '\'') - ADVANCE(437); + ADVANCE(80); if (lookahead == ')') ADVANCE(9); if (lookahead == ':') - ADVANCE(440); + ADVANCE(13); if (lookahead == ';') ADVANCE(140); if (lookahead == '<') - ADVANCE(491); + ADVANCE(84); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(490); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(489); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 490: + if (lookahead == '\n') + SKIP(489); + END_STATE(); + case 491: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(74); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(80); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(13); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(492); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(495); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(491); + if (lookahead != 0 && + (lookahead < '&' || lookahead > ')') && + (lookahead < ':' || lookahead > '>') && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 492: + ACCEPT_TOKEN(anon_sym_LT); + if (lookahead == '&') + ADVANCE(85); + if (lookahead == '<') + ADVANCE(493); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '=') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 493: + ACCEPT_TOKEN(anon_sym_LT_LT); + if (lookahead == '-') + ADVANCE(494); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 494: + ACCEPT_TOKEN(anon_sym_LT_LT_DASH); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + lookahead != '\"' && + lookahead != '#' && + lookahead != '(' && + lookahead != ')' && + lookahead != ':' && + lookahead != ';' && + lookahead != '=' && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(76); + END_STATE(); + case 495: + if (lookahead == '\n') + SKIP(491); + END_STATE(); + case 496: + if (lookahead == '\n') + ADVANCE(497); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(323); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(326); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(492); if (lookahead == '=') ADVANCE(120); if (lookahead == '>') ADVANCE(86); if (lookahead == '\\') - SKIP(503); + SKIP(499); if (lookahead == ']') - ADVANCE(499); + ADVANCE(500); if (lookahead == '`') ADVANCE(28); if (lookahead == 'i') - ADVANCE(501); + ADVANCE(502); if (lookahead == '|') - ADVANCE(225); + ADVANCE(226); if (lookahead == '}') ADVANCE(72); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(502); + ADVANCE(498); if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) - ADVANCE(439); + ADVANCE(325); + END_STATE(); + case 497: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(497); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(498); + END_STATE(); + case 498: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(497); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(498); + END_STATE(); + case 499: + if (lookahead == '\n') + SKIP(496); + END_STATE(); + case 500: + ACCEPT_TOKEN(anon_sym_RBRACK); + if (lookahead == ']') + ADVANCE(501); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != ']' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 501: + ACCEPT_TOKEN(anon_sym_RBRACK_RBRACK); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); + END_STATE(); + case 502: + ACCEPT_TOKEN(sym_leading_word); + if (lookahead == 'n') + ADVANCE(482); + if (lookahead == ':' || + lookahead == '=' || + lookahead == '|') + ADVANCE(120); + if (lookahead == '$' || + lookahead == '&' || + ('<' <= lookahead && lookahead <= '>')) + ADVANCE(76); + if (lookahead != 0 && + lookahead != '\t' && + lookahead != '\n' && + lookahead != '\r' && + lookahead != ' ' && + (lookahead < '\"' || lookahead > '$') && + lookahead != '(' && + lookahead != ')' && + (lookahead < ':' || lookahead > '>') && + lookahead != '\\' && + lookahead != '`' && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); END_STATE(); case 503: if (lookahead == '\n') - SKIP(502); + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(323); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(326); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(492); + if (lookahead == '=') + ADVANCE(120); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(504); + if (lookahead == ']') + ADVANCE(500); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(502); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(503); + if (lookahead != 0 && + (lookahead < '{' || lookahead > '}')) + ADVANCE(325); END_STATE(); case 504: if (lookahead == '\n') - ADVANCE(178); + SKIP(503); + END_STATE(); + case 505: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -9601,6 +9908,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(138); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ';') @@ -9610,55 +9919,80 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(505); + SKIP(506); if (lookahead == ']') - ADVANCE(215); + ADVANCE(216); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') - ADVANCE(225); + ADVANCE(226); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(504); + SKIP(505); if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 505: - if (lookahead == '\n') - SKIP(504); - END_STATE(); case 506: if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(179); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '\\') - SKIP(507); - if (lookahead == '{') - ADVANCE(69); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(506); + SKIP(505); END_STATE(); case 507: if (lookahead == '\n') - SKIP(506); + ADVANCE(175); + if (lookahead == '\"') + ADVANCE(3); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '$') + ADVANCE(421); + if (lookahead == '&') + ADVANCE(179); + if (lookahead == '\'') + ADVANCE(323); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ':') + ADVANCE(326); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(492); + if (lookahead == '=') + ADVANCE(120); + if (lookahead == '>') + ADVANCE(86); + if (lookahead == '\\') + SKIP(508); + if (lookahead == ']') + ADVANCE(500); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == 'i') + ADVANCE(502); + if (lookahead == '{') + ADVANCE(69); + if (lookahead == '|') + ADVANCE(226); + if (lookahead == '}') + ADVANCE(72); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(507); + if (lookahead != 0) + ADVANCE(325); END_STATE(); case 508: if (lookahead == '\n') - ADVANCE(509); + SKIP(507); + END_STATE(); + case 509: + if (lookahead == '\n') + ADVANCE(510); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -9672,39 +10006,39 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(511); + SKIP(512); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(510); - END_STATE(); - case 509: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(509); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(510); + ADVANCE(511); END_STATE(); case 510: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(509); + ADVANCE(510); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(510); + ADVANCE(511); END_STATE(); case 511: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - SKIP(508); + ADVANCE(510); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(511); END_STATE(); case 512: if (lookahead == '\n') - ADVANCE(513); + SKIP(509); + END_STATE(); + case 513: + if (lookahead == '\n') + ADVANCE(514); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -9722,39 +10056,163 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(515); + SKIP(516); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(514); - END_STATE(); - case 513: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(513); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(514); + ADVANCE(515); END_STATE(); case 514: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(513); + ADVANCE(514); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(514); + ADVANCE(515); END_STATE(); case 515: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - SKIP(512); + ADVANCE(514); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(515); END_STATE(); case 516: if (lookahead == '\n') - ADVANCE(178); + SKIP(513); + END_STATE(); + case 517: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(176); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '\\') + SKIP(518); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(517); + END_STATE(); + case 518: + if (lookahead == '\n') + SKIP(517); + END_STATE(); + case 519: + if (lookahead == '\n') + ADVANCE(520); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(522); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(521); + END_STATE(); + case 520: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(520); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(521); + END_STATE(); + case 521: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(520); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(521); + END_STATE(); + case 522: + if (lookahead == '\n') + SKIP(519); + END_STATE(); + case 523: + if (lookahead == '\n') + ADVANCE(524); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == '(') + ADVANCE(8); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(526); + if (lookahead == '`') + ADVANCE(28); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(525); + END_STATE(); + case 524: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(524); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(525); + END_STATE(); + case 525: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(524); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(525); + END_STATE(); + case 526: + if (lookahead == '\n') + SKIP(523); + END_STATE(); + case 527: + if (lookahead == '\n') + ADVANCE(175); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -9765,6 +10223,8 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { ADVANCE(138); if (lookahead == '\'') ADVANCE(126); + if (lookahead == '(') + ADVANCE(8); if (lookahead == ')') ADVANCE(9); if (lookahead == ';') @@ -9774,27 +10234,26 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(517); + SKIP(528); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') - ADVANCE(225); + ADVANCE(226); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(516); + SKIP(527); if (lookahead != 0 && - (lookahead < '&' || lookahead > ')') && (lookahead < '{' || lookahead > '}')) ADVANCE(120); END_STATE(); - case 517: + case 528: if (lookahead == '\n') - SKIP(516); + SKIP(527); END_STATE(); - case 518: + case 529: if (lookahead == '\n') - ADVANCE(178); + ADVANCE(175); if (lookahead == '\"') ADVANCE(3); if (lookahead == '#') @@ -9802,7 +10261,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '$') ADVANCE(74); if (lookahead == '&') - ADVANCE(182); + ADVANCE(179); if (lookahead == '\'') ADVANCE(80); if (lookahead == ')') @@ -9816,7 +10275,7 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(86); if (lookahead == '\\') - SKIP(519); + SKIP(530); if (lookahead == '`') ADVANCE(28); if (lookahead == '|') @@ -9826,146 +10285,20 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - SKIP(518); + SKIP(529); if (lookahead != 0 && (lookahead < '&' || lookahead > ')') && (lookahead < ':' || lookahead > '>') && (lookahead < '{' || lookahead > '}')) ADVANCE(76); END_STATE(); - case 519: - if (lookahead == '\n') - SKIP(518); - END_STATE(); - case 520: - if (lookahead == '\n') - ADVANCE(521); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(523); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(522); - END_STATE(); - case 521: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(521); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(522); - END_STATE(); - case 522: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(521); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(522); - END_STATE(); - case 523: - if (lookahead == '\n') - SKIP(520); - END_STATE(); - case 524: - if (lookahead == '\n') - ADVANCE(525); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '=') - ADVANCE(17); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(527); - if (lookahead == '`') - ADVANCE(28); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(526); - END_STATE(); - case 525: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(525); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(526); - END_STATE(); - case 526: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); - if (lookahead == '\n') - ADVANCE(525); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(526); - END_STATE(); - case 527: - if (lookahead == '\n') - SKIP(524); - END_STATE(); - case 528: - if (lookahead == '\n') - ADVANCE(178); - if (lookahead == '#') - ADVANCE(5); - if (lookahead == '&') - ADVANCE(138); - if (lookahead == ')') - ADVANCE(9); - if (lookahead == ';') - ADVANCE(140); - if (lookahead == '<') - ADVANCE(142); - if (lookahead == '>') - ADVANCE(18); - if (lookahead == '\\') - SKIP(529); - if (lookahead == '|') - ADVANCE(146); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - SKIP(528); - END_STATE(); - case 529: - if (lookahead == '\n') - SKIP(528); - END_STATE(); case 530: if (lookahead == '\n') - ADVANCE(531); + SKIP(529); + END_STATE(); + case 531: + if (lookahead == '\n') + ADVANCE(532); if (lookahead == '#') ADVANCE(5); if (lookahead == '&') @@ -9981,35 +10314,113 @@ static bool ts_lex(TSLexer *lexer, TSStateId state) { if (lookahead == '>') ADVANCE(18); if (lookahead == '\\') - SKIP(533); + SKIP(534); + if (lookahead == '`') + ADVANCE(28); if (lookahead == '|') ADVANCE(146); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(532); - END_STATE(); - case 531: - ACCEPT_TOKEN(anon_sym_LF); - if (lookahead == '\n') - ADVANCE(531); - if (lookahead == '\t' || - lookahead == '\r' || - lookahead == ' ') - ADVANCE(532); + ADVANCE(533); END_STATE(); case 532: - ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + ACCEPT_TOKEN(anon_sym_LF); if (lookahead == '\n') - ADVANCE(531); + ADVANCE(532); if (lookahead == '\t' || lookahead == '\r' || lookahead == ' ') - ADVANCE(532); + ADVANCE(533); END_STATE(); case 533: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); if (lookahead == '\n') - SKIP(530); + ADVANCE(532); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(533); + END_STATE(); + case 534: + if (lookahead == '\n') + SKIP(531); + END_STATE(); + case 535: + if (lookahead == '\n') + ADVANCE(175); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(536); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + SKIP(535); + END_STATE(); + case 536: + if (lookahead == '\n') + SKIP(535); + END_STATE(); + case 537: + if (lookahead == '\n') + ADVANCE(538); + if (lookahead == '#') + ADVANCE(5); + if (lookahead == '&') + ADVANCE(138); + if (lookahead == ')') + ADVANCE(9); + if (lookahead == ';') + ADVANCE(140); + if (lookahead == '<') + ADVANCE(142); + if (lookahead == '=') + ADVANCE(17); + if (lookahead == '>') + ADVANCE(18); + if (lookahead == '\\') + SKIP(540); + if (lookahead == '|') + ADVANCE(146); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(539); + END_STATE(); + case 538: + ACCEPT_TOKEN(anon_sym_LF); + if (lookahead == '\n') + ADVANCE(538); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(539); + END_STATE(); + case 539: + ACCEPT_TOKEN(aux_sym_SLASH_BSLASHs_PLUS_SLASH); + if (lookahead == '\n') + ADVANCE(538); + if (lookahead == '\t' || + lookahead == '\r' || + lookahead == ' ') + ADVANCE(539); + END_STATE(); + case 540: + if (lookahead == '\n') + SKIP(537); END_STATE(); default: return false; @@ -10031,1007 +10442,1164 @@ static TSLexMode ts_lex_modes[STATE_COUNT] = { [11] = {.lex_state = 135, .external_lex_state = 2}, [12] = {.lex_state = 123}, [13] = {.lex_state = 148}, - [14] = {.lex_state = 154, .external_lex_state = 2}, - [15] = {.lex_state = 154, .external_lex_state = 2}, - [16] = {.lex_state = 156, .external_lex_state = 2}, - [17] = {.lex_state = 160}, - [18] = {.lex_state = 162, .external_lex_state = 2}, - [19] = {.lex_state = 177}, - [20] = {.lex_state = 181, .external_lex_state = 2}, - [21] = {.lex_state = 154, .external_lex_state = 2}, + [14] = {.lex_state = 121, .external_lex_state = 2}, + [15] = {.lex_state = 121, .external_lex_state = 2}, + [16] = {.lex_state = 153, .external_lex_state = 2}, + [17] = {.lex_state = 157}, + [18] = {.lex_state = 159, .external_lex_state = 2}, + [19] = {.lex_state = 174}, + [20] = {.lex_state = 178, .external_lex_state = 2}, + [21] = {.lex_state = 182, .external_lex_state = 2}, [22] = {.lex_state = 73, .external_lex_state = 2}, - [23] = {.lex_state = 154, .external_lex_state = 2}, + [23] = {.lex_state = 182, .external_lex_state = 2}, [24] = {.lex_state = 123}, - [25] = {.lex_state = 185}, - [26] = {.lex_state = 188}, - [27] = {.lex_state = 177}, - [28] = {.lex_state = 181, .external_lex_state = 2}, - [29] = {.lex_state = 192}, - [30] = {.lex_state = 194}, - [31] = {.lex_state = 148}, - [32] = {.lex_state = 196}, - [33] = {.lex_state = 198}, - [34] = {.lex_state = 203}, - [35] = {.lex_state = 154, .external_lex_state = 2}, - [36] = {.lex_state = 154, .external_lex_state = 2}, - [37] = {.lex_state = 194}, - [38] = {.lex_state = 177}, - [39] = {.lex_state = 133, .external_lex_state = 2}, - [40] = {.lex_state = 194}, - [41] = {.lex_state = 148}, - [42] = {.lex_state = 213}, - [43] = {.lex_state = 198}, - [44] = {.lex_state = 203}, - [45] = {.lex_state = 154, .external_lex_state = 2}, - [46] = {.lex_state = 154, .external_lex_state = 2}, - [47] = {.lex_state = 217}, - [48] = {.lex_state = 220}, - [49] = {.lex_state = 113}, - [50] = {.lex_state = 223, .external_lex_state = 2}, - [51] = {.lex_state = 123}, - [52] = {.lex_state = 227, .external_lex_state = 3}, - [53] = {.lex_state = 229, .external_lex_state = 2}, - [54] = {.lex_state = 229, .external_lex_state = 2}, - [55] = {.lex_state = 194}, - [56] = {.lex_state = 148}, - [57] = {.lex_state = 154, .external_lex_state = 2}, - [58] = {.lex_state = 198}, - [59] = {.lex_state = 203}, - [60] = {.lex_state = 154, .external_lex_state = 2}, - [61] = {.lex_state = 154, .external_lex_state = 2}, - [62] = {.lex_state = 135, .external_lex_state = 2}, - [63] = {.lex_state = 148}, - [64] = {.lex_state = 198}, - [65] = {.lex_state = 203}, - [66] = {.lex_state = 154, .external_lex_state = 2}, - [67] = {.lex_state = 154, .external_lex_state = 2}, - [68] = {.lex_state = 148}, - [69] = {.lex_state = 231, .external_lex_state = 2}, - [70] = {.lex_state = 148}, - [71] = {.lex_state = 154, .external_lex_state = 2}, - [72] = {.lex_state = 154, .external_lex_state = 2}, - [73] = {.lex_state = 234, .external_lex_state = 2}, - [74] = {.lex_state = 237}, - [75] = {.lex_state = 154, .external_lex_state = 2}, - [76] = {.lex_state = 239, .external_lex_state = 2}, - [77] = {.lex_state = 242, .external_lex_state = 2}, - [78] = {.lex_state = 245}, - [79] = {.lex_state = 154, .external_lex_state = 2}, - [80] = {.lex_state = 237}, - [81] = {.lex_state = 223, .external_lex_state = 2}, - [82] = {.lex_state = 123, .external_lex_state = 4}, - [83] = {.lex_state = 229, .external_lex_state = 2}, - [84] = {.lex_state = 247, .external_lex_state = 2}, - [85] = {.lex_state = 121, .external_lex_state = 2}, - [86] = {.lex_state = 121, .external_lex_state = 2}, - [87] = {.lex_state = 162, .external_lex_state = 2}, - [88] = {.lex_state = 135, .external_lex_state = 2}, - [89] = {.lex_state = 255, .external_lex_state = 2}, - [90] = {.lex_state = 154, .external_lex_state = 2}, - [91] = {.lex_state = 154, .external_lex_state = 2}, - [92] = {.lex_state = 121, .external_lex_state = 2}, - [93] = {.lex_state = 259, .external_lex_state = 2}, - [94] = {.lex_state = 177}, - [95] = {.lex_state = 261}, - [96] = {.lex_state = 263, .external_lex_state = 2}, - [97] = {.lex_state = 121, .external_lex_state = 2}, - [98] = {.lex_state = 196}, - [99] = {.lex_state = 148}, - [100] = {.lex_state = 265}, - [101] = {.lex_state = 185}, - [102] = {.lex_state = 196}, - [103] = {.lex_state = 196}, - [104] = {.lex_state = 196}, - [105] = {.lex_state = 267}, - [106] = {.lex_state = 272}, - [107] = {.lex_state = 272}, - [108] = {.lex_state = 237}, - [109] = {.lex_state = 245}, - [110] = {.lex_state = 237}, - [111] = {.lex_state = 177}, - [112] = {.lex_state = 121, .external_lex_state = 2}, - [113] = {.lex_state = 274}, - [114] = {.lex_state = 148}, - [115] = {.lex_state = 213}, - [116] = {.lex_state = 274}, - [117] = {.lex_state = 274}, - [118] = {.lex_state = 272}, - [119] = {.lex_state = 272}, - [120] = {.lex_state = 237}, - [121] = {.lex_state = 245}, - [122] = {.lex_state = 177}, - [123] = {.lex_state = 213}, - [124] = {.lex_state = 123}, - [125] = {.lex_state = 276}, - [126] = {.lex_state = 148}, - [127] = {.lex_state = 223, .external_lex_state = 2}, - [128] = {.lex_state = 198}, - [129] = {.lex_state = 203}, - [130] = {.lex_state = 154, .external_lex_state = 2}, - [131] = {.lex_state = 154, .external_lex_state = 2}, - [132] = {.lex_state = 223, .external_lex_state = 2}, - [133] = {.lex_state = 229, .external_lex_state = 2}, - [134] = {.lex_state = 194}, - [135] = {.lex_state = 148}, - [136] = {.lex_state = 229, .external_lex_state = 2}, - [137] = {.lex_state = 198}, - [138] = {.lex_state = 203}, - [139] = {.lex_state = 154, .external_lex_state = 2}, - [140] = {.lex_state = 154, .external_lex_state = 2}, - [141] = {.lex_state = 229, .external_lex_state = 2}, - [142] = {.lex_state = 278, .external_lex_state = 5}, - [143] = {.lex_state = 229, .external_lex_state = 2}, - [144] = {.lex_state = 229, .external_lex_state = 2}, - [145] = {.lex_state = 121, .external_lex_state = 2}, - [146] = {.lex_state = 281, .external_lex_state = 2}, - [147] = {.lex_state = 148}, - [148] = {.lex_state = 281, .external_lex_state = 2}, - [149] = {.lex_state = 281, .external_lex_state = 2}, - [150] = {.lex_state = 281, .external_lex_state = 2}, - [151] = {.lex_state = 272}, - [152] = {.lex_state = 272}, - [153] = {.lex_state = 237}, - [154] = {.lex_state = 245}, - [155] = {.lex_state = 148}, - [156] = {.lex_state = 148}, - [157] = {.lex_state = 148}, - [158] = {.lex_state = 272}, - [159] = {.lex_state = 272}, - [160] = {.lex_state = 237}, - [161] = {.lex_state = 245}, - [162] = {.lex_state = 135, .external_lex_state = 2}, - [163] = {.lex_state = 148}, - [164] = {.lex_state = 113}, - [165] = {.lex_state = 284, .external_lex_state = 2}, - [166] = {.lex_state = 123}, - [167] = {.lex_state = 227, .external_lex_state = 3}, - [168] = {.lex_state = 286, .external_lex_state = 2}, - [169] = {.lex_state = 289, .external_lex_state = 2}, - [170] = {.lex_state = 291, .external_lex_state = 2}, - [171] = {.lex_state = 148}, - [172] = {.lex_state = 237}, - [173] = {.lex_state = 245}, - [174] = {.lex_state = 284, .external_lex_state = 2}, - [175] = {.lex_state = 123, .external_lex_state = 4}, - [176] = {.lex_state = 289, .external_lex_state = 2}, - [177] = {.lex_state = 135, .external_lex_state = 2}, - [178] = {.lex_state = 231, .external_lex_state = 2}, - [179] = {.lex_state = 234, .external_lex_state = 2}, - [180] = {.lex_state = 294, .external_lex_state = 2}, - [181] = {.lex_state = 294, .external_lex_state = 2}, - [182] = {.lex_state = 239, .external_lex_state = 2}, - [183] = {.lex_state = 242, .external_lex_state = 2}, - [184] = {.lex_state = 296}, - [185] = {.lex_state = 223, .external_lex_state = 2}, - [186] = {.lex_state = 229, .external_lex_state = 2}, - [187] = {.lex_state = 181, .external_lex_state = 2}, - [188] = {.lex_state = 194}, - [189] = {.lex_state = 148}, - [190] = {.lex_state = 198}, - [191] = {.lex_state = 203}, - [192] = {.lex_state = 154, .external_lex_state = 2}, - [193] = {.lex_state = 154, .external_lex_state = 2}, - [194] = {.lex_state = 177}, - [195] = {.lex_state = 181, .external_lex_state = 2}, - [196] = {.lex_state = 177}, - [197] = {.lex_state = 181, .external_lex_state = 2}, - [198] = {.lex_state = 223, .external_lex_state = 2}, - [199] = {.lex_state = 223, .external_lex_state = 2}, - [200] = {.lex_state = 229, .external_lex_state = 2}, - [201] = {.lex_state = 188}, - [202] = {.lex_state = 177}, - [203] = {.lex_state = 259, .external_lex_state = 2}, - [204] = {.lex_state = 177}, - [205] = {.lex_state = 121, .external_lex_state = 2}, - [206] = {.lex_state = 298, .external_lex_state = 2}, - [207] = {.lex_state = 300}, - [208] = {.lex_state = 304}, - [209] = {.lex_state = 263, .external_lex_state = 2}, - [210] = {.lex_state = 300}, - [211] = {.lex_state = 118}, - [212] = {.lex_state = 121, .external_lex_state = 2}, - [213] = {.lex_state = 121, .external_lex_state = 2}, - [214] = {.lex_state = 123}, - [215] = {.lex_state = 131}, - [216] = {.lex_state = 133, .external_lex_state = 2}, - [217] = {.lex_state = 123}, - [218] = {.lex_state = 123}, - [219] = {.lex_state = 306, .external_lex_state = 2}, - [220] = {.lex_state = 309, .external_lex_state = 2}, - [221] = {.lex_state = 312}, - [222] = {.lex_state = 281, .external_lex_state = 2}, - [223] = {.lex_state = 154, .external_lex_state = 2}, - [224] = {.lex_state = 196}, - [225] = {.lex_state = 315}, - [226] = {.lex_state = 265}, - [227] = {.lex_state = 196}, - [228] = {.lex_state = 123}, - [229] = {.lex_state = 196}, - [230] = {.lex_state = 123}, - [231] = {.lex_state = 196}, - [232] = {.lex_state = 296}, - [233] = {.lex_state = 312}, - [234] = {.lex_state = 281, .external_lex_state = 2}, - [235] = {.lex_state = 274}, - [236] = {.lex_state = 274}, - [237] = {.lex_state = 123}, - [238] = {.lex_state = 274}, - [239] = {.lex_state = 123}, - [240] = {.lex_state = 274}, - [241] = {.lex_state = 229, .external_lex_state = 2}, - [242] = {.lex_state = 121, .external_lex_state = 2}, - [243] = {.lex_state = 223, .external_lex_state = 2}, - [244] = {.lex_state = 148}, - [245] = {.lex_state = 223, .external_lex_state = 2}, - [246] = {.lex_state = 223, .external_lex_state = 2}, - [247] = {.lex_state = 223, .external_lex_state = 2}, - [248] = {.lex_state = 272}, - [249] = {.lex_state = 272}, - [250] = {.lex_state = 237}, - [251] = {.lex_state = 245}, - [252] = {.lex_state = 223, .external_lex_state = 2}, - [253] = {.lex_state = 229, .external_lex_state = 2}, - [254] = {.lex_state = 121, .external_lex_state = 2}, - [255] = {.lex_state = 229, .external_lex_state = 2}, - [256] = {.lex_state = 148}, - [257] = {.lex_state = 229, .external_lex_state = 2}, - [258] = {.lex_state = 229, .external_lex_state = 2}, - [259] = {.lex_state = 229, .external_lex_state = 2}, - [260] = {.lex_state = 272}, - [261] = {.lex_state = 272}, - [262] = {.lex_state = 237}, - [263] = {.lex_state = 245}, - [264] = {.lex_state = 278, .external_lex_state = 5}, - [265] = {.lex_state = 229, .external_lex_state = 2}, - [266] = {.lex_state = 198}, - [267] = {.lex_state = 203}, - [268] = {.lex_state = 278, .external_lex_state = 5}, - [269] = {.lex_state = 312}, - [270] = {.lex_state = 281, .external_lex_state = 2}, - [271] = {.lex_state = 281, .external_lex_state = 2}, - [272] = {.lex_state = 281, .external_lex_state = 2}, - [273] = {.lex_state = 123}, - [274] = {.lex_state = 281, .external_lex_state = 2}, - [275] = {.lex_state = 123}, - [276] = {.lex_state = 281, .external_lex_state = 2}, - [277] = {.lex_state = 148}, + [25] = {.lex_state = 184}, + [26] = {.lex_state = 187}, + [27] = {.lex_state = 174}, + [28] = {.lex_state = 178, .external_lex_state = 2}, + [29] = {.lex_state = 191}, + [30] = {.lex_state = 193}, + [31] = {.lex_state = 195}, + [32] = {.lex_state = 148}, + [33] = {.lex_state = 197}, + [34] = {.lex_state = 199}, + [35] = {.lex_state = 204}, + [36] = {.lex_state = 121, .external_lex_state = 2}, + [37] = {.lex_state = 121, .external_lex_state = 2}, + [38] = {.lex_state = 195}, + [39] = {.lex_state = 174}, + [40] = {.lex_state = 133, .external_lex_state = 2}, + [41] = {.lex_state = 193}, + [42] = {.lex_state = 195}, + [43] = {.lex_state = 148}, + [44] = {.lex_state = 214}, + [45] = {.lex_state = 199}, + [46] = {.lex_state = 204}, + [47] = {.lex_state = 121, .external_lex_state = 2}, + [48] = {.lex_state = 121, .external_lex_state = 2}, + [49] = {.lex_state = 218}, + [50] = {.lex_state = 221}, + [51] = {.lex_state = 113}, + [52] = {.lex_state = 224, .external_lex_state = 2}, + [53] = {.lex_state = 123}, + [54] = {.lex_state = 228, .external_lex_state = 3}, + [55] = {.lex_state = 230, .external_lex_state = 2}, + [56] = {.lex_state = 230, .external_lex_state = 2}, + [57] = {.lex_state = 193}, + [58] = {.lex_state = 195}, + [59] = {.lex_state = 148}, + [60] = {.lex_state = 182, .external_lex_state = 2}, + [61] = {.lex_state = 199}, + [62] = {.lex_state = 204}, + [63] = {.lex_state = 121, .external_lex_state = 2}, + [64] = {.lex_state = 121, .external_lex_state = 2}, + [65] = {.lex_state = 135, .external_lex_state = 2}, + [66] = {.lex_state = 148}, + [67] = {.lex_state = 199}, + [68] = {.lex_state = 204}, + [69] = {.lex_state = 121, .external_lex_state = 2}, + [70] = {.lex_state = 121, .external_lex_state = 2}, + [71] = {.lex_state = 148}, + [72] = {.lex_state = 118}, + [73] = {.lex_state = 121, .external_lex_state = 2}, + [74] = {.lex_state = 121, .external_lex_state = 2}, + [75] = {.lex_state = 123}, + [76] = {.lex_state = 131}, + [77] = {.lex_state = 133, .external_lex_state = 2}, + [78] = {.lex_state = 123}, + [79] = {.lex_state = 123}, + [80] = {.lex_state = 232, .external_lex_state = 2}, + [81] = {.lex_state = 148}, + [82] = {.lex_state = 121, .external_lex_state = 2}, + [83] = {.lex_state = 121, .external_lex_state = 2}, + [84] = {.lex_state = 236, .external_lex_state = 2}, + [85] = {.lex_state = 239}, + [86] = {.lex_state = 242, .external_lex_state = 2}, + [87] = {.lex_state = 182, .external_lex_state = 2}, + [88] = {.lex_state = 245, .external_lex_state = 2}, + [89] = {.lex_state = 248, .external_lex_state = 2}, + [90] = {.lex_state = 251}, + [91] = {.lex_state = 253, .external_lex_state = 2}, + [92] = {.lex_state = 182, .external_lex_state = 2}, + [93] = {.lex_state = 255}, + [94] = {.lex_state = 224, .external_lex_state = 2}, + [95] = {.lex_state = 123, .external_lex_state = 4}, + [96] = {.lex_state = 230, .external_lex_state = 2}, + [97] = {.lex_state = 257, .external_lex_state = 2}, + [98] = {.lex_state = 121, .external_lex_state = 2}, + [99] = {.lex_state = 121, .external_lex_state = 2}, + [100] = {.lex_state = 159, .external_lex_state = 2}, + [101] = {.lex_state = 135, .external_lex_state = 2}, + [102] = {.lex_state = 265, .external_lex_state = 2}, + [103] = {.lex_state = 182, .external_lex_state = 2}, + [104] = {.lex_state = 182, .external_lex_state = 2}, + [105] = {.lex_state = 121, .external_lex_state = 2}, + [106] = {.lex_state = 269, .external_lex_state = 2}, + [107] = {.lex_state = 174}, + [108] = {.lex_state = 271}, + [109] = {.lex_state = 273, .external_lex_state = 2}, + [110] = {.lex_state = 197}, + [111] = {.lex_state = 193}, + [112] = {.lex_state = 193}, + [113] = {.lex_state = 121, .external_lex_state = 2}, + [114] = {.lex_state = 197}, + [115] = {.lex_state = 148}, + [116] = {.lex_state = 275}, + [117] = {.lex_state = 184}, + [118] = {.lex_state = 197}, + [119] = {.lex_state = 197}, + [120] = {.lex_state = 197}, + [121] = {.lex_state = 277}, + [122] = {.lex_state = 282}, + [123] = {.lex_state = 282}, + [124] = {.lex_state = 239}, + [125] = {.lex_state = 242, .external_lex_state = 2}, + [126] = {.lex_state = 251}, + [127] = {.lex_state = 253, .external_lex_state = 2}, + [128] = {.lex_state = 255}, + [129] = {.lex_state = 174}, + [130] = {.lex_state = 284}, + [131] = {.lex_state = 193}, + [132] = {.lex_state = 121, .external_lex_state = 2}, + [133] = {.lex_state = 284}, + [134] = {.lex_state = 148}, + [135] = {.lex_state = 214}, + [136] = {.lex_state = 284}, + [137] = {.lex_state = 284}, + [138] = {.lex_state = 282}, + [139] = {.lex_state = 282}, + [140] = {.lex_state = 239}, + [141] = {.lex_state = 242, .external_lex_state = 2}, + [142] = {.lex_state = 251}, + [143] = {.lex_state = 253, .external_lex_state = 2}, + [144] = {.lex_state = 174}, + [145] = {.lex_state = 214}, + [146] = {.lex_state = 123}, + [147] = {.lex_state = 193}, + [148] = {.lex_state = 123}, + [149] = {.lex_state = 148}, + [150] = {.lex_state = 224, .external_lex_state = 2}, + [151] = {.lex_state = 199}, + [152] = {.lex_state = 204}, + [153] = {.lex_state = 121, .external_lex_state = 2}, + [154] = {.lex_state = 121, .external_lex_state = 2}, + [155] = {.lex_state = 224, .external_lex_state = 2}, + [156] = {.lex_state = 230, .external_lex_state = 2}, + [157] = {.lex_state = 193}, + [158] = {.lex_state = 195}, + [159] = {.lex_state = 148}, + [160] = {.lex_state = 230, .external_lex_state = 2}, + [161] = {.lex_state = 199}, + [162] = {.lex_state = 204}, + [163] = {.lex_state = 121, .external_lex_state = 2}, + [164] = {.lex_state = 121, .external_lex_state = 2}, + [165] = {.lex_state = 230, .external_lex_state = 2}, + [166] = {.lex_state = 286, .external_lex_state = 5}, + [167] = {.lex_state = 230, .external_lex_state = 2}, + [168] = {.lex_state = 230, .external_lex_state = 2}, + [169] = {.lex_state = 242, .external_lex_state = 2}, + [170] = {.lex_state = 193}, + [171] = {.lex_state = 121, .external_lex_state = 2}, + [172] = {.lex_state = 242, .external_lex_state = 2}, + [173] = {.lex_state = 148}, + [174] = {.lex_state = 242, .external_lex_state = 2}, + [175] = {.lex_state = 242, .external_lex_state = 2}, + [176] = {.lex_state = 242, .external_lex_state = 2}, + [177] = {.lex_state = 282}, + [178] = {.lex_state = 282}, + [179] = {.lex_state = 239}, + [180] = {.lex_state = 242, .external_lex_state = 2}, + [181] = {.lex_state = 251}, + [182] = {.lex_state = 253, .external_lex_state = 2}, + [183] = {.lex_state = 148}, + [184] = {.lex_state = 148}, + [185] = {.lex_state = 148}, + [186] = {.lex_state = 282}, + [187] = {.lex_state = 282}, + [188] = {.lex_state = 239}, + [189] = {.lex_state = 242, .external_lex_state = 2}, + [190] = {.lex_state = 251}, + [191] = {.lex_state = 253, .external_lex_state = 2}, + [192] = {.lex_state = 135, .external_lex_state = 2}, + [193] = {.lex_state = 148}, + [194] = {.lex_state = 184}, + [195] = {.lex_state = 187}, + [196] = {.lex_state = 191}, + [197] = {.lex_state = 197}, + [198] = {.lex_state = 195}, + [199] = {.lex_state = 289}, + [200] = {.lex_state = 133, .external_lex_state = 2}, + [201] = {.lex_state = 218}, + [202] = {.lex_state = 221}, + [203] = {.lex_state = 113}, + [204] = {.lex_state = 291, .external_lex_state = 2}, + [205] = {.lex_state = 123}, + [206] = {.lex_state = 228, .external_lex_state = 3}, + [207] = {.lex_state = 293, .external_lex_state = 2}, + [208] = {.lex_state = 293, .external_lex_state = 2}, + [209] = {.lex_state = 295, .external_lex_state = 2}, + [210] = {.lex_state = 148}, + [211] = {.lex_state = 239}, + [212] = {.lex_state = 242, .external_lex_state = 2}, + [213] = {.lex_state = 251}, + [214] = {.lex_state = 253, .external_lex_state = 2}, + [215] = {.lex_state = 255}, + [216] = {.lex_state = 291, .external_lex_state = 2}, + [217] = {.lex_state = 123, .external_lex_state = 4}, + [218] = {.lex_state = 293, .external_lex_state = 2}, + [219] = {.lex_state = 135, .external_lex_state = 2}, + [220] = {.lex_state = 121, .external_lex_state = 2}, + [221] = {.lex_state = 121, .external_lex_state = 2}, + [222] = {.lex_state = 232, .external_lex_state = 2}, + [223] = {.lex_state = 298, .external_lex_state = 2}, + [224] = {.lex_state = 301, .external_lex_state = 2}, + [225] = {.lex_state = 301, .external_lex_state = 2}, + [226] = {.lex_state = 121, .external_lex_state = 2}, + [227] = {.lex_state = 121, .external_lex_state = 2}, + [228] = {.lex_state = 245, .external_lex_state = 2}, + [229] = {.lex_state = 303, .external_lex_state = 2}, + [230] = {.lex_state = 306}, + [231] = {.lex_state = 224, .external_lex_state = 2}, + [232] = {.lex_state = 230, .external_lex_state = 2}, + [233] = {.lex_state = 178, .external_lex_state = 2}, + [234] = {.lex_state = 193}, + [235] = {.lex_state = 195}, + [236] = {.lex_state = 148}, + [237] = {.lex_state = 199}, + [238] = {.lex_state = 204}, + [239] = {.lex_state = 121, .external_lex_state = 2}, + [240] = {.lex_state = 121, .external_lex_state = 2}, + [241] = {.lex_state = 174}, + [242] = {.lex_state = 178, .external_lex_state = 2}, + [243] = {.lex_state = 174}, + [244] = {.lex_state = 178, .external_lex_state = 2}, + [245] = {.lex_state = 224, .external_lex_state = 2}, + [246] = {.lex_state = 224, .external_lex_state = 2}, + [247] = {.lex_state = 230, .external_lex_state = 2}, + [248] = {.lex_state = 187}, + [249] = {.lex_state = 174}, + [250] = {.lex_state = 269, .external_lex_state = 2}, + [251] = {.lex_state = 174}, + [252] = {.lex_state = 121, .external_lex_state = 2}, + [253] = {.lex_state = 308, .external_lex_state = 2}, + [254] = {.lex_state = 310}, + [255] = {.lex_state = 314}, + [256] = {.lex_state = 273, .external_lex_state = 2}, + [257] = {.lex_state = 310}, + [258] = {.lex_state = 197}, + [259] = {.lex_state = 193}, + [260] = {.lex_state = 239}, + [261] = {.lex_state = 242, .external_lex_state = 2}, + [262] = {.lex_state = 197}, + [263] = {.lex_state = 316}, + [264] = {.lex_state = 275}, + [265] = {.lex_state = 197}, + [266] = {.lex_state = 123}, + [267] = {.lex_state = 197}, + [268] = {.lex_state = 123}, + [269] = {.lex_state = 197}, + [270] = {.lex_state = 306}, + [271] = {.lex_state = 284}, + [272] = {.lex_state = 239}, + [273] = {.lex_state = 242, .external_lex_state = 2}, + [274] = {.lex_state = 284}, + [275] = {.lex_state = 284}, + [276] = {.lex_state = 123}, + [277] = {.lex_state = 284}, [278] = {.lex_state = 123}, - [279] = {.lex_state = 148}, - [280] = {.lex_state = 123}, - [281] = {.lex_state = 148}, - [282] = {.lex_state = 123}, - [283] = {.lex_state = 276}, - [284] = {.lex_state = 148}, - [285] = {.lex_state = 321, .external_lex_state = 2}, - [286] = {.lex_state = 198}, - [287] = {.lex_state = 203}, - [288] = {.lex_state = 154, .external_lex_state = 2}, - [289] = {.lex_state = 154, .external_lex_state = 2}, - [290] = {.lex_state = 284, .external_lex_state = 2}, - [291] = {.lex_state = 289, .external_lex_state = 2}, - [292] = {.lex_state = 194}, - [293] = {.lex_state = 286, .external_lex_state = 2}, - [294] = {.lex_state = 286, .external_lex_state = 2}, - [295] = {.lex_state = 278, .external_lex_state = 5}, - [296] = {.lex_state = 286, .external_lex_state = 2}, - [297] = {.lex_state = 286, .external_lex_state = 2}, - [298] = {.lex_state = 291, .external_lex_state = 2}, - [299] = {.lex_state = 291, .external_lex_state = 2}, - [300] = {.lex_state = 284, .external_lex_state = 2}, - [301] = {.lex_state = 289, .external_lex_state = 2}, - [302] = {.lex_state = 281, .external_lex_state = 2}, - [303] = {.lex_state = 284, .external_lex_state = 2}, - [304] = {.lex_state = 284, .external_lex_state = 2}, - [305] = {.lex_state = 289, .external_lex_state = 2}, - [306] = {.lex_state = 294, .external_lex_state = 2}, - [307] = {.lex_state = 294, .external_lex_state = 2}, - [308] = {.lex_state = 294, .external_lex_state = 2}, - [309] = {.lex_state = 294, .external_lex_state = 2}, - [310] = {.lex_state = 323, .external_lex_state = 2}, - [311] = {.lex_state = 177}, - [312] = {.lex_state = 229, .external_lex_state = 2}, - [313] = {.lex_state = 121, .external_lex_state = 2}, - [314] = {.lex_state = 181, .external_lex_state = 2}, - [315] = {.lex_state = 148}, - [316] = {.lex_state = 181, .external_lex_state = 2}, - [317] = {.lex_state = 181, .external_lex_state = 2}, - [318] = {.lex_state = 181, .external_lex_state = 2}, - [319] = {.lex_state = 272}, - [320] = {.lex_state = 272}, - [321] = {.lex_state = 237}, - [322] = {.lex_state = 245}, - [323] = {.lex_state = 223, .external_lex_state = 2}, - [324] = {.lex_state = 223, .external_lex_state = 2}, - [325] = {.lex_state = 229, .external_lex_state = 2}, - [326] = {.lex_state = 177}, - [327] = {.lex_state = 177}, - [328] = {.lex_state = 192}, - [329] = {.lex_state = 298, .external_lex_state = 2}, - [330] = {.lex_state = 177}, - [331] = {.lex_state = 304}, - [332] = {.lex_state = 300}, - [333] = {.lex_state = 300}, - [334] = {.lex_state = 185}, - [335] = {.lex_state = 188}, - [336] = {.lex_state = 192}, - [337] = {.lex_state = 196}, - [338] = {.lex_state = 194}, - [339] = {.lex_state = 312}, - [340] = {.lex_state = 133, .external_lex_state = 2}, - [341] = {.lex_state = 217}, - [342] = {.lex_state = 220}, - [343] = {.lex_state = 113}, - [344] = {.lex_state = 321, .external_lex_state = 2}, - [345] = {.lex_state = 123}, - [346] = {.lex_state = 325, .external_lex_state = 2}, - [347] = {.lex_state = 237}, - [348] = {.lex_state = 321, .external_lex_state = 2}, - [349] = {.lex_state = 325, .external_lex_state = 2}, - [350] = {.lex_state = 196}, - [351] = {.lex_state = 121, .external_lex_state = 2}, - [352] = {.lex_state = 121, .external_lex_state = 2}, - [353] = {.lex_state = 306, .external_lex_state = 2}, - [354] = {.lex_state = 327, .external_lex_state = 2}, - [355] = {.lex_state = 177}, - [356] = {.lex_state = 237}, - [357] = {.lex_state = 198}, - [358] = {.lex_state = 315}, - [359] = {.lex_state = 315}, - [360] = {.lex_state = 315}, - [361] = {.lex_state = 330}, - [362] = {.lex_state = 330}, - [363] = {.lex_state = 177}, - [364] = {.lex_state = 274}, - [365] = {.lex_state = 330}, - [366] = {.lex_state = 330}, - [367] = {.lex_state = 312}, - [368] = {.lex_state = 281, .external_lex_state = 2}, - [369] = {.lex_state = 223, .external_lex_state = 2}, - [370] = {.lex_state = 223, .external_lex_state = 2}, - [371] = {.lex_state = 123}, - [372] = {.lex_state = 223, .external_lex_state = 2}, - [373] = {.lex_state = 123}, - [374] = {.lex_state = 223, .external_lex_state = 2}, - [375] = {.lex_state = 312}, - [376] = {.lex_state = 281, .external_lex_state = 2}, - [377] = {.lex_state = 229, .external_lex_state = 2}, - [378] = {.lex_state = 229, .external_lex_state = 2}, - [379] = {.lex_state = 123}, - [380] = {.lex_state = 229, .external_lex_state = 2}, - [381] = {.lex_state = 123}, - [382] = {.lex_state = 229, .external_lex_state = 2}, - [383] = {.lex_state = 278, .external_lex_state = 5}, - [384] = {.lex_state = 278, .external_lex_state = 5}, - [385] = {.lex_state = 278, .external_lex_state = 5}, - [386] = {.lex_state = 272}, - [387] = {.lex_state = 272}, - [388] = {.lex_state = 278, .external_lex_state = 5}, - [389] = {.lex_state = 229, .external_lex_state = 2}, - [390] = {.lex_state = 281, .external_lex_state = 2}, - [391] = {.lex_state = 330}, - [392] = {.lex_state = 330}, - [393] = {.lex_state = 330}, - [394] = {.lex_state = 330}, - [395] = {.lex_state = 286, .external_lex_state = 2}, - [396] = {.lex_state = 121, .external_lex_state = 2}, - [397] = {.lex_state = 321, .external_lex_state = 2}, - [398] = {.lex_state = 148}, - [399] = {.lex_state = 321, .external_lex_state = 2}, - [400] = {.lex_state = 321, .external_lex_state = 2}, - [401] = {.lex_state = 321, .external_lex_state = 2}, - [402] = {.lex_state = 272}, - [403] = {.lex_state = 272}, - [404] = {.lex_state = 237}, - [405] = {.lex_state = 245}, - [406] = {.lex_state = 321, .external_lex_state = 2}, - [407] = {.lex_state = 289, .external_lex_state = 2}, - [408] = {.lex_state = 286, .external_lex_state = 2}, - [409] = {.lex_state = 278, .external_lex_state = 5}, - [410] = {.lex_state = 289, .external_lex_state = 2}, - [411] = {.lex_state = 284, .external_lex_state = 2}, - [412] = {.lex_state = 284, .external_lex_state = 2}, - [413] = {.lex_state = 289, .external_lex_state = 2}, - [414] = {.lex_state = 294, .external_lex_state = 2}, - [415] = {.lex_state = 294, .external_lex_state = 2}, - [416] = {.lex_state = 177}, - [417] = {.lex_state = 323, .external_lex_state = 2}, - [418] = {.lex_state = 312}, - [419] = {.lex_state = 281, .external_lex_state = 2}, - [420] = {.lex_state = 181, .external_lex_state = 2}, - [421] = {.lex_state = 181, .external_lex_state = 2}, - [422] = {.lex_state = 123}, - [423] = {.lex_state = 181, .external_lex_state = 2}, - [424] = {.lex_state = 123}, - [425] = {.lex_state = 181, .external_lex_state = 2}, - [426] = {.lex_state = 229, .external_lex_state = 2}, - [427] = {.lex_state = 229, .external_lex_state = 2}, - [428] = {.lex_state = 263, .external_lex_state = 2}, - [429] = {.lex_state = 177}, - [430] = {.lex_state = 304}, - [431] = {.lex_state = 121, .external_lex_state = 2}, - [432] = {.lex_state = 259, .external_lex_state = 2}, - [433] = {.lex_state = 312}, - [434] = {.lex_state = 263, .external_lex_state = 2}, - [435] = {.lex_state = 265}, - [436] = {.lex_state = 185}, - [437] = {.lex_state = 237}, - [438] = {.lex_state = 312}, - [439] = {.lex_state = 312}, - [440] = {.lex_state = 123}, - [441] = {.lex_state = 276}, - [442] = {.lex_state = 321, .external_lex_state = 2}, - [443] = {.lex_state = 325, .external_lex_state = 2}, - [444] = {.lex_state = 194}, - [445] = {.lex_state = 148}, - [446] = {.lex_state = 198}, - [447] = {.lex_state = 203}, - [448] = {.lex_state = 154, .external_lex_state = 2}, - [449] = {.lex_state = 154, .external_lex_state = 2}, - [450] = {.lex_state = 296}, - [451] = {.lex_state = 321, .external_lex_state = 2}, - [452] = {.lex_state = 325, .external_lex_state = 2}, - [453] = {.lex_state = 312}, - [454] = {.lex_state = 281, .external_lex_state = 2}, - [455] = {.lex_state = 312}, - [456] = {.lex_state = 281, .external_lex_state = 2}, - [457] = {.lex_state = 321, .external_lex_state = 2}, - [458] = {.lex_state = 321, .external_lex_state = 2}, - [459] = {.lex_state = 325, .external_lex_state = 2}, - [460] = {.lex_state = 332, .external_lex_state = 2}, - [461] = {.lex_state = 177}, - [462] = {.lex_state = 315}, - [463] = {.lex_state = 315}, - [464] = {.lex_state = 196}, - [465] = {.lex_state = 196}, - [466] = {.lex_state = 274}, - [467] = {.lex_state = 274}, - [468] = {.lex_state = 223, .external_lex_state = 2}, - [469] = {.lex_state = 330}, - [470] = {.lex_state = 330}, - [471] = {.lex_state = 229, .external_lex_state = 2}, - [472] = {.lex_state = 330}, - [473] = {.lex_state = 330}, - [474] = {.lex_state = 278, .external_lex_state = 5}, - [475] = {.lex_state = 123}, - [476] = {.lex_state = 278, .external_lex_state = 5}, - [477] = {.lex_state = 123}, - [478] = {.lex_state = 281, .external_lex_state = 2}, - [479] = {.lex_state = 281, .external_lex_state = 2}, - [480] = {.lex_state = 148}, - [481] = {.lex_state = 148}, - [482] = {.lex_state = 312}, - [483] = {.lex_state = 281, .external_lex_state = 2}, - [484] = {.lex_state = 321, .external_lex_state = 2}, - [485] = {.lex_state = 321, .external_lex_state = 2}, - [486] = {.lex_state = 123}, - [487] = {.lex_state = 321, .external_lex_state = 2}, - [488] = {.lex_state = 123}, - [489] = {.lex_state = 321, .external_lex_state = 2}, - [490] = {.lex_state = 286, .external_lex_state = 2}, - [491] = {.lex_state = 289, .external_lex_state = 2}, - [492] = {.lex_state = 289, .external_lex_state = 2}, - [493] = {.lex_state = 177}, - [494] = {.lex_state = 181, .external_lex_state = 2}, - [495] = {.lex_state = 330}, - [496] = {.lex_state = 330}, - [497] = {.lex_state = 263, .external_lex_state = 2}, - [498] = {.lex_state = 177}, - [499] = {.lex_state = 188}, - [500] = {.lex_state = 312}, - [501] = {.lex_state = 259, .external_lex_state = 2}, - [502] = {.lex_state = 312}, - [503] = {.lex_state = 304}, - [504] = {.lex_state = 263, .external_lex_state = 2}, - [505] = {.lex_state = 300}, - [506] = {.lex_state = 315}, - [507] = {.lex_state = 265}, - [508] = {.lex_state = 296}, - [509] = {.lex_state = 325, .external_lex_state = 2}, - [510] = {.lex_state = 121, .external_lex_state = 2}, - [511] = {.lex_state = 325, .external_lex_state = 2}, - [512] = {.lex_state = 148}, - [513] = {.lex_state = 325, .external_lex_state = 2}, - [514] = {.lex_state = 325, .external_lex_state = 2}, - [515] = {.lex_state = 325, .external_lex_state = 2}, - [516] = {.lex_state = 272}, - [517] = {.lex_state = 272}, - [518] = {.lex_state = 237}, - [519] = {.lex_state = 245}, - [520] = {.lex_state = 323, .external_lex_state = 2}, - [521] = {.lex_state = 312}, - [522] = {.lex_state = 325, .external_lex_state = 2}, - [523] = {.lex_state = 321, .external_lex_state = 2}, - [524] = {.lex_state = 321, .external_lex_state = 2}, - [525] = {.lex_state = 325, .external_lex_state = 2}, - [526] = {.lex_state = 315}, - [527] = {.lex_state = 332, .external_lex_state = 2}, - [528] = {.lex_state = 177}, - [529] = {.lex_state = 223, .external_lex_state = 2}, - [530] = {.lex_state = 223, .external_lex_state = 2}, - [531] = {.lex_state = 229, .external_lex_state = 2}, - [532] = {.lex_state = 229, .external_lex_state = 2}, - [533] = {.lex_state = 330}, - [534] = {.lex_state = 330}, - [535] = {.lex_state = 321, .external_lex_state = 2}, - [536] = {.lex_state = 330}, - [537] = {.lex_state = 330}, - [538] = {.lex_state = 181, .external_lex_state = 2}, - [539] = {.lex_state = 181, .external_lex_state = 2}, - [540] = {.lex_state = 312}, - [541] = {.lex_state = 312}, - [542] = {.lex_state = 312}, - [543] = {.lex_state = 304}, - [544] = {.lex_state = 300}, - [545] = {.lex_state = 312}, - [546] = {.lex_state = 315}, - [547] = {.lex_state = 315}, - [548] = {.lex_state = 312}, - [549] = {.lex_state = 312}, - [550] = {.lex_state = 281, .external_lex_state = 2}, - [551] = {.lex_state = 325, .external_lex_state = 2}, - [552] = {.lex_state = 325, .external_lex_state = 2}, - [553] = {.lex_state = 123}, - [554] = {.lex_state = 325, .external_lex_state = 2}, - [555] = {.lex_state = 123}, - [556] = {.lex_state = 325, .external_lex_state = 2}, - [557] = {.lex_state = 312}, - [558] = {.lex_state = 323, .external_lex_state = 2}, - [559] = {.lex_state = 325, .external_lex_state = 2}, - [560] = {.lex_state = 325, .external_lex_state = 2}, - [561] = {.lex_state = 315}, - [562] = {.lex_state = 278, .external_lex_state = 5}, - [563] = {.lex_state = 278, .external_lex_state = 5}, - [564] = {.lex_state = 321, .external_lex_state = 2}, - [565] = {.lex_state = 321, .external_lex_state = 2}, - [566] = {.lex_state = 312}, - [567] = {.lex_state = 304}, - [568] = {.lex_state = 312}, - [569] = {.lex_state = 315}, - [570] = {.lex_state = 325, .external_lex_state = 2}, - [571] = {.lex_state = 330}, - [572] = {.lex_state = 330}, - [573] = {.lex_state = 312}, - [574] = {.lex_state = 312}, - [575] = {.lex_state = 312}, - [576] = {.lex_state = 325, .external_lex_state = 2}, - [577] = {.lex_state = 325, .external_lex_state = 2}, - [578] = {.lex_state = 118}, - [579] = {.lex_state = 334, .external_lex_state = 2}, - [580] = {.lex_state = 121, .external_lex_state = 2}, - [581] = {.lex_state = 259, .external_lex_state = 2}, - [582] = {.lex_state = 337}, - [583] = {.lex_state = 121, .external_lex_state = 2}, - [584] = {.lex_state = 263, .external_lex_state = 2}, - [585] = {.lex_state = 337}, - [586] = {.lex_state = 123}, - [587] = {.lex_state = 337}, - [588] = {.lex_state = 339, .external_lex_state = 2}, - [589] = {.lex_state = 131}, - [590] = {.lex_state = 133, .external_lex_state = 2}, - [591] = {.lex_state = 323, .external_lex_state = 2}, - [592] = {.lex_state = 399, .external_lex_state = 6}, - [593] = {.lex_state = 121, .external_lex_state = 2}, - [594] = {.lex_state = 121, .external_lex_state = 2}, - [595] = {.lex_state = 123}, - [596] = {.lex_state = 337}, - [597] = {.lex_state = 404, .external_lex_state = 2}, - [598] = {.lex_state = 123, .external_lex_state = 4}, - [599] = {.lex_state = 276}, - [600] = {.lex_state = 123}, - [601] = {.lex_state = 408, .external_lex_state = 2}, - [602] = {.lex_state = 413, .external_lex_state = 6}, - [603] = {.lex_state = 408, .external_lex_state = 2}, - [604] = {.lex_state = 432, .external_lex_state = 6}, - [605] = {.lex_state = 436, .external_lex_state = 2}, - [606] = {.lex_state = 484, .external_lex_state = 2}, - [607] = {.lex_state = 278, .external_lex_state = 5}, - [608] = {.lex_state = 278, .external_lex_state = 5}, - [609] = {.lex_state = 484, .external_lex_state = 2}, - [610] = {.lex_state = 113}, - [611] = {.lex_state = 486, .external_lex_state = 2}, - [612] = {.lex_state = 247, .external_lex_state = 2}, - [613] = {.lex_state = 337}, - [614] = {.lex_state = 337}, - [615] = {.lex_state = 300}, - [616] = {.lex_state = 304}, - [617] = {.lex_state = 315}, - [618] = {.lex_state = 337}, - [619] = {.lex_state = 488}, - [620] = {.lex_state = 486, .external_lex_state = 2}, - [621] = {.lex_state = 490, .external_lex_state = 2}, - [622] = {.lex_state = 484, .external_lex_state = 2}, - [623] = {.lex_state = 484, .external_lex_state = 2}, - [624] = {.lex_state = 495, .external_lex_state = 2}, - [625] = {.lex_state = 399, .external_lex_state = 6}, - [626] = {.lex_state = 408, .external_lex_state = 2}, - [627] = {.lex_state = 502, .external_lex_state = 2}, - [628] = {.lex_state = 432, .external_lex_state = 6}, - [629] = {.lex_state = 162, .external_lex_state = 2}, - [630] = {.lex_state = 300}, - [631] = {.lex_state = 315}, - [632] = {.lex_state = 504, .external_lex_state = 2}, - [633] = {.lex_state = 154, .external_lex_state = 2}, - [634] = {.lex_state = 484, .external_lex_state = 2}, - [635] = {.lex_state = 278, .external_lex_state = 5}, - [636] = {.lex_state = 148}, - [637] = {.lex_state = 185}, - [638] = {.lex_state = 315}, - [639] = {.lex_state = 188}, - [640] = {.lex_state = 188}, - [641] = {.lex_state = 337}, - [642] = {.lex_state = 259, .external_lex_state = 2}, - [643] = {.lex_state = 192}, - [644] = {.lex_state = 337}, - [645] = {.lex_state = 304}, - [646] = {.lex_state = 263, .external_lex_state = 2}, - [647] = {.lex_state = 300}, - [648] = {.lex_state = 196}, - [649] = {.lex_state = 194}, - [650] = {.lex_state = 506}, - [651] = {.lex_state = 133, .external_lex_state = 2}, - [652] = {.lex_state = 123}, - [653] = {.lex_state = 508, .external_lex_state = 2}, - [654] = {.lex_state = 148}, - [655] = {.lex_state = 154, .external_lex_state = 2}, - [656] = {.lex_state = 154, .external_lex_state = 2}, - [657] = {.lex_state = 512, .external_lex_state = 2}, - [658] = {.lex_state = 337}, - [659] = {.lex_state = 486, .external_lex_state = 2}, - [660] = {.lex_state = 133, .external_lex_state = 2}, - [661] = {.lex_state = 154, .external_lex_state = 2}, - [662] = {.lex_state = 337}, - [663] = {.lex_state = 323, .external_lex_state = 2}, - [664] = {.lex_state = 337}, - [665] = {.lex_state = 486, .external_lex_state = 2}, - [666] = {.lex_state = 337}, - [667] = {.lex_state = 486, .external_lex_state = 2}, - [668] = {.lex_state = 217}, - [669] = {.lex_state = 113}, - [670] = {.lex_state = 516, .external_lex_state = 2}, - [671] = {.lex_state = 276}, - [672] = {.lex_state = 123}, - [673] = {.lex_state = 227, .external_lex_state = 3}, - [674] = {.lex_state = 330}, - [675] = {.lex_state = 484, .external_lex_state = 2}, - [676] = {.lex_state = 484, .external_lex_state = 2}, - [677] = {.lex_state = 194}, - [678] = {.lex_state = 148}, - [679] = {.lex_state = 518, .external_lex_state = 2}, - [680] = {.lex_state = 198}, - [681] = {.lex_state = 203}, - [682] = {.lex_state = 154, .external_lex_state = 2}, - [683] = {.lex_state = 154, .external_lex_state = 2}, + [279] = {.lex_state = 284}, + [280] = {.lex_state = 230, .external_lex_state = 2}, + [281] = {.lex_state = 224, .external_lex_state = 2}, + [282] = {.lex_state = 193}, + [283] = {.lex_state = 322, .external_lex_state = 2}, + [284] = {.lex_state = 224, .external_lex_state = 2}, + [285] = {.lex_state = 148}, + [286] = {.lex_state = 224, .external_lex_state = 2}, + [287] = {.lex_state = 224, .external_lex_state = 2}, + [288] = {.lex_state = 224, .external_lex_state = 2}, + [289] = {.lex_state = 282}, + [290] = {.lex_state = 282}, + [291] = {.lex_state = 239}, + [292] = {.lex_state = 242, .external_lex_state = 2}, + [293] = {.lex_state = 251}, + [294] = {.lex_state = 253, .external_lex_state = 2}, + [295] = {.lex_state = 224, .external_lex_state = 2}, + [296] = {.lex_state = 230, .external_lex_state = 2}, + [297] = {.lex_state = 230, .external_lex_state = 2}, + [298] = {.lex_state = 193}, + [299] = {.lex_state = 121, .external_lex_state = 2}, + [300] = {.lex_state = 230, .external_lex_state = 2}, + [301] = {.lex_state = 148}, + [302] = {.lex_state = 230, .external_lex_state = 2}, + [303] = {.lex_state = 230, .external_lex_state = 2}, + [304] = {.lex_state = 230, .external_lex_state = 2}, + [305] = {.lex_state = 282}, + [306] = {.lex_state = 282}, + [307] = {.lex_state = 239}, + [308] = {.lex_state = 242, .external_lex_state = 2}, + [309] = {.lex_state = 251}, + [310] = {.lex_state = 253, .external_lex_state = 2}, + [311] = {.lex_state = 286, .external_lex_state = 5}, + [312] = {.lex_state = 230, .external_lex_state = 2}, + [313] = {.lex_state = 199}, + [314] = {.lex_state = 204}, + [315] = {.lex_state = 286, .external_lex_state = 5}, + [316] = {.lex_state = 242, .external_lex_state = 2}, + [317] = {.lex_state = 239}, + [318] = {.lex_state = 242, .external_lex_state = 2}, + [319] = {.lex_state = 242, .external_lex_state = 2}, + [320] = {.lex_state = 242, .external_lex_state = 2}, + [321] = {.lex_state = 123}, + [322] = {.lex_state = 242, .external_lex_state = 2}, + [323] = {.lex_state = 123}, + [324] = {.lex_state = 242, .external_lex_state = 2}, + [325] = {.lex_state = 148}, + [326] = {.lex_state = 123}, + [327] = {.lex_state = 148}, + [328] = {.lex_state = 123}, + [329] = {.lex_state = 148}, + [330] = {.lex_state = 121, .external_lex_state = 2}, + [331] = {.lex_state = 269, .external_lex_state = 2}, + [332] = {.lex_state = 289}, + [333] = {.lex_state = 273, .external_lex_state = 2}, + [334] = {.lex_state = 275}, + [335] = {.lex_state = 184}, + [336] = {.lex_state = 255}, + [337] = {.lex_state = 289}, + [338] = {.lex_state = 289}, + [339] = {.lex_state = 123}, + [340] = {.lex_state = 193}, + [341] = {.lex_state = 123}, + [342] = {.lex_state = 148}, + [343] = {.lex_state = 291, .external_lex_state = 2}, + [344] = {.lex_state = 199}, + [345] = {.lex_state = 204}, + [346] = {.lex_state = 121, .external_lex_state = 2}, + [347] = {.lex_state = 121, .external_lex_state = 2}, + [348] = {.lex_state = 291, .external_lex_state = 2}, + [349] = {.lex_state = 293, .external_lex_state = 2}, + [350] = {.lex_state = 193}, + [351] = {.lex_state = 195}, + [352] = {.lex_state = 148}, + [353] = {.lex_state = 293, .external_lex_state = 2}, + [354] = {.lex_state = 199}, + [355] = {.lex_state = 204}, + [356] = {.lex_state = 121, .external_lex_state = 2}, + [357] = {.lex_state = 121, .external_lex_state = 2}, + [358] = {.lex_state = 293, .external_lex_state = 2}, + [359] = {.lex_state = 286, .external_lex_state = 5}, + [360] = {.lex_state = 293, .external_lex_state = 2}, + [361] = {.lex_state = 293, .external_lex_state = 2}, + [362] = {.lex_state = 295, .external_lex_state = 2}, + [363] = {.lex_state = 295, .external_lex_state = 2}, + [364] = {.lex_state = 306}, + [365] = {.lex_state = 291, .external_lex_state = 2}, + [366] = {.lex_state = 293, .external_lex_state = 2}, + [367] = {.lex_state = 242, .external_lex_state = 2}, + [368] = {.lex_state = 289}, + [369] = {.lex_state = 242, .external_lex_state = 2}, + [370] = {.lex_state = 239}, + [371] = {.lex_state = 242, .external_lex_state = 2}, + [372] = {.lex_state = 291, .external_lex_state = 2}, + [373] = {.lex_state = 291, .external_lex_state = 2}, + [374] = {.lex_state = 293, .external_lex_state = 2}, + [375] = {.lex_state = 301, .external_lex_state = 2}, + [376] = {.lex_state = 301, .external_lex_state = 2}, + [377] = {.lex_state = 253, .external_lex_state = 2}, + [378] = {.lex_state = 251}, + [379] = {.lex_state = 253, .external_lex_state = 2}, + [380] = {.lex_state = 301, .external_lex_state = 2}, + [381] = {.lex_state = 301, .external_lex_state = 2}, + [382] = {.lex_state = 351, .external_lex_state = 2}, + [383] = {.lex_state = 174}, + [384] = {.lex_state = 230, .external_lex_state = 2}, + [385] = {.lex_state = 178, .external_lex_state = 2}, + [386] = {.lex_state = 193}, + [387] = {.lex_state = 121, .external_lex_state = 2}, + [388] = {.lex_state = 178, .external_lex_state = 2}, + [389] = {.lex_state = 148}, + [390] = {.lex_state = 178, .external_lex_state = 2}, + [391] = {.lex_state = 178, .external_lex_state = 2}, + [392] = {.lex_state = 178, .external_lex_state = 2}, + [393] = {.lex_state = 282}, + [394] = {.lex_state = 282}, + [395] = {.lex_state = 239}, + [396] = {.lex_state = 242, .external_lex_state = 2}, + [397] = {.lex_state = 251}, + [398] = {.lex_state = 253, .external_lex_state = 2}, + [399] = {.lex_state = 224, .external_lex_state = 2}, + [400] = {.lex_state = 224, .external_lex_state = 2}, + [401] = {.lex_state = 230, .external_lex_state = 2}, + [402] = {.lex_state = 174}, + [403] = {.lex_state = 174}, + [404] = {.lex_state = 191}, + [405] = {.lex_state = 308, .external_lex_state = 2}, + [406] = {.lex_state = 174}, + [407] = {.lex_state = 314}, + [408] = {.lex_state = 310}, + [409] = {.lex_state = 310}, + [410] = {.lex_state = 197}, + [411] = {.lex_state = 174}, + [412] = {.lex_state = 255}, + [413] = {.lex_state = 199}, + [414] = {.lex_state = 316}, + [415] = {.lex_state = 316}, + [416] = {.lex_state = 316}, + [417] = {.lex_state = 353}, + [418] = {.lex_state = 353}, + [419] = {.lex_state = 174}, + [420] = {.lex_state = 284}, + [421] = {.lex_state = 353}, + [422] = {.lex_state = 353}, + [423] = {.lex_state = 224, .external_lex_state = 2}, + [424] = {.lex_state = 239}, + [425] = {.lex_state = 242, .external_lex_state = 2}, + [426] = {.lex_state = 224, .external_lex_state = 2}, + [427] = {.lex_state = 224, .external_lex_state = 2}, + [428] = {.lex_state = 123}, + [429] = {.lex_state = 224, .external_lex_state = 2}, + [430] = {.lex_state = 123}, + [431] = {.lex_state = 224, .external_lex_state = 2}, + [432] = {.lex_state = 230, .external_lex_state = 2}, + [433] = {.lex_state = 239}, + [434] = {.lex_state = 242, .external_lex_state = 2}, + [435] = {.lex_state = 230, .external_lex_state = 2}, + [436] = {.lex_state = 230, .external_lex_state = 2}, + [437] = {.lex_state = 123}, + [438] = {.lex_state = 230, .external_lex_state = 2}, + [439] = {.lex_state = 123}, + [440] = {.lex_state = 230, .external_lex_state = 2}, + [441] = {.lex_state = 286, .external_lex_state = 5}, + [442] = {.lex_state = 286, .external_lex_state = 5}, + [443] = {.lex_state = 286, .external_lex_state = 5}, + [444] = {.lex_state = 282}, + [445] = {.lex_state = 282}, + [446] = {.lex_state = 286, .external_lex_state = 5}, + [447] = {.lex_state = 230, .external_lex_state = 2}, + [448] = {.lex_state = 242, .external_lex_state = 2}, + [449] = {.lex_state = 353}, + [450] = {.lex_state = 353}, + [451] = {.lex_state = 353}, + [452] = {.lex_state = 353}, + [453] = {.lex_state = 187}, + [454] = {.lex_state = 289}, + [455] = {.lex_state = 269, .external_lex_state = 2}, + [456] = {.lex_state = 289}, + [457] = {.lex_state = 314}, + [458] = {.lex_state = 273, .external_lex_state = 2}, + [459] = {.lex_state = 310}, + [460] = {.lex_state = 316}, + [461] = {.lex_state = 275}, + [462] = {.lex_state = 306}, + [463] = {.lex_state = 293, .external_lex_state = 2}, + [464] = {.lex_state = 291, .external_lex_state = 2}, + [465] = {.lex_state = 193}, + [466] = {.lex_state = 322, .external_lex_state = 2}, + [467] = {.lex_state = 291, .external_lex_state = 2}, + [468] = {.lex_state = 148}, + [469] = {.lex_state = 291, .external_lex_state = 2}, + [470] = {.lex_state = 291, .external_lex_state = 2}, + [471] = {.lex_state = 291, .external_lex_state = 2}, + [472] = {.lex_state = 282}, + [473] = {.lex_state = 282}, + [474] = {.lex_state = 239}, + [475] = {.lex_state = 242, .external_lex_state = 2}, + [476] = {.lex_state = 251}, + [477] = {.lex_state = 253, .external_lex_state = 2}, + [478] = {.lex_state = 291, .external_lex_state = 2}, + [479] = {.lex_state = 293, .external_lex_state = 2}, + [480] = {.lex_state = 293, .external_lex_state = 2}, + [481] = {.lex_state = 193}, + [482] = {.lex_state = 121, .external_lex_state = 2}, + [483] = {.lex_state = 293, .external_lex_state = 2}, + [484] = {.lex_state = 148}, + [485] = {.lex_state = 293, .external_lex_state = 2}, + [486] = {.lex_state = 293, .external_lex_state = 2}, + [487] = {.lex_state = 293, .external_lex_state = 2}, + [488] = {.lex_state = 282}, + [489] = {.lex_state = 282}, + [490] = {.lex_state = 239}, + [491] = {.lex_state = 242, .external_lex_state = 2}, + [492] = {.lex_state = 251}, + [493] = {.lex_state = 253, .external_lex_state = 2}, + [494] = {.lex_state = 293, .external_lex_state = 2}, + [495] = {.lex_state = 286, .external_lex_state = 5}, + [496] = {.lex_state = 351, .external_lex_state = 2}, + [497] = {.lex_state = 289}, + [498] = {.lex_state = 293, .external_lex_state = 2}, + [499] = {.lex_state = 291, .external_lex_state = 2}, + [500] = {.lex_state = 291, .external_lex_state = 2}, + [501] = {.lex_state = 293, .external_lex_state = 2}, + [502] = {.lex_state = 301, .external_lex_state = 2}, + [503] = {.lex_state = 301, .external_lex_state = 2}, + [504] = {.lex_state = 174}, + [505] = {.lex_state = 351, .external_lex_state = 2}, + [506] = {.lex_state = 178, .external_lex_state = 2}, + [507] = {.lex_state = 239}, + [508] = {.lex_state = 242, .external_lex_state = 2}, + [509] = {.lex_state = 178, .external_lex_state = 2}, + [510] = {.lex_state = 178, .external_lex_state = 2}, + [511] = {.lex_state = 123}, + [512] = {.lex_state = 178, .external_lex_state = 2}, + [513] = {.lex_state = 123}, + [514] = {.lex_state = 178, .external_lex_state = 2}, + [515] = {.lex_state = 230, .external_lex_state = 2}, + [516] = {.lex_state = 230, .external_lex_state = 2}, + [517] = {.lex_state = 273, .external_lex_state = 2}, + [518] = {.lex_state = 174}, + [519] = {.lex_state = 314}, + [520] = {.lex_state = 355, .external_lex_state = 2}, + [521] = {.lex_state = 174}, + [522] = {.lex_state = 316}, + [523] = {.lex_state = 316}, + [524] = {.lex_state = 197}, + [525] = {.lex_state = 197}, + [526] = {.lex_state = 284}, + [527] = {.lex_state = 284}, + [528] = {.lex_state = 224, .external_lex_state = 2}, + [529] = {.lex_state = 353}, + [530] = {.lex_state = 353}, + [531] = {.lex_state = 230, .external_lex_state = 2}, + [532] = {.lex_state = 353}, + [533] = {.lex_state = 353}, + [534] = {.lex_state = 286, .external_lex_state = 5}, + [535] = {.lex_state = 123}, + [536] = {.lex_state = 286, .external_lex_state = 5}, + [537] = {.lex_state = 123}, + [538] = {.lex_state = 242, .external_lex_state = 2}, + [539] = {.lex_state = 242, .external_lex_state = 2}, + [540] = {.lex_state = 148}, + [541] = {.lex_state = 148}, + [542] = {.lex_state = 289}, + [543] = {.lex_state = 289}, + [544] = {.lex_state = 289}, + [545] = {.lex_state = 314}, + [546] = {.lex_state = 310}, + [547] = {.lex_state = 289}, + [548] = {.lex_state = 316}, + [549] = {.lex_state = 316}, + [550] = {.lex_state = 289}, + [551] = {.lex_state = 291, .external_lex_state = 2}, + [552] = {.lex_state = 239}, + [553] = {.lex_state = 242, .external_lex_state = 2}, + [554] = {.lex_state = 291, .external_lex_state = 2}, + [555] = {.lex_state = 291, .external_lex_state = 2}, + [556] = {.lex_state = 123}, + [557] = {.lex_state = 291, .external_lex_state = 2}, + [558] = {.lex_state = 123}, + [559] = {.lex_state = 291, .external_lex_state = 2}, + [560] = {.lex_state = 293, .external_lex_state = 2}, + [561] = {.lex_state = 239}, + [562] = {.lex_state = 242, .external_lex_state = 2}, + [563] = {.lex_state = 293, .external_lex_state = 2}, + [564] = {.lex_state = 293, .external_lex_state = 2}, + [565] = {.lex_state = 123}, + [566] = {.lex_state = 293, .external_lex_state = 2}, + [567] = {.lex_state = 123}, + [568] = {.lex_state = 293, .external_lex_state = 2}, + [569] = {.lex_state = 293, .external_lex_state = 2}, + [570] = {.lex_state = 289}, + [571] = {.lex_state = 351, .external_lex_state = 2}, + [572] = {.lex_state = 293, .external_lex_state = 2}, + [573] = {.lex_state = 293, .external_lex_state = 2}, + [574] = {.lex_state = 174}, + [575] = {.lex_state = 178, .external_lex_state = 2}, + [576] = {.lex_state = 353}, + [577] = {.lex_state = 353}, + [578] = {.lex_state = 273, .external_lex_state = 2}, + [579] = {.lex_state = 174}, + [580] = {.lex_state = 316}, + [581] = {.lex_state = 355, .external_lex_state = 2}, + [582] = {.lex_state = 174}, + [583] = {.lex_state = 224, .external_lex_state = 2}, + [584] = {.lex_state = 224, .external_lex_state = 2}, + [585] = {.lex_state = 230, .external_lex_state = 2}, + [586] = {.lex_state = 230, .external_lex_state = 2}, + [587] = {.lex_state = 353}, + [588] = {.lex_state = 353}, + [589] = {.lex_state = 289}, + [590] = {.lex_state = 314}, + [591] = {.lex_state = 289}, + [592] = {.lex_state = 316}, + [593] = {.lex_state = 291, .external_lex_state = 2}, + [594] = {.lex_state = 353}, + [595] = {.lex_state = 353}, + [596] = {.lex_state = 293, .external_lex_state = 2}, + [597] = {.lex_state = 353}, + [598] = {.lex_state = 353}, + [599] = {.lex_state = 289}, + [600] = {.lex_state = 178, .external_lex_state = 2}, + [601] = {.lex_state = 178, .external_lex_state = 2}, + [602] = {.lex_state = 316}, + [603] = {.lex_state = 286, .external_lex_state = 5}, + [604] = {.lex_state = 286, .external_lex_state = 5}, + [605] = {.lex_state = 289}, + [606] = {.lex_state = 289}, + [607] = {.lex_state = 291, .external_lex_state = 2}, + [608] = {.lex_state = 291, .external_lex_state = 2}, + [609] = {.lex_state = 293, .external_lex_state = 2}, + [610] = {.lex_state = 293, .external_lex_state = 2}, + [611] = {.lex_state = 118}, + [612] = {.lex_state = 357, .external_lex_state = 2}, + [613] = {.lex_state = 121, .external_lex_state = 2}, + [614] = {.lex_state = 269, .external_lex_state = 2}, + [615] = {.lex_state = 360}, + [616] = {.lex_state = 121, .external_lex_state = 2}, + [617] = {.lex_state = 273, .external_lex_state = 2}, + [618] = {.lex_state = 360}, + [619] = {.lex_state = 123}, + [620] = {.lex_state = 360}, + [621] = {.lex_state = 362, .external_lex_state = 2}, + [622] = {.lex_state = 131}, + [623] = {.lex_state = 322, .external_lex_state = 2}, + [624] = {.lex_state = 351, .external_lex_state = 2}, + [625] = {.lex_state = 422, .external_lex_state = 6}, + [626] = {.lex_state = 121, .external_lex_state = 2}, + [627] = {.lex_state = 121, .external_lex_state = 2}, + [628] = {.lex_state = 123}, + [629] = {.lex_state = 360}, + [630] = {.lex_state = 427, .external_lex_state = 2}, + [631] = {.lex_state = 123, .external_lex_state = 4}, + [632] = {.lex_state = 123}, + [633] = {.lex_state = 123}, + [634] = {.lex_state = 431, .external_lex_state = 2}, + [635] = {.lex_state = 436, .external_lex_state = 6}, + [636] = {.lex_state = 455, .external_lex_state = 2}, + [637] = {.lex_state = 460, .external_lex_state = 6}, + [638] = {.lex_state = 464, .external_lex_state = 2}, + [639] = {.lex_state = 487, .external_lex_state = 2}, + [640] = {.lex_state = 286, .external_lex_state = 5}, + [641] = {.lex_state = 286, .external_lex_state = 5}, + [642] = {.lex_state = 487, .external_lex_state = 2}, + [643] = {.lex_state = 113}, + [644] = {.lex_state = 489, .external_lex_state = 2}, + [645] = {.lex_state = 257, .external_lex_state = 2}, + [646] = {.lex_state = 360}, + [647] = {.lex_state = 360}, + [648] = {.lex_state = 310}, + [649] = {.lex_state = 314}, + [650] = {.lex_state = 316}, + [651] = {.lex_state = 360}, + [652] = {.lex_state = 489, .external_lex_state = 2}, + [653] = {.lex_state = 491, .external_lex_state = 2}, + [654] = {.lex_state = 487, .external_lex_state = 2}, + [655] = {.lex_state = 487, .external_lex_state = 2}, + [656] = {.lex_state = 496, .external_lex_state = 2}, + [657] = {.lex_state = 503, .external_lex_state = 2}, + [658] = {.lex_state = 422, .external_lex_state = 6}, + [659] = {.lex_state = 431, .external_lex_state = 2}, + [660] = {.lex_state = 460, .external_lex_state = 6}, + [661] = {.lex_state = 159, .external_lex_state = 2}, + [662] = {.lex_state = 310}, + [663] = {.lex_state = 316}, + [664] = {.lex_state = 505, .external_lex_state = 2}, + [665] = {.lex_state = 182, .external_lex_state = 2}, + [666] = {.lex_state = 487, .external_lex_state = 2}, + [667] = {.lex_state = 286, .external_lex_state = 5}, + [668] = {.lex_state = 148}, + [669] = {.lex_state = 193}, + [670] = {.lex_state = 184}, + [671] = {.lex_state = 316}, + [672] = {.lex_state = 187}, + [673] = {.lex_state = 187}, + [674] = {.lex_state = 360}, + [675] = {.lex_state = 269, .external_lex_state = 2}, + [676] = {.lex_state = 191}, + [677] = {.lex_state = 360}, + [678] = {.lex_state = 314}, + [679] = {.lex_state = 273, .external_lex_state = 2}, + [680] = {.lex_state = 310}, + [681] = {.lex_state = 197}, + [682] = {.lex_state = 195}, + [683] = {.lex_state = 118}, [684] = {.lex_state = 121, .external_lex_state = 2}, - [685] = {.lex_state = 194}, - [686] = {.lex_state = 148}, - [687] = {.lex_state = 490, .external_lex_state = 2}, - [688] = {.lex_state = 198}, - [689] = {.lex_state = 203}, - [690] = {.lex_state = 154, .external_lex_state = 2}, - [691] = {.lex_state = 154, .external_lex_state = 2}, - [692] = {.lex_state = 495, .external_lex_state = 2}, - [693] = {.lex_state = 399, .external_lex_state = 6}, - [694] = {.lex_state = 399, .external_lex_state = 6}, - [695] = {.lex_state = 399, .external_lex_state = 6}, - [696] = {.lex_state = 245}, - [697] = {.lex_state = 265}, - [698] = {.lex_state = 337}, - [699] = {.lex_state = 484, .external_lex_state = 2}, - [700] = {.lex_state = 123}, - [701] = {.lex_state = 502, .external_lex_state = 2}, - [702] = {.lex_state = 337}, - [703] = {.lex_state = 408, .external_lex_state = 2}, - [704] = {.lex_state = 408, .external_lex_state = 2}, - [705] = {.lex_state = 265}, - [706] = {.lex_state = 185}, - [707] = {.lex_state = 399, .external_lex_state = 6}, - [708] = {.lex_state = 399, .external_lex_state = 6}, - [709] = {.lex_state = 123}, - [710] = {.lex_state = 337}, - [711] = {.lex_state = 337}, - [712] = {.lex_state = 337}, - [713] = {.lex_state = 337}, - [714] = {.lex_state = 304}, - [715] = {.lex_state = 300}, - [716] = {.lex_state = 337}, - [717] = {.lex_state = 304}, - [718] = {.lex_state = 337}, - [719] = {.lex_state = 276}, - [720] = {.lex_state = 148}, - [721] = {.lex_state = 504, .external_lex_state = 2}, - [722] = {.lex_state = 198}, - [723] = {.lex_state = 203}, - [724] = {.lex_state = 154, .external_lex_state = 2}, - [725] = {.lex_state = 154, .external_lex_state = 2}, - [726] = {.lex_state = 484, .external_lex_state = 2}, - [727] = {.lex_state = 520, .external_lex_state = 2}, - [728] = {.lex_state = 148}, - [729] = {.lex_state = 154, .external_lex_state = 2}, - [730] = {.lex_state = 154, .external_lex_state = 2}, - [731] = {.lex_state = 524, .external_lex_state = 2}, - [732] = {.lex_state = 484, .external_lex_state = 2}, - [733] = {.lex_state = 484, .external_lex_state = 2}, - [734] = {.lex_state = 495, .external_lex_state = 2}, - [735] = {.lex_state = 121, .external_lex_state = 2}, - [736] = {.lex_state = 337}, - [737] = {.lex_state = 337}, - [738] = {.lex_state = 263, .external_lex_state = 2}, - [739] = {.lex_state = 237}, - [740] = {.lex_state = 337}, - [741] = {.lex_state = 220}, - [742] = {.lex_state = 113}, - [743] = {.lex_state = 516, .external_lex_state = 2}, - [744] = {.lex_state = 123}, - [745] = {.lex_state = 227, .external_lex_state = 3}, - [746] = {.lex_state = 528, .external_lex_state = 2}, - [747] = {.lex_state = 528, .external_lex_state = 2}, - [748] = {.lex_state = 508, .external_lex_state = 2}, - [749] = {.lex_state = 148}, - [750] = {.lex_state = 237}, - [751] = {.lex_state = 245}, - [752] = {.lex_state = 237}, - [753] = {.lex_state = 516, .external_lex_state = 2}, - [754] = {.lex_state = 123, .external_lex_state = 4}, - [755] = {.lex_state = 528, .external_lex_state = 2}, - [756] = {.lex_state = 508, .external_lex_state = 2}, - [757] = {.lex_state = 530, .external_lex_state = 2}, - [758] = {.lex_state = 123}, - [759] = {.lex_state = 276}, - [760] = {.lex_state = 148}, - [761] = {.lex_state = 516, .external_lex_state = 2}, - [762] = {.lex_state = 198}, - [763] = {.lex_state = 203}, - [764] = {.lex_state = 154, .external_lex_state = 2}, - [765] = {.lex_state = 154, .external_lex_state = 2}, - [766] = {.lex_state = 516, .external_lex_state = 2}, - [767] = {.lex_state = 484, .external_lex_state = 2}, - [768] = {.lex_state = 194}, + [685] = {.lex_state = 121, .external_lex_state = 2}, + [686] = {.lex_state = 123}, + [687] = {.lex_state = 507, .external_lex_state = 2}, + [688] = {.lex_state = 131}, + [689] = {.lex_state = 133, .external_lex_state = 2}, + [690] = {.lex_state = 123}, + [691] = {.lex_state = 123}, + [692] = {.lex_state = 509, .external_lex_state = 2}, + [693] = {.lex_state = 148}, + [694] = {.lex_state = 121, .external_lex_state = 2}, + [695] = {.lex_state = 121, .external_lex_state = 2}, + [696] = {.lex_state = 513, .external_lex_state = 2}, + [697] = {.lex_state = 517}, + [698] = {.lex_state = 489, .external_lex_state = 2}, + [699] = {.lex_state = 133, .external_lex_state = 2}, + [700] = {.lex_state = 182, .external_lex_state = 2}, + [701] = {.lex_state = 360}, + [702] = {.lex_state = 351, .external_lex_state = 2}, + [703] = {.lex_state = 133, .external_lex_state = 2}, + [704] = {.lex_state = 123}, + [705] = {.lex_state = 519, .external_lex_state = 2}, + [706] = {.lex_state = 148}, + [707] = {.lex_state = 121, .external_lex_state = 2}, + [708] = {.lex_state = 121, .external_lex_state = 2}, + [709] = {.lex_state = 523, .external_lex_state = 2}, + [710] = {.lex_state = 360}, + [711] = {.lex_state = 489, .external_lex_state = 2}, + [712] = {.lex_state = 360}, + [713] = {.lex_state = 489, .external_lex_state = 2}, + [714] = {.lex_state = 218}, + [715] = {.lex_state = 113}, + [716] = {.lex_state = 527, .external_lex_state = 2}, + [717] = {.lex_state = 123}, + [718] = {.lex_state = 123}, + [719] = {.lex_state = 228, .external_lex_state = 3}, + [720] = {.lex_state = 353}, + [721] = {.lex_state = 487, .external_lex_state = 2}, + [722] = {.lex_state = 487, .external_lex_state = 2}, + [723] = {.lex_state = 193}, + [724] = {.lex_state = 195}, + [725] = {.lex_state = 148}, + [726] = {.lex_state = 529, .external_lex_state = 2}, + [727] = {.lex_state = 199}, + [728] = {.lex_state = 204}, + [729] = {.lex_state = 121, .external_lex_state = 2}, + [730] = {.lex_state = 121, .external_lex_state = 2}, + [731] = {.lex_state = 322, .external_lex_state = 2}, + [732] = {.lex_state = 195}, + [733] = {.lex_state = 148}, + [734] = {.lex_state = 491, .external_lex_state = 2}, + [735] = {.lex_state = 199}, + [736] = {.lex_state = 204}, + [737] = {.lex_state = 121, .external_lex_state = 2}, + [738] = {.lex_state = 121, .external_lex_state = 2}, + [739] = {.lex_state = 193}, + [740] = {.lex_state = 496, .external_lex_state = 2}, + [741] = {.lex_state = 422, .external_lex_state = 6}, + [742] = {.lex_state = 422, .external_lex_state = 6}, + [743] = {.lex_state = 422, .external_lex_state = 6}, + [744] = {.lex_state = 251}, + [745] = {.lex_state = 253, .external_lex_state = 2}, + [746] = {.lex_state = 275}, + [747] = {.lex_state = 360}, + [748] = {.lex_state = 487, .external_lex_state = 2}, + [749] = {.lex_state = 123}, + [750] = {.lex_state = 431, .external_lex_state = 2}, + [751] = {.lex_state = 431, .external_lex_state = 2}, + [752] = {.lex_state = 360}, + [753] = {.lex_state = 275}, + [754] = {.lex_state = 184}, + [755] = {.lex_state = 422, .external_lex_state = 6}, + [756] = {.lex_state = 422, .external_lex_state = 6}, + [757] = {.lex_state = 123}, + [758] = {.lex_state = 360}, + [759] = {.lex_state = 360}, + [760] = {.lex_state = 360}, + [761] = {.lex_state = 360}, + [762] = {.lex_state = 314}, + [763] = {.lex_state = 310}, + [764] = {.lex_state = 360}, + [765] = {.lex_state = 314}, + [766] = {.lex_state = 360}, + [767] = {.lex_state = 193}, + [768] = {.lex_state = 123}, [769] = {.lex_state = 148}, - [770] = {.lex_state = 484, .external_lex_state = 2}, - [771] = {.lex_state = 198}, - [772] = {.lex_state = 203}, - [773] = {.lex_state = 154, .external_lex_state = 2}, - [774] = {.lex_state = 154, .external_lex_state = 2}, - [775] = {.lex_state = 121, .external_lex_state = 2}, - [776] = {.lex_state = 518, .external_lex_state = 2}, - [777] = {.lex_state = 148}, - [778] = {.lex_state = 518, .external_lex_state = 2}, - [779] = {.lex_state = 518, .external_lex_state = 2}, - [780] = {.lex_state = 518, .external_lex_state = 2}, - [781] = {.lex_state = 272}, - [782] = {.lex_state = 272}, - [783] = {.lex_state = 237}, - [784] = {.lex_state = 245}, - [785] = {.lex_state = 312}, - [786] = {.lex_state = 281, .external_lex_state = 2}, - [787] = {.lex_state = 121, .external_lex_state = 2}, - [788] = {.lex_state = 490, .external_lex_state = 2}, - [789] = {.lex_state = 148}, - [790] = {.lex_state = 490, .external_lex_state = 2}, - [791] = {.lex_state = 490, .external_lex_state = 2}, - [792] = {.lex_state = 490, .external_lex_state = 2}, - [793] = {.lex_state = 272}, - [794] = {.lex_state = 272}, - [795] = {.lex_state = 237}, - [796] = {.lex_state = 245}, - [797] = {.lex_state = 315}, - [798] = {.lex_state = 490, .external_lex_state = 2}, - [799] = {.lex_state = 315}, - [800] = {.lex_state = 330}, - [801] = {.lex_state = 337}, - [802] = {.lex_state = 304}, - [803] = {.lex_state = 337}, - [804] = {.lex_state = 121, .external_lex_state = 2}, - [805] = {.lex_state = 504, .external_lex_state = 2}, - [806] = {.lex_state = 148}, - [807] = {.lex_state = 504, .external_lex_state = 2}, - [808] = {.lex_state = 504, .external_lex_state = 2}, - [809] = {.lex_state = 504, .external_lex_state = 2}, - [810] = {.lex_state = 272}, - [811] = {.lex_state = 272}, - [812] = {.lex_state = 237}, - [813] = {.lex_state = 245}, - [814] = {.lex_state = 516, .external_lex_state = 2}, - [815] = {.lex_state = 484, .external_lex_state = 2}, - [816] = {.lex_state = 520, .external_lex_state = 2}, - [817] = {.lex_state = 148}, - [818] = {.lex_state = 237}, - [819] = {.lex_state = 245}, - [820] = {.lex_state = 516, .external_lex_state = 2}, - [821] = {.lex_state = 484, .external_lex_state = 2}, - [822] = {.lex_state = 263, .external_lex_state = 2}, - [823] = {.lex_state = 296}, - [824] = {.lex_state = 123}, - [825] = {.lex_state = 276}, - [826] = {.lex_state = 516, .external_lex_state = 2}, - [827] = {.lex_state = 528, .external_lex_state = 2}, - [828] = {.lex_state = 194}, - [829] = {.lex_state = 148}, - [830] = {.lex_state = 528, .external_lex_state = 2}, - [831] = {.lex_state = 198}, - [832] = {.lex_state = 203}, - [833] = {.lex_state = 154, .external_lex_state = 2}, - [834] = {.lex_state = 154, .external_lex_state = 2}, - [835] = {.lex_state = 528, .external_lex_state = 2}, - [836] = {.lex_state = 278, .external_lex_state = 5}, - [837] = {.lex_state = 528, .external_lex_state = 2}, - [838] = {.lex_state = 528, .external_lex_state = 2}, - [839] = {.lex_state = 508, .external_lex_state = 2}, - [840] = {.lex_state = 508, .external_lex_state = 2}, - [841] = {.lex_state = 296}, - [842] = {.lex_state = 516, .external_lex_state = 2}, - [843] = {.lex_state = 528, .external_lex_state = 2}, - [844] = {.lex_state = 194}, - [845] = {.lex_state = 148}, - [846] = {.lex_state = 198}, - [847] = {.lex_state = 203}, - [848] = {.lex_state = 154, .external_lex_state = 2}, - [849] = {.lex_state = 154, .external_lex_state = 2}, - [850] = {.lex_state = 516, .external_lex_state = 2}, - [851] = {.lex_state = 516, .external_lex_state = 2}, - [852] = {.lex_state = 528, .external_lex_state = 2}, - [853] = {.lex_state = 484, .external_lex_state = 2}, - [854] = {.lex_state = 121, .external_lex_state = 2}, - [855] = {.lex_state = 516, .external_lex_state = 2}, - [856] = {.lex_state = 148}, - [857] = {.lex_state = 516, .external_lex_state = 2}, - [858] = {.lex_state = 516, .external_lex_state = 2}, - [859] = {.lex_state = 516, .external_lex_state = 2}, - [860] = {.lex_state = 272}, - [861] = {.lex_state = 272}, - [862] = {.lex_state = 237}, - [863] = {.lex_state = 245}, - [864] = {.lex_state = 516, .external_lex_state = 2}, - [865] = {.lex_state = 484, .external_lex_state = 2}, - [866] = {.lex_state = 121, .external_lex_state = 2}, - [867] = {.lex_state = 484, .external_lex_state = 2}, - [868] = {.lex_state = 148}, - [869] = {.lex_state = 484, .external_lex_state = 2}, - [870] = {.lex_state = 484, .external_lex_state = 2}, - [871] = {.lex_state = 484, .external_lex_state = 2}, - [872] = {.lex_state = 272}, - [873] = {.lex_state = 272}, - [874] = {.lex_state = 237}, - [875] = {.lex_state = 245}, - [876] = {.lex_state = 312}, - [877] = {.lex_state = 281, .external_lex_state = 2}, - [878] = {.lex_state = 518, .external_lex_state = 2}, - [879] = {.lex_state = 518, .external_lex_state = 2}, - [880] = {.lex_state = 123}, - [881] = {.lex_state = 518, .external_lex_state = 2}, - [882] = {.lex_state = 123}, - [883] = {.lex_state = 518, .external_lex_state = 2}, - [884] = {.lex_state = 312}, - [885] = {.lex_state = 281, .external_lex_state = 2}, - [886] = {.lex_state = 490, .external_lex_state = 2}, - [887] = {.lex_state = 490, .external_lex_state = 2}, - [888] = {.lex_state = 123}, - [889] = {.lex_state = 490, .external_lex_state = 2}, - [890] = {.lex_state = 123}, - [891] = {.lex_state = 490, .external_lex_state = 2}, - [892] = {.lex_state = 337}, - [893] = {.lex_state = 315}, - [894] = {.lex_state = 337}, - [895] = {.lex_state = 315}, - [896] = {.lex_state = 399, .external_lex_state = 6}, - [897] = {.lex_state = 337}, - [898] = {.lex_state = 312}, - [899] = {.lex_state = 281, .external_lex_state = 2}, - [900] = {.lex_state = 504, .external_lex_state = 2}, - [901] = {.lex_state = 504, .external_lex_state = 2}, - [902] = {.lex_state = 123}, - [903] = {.lex_state = 504, .external_lex_state = 2}, - [904] = {.lex_state = 123}, - [905] = {.lex_state = 504, .external_lex_state = 2}, - [906] = {.lex_state = 516, .external_lex_state = 2}, - [907] = {.lex_state = 484, .external_lex_state = 2}, - [908] = {.lex_state = 520, .external_lex_state = 2}, - [909] = {.lex_state = 520, .external_lex_state = 2}, - [910] = {.lex_state = 516, .external_lex_state = 2}, - [911] = {.lex_state = 484, .external_lex_state = 2}, - [912] = {.lex_state = 337}, - [913] = {.lex_state = 528, .external_lex_state = 2}, - [914] = {.lex_state = 528, .external_lex_state = 2}, - [915] = {.lex_state = 121, .external_lex_state = 2}, - [916] = {.lex_state = 528, .external_lex_state = 2}, - [917] = {.lex_state = 148}, - [918] = {.lex_state = 528, .external_lex_state = 2}, - [919] = {.lex_state = 528, .external_lex_state = 2}, - [920] = {.lex_state = 528, .external_lex_state = 2}, - [921] = {.lex_state = 272}, - [922] = {.lex_state = 272}, - [923] = {.lex_state = 237}, - [924] = {.lex_state = 245}, - [925] = {.lex_state = 528, .external_lex_state = 2}, - [926] = {.lex_state = 278, .external_lex_state = 5}, - [927] = {.lex_state = 337}, - [928] = {.lex_state = 528, .external_lex_state = 2}, - [929] = {.lex_state = 121, .external_lex_state = 2}, - [930] = {.lex_state = 486, .external_lex_state = 2}, - [931] = {.lex_state = 148}, - [932] = {.lex_state = 486, .external_lex_state = 2}, - [933] = {.lex_state = 486, .external_lex_state = 2}, - [934] = {.lex_state = 486, .external_lex_state = 2}, - [935] = {.lex_state = 272}, - [936] = {.lex_state = 272}, - [937] = {.lex_state = 237}, - [938] = {.lex_state = 245}, - [939] = {.lex_state = 516, .external_lex_state = 2}, - [940] = {.lex_state = 516, .external_lex_state = 2}, - [941] = {.lex_state = 528, .external_lex_state = 2}, - [942] = {.lex_state = 312}, - [943] = {.lex_state = 281, .external_lex_state = 2}, - [944] = {.lex_state = 516, .external_lex_state = 2}, - [945] = {.lex_state = 516, .external_lex_state = 2}, - [946] = {.lex_state = 123}, - [947] = {.lex_state = 516, .external_lex_state = 2}, - [948] = {.lex_state = 123}, - [949] = {.lex_state = 516, .external_lex_state = 2}, - [950] = {.lex_state = 312}, - [951] = {.lex_state = 281, .external_lex_state = 2}, - [952] = {.lex_state = 484, .external_lex_state = 2}, - [953] = {.lex_state = 484, .external_lex_state = 2}, - [954] = {.lex_state = 123}, - [955] = {.lex_state = 484, .external_lex_state = 2}, - [956] = {.lex_state = 123}, - [957] = {.lex_state = 484, .external_lex_state = 2}, - [958] = {.lex_state = 518, .external_lex_state = 2}, - [959] = {.lex_state = 330}, - [960] = {.lex_state = 330}, - [961] = {.lex_state = 490, .external_lex_state = 2}, - [962] = {.lex_state = 330}, - [963] = {.lex_state = 330}, - [964] = {.lex_state = 337}, - [965] = {.lex_state = 504, .external_lex_state = 2}, - [966] = {.lex_state = 330}, - [967] = {.lex_state = 330}, - [968] = {.lex_state = 484, .external_lex_state = 2}, - [969] = {.lex_state = 484, .external_lex_state = 2}, - [970] = {.lex_state = 312}, - [971] = {.lex_state = 281, .external_lex_state = 2}, - [972] = {.lex_state = 528, .external_lex_state = 2}, - [973] = {.lex_state = 528, .external_lex_state = 2}, - [974] = {.lex_state = 123}, - [975] = {.lex_state = 528, .external_lex_state = 2}, - [976] = {.lex_state = 123}, - [977] = {.lex_state = 528, .external_lex_state = 2}, - [978] = {.lex_state = 528, .external_lex_state = 2}, - [979] = {.lex_state = 312}, - [980] = {.lex_state = 281, .external_lex_state = 2}, - [981] = {.lex_state = 486, .external_lex_state = 2}, - [982] = {.lex_state = 486, .external_lex_state = 2}, - [983] = {.lex_state = 123}, - [984] = {.lex_state = 486, .external_lex_state = 2}, - [985] = {.lex_state = 123}, - [986] = {.lex_state = 486, .external_lex_state = 2}, - [987] = {.lex_state = 528, .external_lex_state = 2}, - [988] = {.lex_state = 528, .external_lex_state = 2}, - [989] = {.lex_state = 516, .external_lex_state = 2}, - [990] = {.lex_state = 330}, - [991] = {.lex_state = 330}, - [992] = {.lex_state = 484, .external_lex_state = 2}, - [993] = {.lex_state = 330}, - [994] = {.lex_state = 330}, - [995] = {.lex_state = 518, .external_lex_state = 2}, - [996] = {.lex_state = 518, .external_lex_state = 2}, - [997] = {.lex_state = 490, .external_lex_state = 2}, - [998] = {.lex_state = 490, .external_lex_state = 2}, - [999] = {.lex_state = 504, .external_lex_state = 2}, - [1000] = {.lex_state = 504, .external_lex_state = 2}, - [1001] = {.lex_state = 528, .external_lex_state = 2}, - [1002] = {.lex_state = 330}, - [1003] = {.lex_state = 330}, - [1004] = {.lex_state = 486, .external_lex_state = 2}, - [1005] = {.lex_state = 330}, - [1006] = {.lex_state = 330}, - [1007] = {.lex_state = 516, .external_lex_state = 2}, - [1008] = {.lex_state = 516, .external_lex_state = 2}, - [1009] = {.lex_state = 484, .external_lex_state = 2}, - [1010] = {.lex_state = 484, .external_lex_state = 2}, - [1011] = {.lex_state = 528, .external_lex_state = 2}, - [1012] = {.lex_state = 528, .external_lex_state = 2}, - [1013] = {.lex_state = 486, .external_lex_state = 2}, - [1014] = {.lex_state = 486, .external_lex_state = 2}, + [770] = {.lex_state = 505, .external_lex_state = 2}, + [771] = {.lex_state = 199}, + [772] = {.lex_state = 204}, + [773] = {.lex_state = 121, .external_lex_state = 2}, + [774] = {.lex_state = 121, .external_lex_state = 2}, + [775] = {.lex_state = 487, .external_lex_state = 2}, + [776] = {.lex_state = 519, .external_lex_state = 2}, + [777] = {.lex_state = 531, .external_lex_state = 2}, + [778] = {.lex_state = 487, .external_lex_state = 2}, + [779] = {.lex_state = 487, .external_lex_state = 2}, + [780] = {.lex_state = 496, .external_lex_state = 2}, + [781] = {.lex_state = 503, .external_lex_state = 2}, + [782] = {.lex_state = 121, .external_lex_state = 2}, + [783] = {.lex_state = 360}, + [784] = {.lex_state = 360}, + [785] = {.lex_state = 273, .external_lex_state = 2}, + [786] = {.lex_state = 255}, + [787] = {.lex_state = 184}, + [788] = {.lex_state = 187}, + [789] = {.lex_state = 191}, + [790] = {.lex_state = 197}, + [791] = {.lex_state = 195}, + [792] = {.lex_state = 517}, + [793] = {.lex_state = 133, .external_lex_state = 2}, + [794] = {.lex_state = 218}, + [795] = {.lex_state = 221}, + [796] = {.lex_state = 113}, + [797] = {.lex_state = 527, .external_lex_state = 2}, + [798] = {.lex_state = 123}, + [799] = {.lex_state = 228, .external_lex_state = 3}, + [800] = {.lex_state = 535, .external_lex_state = 2}, + [801] = {.lex_state = 535, .external_lex_state = 2}, + [802] = {.lex_state = 509, .external_lex_state = 2}, + [803] = {.lex_state = 148}, + [804] = {.lex_state = 239}, + [805] = {.lex_state = 242, .external_lex_state = 2}, + [806] = {.lex_state = 251}, + [807] = {.lex_state = 253, .external_lex_state = 2}, + [808] = {.lex_state = 255}, + [809] = {.lex_state = 527, .external_lex_state = 2}, + [810] = {.lex_state = 123, .external_lex_state = 4}, + [811] = {.lex_state = 535, .external_lex_state = 2}, + [812] = {.lex_state = 503, .external_lex_state = 2}, + [813] = {.lex_state = 121, .external_lex_state = 2}, + [814] = {.lex_state = 121, .external_lex_state = 2}, + [815] = {.lex_state = 509, .external_lex_state = 2}, + [816] = {.lex_state = 537, .external_lex_state = 2}, + [817] = {.lex_state = 360}, + [818] = {.lex_state = 221}, + [819] = {.lex_state = 527, .external_lex_state = 2}, + [820] = {.lex_state = 487, .external_lex_state = 2}, + [821] = {.lex_state = 519, .external_lex_state = 2}, + [822] = {.lex_state = 148}, + [823] = {.lex_state = 239}, + [824] = {.lex_state = 242, .external_lex_state = 2}, + [825] = {.lex_state = 251}, + [826] = {.lex_state = 253, .external_lex_state = 2}, + [827] = {.lex_state = 255}, + [828] = {.lex_state = 527, .external_lex_state = 2}, + [829] = {.lex_state = 487, .external_lex_state = 2}, + [830] = {.lex_state = 123}, + [831] = {.lex_state = 193}, + [832] = {.lex_state = 123}, + [833] = {.lex_state = 148}, + [834] = {.lex_state = 527, .external_lex_state = 2}, + [835] = {.lex_state = 199}, + [836] = {.lex_state = 204}, + [837] = {.lex_state = 121, .external_lex_state = 2}, + [838] = {.lex_state = 121, .external_lex_state = 2}, + [839] = {.lex_state = 527, .external_lex_state = 2}, + [840] = {.lex_state = 487, .external_lex_state = 2}, + [841] = {.lex_state = 322, .external_lex_state = 2}, + [842] = {.lex_state = 195}, + [843] = {.lex_state = 148}, + [844] = {.lex_state = 487, .external_lex_state = 2}, + [845] = {.lex_state = 199}, + [846] = {.lex_state = 204}, + [847] = {.lex_state = 121, .external_lex_state = 2}, + [848] = {.lex_state = 121, .external_lex_state = 2}, + [849] = {.lex_state = 193}, + [850] = {.lex_state = 529, .external_lex_state = 2}, + [851] = {.lex_state = 193}, + [852] = {.lex_state = 121, .external_lex_state = 2}, + [853] = {.lex_state = 529, .external_lex_state = 2}, + [854] = {.lex_state = 148}, + [855] = {.lex_state = 529, .external_lex_state = 2}, + [856] = {.lex_state = 529, .external_lex_state = 2}, + [857] = {.lex_state = 529, .external_lex_state = 2}, + [858] = {.lex_state = 282}, + [859] = {.lex_state = 282}, + [860] = {.lex_state = 239}, + [861] = {.lex_state = 242, .external_lex_state = 2}, + [862] = {.lex_state = 251}, + [863] = {.lex_state = 253, .external_lex_state = 2}, + [864] = {.lex_state = 491, .external_lex_state = 2}, + [865] = {.lex_state = 239}, + [866] = {.lex_state = 242, .external_lex_state = 2}, + [867] = {.lex_state = 193}, + [868] = {.lex_state = 121, .external_lex_state = 2}, + [869] = {.lex_state = 491, .external_lex_state = 2}, + [870] = {.lex_state = 148}, + [871] = {.lex_state = 491, .external_lex_state = 2}, + [872] = {.lex_state = 491, .external_lex_state = 2}, + [873] = {.lex_state = 491, .external_lex_state = 2}, + [874] = {.lex_state = 282}, + [875] = {.lex_state = 282}, + [876] = {.lex_state = 239}, + [877] = {.lex_state = 242, .external_lex_state = 2}, + [878] = {.lex_state = 251}, + [879] = {.lex_state = 253, .external_lex_state = 2}, + [880] = {.lex_state = 316}, + [881] = {.lex_state = 491, .external_lex_state = 2}, + [882] = {.lex_state = 316}, + [883] = {.lex_state = 353}, + [884] = {.lex_state = 360}, + [885] = {.lex_state = 314}, + [886] = {.lex_state = 360}, + [887] = {.lex_state = 505, .external_lex_state = 2}, + [888] = {.lex_state = 193}, + [889] = {.lex_state = 322, .external_lex_state = 2}, + [890] = {.lex_state = 505, .external_lex_state = 2}, + [891] = {.lex_state = 148}, + [892] = {.lex_state = 505, .external_lex_state = 2}, + [893] = {.lex_state = 505, .external_lex_state = 2}, + [894] = {.lex_state = 505, .external_lex_state = 2}, + [895] = {.lex_state = 282}, + [896] = {.lex_state = 282}, + [897] = {.lex_state = 239}, + [898] = {.lex_state = 242, .external_lex_state = 2}, + [899] = {.lex_state = 251}, + [900] = {.lex_state = 253, .external_lex_state = 2}, + [901] = {.lex_state = 527, .external_lex_state = 2}, + [902] = {.lex_state = 487, .external_lex_state = 2}, + [903] = {.lex_state = 527, .external_lex_state = 2}, + [904] = {.lex_state = 487, .external_lex_state = 2}, + [905] = {.lex_state = 273, .external_lex_state = 2}, + [906] = {.lex_state = 306}, + [907] = {.lex_state = 121, .external_lex_state = 2}, + [908] = {.lex_state = 269, .external_lex_state = 2}, + [909] = {.lex_state = 517}, + [910] = {.lex_state = 273, .external_lex_state = 2}, + [911] = {.lex_state = 275}, + [912] = {.lex_state = 184}, + [913] = {.lex_state = 255}, + [914] = {.lex_state = 517}, + [915] = {.lex_state = 517}, + [916] = {.lex_state = 123}, + [917] = {.lex_state = 123}, + [918] = {.lex_state = 527, .external_lex_state = 2}, + [919] = {.lex_state = 535, .external_lex_state = 2}, + [920] = {.lex_state = 193}, + [921] = {.lex_state = 195}, + [922] = {.lex_state = 148}, + [923] = {.lex_state = 535, .external_lex_state = 2}, + [924] = {.lex_state = 199}, + [925] = {.lex_state = 204}, + [926] = {.lex_state = 121, .external_lex_state = 2}, + [927] = {.lex_state = 121, .external_lex_state = 2}, + [928] = {.lex_state = 535, .external_lex_state = 2}, + [929] = {.lex_state = 286, .external_lex_state = 5}, + [930] = {.lex_state = 535, .external_lex_state = 2}, + [931] = {.lex_state = 535, .external_lex_state = 2}, + [932] = {.lex_state = 509, .external_lex_state = 2}, + [933] = {.lex_state = 509, .external_lex_state = 2}, + [934] = {.lex_state = 306}, + [935] = {.lex_state = 527, .external_lex_state = 2}, + [936] = {.lex_state = 535, .external_lex_state = 2}, + [937] = {.lex_state = 193}, + [938] = {.lex_state = 195}, + [939] = {.lex_state = 148}, + [940] = {.lex_state = 199}, + [941] = {.lex_state = 204}, + [942] = {.lex_state = 121, .external_lex_state = 2}, + [943] = {.lex_state = 121, .external_lex_state = 2}, + [944] = {.lex_state = 517}, + [945] = {.lex_state = 489, .external_lex_state = 2}, + [946] = {.lex_state = 517}, + [947] = {.lex_state = 489, .external_lex_state = 2}, + [948] = {.lex_state = 527, .external_lex_state = 2}, + [949] = {.lex_state = 527, .external_lex_state = 2}, + [950] = {.lex_state = 535, .external_lex_state = 2}, + [951] = {.lex_state = 527, .external_lex_state = 2}, + [952] = {.lex_state = 519, .external_lex_state = 2}, + [953] = {.lex_state = 519, .external_lex_state = 2}, + [954] = {.lex_state = 306}, + [955] = {.lex_state = 527, .external_lex_state = 2}, + [956] = {.lex_state = 487, .external_lex_state = 2}, + [957] = {.lex_state = 487, .external_lex_state = 2}, + [958] = {.lex_state = 527, .external_lex_state = 2}, + [959] = {.lex_state = 193}, + [960] = {.lex_state = 322, .external_lex_state = 2}, + [961] = {.lex_state = 527, .external_lex_state = 2}, + [962] = {.lex_state = 148}, + [963] = {.lex_state = 527, .external_lex_state = 2}, + [964] = {.lex_state = 527, .external_lex_state = 2}, + [965] = {.lex_state = 527, .external_lex_state = 2}, + [966] = {.lex_state = 282}, + [967] = {.lex_state = 282}, + [968] = {.lex_state = 239}, + [969] = {.lex_state = 242, .external_lex_state = 2}, + [970] = {.lex_state = 251}, + [971] = {.lex_state = 253, .external_lex_state = 2}, + [972] = {.lex_state = 527, .external_lex_state = 2}, + [973] = {.lex_state = 487, .external_lex_state = 2}, + [974] = {.lex_state = 487, .external_lex_state = 2}, + [975] = {.lex_state = 193}, + [976] = {.lex_state = 121, .external_lex_state = 2}, + [977] = {.lex_state = 487, .external_lex_state = 2}, + [978] = {.lex_state = 148}, + [979] = {.lex_state = 487, .external_lex_state = 2}, + [980] = {.lex_state = 487, .external_lex_state = 2}, + [981] = {.lex_state = 487, .external_lex_state = 2}, + [982] = {.lex_state = 282}, + [983] = {.lex_state = 282}, + [984] = {.lex_state = 239}, + [985] = {.lex_state = 242, .external_lex_state = 2}, + [986] = {.lex_state = 251}, + [987] = {.lex_state = 253, .external_lex_state = 2}, + [988] = {.lex_state = 529, .external_lex_state = 2}, + [989] = {.lex_state = 239}, + [990] = {.lex_state = 242, .external_lex_state = 2}, + [991] = {.lex_state = 529, .external_lex_state = 2}, + [992] = {.lex_state = 529, .external_lex_state = 2}, + [993] = {.lex_state = 123}, + [994] = {.lex_state = 529, .external_lex_state = 2}, + [995] = {.lex_state = 123}, + [996] = {.lex_state = 529, .external_lex_state = 2}, + [997] = {.lex_state = 491, .external_lex_state = 2}, + [998] = {.lex_state = 239}, + [999] = {.lex_state = 242, .external_lex_state = 2}, + [1000] = {.lex_state = 491, .external_lex_state = 2}, + [1001] = {.lex_state = 491, .external_lex_state = 2}, + [1002] = {.lex_state = 123}, + [1003] = {.lex_state = 491, .external_lex_state = 2}, + [1004] = {.lex_state = 123}, + [1005] = {.lex_state = 491, .external_lex_state = 2}, + [1006] = {.lex_state = 360}, + [1007] = {.lex_state = 316}, + [1008] = {.lex_state = 360}, + [1009] = {.lex_state = 316}, + [1010] = {.lex_state = 422, .external_lex_state = 6}, + [1011] = {.lex_state = 360}, + [1012] = {.lex_state = 505, .external_lex_state = 2}, + [1013] = {.lex_state = 239}, + [1014] = {.lex_state = 242, .external_lex_state = 2}, + [1015] = {.lex_state = 505, .external_lex_state = 2}, + [1016] = {.lex_state = 505, .external_lex_state = 2}, + [1017] = {.lex_state = 123}, + [1018] = {.lex_state = 505, .external_lex_state = 2}, + [1019] = {.lex_state = 123}, + [1020] = {.lex_state = 505, .external_lex_state = 2}, + [1021] = {.lex_state = 527, .external_lex_state = 2}, + [1022] = {.lex_state = 487, .external_lex_state = 2}, + [1023] = {.lex_state = 527, .external_lex_state = 2}, + [1024] = {.lex_state = 487, .external_lex_state = 2}, + [1025] = {.lex_state = 360}, + [1026] = {.lex_state = 187}, + [1027] = {.lex_state = 517}, + [1028] = {.lex_state = 269, .external_lex_state = 2}, + [1029] = {.lex_state = 517}, + [1030] = {.lex_state = 314}, + [1031] = {.lex_state = 273, .external_lex_state = 2}, + [1032] = {.lex_state = 310}, + [1033] = {.lex_state = 316}, + [1034] = {.lex_state = 275}, + [1035] = {.lex_state = 306}, + [1036] = {.lex_state = 535, .external_lex_state = 2}, + [1037] = {.lex_state = 322, .external_lex_state = 2}, + [1038] = {.lex_state = 535, .external_lex_state = 2}, + [1039] = {.lex_state = 535, .external_lex_state = 2}, + [1040] = {.lex_state = 193}, + [1041] = {.lex_state = 121, .external_lex_state = 2}, + [1042] = {.lex_state = 535, .external_lex_state = 2}, + [1043] = {.lex_state = 148}, + [1044] = {.lex_state = 535, .external_lex_state = 2}, + [1045] = {.lex_state = 535, .external_lex_state = 2}, + [1046] = {.lex_state = 535, .external_lex_state = 2}, + [1047] = {.lex_state = 282}, + [1048] = {.lex_state = 282}, + [1049] = {.lex_state = 239}, + [1050] = {.lex_state = 242, .external_lex_state = 2}, + [1051] = {.lex_state = 251}, + [1052] = {.lex_state = 253, .external_lex_state = 2}, + [1053] = {.lex_state = 535, .external_lex_state = 2}, + [1054] = {.lex_state = 286, .external_lex_state = 5}, + [1055] = {.lex_state = 351, .external_lex_state = 2}, + [1056] = {.lex_state = 517}, + [1057] = {.lex_state = 535, .external_lex_state = 2}, + [1058] = {.lex_state = 489, .external_lex_state = 2}, + [1059] = {.lex_state = 193}, + [1060] = {.lex_state = 121, .external_lex_state = 2}, + [1061] = {.lex_state = 489, .external_lex_state = 2}, + [1062] = {.lex_state = 148}, + [1063] = {.lex_state = 489, .external_lex_state = 2}, + [1064] = {.lex_state = 489, .external_lex_state = 2}, + [1065] = {.lex_state = 489, .external_lex_state = 2}, + [1066] = {.lex_state = 282}, + [1067] = {.lex_state = 282}, + [1068] = {.lex_state = 239}, + [1069] = {.lex_state = 242, .external_lex_state = 2}, + [1070] = {.lex_state = 251}, + [1071] = {.lex_state = 253, .external_lex_state = 2}, + [1072] = {.lex_state = 527, .external_lex_state = 2}, + [1073] = {.lex_state = 527, .external_lex_state = 2}, + [1074] = {.lex_state = 535, .external_lex_state = 2}, + [1075] = {.lex_state = 360}, + [1076] = {.lex_state = 487, .external_lex_state = 2}, + [1077] = {.lex_state = 527, .external_lex_state = 2}, + [1078] = {.lex_state = 239}, + [1079] = {.lex_state = 242, .external_lex_state = 2}, + [1080] = {.lex_state = 527, .external_lex_state = 2}, + [1081] = {.lex_state = 527, .external_lex_state = 2}, + [1082] = {.lex_state = 123}, + [1083] = {.lex_state = 527, .external_lex_state = 2}, + [1084] = {.lex_state = 123}, + [1085] = {.lex_state = 527, .external_lex_state = 2}, + [1086] = {.lex_state = 487, .external_lex_state = 2}, + [1087] = {.lex_state = 239}, + [1088] = {.lex_state = 242, .external_lex_state = 2}, + [1089] = {.lex_state = 487, .external_lex_state = 2}, + [1090] = {.lex_state = 487, .external_lex_state = 2}, + [1091] = {.lex_state = 123}, + [1092] = {.lex_state = 487, .external_lex_state = 2}, + [1093] = {.lex_state = 123}, + [1094] = {.lex_state = 487, .external_lex_state = 2}, + [1095] = {.lex_state = 529, .external_lex_state = 2}, + [1096] = {.lex_state = 353}, + [1097] = {.lex_state = 353}, + [1098] = {.lex_state = 491, .external_lex_state = 2}, + [1099] = {.lex_state = 353}, + [1100] = {.lex_state = 353}, + [1101] = {.lex_state = 360}, + [1102] = {.lex_state = 505, .external_lex_state = 2}, + [1103] = {.lex_state = 353}, + [1104] = {.lex_state = 353}, + [1105] = {.lex_state = 487, .external_lex_state = 2}, + [1106] = {.lex_state = 487, .external_lex_state = 2}, + [1107] = {.lex_state = 517}, + [1108] = {.lex_state = 517}, + [1109] = {.lex_state = 517}, + [1110] = {.lex_state = 314}, + [1111] = {.lex_state = 310}, + [1112] = {.lex_state = 517}, + [1113] = {.lex_state = 316}, + [1114] = {.lex_state = 316}, + [1115] = {.lex_state = 517}, + [1116] = {.lex_state = 535, .external_lex_state = 2}, + [1117] = {.lex_state = 239}, + [1118] = {.lex_state = 242, .external_lex_state = 2}, + [1119] = {.lex_state = 535, .external_lex_state = 2}, + [1120] = {.lex_state = 535, .external_lex_state = 2}, + [1121] = {.lex_state = 123}, + [1122] = {.lex_state = 535, .external_lex_state = 2}, + [1123] = {.lex_state = 123}, + [1124] = {.lex_state = 535, .external_lex_state = 2}, + [1125] = {.lex_state = 535, .external_lex_state = 2}, + [1126] = {.lex_state = 517}, + [1127] = {.lex_state = 351, .external_lex_state = 2}, + [1128] = {.lex_state = 489, .external_lex_state = 2}, + [1129] = {.lex_state = 239}, + [1130] = {.lex_state = 242, .external_lex_state = 2}, + [1131] = {.lex_state = 489, .external_lex_state = 2}, + [1132] = {.lex_state = 489, .external_lex_state = 2}, + [1133] = {.lex_state = 123}, + [1134] = {.lex_state = 489, .external_lex_state = 2}, + [1135] = {.lex_state = 123}, + [1136] = {.lex_state = 489, .external_lex_state = 2}, + [1137] = {.lex_state = 535, .external_lex_state = 2}, + [1138] = {.lex_state = 535, .external_lex_state = 2}, + [1139] = {.lex_state = 527, .external_lex_state = 2}, + [1140] = {.lex_state = 353}, + [1141] = {.lex_state = 353}, + [1142] = {.lex_state = 487, .external_lex_state = 2}, + [1143] = {.lex_state = 353}, + [1144] = {.lex_state = 353}, + [1145] = {.lex_state = 529, .external_lex_state = 2}, + [1146] = {.lex_state = 529, .external_lex_state = 2}, + [1147] = {.lex_state = 491, .external_lex_state = 2}, + [1148] = {.lex_state = 491, .external_lex_state = 2}, + [1149] = {.lex_state = 505, .external_lex_state = 2}, + [1150] = {.lex_state = 505, .external_lex_state = 2}, + [1151] = {.lex_state = 517}, + [1152] = {.lex_state = 314}, + [1153] = {.lex_state = 517}, + [1154] = {.lex_state = 316}, + [1155] = {.lex_state = 535, .external_lex_state = 2}, + [1156] = {.lex_state = 353}, + [1157] = {.lex_state = 353}, + [1158] = {.lex_state = 517}, + [1159] = {.lex_state = 489, .external_lex_state = 2}, + [1160] = {.lex_state = 353}, + [1161] = {.lex_state = 353}, + [1162] = {.lex_state = 527, .external_lex_state = 2}, + [1163] = {.lex_state = 527, .external_lex_state = 2}, + [1164] = {.lex_state = 487, .external_lex_state = 2}, + [1165] = {.lex_state = 487, .external_lex_state = 2}, + [1166] = {.lex_state = 517}, + [1167] = {.lex_state = 517}, + [1168] = {.lex_state = 535, .external_lex_state = 2}, + [1169] = {.lex_state = 535, .external_lex_state = 2}, + [1170] = {.lex_state = 489, .external_lex_state = 2}, + [1171] = {.lex_state = 489, .external_lex_state = 2}, }; enum { @@ -11085,40 +11653,42 @@ static bool ts_external_scanner_states[7][EXTERNAL_TOKEN_COUNT] = { static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [0] = { [sym_program] = STATE(17), - [sym__terminated_statement] = STATE(612), - [sym_for_statement] = STATE(613), - [sym_while_statement] = STATE(613), - [sym_do_group] = STATE(614), - [sym_if_statement] = STATE(613), - [sym_elif_clause] = STATE(615), - [sym_else_clause] = STATE(616), - [sym_case_statement] = STATE(613), - [sym_case_item] = STATE(617), - [sym_function_definition] = STATE(613), - [sym_compound_statement] = STATE(618), - [sym_subshell] = STATE(613), - [sym_pipeline] = STATE(613), - [sym_list] = STATE(613), - [sym_bracket_command] = STATE(613), - [sym_command] = STATE(619), - [sym_environment_variable_assignment] = STATE(620), - [sym_file_redirect] = STATE(621), - [sym_heredoc_redirect] = STATE(622), - [sym_heredoc] = STATE(623), - [sym_string] = STATE(624), - [sym_simple_expansion] = STATE(625), - [sym_expansion] = STATE(625), - [sym_command_substitution] = STATE(626), - [sym_process_substitution] = STATE(627), - [sym_special_variable_name] = STATE(628), - [aux_sym_program_repeat1] = STATE(629), - [aux_sym_if_statement_repeat1] = STATE(630), - [aux_sym_case_statement_repeat1] = STATE(631), - [aux_sym_bracket_command_repeat1] = STATE(632), - [aux_sym_command_repeat1] = STATE(633), - [aux_sym_command_repeat2] = STATE(634), - [aux_sym_heredoc_repeat1] = STATE(635), - [aux_sym_string_repeat1] = STATE(636), + [sym__terminated_statement] = STATE(645), + [sym_for_statement] = STATE(646), + [sym_while_statement] = STATE(646), + [sym_do_group] = STATE(647), + [sym_if_statement] = STATE(646), + [sym_elif_clause] = STATE(648), + [sym_else_clause] = STATE(649), + [sym_case_statement] = STATE(646), + [sym_case_item] = STATE(650), + [sym_function_definition] = STATE(646), + [sym_compound_statement] = STATE(651), + [sym_subshell] = STATE(646), + [sym_pipeline] = STATE(646), + [sym_list] = STATE(646), + [sym_bracket_command] = STATE(646), + [sym_command] = STATE(646), + [sym_environment_variable_assignment] = STATE(652), + [sym_file_redirect] = STATE(653), + [sym_heredoc_redirect] = STATE(654), + [sym_heredoc] = STATE(655), + [sym_string] = STATE(656), + [sym_array] = STATE(657), + [sym_simple_expansion] = STATE(658), + [sym_expansion] = STATE(658), + [sym_command_substitution] = STATE(659), + [sym_process_substitution] = STATE(657), + [sym_special_variable_name] = STATE(660), + [aux_sym_program_repeat1] = STATE(661), + [aux_sym_if_statement_repeat1] = STATE(662), + [aux_sym_case_statement_repeat1] = STATE(663), + [aux_sym_bracket_command_repeat1] = STATE(664), + [aux_sym_command_repeat1] = STATE(665), + [aux_sym_command_repeat2] = STATE(666), + [aux_sym_heredoc_repeat1] = STATE(667), + [aux_sym_string_repeat1] = STATE(668), + [aux_sym_array_repeat1] = STATE(669), [sym__simple_heredoc] = ACTIONS(1), [sym__heredoc_beginning] = ACTIONS(3), [sym__heredoc_middle] = ACTIONS(5), @@ -11311,24 +11881,26 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [6] = { - [sym_string] = STATE(32), - [sym_simple_expansion] = STATE(32), - [sym_expansion] = STATE(32), - [sym_command_substitution] = STATE(32), - [sym_process_substitution] = STATE(32), - [anon_sym_LT] = ACTIONS(123), - [anon_sym_GT] = ACTIONS(123), - [anon_sym_DQUOTE] = ACTIONS(125), - [sym_raw_string] = ACTIONS(127), - [anon_sym_DOLLAR] = ACTIONS(129), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(131), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(133), - [anon_sym_BQUOTE] = ACTIONS(135), - [sym_word] = ACTIONS(137), + [sym_string] = STATE(33), + [sym_array] = STATE(33), + [sym_simple_expansion] = STATE(33), + [sym_expansion] = STATE(33), + [sym_command_substitution] = STATE(33), + [sym_process_substitution] = STATE(33), + [anon_sym_LPAREN] = ACTIONS(123), + [anon_sym_LT] = ACTIONS(125), + [anon_sym_GT] = ACTIONS(125), + [anon_sym_DQUOTE] = ACTIONS(127), + [sym_raw_string] = ACTIONS(129), + [anon_sym_DOLLAR] = ACTIONS(131), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), + [anon_sym_BQUOTE] = ACTIONS(137), + [sym_word] = ACTIONS(139), [sym_comment] = ACTIONS(115), }, [7] = { - [sym_leading_word] = ACTIONS(139), + [sym_leading_word] = ACTIONS(141), [sym_comment] = ACTIONS(115), }, [8] = { @@ -11347,14 +11919,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(39), + [aux_sym_program_repeat1] = STATE(40), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(141), + [anon_sym_RPAREN] = ACTIONS(143), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -11375,105 +11947,128 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [9] = { - [sym_string] = STATE(42), - [sym_simple_expansion] = STATE(42), - [sym_expansion] = STATE(42), - [sym_command_substitution] = STATE(42), - [sym_process_substitution] = STATE(42), - [aux_sym_bracket_command_repeat1] = STATE(47), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(147), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(157), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(49), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, [10] = { - [sym_string] = STATE(42), - [sym_simple_expansion] = STATE(42), - [sym_expansion] = STATE(42), - [sym_command_substitution] = STATE(42), - [sym_process_substitution] = STATE(42), - [aux_sym_bracket_command_repeat1] = STATE(48), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(147), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(157), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(50), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, [11] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [aux_sym_command_repeat2] = STATE(54), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(161), - [anon_sym_PIPE] = ACTIONS(161), - [anon_sym_PIPE_AMP] = ACTIONS(161), - [anon_sym_AMP_AMP] = ACTIONS(161), - [anon_sym_PIPE_PIPE] = ACTIONS(161), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(163), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(161), - [anon_sym_LF] = ACTIONS(161), - [anon_sym_AMP] = ACTIONS(161), - }, - [12] = { - [sym_string] = STATE(57), - [sym_simple_expansion] = STATE(57), - [sym_expansion] = STATE(57), - [sym_command_substitution] = STATE(57), - [sym_process_substitution] = STATE(57), + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [aux_sym_command_repeat2] = STATE(56), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(165), + [anon_sym_PIPE] = ACTIONS(165), + [anon_sym_PIPE_AMP] = ACTIONS(165), + [anon_sym_AMP_AMP] = ACTIONS(165), + [anon_sym_PIPE_PIPE] = ACTIONS(165), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(167), [anon_sym_LT] = ACTIONS(169), [anon_sym_GT] = ACTIONS(169), - [anon_sym_DQUOTE] = ACTIONS(171), - [sym_raw_string] = ACTIONS(173), - [anon_sym_DOLLAR] = ACTIONS(175), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(177), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(179), - [anon_sym_BQUOTE] = ACTIONS(181), - [sym_word] = ACTIONS(183), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(165), + [anon_sym_LF] = ACTIONS(165), + [anon_sym_AMP] = ACTIONS(165), + }, + [12] = { + [sym_string] = STATE(60), + [sym_array] = STATE(60), + [sym_simple_expansion] = STATE(60), + [sym_expansion] = STATE(60), + [sym_command_substitution] = STATE(60), + [sym_process_substitution] = STATE(60), + [anon_sym_LPAREN] = ACTIONS(173), + [anon_sym_LT] = ACTIONS(175), + [anon_sym_GT] = ACTIONS(175), + [anon_sym_DQUOTE] = ACTIONS(177), + [sym_raw_string] = ACTIONS(179), + [anon_sym_DOLLAR] = ACTIONS(181), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(183), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(185), + [anon_sym_BQUOTE] = ACTIONS(187), + [sym_word] = ACTIONS(189), [sym_comment] = ACTIONS(115), }, [13] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(68), - [anon_sym_DQUOTE] = ACTIONS(185), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(71), + [anon_sym_DQUOTE] = ACTIONS(191), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), [sym_comment] = ACTIONS(73), }, [14] = { - [sym_command] = STATE(74), - [sym_environment_variable_assignment] = STATE(21), + [sym_for_statement] = STATE(85), + [sym_while_statement] = STATE(85), + [sym_if_statement] = STATE(85), + [sym_case_statement] = STATE(85), + [sym_function_definition] = STATE(85), + [sym_subshell] = STATE(85), + [sym_pipeline] = STATE(85), + [sym_list] = STATE(85), + [sym_bracket_command] = STATE(85), + [sym_command] = STATE(85), + [sym_environment_variable_assignment] = STATE(86), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -11481,155 +12076,172 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [15] = { - [sym_command] = STATE(78), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [16] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [aux_sym_command_repeat2] = STATE(83), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(215), - [anon_sym_LPAREN] = ACTIONS(217), - [anon_sym_PIPE] = ACTIONS(215), - [anon_sym_PIPE_AMP] = ACTIONS(215), - [anon_sym_AMP_AMP] = ACTIONS(215), - [anon_sym_PIPE_PIPE] = ACTIONS(215), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(219), - [anon_sym_EQ] = ACTIONS(221), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(215), - [anon_sym_LF] = ACTIONS(215), - [anon_sym_AMP] = ACTIONS(215), - }, - [17] = { - [ts_builtin_sym_end] = ACTIONS(223), - [sym_comment] = ACTIONS(115), - }, - [18] = { - [sym_file_descriptor] = ACTIONS(225), - [ts_builtin_sym_end] = ACTIONS(225), - [anon_sym_for] = ACTIONS(227), - [anon_sym_while] = ACTIONS(227), - [anon_sym_done] = ACTIONS(227), - [anon_sym_if] = ACTIONS(227), - [anon_sym_fi] = ACTIONS(227), - [anon_sym_elif] = ACTIONS(227), - [anon_sym_else] = ACTIONS(227), - [anon_sym_case] = ACTIONS(227), - [anon_sym_RPAREN] = ACTIONS(225), - [anon_sym_SEMI_SEMI] = ACTIONS(225), - [anon_sym_function] = ACTIONS(227), - [anon_sym_LPAREN] = ACTIONS(225), - [anon_sym_RBRACE] = ACTIONS(225), - [anon_sym_LBRACK] = ACTIONS(227), - [anon_sym_LBRACK_LBRACK] = ACTIONS(227), - [anon_sym_COLON] = ACTIONS(225), - [anon_sym_LT] = ACTIONS(227), - [anon_sym_GT] = ACTIONS(227), - [anon_sym_GT_GT] = ACTIONS(227), - [anon_sym_AMP_GT] = ACTIONS(227), - [anon_sym_AMP_GT_GT] = ACTIONS(227), - [anon_sym_LT_AMP] = ACTIONS(227), - [anon_sym_GT_AMP] = ACTIONS(227), - [anon_sym_DQUOTE] = ACTIONS(225), - [sym_raw_string] = ACTIONS(227), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), - [anon_sym_BQUOTE] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [19] = { - [anon_sym_SEMI_SEMI] = ACTIONS(231), - [anon_sym_PIPE] = ACTIONS(233), - [anon_sym_PIPE_AMP] = ACTIONS(233), - [anon_sym_AMP_AMP] = ACTIONS(235), - [anon_sym_PIPE_PIPE] = ACTIONS(235), + [15] = { + [sym_for_statement] = STATE(90), + [sym_while_statement] = STATE(90), + [sym_if_statement] = STATE(90), + [sym_case_statement] = STATE(90), + [sym_function_definition] = STATE(90), + [sym_subshell] = STATE(90), + [sym_pipeline] = STATE(90), + [sym_list] = STATE(90), + [sym_bracket_command] = STATE(90), + [sym_command] = STATE(90), + [sym_environment_variable_assignment] = STATE(91), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [16] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [aux_sym_command_repeat2] = STATE(96), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(237), + [anon_sym_LPAREN] = ACTIONS(239), + [anon_sym_PIPE] = ACTIONS(237), + [anon_sym_PIPE_AMP] = ACTIONS(237), + [anon_sym_AMP_AMP] = ACTIONS(237), + [anon_sym_PIPE_PIPE] = ACTIONS(237), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(241), + [anon_sym_EQ] = ACTIONS(243), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(231), - [anon_sym_LF] = ACTIONS(231), - [anon_sym_AMP] = ACTIONS(231), + [anon_sym_SEMI] = ACTIONS(237), + [anon_sym_LF] = ACTIONS(237), + [anon_sym_AMP] = ACTIONS(237), + }, + [17] = { + [ts_builtin_sym_end] = ACTIONS(245), + [sym_comment] = ACTIONS(115), + }, + [18] = { + [sym_file_descriptor] = ACTIONS(247), + [ts_builtin_sym_end] = ACTIONS(247), + [anon_sym_for] = ACTIONS(249), + [anon_sym_while] = ACTIONS(249), + [anon_sym_done] = ACTIONS(249), + [anon_sym_if] = ACTIONS(249), + [anon_sym_fi] = ACTIONS(249), + [anon_sym_elif] = ACTIONS(249), + [anon_sym_else] = ACTIONS(249), + [anon_sym_case] = ACTIONS(249), + [anon_sym_RPAREN] = ACTIONS(247), + [anon_sym_SEMI_SEMI] = ACTIONS(247), + [anon_sym_function] = ACTIONS(249), + [anon_sym_LPAREN] = ACTIONS(247), + [anon_sym_RBRACE] = ACTIONS(247), + [anon_sym_LBRACK] = ACTIONS(249), + [anon_sym_LBRACK_LBRACK] = ACTIONS(249), + [anon_sym_COLON] = ACTIONS(247), + [anon_sym_LT] = ACTIONS(249), + [anon_sym_GT] = ACTIONS(249), + [anon_sym_GT_GT] = ACTIONS(249), + [anon_sym_AMP_GT] = ACTIONS(249), + [anon_sym_AMP_GT_GT] = ACTIONS(249), + [anon_sym_LT_AMP] = ACTIONS(249), + [anon_sym_GT_AMP] = ACTIONS(249), + [anon_sym_DQUOTE] = ACTIONS(247), + [sym_raw_string] = ACTIONS(249), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(247), + [anon_sym_BQUOTE] = ACTIONS(247), + [sym_leading_word] = ACTIONS(251), + [sym_comment] = ACTIONS(115), + }, + [19] = { + [anon_sym_SEMI_SEMI] = ACTIONS(253), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(257), + [anon_sym_PIPE_PIPE] = ACTIONS(257), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(253), + [anon_sym_LF] = ACTIONS(253), + [anon_sym_AMP] = ACTIONS(253), }, [20] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_SEMI_SEMI] = ACTIONS(231), - [anon_sym_PIPE] = ACTIONS(233), - [anon_sym_PIPE_AMP] = ACTIONS(233), - [anon_sym_AMP_AMP] = ACTIONS(235), - [anon_sym_PIPE_PIPE] = ACTIONS(235), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_SEMI_SEMI] = ACTIONS(253), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(257), + [anon_sym_PIPE_PIPE] = ACTIONS(257), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(231), - [anon_sym_LF] = ACTIONS(231), - [anon_sym_AMP] = ACTIONS(231), + [anon_sym_SEMI] = ACTIONS(253), + [anon_sym_LF] = ACTIONS(253), + [anon_sym_AMP] = ACTIONS(253), }, [21] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), + [sym_file_descriptor] = ACTIONS(263), + [anon_sym_COLON] = ACTIONS(263), + [anon_sym_LT] = ACTIONS(265), + [anon_sym_GT] = ACTIONS(265), + [anon_sym_GT_GT] = ACTIONS(265), + [anon_sym_AMP_GT] = ACTIONS(265), + [anon_sym_AMP_GT_GT] = ACTIONS(265), + [anon_sym_LT_AMP] = ACTIONS(265), + [anon_sym_GT_AMP] = ACTIONS(265), + [anon_sym_DQUOTE] = ACTIONS(263), + [sym_raw_string] = ACTIONS(265), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(263), + [anon_sym_BQUOTE] = ACTIONS(263), + [sym_leading_word] = ACTIONS(267), [sym_comment] = ACTIONS(115), }, [22] = { - [sym__terminated_statement] = STATE(87), + [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), @@ -11646,7 +12258,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_command_substitution] = STATE(11), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), - [ts_builtin_sym_end] = ACTIONS(243), + [ts_builtin_sym_end] = ACTIONS(269), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), @@ -11671,12 +12283,12 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [23] = { - [sym_environment_variable_assignment] = STATE(90), - [sym_file_redirect] = STATE(90), - [sym_string] = STATE(88), - [sym_command_substitution] = STATE(88), + [sym_environment_variable_assignment] = STATE(103), + [sym_file_redirect] = STATE(103), + [sym_string] = STATE(101), + [sym_command_substitution] = STATE(101), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(245), + [anon_sym_COLON] = ACTIONS(271), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -11685,163 +12297,165 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(247), + [sym_raw_string] = ACTIONS(273), [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(249), + [sym_leading_word] = ACTIONS(275), [sym_comment] = ACTIONS(115), }, [24] = { - [sym_string] = STATE(91), - [sym_simple_expansion] = STATE(91), - [sym_expansion] = STATE(91), - [sym_command_substitution] = STATE(91), - [sym_process_substitution] = STATE(91), - [anon_sym_LT] = ACTIONS(169), - [anon_sym_GT] = ACTIONS(169), - [anon_sym_DQUOTE] = ACTIONS(171), - [sym_raw_string] = ACTIONS(251), - [anon_sym_DOLLAR] = ACTIONS(175), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(177), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(179), - [anon_sym_BQUOTE] = ACTIONS(181), - [sym_word] = ACTIONS(253), + [sym_string] = STATE(104), + [sym_array] = STATE(104), + [sym_simple_expansion] = STATE(104), + [sym_expansion] = STATE(104), + [sym_command_substitution] = STATE(104), + [sym_process_substitution] = STATE(104), + [anon_sym_LPAREN] = ACTIONS(173), + [anon_sym_LT] = ACTIONS(175), + [anon_sym_GT] = ACTIONS(175), + [anon_sym_DQUOTE] = ACTIONS(177), + [sym_raw_string] = ACTIONS(277), + [anon_sym_DOLLAR] = ACTIONS(181), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(183), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(185), + [anon_sym_BQUOTE] = ACTIONS(187), + [sym_word] = ACTIONS(279), [sym_comment] = ACTIONS(115), }, [25] = { - [anon_sym_in] = ACTIONS(255), + [anon_sym_in] = ACTIONS(281), [sym_comment] = ACTIONS(115), }, [26] = { - [sym_do_group] = STATE(94), - [anon_sym_do] = ACTIONS(257), + [sym_do_group] = STATE(107), + [anon_sym_do] = ACTIONS(283), [sym_comment] = ACTIONS(115), }, [27] = { - [anon_sym_SEMI_SEMI] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(233), - [anon_sym_PIPE_AMP] = ACTIONS(233), - [anon_sym_AMP_AMP] = ACTIONS(235), - [anon_sym_PIPE_PIPE] = ACTIONS(235), + [anon_sym_SEMI_SEMI] = ACTIONS(285), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(257), + [anon_sym_PIPE_PIPE] = ACTIONS(257), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(259), - [anon_sym_LF] = ACTIONS(259), - [anon_sym_AMP] = ACTIONS(259), + [anon_sym_SEMI] = ACTIONS(285), + [anon_sym_LF] = ACTIONS(285), + [anon_sym_AMP] = ACTIONS(285), }, [28] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_SEMI_SEMI] = ACTIONS(259), - [anon_sym_PIPE] = ACTIONS(233), - [anon_sym_PIPE_AMP] = ACTIONS(233), - [anon_sym_AMP_AMP] = ACTIONS(235), - [anon_sym_PIPE_PIPE] = ACTIONS(235), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_SEMI_SEMI] = ACTIONS(285), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(257), + [anon_sym_PIPE_PIPE] = ACTIONS(257), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(259), - [anon_sym_LF] = ACTIONS(259), - [anon_sym_AMP] = ACTIONS(259), + [anon_sym_SEMI] = ACTIONS(285), + [anon_sym_LF] = ACTIONS(285), + [anon_sym_AMP] = ACTIONS(285), }, [29] = { - [anon_sym_then] = ACTIONS(261), + [anon_sym_then] = ACTIONS(287), [sym_comment] = ACTIONS(115), }, [30] = { - [anon_sym_LPAREN] = ACTIONS(263), + [aux_sym_array_repeat1] = STATE(112), + [anon_sym_RPAREN] = ACTIONS(289), + [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, [31] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(99), - [anon_sym_DQUOTE] = ACTIONS(265), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [32] = { - [anon_sym_in] = ACTIONS(267), - [anon_sym_SEMI_SEMI] = ACTIONS(269), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(269), - [anon_sym_LF] = ACTIONS(269), - [anon_sym_AMP] = ACTIONS(269), - }, - [33] = { - [sym_special_variable_name] = STATE(104), - [anon_sym_DOLLAR] = ACTIONS(271), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(273), - [anon_sym_STAR] = ACTIONS(271), - [anon_sym_AT] = ACTIONS(271), - [anon_sym_POUND] = ACTIONS(275), - [anon_sym_QMARK] = ACTIONS(271), - [anon_sym_DASH] = ACTIONS(271), - [anon_sym_BANG] = ACTIONS(271), - [anon_sym_0] = ACTIONS(275), - [anon_sym__] = ACTIONS(275), - }, - [34] = { - [sym_special_variable_name] = STATE(107), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(279), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [35] = { - [sym_command] = STATE(108), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), + [anon_sym_LPAREN] = ACTIONS(293), [sym_comment] = ACTIONS(115), }, + [32] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(115), + [anon_sym_DQUOTE] = ACTIONS(295), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [33] = { + [anon_sym_in] = ACTIONS(297), + [anon_sym_SEMI_SEMI] = ACTIONS(299), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(299), + [anon_sym_LF] = ACTIONS(299), + [anon_sym_AMP] = ACTIONS(299), + }, + [34] = { + [sym_special_variable_name] = STATE(120), + [anon_sym_DOLLAR] = ACTIONS(301), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(303), + [anon_sym_STAR] = ACTIONS(301), + [anon_sym_AT] = ACTIONS(301), + [anon_sym_POUND] = ACTIONS(305), + [anon_sym_QMARK] = ACTIONS(301), + [anon_sym_DASH] = ACTIONS(301), + [anon_sym_BANG] = ACTIONS(301), + [anon_sym_0] = ACTIONS(305), + [anon_sym__] = ACTIONS(305), + }, + [35] = { + [sym_special_variable_name] = STATE(123), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(309), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, [36] = { - [sym_command] = STATE(109), - [sym_environment_variable_assignment] = STATE(21), + [sym_for_statement] = STATE(124), + [sym_while_statement] = STATE(124), + [sym_if_statement] = STATE(124), + [sym_case_statement] = STATE(124), + [sym_function_definition] = STATE(124), + [sym_subshell] = STATE(124), + [sym_pipeline] = STATE(124), + [sym_list] = STATE(124), + [sym_bracket_command] = STATE(124), + [sym_command] = STATE(124), + [sym_environment_variable_assignment] = STATE(125), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -11849,30 +12463,70 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, [37] = { - [anon_sym_LPAREN] = ACTIONS(281), + [sym_for_statement] = STATE(126), + [sym_while_statement] = STATE(126), + [sym_if_statement] = STATE(126), + [sym_case_statement] = STATE(126), + [sym_function_definition] = STATE(126), + [sym_subshell] = STATE(126), + [sym_pipeline] = STATE(126), + [sym_list] = STATE(126), + [sym_bracket_command] = STATE(126), + [sym_command] = STATE(126), + [sym_environment_variable_assignment] = STATE(127), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, [38] = { - [anon_sym_SEMI_SEMI] = ACTIONS(283), - [anon_sym_PIPE] = ACTIONS(283), - [anon_sym_PIPE_AMP] = ACTIONS(283), - [anon_sym_AMP_AMP] = ACTIONS(283), - [anon_sym_PIPE_PIPE] = ACTIONS(283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(283), - [anon_sym_LF] = ACTIONS(283), - [anon_sym_AMP] = ACTIONS(283), + [anon_sym_LPAREN] = ACTIONS(311), + [sym_comment] = ACTIONS(115), }, [39] = { - [sym__terminated_statement] = STATE(87), + [anon_sym_SEMI_SEMI] = ACTIONS(313), + [anon_sym_PIPE] = ACTIONS(313), + [anon_sym_PIPE_AMP] = ACTIONS(313), + [anon_sym_AMP_AMP] = ACTIONS(313), + [anon_sym_PIPE_PIPE] = ACTIONS(313), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(313), + [anon_sym_LF] = ACTIONS(313), + [anon_sym_AMP] = ACTIONS(313), + }, + [40] = { + [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), @@ -11893,7 +12547,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(285), + [anon_sym_RPAREN] = ACTIONS(315), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -11913,97 +12567,98 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [40] = { - [anon_sym_LPAREN] = ACTIONS(287), - [sym_comment] = ACTIONS(115), - }, [41] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(114), - [anon_sym_DQUOTE] = ACTIONS(289), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), + [aux_sym_array_repeat1] = STATE(131), + [anon_sym_RPAREN] = ACTIONS(317), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), }, [42] = { - [anon_sym_RBRACK] = ACTIONS(291), - [anon_sym_RBRACK_RBRACK] = ACTIONS(291), - [anon_sym_LT] = ACTIONS(293), - [anon_sym_GT] = ACTIONS(293), - [anon_sym_DQUOTE] = ACTIONS(293), - [sym_raw_string] = ACTIONS(291), - [anon_sym_DOLLAR] = ACTIONS(291), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(293), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(293), - [anon_sym_BQUOTE] = ACTIONS(293), - [sym_word] = ACTIONS(295), + [anon_sym_LPAREN] = ACTIONS(319), [sym_comment] = ACTIONS(115), }, [43] = { - [sym_special_variable_name] = STATE(117), - [anon_sym_DOLLAR] = ACTIONS(297), + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(134), + [anon_sym_DQUOTE] = ACTIONS(321), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(299), - [anon_sym_STAR] = ACTIONS(297), - [anon_sym_AT] = ACTIONS(297), - [anon_sym_POUND] = ACTIONS(301), - [anon_sym_QMARK] = ACTIONS(297), - [anon_sym_DASH] = ACTIONS(297), - [anon_sym_BANG] = ACTIONS(297), - [anon_sym_0] = ACTIONS(301), - [anon_sym__] = ACTIONS(301), }, [44] = { - [sym_special_variable_name] = STATE(119), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(303), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), + [anon_sym_LPAREN] = ACTIONS(323), + [anon_sym_RBRACK] = ACTIONS(325), + [anon_sym_RBRACK_RBRACK] = ACTIONS(325), + [anon_sym_LT] = ACTIONS(323), + [anon_sym_GT] = ACTIONS(323), + [anon_sym_DQUOTE] = ACTIONS(323), + [sym_raw_string] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(325), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(323), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(323), + [anon_sym_BQUOTE] = ACTIONS(323), + [sym_word] = ACTIONS(327), + [sym_comment] = ACTIONS(115), }, [45] = { - [sym_command] = STATE(120), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), + [sym_special_variable_name] = STATE(137), + [anon_sym_DOLLAR] = ACTIONS(329), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(331), + [anon_sym_STAR] = ACTIONS(329), + [anon_sym_AT] = ACTIONS(329), + [anon_sym_POUND] = ACTIONS(333), + [anon_sym_QMARK] = ACTIONS(329), + [anon_sym_DASH] = ACTIONS(329), + [anon_sym_BANG] = ACTIONS(329), + [anon_sym_0] = ACTIONS(333), + [anon_sym__] = ACTIONS(333), }, [46] = { - [sym_command] = STATE(121), - [sym_environment_variable_assignment] = STATE(21), + [sym_special_variable_name] = STATE(139), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(335), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [47] = { + [sym_for_statement] = STATE(140), + [sym_while_statement] = STATE(140), + [sym_if_statement] = STATE(140), + [sym_case_statement] = STATE(140), + [sym_function_definition] = STATE(140), + [sym_subshell] = STATE(140), + [sym_pipeline] = STATE(140), + [sym_list] = STATE(140), + [sym_bracket_command] = STATE(140), + [sym_command] = STATE(140), + [sym_environment_variable_assignment] = STATE(141), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -12011,428 +12666,444 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [47] = { - [sym_string] = STATE(123), - [sym_simple_expansion] = STATE(123), - [sym_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [sym_process_substitution] = STATE(123), - [anon_sym_RBRACK] = ACTIONS(305), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(307), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(309), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, [48] = { - [sym_string] = STATE(123), - [sym_simple_expansion] = STATE(123), - [sym_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [sym_process_substitution] = STATE(123), - [anon_sym_RBRACK_RBRACK] = ACTIONS(305), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(307), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(309), + [sym_for_statement] = STATE(142), + [sym_while_statement] = STATE(142), + [sym_if_statement] = STATE(142), + [sym_case_statement] = STATE(142), + [sym_function_definition] = STATE(142), + [sym_subshell] = STATE(142), + [sym_pipeline] = STATE(142), + [sym_list] = STATE(142), + [sym_bracket_command] = STATE(142), + [sym_command] = STATE(142), + [sym_environment_variable_assignment] = STATE(143), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, [49] = { - [anon_sym_LT] = ACTIONS(311), - [anon_sym_GT] = ACTIONS(311), - [anon_sym_GT_GT] = ACTIONS(313), - [anon_sym_AMP_GT] = ACTIONS(311), - [anon_sym_AMP_GT_GT] = ACTIONS(313), - [anon_sym_LT_AMP] = ACTIONS(313), - [anon_sym_GT_AMP] = ACTIONS(313), + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(337), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), [sym_comment] = ACTIONS(115), }, [50] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(127), - [sym_simple_expansion] = STATE(127), - [sym_expansion] = STATE(127), - [sym_command_substitution] = STATE(127), - [sym_process_substitution] = STATE(127), - [aux_sym_bracket_command_repeat1] = STATE(132), - [aux_sym_command_repeat2] = STATE(133), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(315), - [anon_sym_PIPE] = ACTIONS(315), - [anon_sym_PIPE_AMP] = ACTIONS(315), - [anon_sym_AMP_AMP] = ACTIONS(315), - [anon_sym_PIPE_PIPE] = ACTIONS(315), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(321), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(321), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(315), - [anon_sym_LF] = ACTIONS(315), - [anon_sym_AMP] = ACTIONS(315), + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(337), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), + [sym_comment] = ACTIONS(115), }, [51] = { - [sym_string] = STATE(136), - [sym_simple_expansion] = STATE(136), - [sym_expansion] = STATE(136), - [sym_command_substitution] = STATE(136), - [sym_process_substitution] = STATE(136), - [anon_sym_LT] = ACTIONS(331), - [anon_sym_GT] = ACTIONS(331), - [anon_sym_DQUOTE] = ACTIONS(333), - [sym_raw_string] = ACTIONS(335), - [anon_sym_DOLLAR] = ACTIONS(337), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(339), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(341), - [anon_sym_BQUOTE] = ACTIONS(343), - [sym_word] = ACTIONS(345), + [anon_sym_LT] = ACTIONS(343), + [anon_sym_GT] = ACTIONS(343), + [anon_sym_GT_GT] = ACTIONS(345), + [anon_sym_AMP_GT] = ACTIONS(343), + [anon_sym_AMP_GT_GT] = ACTIONS(345), + [anon_sym_LT_AMP] = ACTIONS(345), + [anon_sym_GT_AMP] = ACTIONS(345), [sym_comment] = ACTIONS(115), }, [52] = { - [sym_heredoc] = STATE(143), - [sym__simple_heredoc] = ACTIONS(347), - [sym__heredoc_beginning] = ACTIONS(349), - [sym_comment] = ACTIONS(115), + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(150), + [sym_array] = STATE(150), + [sym_simple_expansion] = STATE(150), + [sym_expansion] = STATE(150), + [sym_command_substitution] = STATE(150), + [sym_process_substitution] = STATE(150), + [aux_sym_bracket_command_repeat1] = STATE(155), + [aux_sym_command_repeat2] = STATE(156), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(347), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(347), + [anon_sym_PIPE_AMP] = ACTIONS(347), + [anon_sym_AMP_AMP] = ACTIONS(347), + [anon_sym_PIPE_PIPE] = ACTIONS(347), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(355), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(355), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(347), + [anon_sym_LF] = ACTIONS(347), + [anon_sym_AMP] = ACTIONS(347), }, [53] = { - [sym_file_descriptor] = ACTIONS(351), - [anon_sym_SEMI_SEMI] = ACTIONS(353), - [anon_sym_PIPE] = ACTIONS(353), - [anon_sym_PIPE_AMP] = ACTIONS(353), - [anon_sym_AMP_AMP] = ACTIONS(353), - [anon_sym_PIPE_PIPE] = ACTIONS(353), - [anon_sym_LT] = ACTIONS(353), - [anon_sym_GT] = ACTIONS(353), - [anon_sym_GT_GT] = ACTIONS(353), - [anon_sym_AMP_GT] = ACTIONS(353), - [anon_sym_AMP_GT_GT] = ACTIONS(353), - [anon_sym_LT_AMP] = ACTIONS(353), - [anon_sym_GT_AMP] = ACTIONS(353), - [anon_sym_LT_LT] = ACTIONS(353), - [anon_sym_LT_LT_DASH] = ACTIONS(353), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(353), - [anon_sym_LF] = ACTIONS(353), - [anon_sym_AMP] = ACTIONS(353), - }, - [54] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(355), - [anon_sym_PIPE] = ACTIONS(355), - [anon_sym_PIPE_AMP] = ACTIONS(355), - [anon_sym_AMP_AMP] = ACTIONS(355), - [anon_sym_PIPE_PIPE] = ACTIONS(355), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(355), - [anon_sym_LF] = ACTIONS(355), - [anon_sym_AMP] = ACTIONS(355), - }, - [55] = { - [anon_sym_LPAREN] = ACTIONS(357), + [sym_string] = STATE(160), + [sym_array] = STATE(160), + [sym_simple_expansion] = STATE(160), + [sym_expansion] = STATE(160), + [sym_command_substitution] = STATE(160), + [sym_process_substitution] = STATE(160), + [anon_sym_LPAREN] = ACTIONS(365), + [anon_sym_LT] = ACTIONS(367), + [anon_sym_GT] = ACTIONS(367), + [anon_sym_DQUOTE] = ACTIONS(369), + [sym_raw_string] = ACTIONS(371), + [anon_sym_DOLLAR] = ACTIONS(373), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), + [anon_sym_BQUOTE] = ACTIONS(379), + [sym_word] = ACTIONS(381), [sym_comment] = ACTIONS(115), }, - [56] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(147), - [anon_sym_DQUOTE] = ACTIONS(359), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), + [54] = { + [sym_heredoc] = STATE(167), + [sym__simple_heredoc] = ACTIONS(383), + [sym__heredoc_beginning] = ACTIONS(385), + [sym_comment] = ACTIONS(115), + }, + [55] = { + [sym_file_descriptor] = ACTIONS(387), + [anon_sym_SEMI_SEMI] = ACTIONS(389), + [anon_sym_PIPE] = ACTIONS(389), + [anon_sym_PIPE_AMP] = ACTIONS(389), + [anon_sym_AMP_AMP] = ACTIONS(389), + [anon_sym_PIPE_PIPE] = ACTIONS(389), + [anon_sym_LT] = ACTIONS(389), + [anon_sym_GT] = ACTIONS(389), + [anon_sym_GT_GT] = ACTIONS(389), + [anon_sym_AMP_GT] = ACTIONS(389), + [anon_sym_AMP_GT_GT] = ACTIONS(389), + [anon_sym_LT_AMP] = ACTIONS(389), + [anon_sym_GT_AMP] = ACTIONS(389), + [anon_sym_LT_LT] = ACTIONS(389), + [anon_sym_LT_LT_DASH] = ACTIONS(389), [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(389), + [anon_sym_LF] = ACTIONS(389), + [anon_sym_AMP] = ACTIONS(389), + }, + [56] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(391), + [anon_sym_LF] = ACTIONS(391), + [anon_sym_AMP] = ACTIONS(391), }, [57] = { - [sym_file_descriptor] = ACTIONS(361), - [anon_sym_COLON] = ACTIONS(361), - [anon_sym_LT] = ACTIONS(363), - [anon_sym_GT] = ACTIONS(363), - [anon_sym_GT_GT] = ACTIONS(363), - [anon_sym_AMP_GT] = ACTIONS(363), - [anon_sym_AMP_GT_GT] = ACTIONS(363), - [anon_sym_LT_AMP] = ACTIONS(363), - [anon_sym_GT_AMP] = ACTIONS(363), - [anon_sym_DQUOTE] = ACTIONS(361), - [sym_raw_string] = ACTIONS(363), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(361), - [sym_leading_word] = ACTIONS(365), + [aux_sym_array_repeat1] = STATE(170), + [anon_sym_RPAREN] = ACTIONS(393), + [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, [58] = { - [sym_special_variable_name] = STATE(150), - [anon_sym_DOLLAR] = ACTIONS(367), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(369), - [anon_sym_STAR] = ACTIONS(367), - [anon_sym_AT] = ACTIONS(367), - [anon_sym_POUND] = ACTIONS(371), - [anon_sym_QMARK] = ACTIONS(367), - [anon_sym_DASH] = ACTIONS(367), - [anon_sym_BANG] = ACTIONS(367), - [anon_sym_0] = ACTIONS(371), - [anon_sym__] = ACTIONS(371), + [anon_sym_LPAREN] = ACTIONS(395), + [sym_comment] = ACTIONS(115), }, [59] = { - [sym_special_variable_name] = STATE(152), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(373), + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(173), + [anon_sym_DQUOTE] = ACTIONS(397), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), }, [60] = { - [sym_command] = STATE(153), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), + [sym_file_descriptor] = ACTIONS(399), + [anon_sym_COLON] = ACTIONS(399), + [anon_sym_LT] = ACTIONS(401), + [anon_sym_GT] = ACTIONS(401), + [anon_sym_GT_GT] = ACTIONS(401), + [anon_sym_AMP_GT] = ACTIONS(401), + [anon_sym_AMP_GT_GT] = ACTIONS(401), + [anon_sym_LT_AMP] = ACTIONS(401), + [anon_sym_GT_AMP] = ACTIONS(401), + [anon_sym_DQUOTE] = ACTIONS(399), + [sym_raw_string] = ACTIONS(401), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(399), + [anon_sym_BQUOTE] = ACTIONS(399), + [sym_leading_word] = ACTIONS(403), [sym_comment] = ACTIONS(115), }, [61] = { - [sym_command] = STATE(154), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), + [sym_special_variable_name] = STATE(176), + [anon_sym_DOLLAR] = ACTIONS(405), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(407), + [anon_sym_STAR] = ACTIONS(405), + [anon_sym_AT] = ACTIONS(405), + [anon_sym_POUND] = ACTIONS(409), + [anon_sym_QMARK] = ACTIONS(405), + [anon_sym_DASH] = ACTIONS(405), + [anon_sym_BANG] = ACTIONS(405), + [anon_sym_0] = ACTIONS(409), + [anon_sym__] = ACTIONS(409), }, [62] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [anon_sym_PIPE] = ACTIONS(377), - [anon_sym_PIPE_AMP] = ACTIONS(377), - [anon_sym_AMP_AMP] = ACTIONS(377), - [anon_sym_PIPE_PIPE] = ACTIONS(377), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), + [sym_special_variable_name] = STATE(178), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(411), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), }, [63] = { - [anon_sym_DQUOTE] = ACTIONS(379), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(379), - [anon_sym_DOLLAR] = ACTIONS(379), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(379), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(379), - [anon_sym_BQUOTE] = ACTIONS(381), - [sym_comment] = ACTIONS(73), + [sym_for_statement] = STATE(179), + [sym_while_statement] = STATE(179), + [sym_if_statement] = STATE(179), + [sym_case_statement] = STATE(179), + [sym_function_definition] = STATE(179), + [sym_subshell] = STATE(179), + [sym_pipeline] = STATE(179), + [sym_list] = STATE(179), + [sym_bracket_command] = STATE(179), + [sym_command] = STATE(179), + [sym_environment_variable_assignment] = STATE(180), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), }, [64] = { - [sym_special_variable_name] = STATE(157), - [anon_sym_DOLLAR] = ACTIONS(383), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(385), - [anon_sym_STAR] = ACTIONS(383), - [anon_sym_AT] = ACTIONS(383), - [anon_sym_POUND] = ACTIONS(387), - [anon_sym_QMARK] = ACTIONS(383), - [anon_sym_DASH] = ACTIONS(383), - [anon_sym_BANG] = ACTIONS(383), - [anon_sym_0] = ACTIONS(387), - [anon_sym__] = ACTIONS(387), + [sym_for_statement] = STATE(181), + [sym_while_statement] = STATE(181), + [sym_if_statement] = STATE(181), + [sym_case_statement] = STATE(181), + [sym_function_definition] = STATE(181), + [sym_subshell] = STATE(181), + [sym_pipeline] = STATE(181), + [sym_list] = STATE(181), + [sym_bracket_command] = STATE(181), + [sym_command] = STATE(181), + [sym_environment_variable_assignment] = STATE(182), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), }, [65] = { - [sym_special_variable_name] = STATE(159), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(389), + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), }, [66] = { - [sym_command] = STATE(160), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), + [anon_sym_DQUOTE] = ACTIONS(417), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(419), + [anon_sym_DOLLAR] = ACTIONS(417), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(417), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(417), + [anon_sym_BQUOTE] = ACTIONS(417), + [sym_comment] = ACTIONS(73), }, [67] = { - [sym_command] = STATE(161), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), + [sym_special_variable_name] = STATE(185), + [anon_sym_DOLLAR] = ACTIONS(421), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(423), + [anon_sym_STAR] = ACTIONS(421), + [anon_sym_AT] = ACTIONS(421), + [anon_sym_POUND] = ACTIONS(425), + [anon_sym_QMARK] = ACTIONS(421), + [anon_sym_DASH] = ACTIONS(421), + [anon_sym_BANG] = ACTIONS(421), + [anon_sym_0] = ACTIONS(425), + [anon_sym__] = ACTIONS(425), }, [68] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(391), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), + [sym_special_variable_name] = STATE(187), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(427), [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), }, [69] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(169), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(161), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(397), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [70] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(171), - [anon_sym_DQUOTE] = ACTIONS(403), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [71] = { - [sym_command] = STATE(172), - [sym_environment_variable_assignment] = STATE(21), + [sym_for_statement] = STATE(188), + [sym_while_statement] = STATE(188), + [sym_if_statement] = STATE(188), + [sym_case_statement] = STATE(188), + [sym_function_definition] = STATE(188), + [sym_subshell] = STATE(188), + [sym_pipeline] = STATE(188), + [sym_list] = STATE(188), + [sym_bracket_command] = STATE(188), + [sym_command] = STATE(188), + [sym_environment_variable_assignment] = STATE(189), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -12440,22 +13111,39 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [72] = { - [sym_command] = STATE(173), - [sym_environment_variable_assignment] = STATE(21), + [70] = { + [sym_for_statement] = STATE(190), + [sym_while_statement] = STATE(190), + [sym_if_statement] = STATE(190), + [sym_case_statement] = STATE(190), + [sym_function_definition] = STATE(190), + [sym_subshell] = STATE(190), + [sym_pipeline] = STATE(190), + [sym_list] = STATE(190), + [sym_bracket_command] = STATE(190), + [sym_command] = STATE(190), + [sym_environment_variable_assignment] = STATE(191), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -12463,262 +13151,318 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [71] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(429), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [72] = { + [sym_word] = ACTIONS(433), [sym_comment] = ACTIONS(115), }, [73] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(176), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(215), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(405), - [anon_sym_EQ] = ACTIONS(407), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), + [sym__terminated_statement] = STATE(195), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), }, [74] = { - [anon_sym_RPAREN] = ACTIONS(409), + [sym__terminated_statement] = STATE(196), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, [75] = { - [sym_environment_variable_assignment] = STATE(90), - [sym_file_redirect] = STATE(90), - [sym_string] = STATE(178), - [sym_command_substitution] = STATE(178), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(411), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(413), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(415), + [sym_string] = STATE(197), + [sym_array] = STATE(197), + [sym_simple_expansion] = STATE(197), + [sym_expansion] = STATE(197), + [sym_command_substitution] = STATE(197), + [sym_process_substitution] = STATE(197), + [anon_sym_LPAREN] = ACTIONS(123), + [anon_sym_LT] = ACTIONS(125), + [anon_sym_GT] = ACTIONS(125), + [anon_sym_DQUOTE] = ACTIONS(127), + [sym_raw_string] = ACTIONS(435), + [anon_sym_DOLLAR] = ACTIONS(131), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), + [anon_sym_BQUOTE] = ACTIONS(137), + [sym_word] = ACTIONS(437), [sym_comment] = ACTIONS(115), }, [76] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(169), - [sym_file_descriptor] = ACTIONS(395), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(417), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [anon_sym_BQUOTE] = ACTIONS(161), - [sym_comment] = ACTIONS(73), + [sym_leading_word] = ACTIONS(439), + [sym_comment] = ACTIONS(115), }, [77] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(176), - [sym_file_descriptor] = ACTIONS(395), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(419), - [anon_sym_EQ] = ACTIONS(407), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [anon_sym_BQUOTE] = ACTIONS(215), - [sym_comment] = ACTIONS(73), + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(200), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(441), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), }, [78] = { - [anon_sym_BQUOTE] = ACTIONS(409), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(201), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, [79] = { - [sym_environment_variable_assignment] = STATE(90), - [sym_file_redirect] = STATE(90), - [sym_string] = STATE(182), - [sym_command_substitution] = STATE(182), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(421), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(423), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(425), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(202), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, [80] = { - [anon_sym_RPAREN] = ACTIONS(427), - [sym_comment] = ACTIONS(115), + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(208), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(165), + [anon_sym_PIPE] = ACTIONS(165), + [anon_sym_PIPE_AMP] = ACTIONS(165), + [anon_sym_AMP_AMP] = ACTIONS(165), + [anon_sym_PIPE_PIPE] = ACTIONS(165), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(445), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [sym_comment] = ACTIONS(73), }, [81] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(127), - [sym_simple_expansion] = STATE(127), - [sym_expansion] = STATE(127), - [sym_command_substitution] = STATE(127), - [sym_process_substitution] = STATE(127), - [aux_sym_bracket_command_repeat1] = STATE(185), - [aux_sym_command_repeat2] = STATE(186), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(429), - [anon_sym_PIPE] = ACTIONS(429), - [anon_sym_PIPE_AMP] = ACTIONS(429), - [anon_sym_AMP_AMP] = ACTIONS(429), - [anon_sym_PIPE_PIPE] = ACTIONS(429), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(321), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(321), + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(210), + [anon_sym_DQUOTE] = ACTIONS(451), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(429), - [anon_sym_LF] = ACTIONS(429), - [anon_sym_AMP] = ACTIONS(429), }, [82] = { - [sym_string] = STATE(187), - [sym_simple_expansion] = STATE(187), - [sym_expansion] = STATE(187), - [sym_command_substitution] = STATE(187), - [sym_process_substitution] = STATE(187), - [sym__empty_value] = ACTIONS(431), - [anon_sym_LT] = ACTIONS(433), - [anon_sym_GT] = ACTIONS(433), - [anon_sym_DQUOTE] = ACTIONS(435), - [sym_raw_string] = ACTIONS(437), - [anon_sym_DOLLAR] = ACTIONS(439), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(441), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(443), - [anon_sym_BQUOTE] = ACTIONS(445), - [sym_word] = ACTIONS(447), + [sym_for_statement] = STATE(211), + [sym_while_statement] = STATE(211), + [sym_if_statement] = STATE(211), + [sym_case_statement] = STATE(211), + [sym_function_definition] = STATE(211), + [sym_subshell] = STATE(211), + [sym_pipeline] = STATE(211), + [sym_list] = STATE(211), + [sym_bracket_command] = STATE(211), + [sym_command] = STATE(211), + [sym_environment_variable_assignment] = STATE(212), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, [83] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(449), - [anon_sym_PIPE] = ACTIONS(449), - [anon_sym_PIPE_AMP] = ACTIONS(449), - [anon_sym_AMP_AMP] = ACTIONS(449), - [anon_sym_PIPE_PIPE] = ACTIONS(449), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(449), - [anon_sym_LF] = ACTIONS(449), - [anon_sym_AMP] = ACTIONS(449), - }, - [84] = { - [sym_file_descriptor] = ACTIONS(451), - [ts_builtin_sym_end] = ACTIONS(451), - [anon_sym_for] = ACTIONS(453), - [anon_sym_while] = ACTIONS(453), - [anon_sym_do] = ACTIONS(453), - [anon_sym_done] = ACTIONS(453), - [anon_sym_if] = ACTIONS(453), - [anon_sym_then] = ACTIONS(453), - [anon_sym_fi] = ACTIONS(453), - [anon_sym_elif] = ACTIONS(453), - [anon_sym_else] = ACTIONS(453), - [anon_sym_case] = ACTIONS(453), - [anon_sym_RPAREN] = ACTIONS(451), - [anon_sym_SEMI_SEMI] = ACTIONS(451), - [anon_sym_function] = ACTIONS(453), - [anon_sym_LPAREN] = ACTIONS(451), - [anon_sym_RBRACE] = ACTIONS(451), - [anon_sym_LBRACK] = ACTIONS(453), - [anon_sym_LBRACK_LBRACK] = ACTIONS(453), - [anon_sym_COLON] = ACTIONS(451), - [anon_sym_LT] = ACTIONS(453), - [anon_sym_GT] = ACTIONS(453), - [anon_sym_GT_GT] = ACTIONS(453), - [anon_sym_AMP_GT] = ACTIONS(453), - [anon_sym_AMP_GT_GT] = ACTIONS(453), - [anon_sym_LT_AMP] = ACTIONS(453), - [anon_sym_GT_AMP] = ACTIONS(453), - [anon_sym_DQUOTE] = ACTIONS(451), - [sym_raw_string] = ACTIONS(453), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(451), - [anon_sym_BQUOTE] = ACTIONS(451), - [sym_leading_word] = ACTIONS(455), - [sym_comment] = ACTIONS(115), - }, - [85] = { - [sym_for_statement] = STATE(194), - [sym_while_statement] = STATE(194), - [sym_if_statement] = STATE(194), - [sym_case_statement] = STATE(194), - [sym_function_definition] = STATE(194), - [sym_subshell] = STATE(194), - [sym_pipeline] = STATE(194), - [sym_list] = STATE(194), - [sym_bracket_command] = STATE(194), - [sym_command] = STATE(194), - [sym_environment_variable_assignment] = STATE(195), + [sym_for_statement] = STATE(213), + [sym_while_statement] = STATE(213), + [sym_if_statement] = STATE(213), + [sym_case_statement] = STATE(213), + [sym_function_definition] = STATE(213), + [sym_subshell] = STATE(213), + [sym_pipeline] = STATE(213), + [sym_list] = STATE(213), + [sym_bracket_command] = STATE(213), + [sym_command] = STATE(213), + [sym_environment_variable_assignment] = STATE(214), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -12726,198 +13470,170 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [84] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(218), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(237), + [anon_sym_LPAREN] = ACTIONS(453), + [anon_sym_PIPE] = ACTIONS(237), + [anon_sym_PIPE_AMP] = ACTIONS(237), + [anon_sym_AMP_AMP] = ACTIONS(237), + [anon_sym_PIPE_PIPE] = ACTIONS(237), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(455), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [sym_comment] = ACTIONS(73), + }, + [85] = { + [anon_sym_RPAREN] = ACTIONS(459), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [86] = { - [sym_for_statement] = STATE(196), - [sym_while_statement] = STATE(196), - [sym_if_statement] = STATE(196), - [sym_case_statement] = STATE(196), - [sym_function_definition] = STATE(196), - [sym_subshell] = STATE(196), - [sym_pipeline] = STATE(196), - [sym_list] = STATE(196), - [sym_bracket_command] = STATE(196), - [sym_command] = STATE(196), - [sym_environment_variable_assignment] = STATE(197), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(459), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [87] = { - [sym_file_descriptor] = ACTIONS(457), - [ts_builtin_sym_end] = ACTIONS(457), - [anon_sym_for] = ACTIONS(459), - [anon_sym_while] = ACTIONS(459), - [anon_sym_done] = ACTIONS(459), - [anon_sym_if] = ACTIONS(459), - [anon_sym_fi] = ACTIONS(459), - [anon_sym_elif] = ACTIONS(459), - [anon_sym_else] = ACTIONS(459), - [anon_sym_case] = ACTIONS(459), - [anon_sym_RPAREN] = ACTIONS(457), - [anon_sym_SEMI_SEMI] = ACTIONS(457), - [anon_sym_function] = ACTIONS(459), - [anon_sym_LPAREN] = ACTIONS(457), - [anon_sym_RBRACE] = ACTIONS(457), - [anon_sym_LBRACK] = ACTIONS(459), - [anon_sym_LBRACK_LBRACK] = ACTIONS(459), - [anon_sym_COLON] = ACTIONS(457), - [anon_sym_LT] = ACTIONS(459), - [anon_sym_GT] = ACTIONS(459), - [anon_sym_GT_GT] = ACTIONS(459), - [anon_sym_AMP_GT] = ACTIONS(459), - [anon_sym_AMP_GT_GT] = ACTIONS(459), - [anon_sym_LT_AMP] = ACTIONS(459), - [anon_sym_GT_AMP] = ACTIONS(459), - [anon_sym_DQUOTE] = ACTIONS(457), - [sym_raw_string] = ACTIONS(459), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(457), - [anon_sym_BQUOTE] = ACTIONS(457), - [sym_leading_word] = ACTIONS(461), + [sym_environment_variable_assignment] = STATE(103), + [sym_file_redirect] = STATE(103), + [sym_string] = STATE(222), + [sym_command_substitution] = STATE(222), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_COLON] = ACTIONS(471), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(473), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(475), [sym_comment] = ACTIONS(115), }, [88] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [aux_sym_command_repeat2] = STATE(133), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(355), - [anon_sym_PIPE] = ACTIONS(355), - [anon_sym_PIPE_AMP] = ACTIONS(355), - [anon_sym_AMP_AMP] = ACTIONS(355), - [anon_sym_PIPE_PIPE] = ACTIONS(355), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(463), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(208), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_PIPE] = ACTIONS(165), + [anon_sym_PIPE_AMP] = ACTIONS(165), + [anon_sym_AMP_AMP] = ACTIONS(165), + [anon_sym_PIPE_PIPE] = ACTIONS(165), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(477), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [anon_sym_BQUOTE] = ACTIONS(165), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(355), - [anon_sym_LF] = ACTIONS(355), - [anon_sym_AMP] = ACTIONS(355), }, [89] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [aux_sym_command_repeat2] = STATE(200), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(465), - [anon_sym_PIPE] = ACTIONS(465), - [anon_sym_PIPE_AMP] = ACTIONS(465), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(467), - [anon_sym_EQ] = ACTIONS(407), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(218), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(453), + [anon_sym_PIPE] = ACTIONS(237), + [anon_sym_PIPE_AMP] = ACTIONS(237), + [anon_sym_AMP_AMP] = ACTIONS(237), + [anon_sym_PIPE_PIPE] = ACTIONS(237), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(479), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [anon_sym_BQUOTE] = ACTIONS(237), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(465), - [anon_sym_LF] = ACTIONS(465), - [anon_sym_AMP] = ACTIONS(465), }, [90] = { - [sym_file_descriptor] = ACTIONS(469), - [anon_sym_COLON] = ACTIONS(469), - [anon_sym_LT] = ACTIONS(471), - [anon_sym_GT] = ACTIONS(471), - [anon_sym_GT_GT] = ACTIONS(471), - [anon_sym_AMP_GT] = ACTIONS(471), - [anon_sym_AMP_GT_GT] = ACTIONS(471), - [anon_sym_LT_AMP] = ACTIONS(471), - [anon_sym_GT_AMP] = ACTIONS(471), - [anon_sym_DQUOTE] = ACTIONS(469), - [sym_raw_string] = ACTIONS(471), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(469), - [anon_sym_BQUOTE] = ACTIONS(469), - [sym_leading_word] = ACTIONS(473), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(459), [sym_comment] = ACTIONS(115), }, [91] = { - [sym_file_descriptor] = ACTIONS(475), - [anon_sym_COLON] = ACTIONS(475), - [anon_sym_LT] = ACTIONS(477), - [anon_sym_GT] = ACTIONS(477), - [anon_sym_GT_GT] = ACTIONS(477), - [anon_sym_AMP_GT] = ACTIONS(477), - [anon_sym_AMP_GT_GT] = ACTIONS(477), - [anon_sym_LT_AMP] = ACTIONS(477), - [anon_sym_GT_AMP] = ACTIONS(477), - [anon_sym_DQUOTE] = ACTIONS(475), - [sym_raw_string] = ACTIONS(477), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(475), - [anon_sym_BQUOTE] = ACTIONS(475), - [sym_leading_word] = ACTIONS(479), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(459), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [92] = { - [sym__terminated_statement] = STATE(201), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), + [sym_environment_variable_assignment] = STATE(103), + [sym_file_redirect] = STATE(103), + [sym_string] = STATE(228), + [sym_command_substitution] = STATE(228), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), + [anon_sym_COLON] = ACTIONS(489), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -12925,2664 +13641,120 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(491), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(493), [sym_comment] = ACTIONS(115), }, [93] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(203), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(481), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [anon_sym_RPAREN] = ACTIONS(495), [sym_comment] = ACTIONS(115), }, [94] = { - [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), + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(150), + [sym_array] = STATE(150), + [sym_simple_expansion] = STATE(150), + [sym_expansion] = STATE(150), + [sym_command_substitution] = STATE(150), + [sym_process_substitution] = STATE(150), + [aux_sym_bracket_command_repeat1] = STATE(231), + [aux_sym_command_repeat2] = STATE(232), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(497), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(497), + [anon_sym_PIPE_AMP] = ACTIONS(497), + [anon_sym_AMP_AMP] = ACTIONS(497), + [anon_sym_PIPE_PIPE] = ACTIONS(497), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(355), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(355), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), + [anon_sym_SEMI] = ACTIONS(497), + [anon_sym_LF] = ACTIONS(497), + [anon_sym_AMP] = ACTIONS(497), }, [95] = { - [anon_sym_do] = ACTIONS(451), - [anon_sym_then] = ACTIONS(451), + [sym_string] = STATE(233), + [sym_array] = STATE(233), + [sym_simple_expansion] = STATE(233), + [sym_expansion] = STATE(233), + [sym_command_substitution] = STATE(233), + [sym_process_substitution] = STATE(233), + [sym__empty_value] = ACTIONS(499), + [anon_sym_LPAREN] = ACTIONS(501), + [anon_sym_LT] = ACTIONS(503), + [anon_sym_GT] = ACTIONS(503), + [anon_sym_DQUOTE] = ACTIONS(505), + [sym_raw_string] = ACTIONS(507), + [anon_sym_DOLLAR] = ACTIONS(509), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(511), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(513), + [anon_sym_BQUOTE] = ACTIONS(515), + [sym_word] = ACTIONS(517), [sym_comment] = ACTIONS(115), }, [96] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(208), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(209), - [aux_sym_if_statement_repeat1] = STATE(210), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(485), - [anon_sym_elif] = ACTIONS(487), - [anon_sym_else] = ACTIONS(489), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [97] = { - [sym_for_statement] = STATE(221), - [sym_while_statement] = STATE(221), - [sym_if_statement] = STATE(221), - [sym_case_statement] = STATE(221), - [sym_function_definition] = STATE(221), - [sym_subshell] = STATE(221), - [sym_pipeline] = STATE(221), - [sym_list] = STATE(221), - [sym_bracket_command] = STATE(221), - [sym_command] = STATE(221), - [sym_environment_variable_assignment] = STATE(222), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [98] = { - [anon_sym_in] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [99] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(513), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [100] = { - [anon_sym_SEMI_SEMI] = ACTIONS(515), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(515), - [anon_sym_LF] = ACTIONS(515), - [anon_sym_AMP] = ACTIONS(515), - }, - [101] = { - [anon_sym_in] = ACTIONS(517), - [sym_comment] = ACTIONS(115), - }, - [102] = { - [anon_sym_in] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [103] = { - [anon_sym_in] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [104] = { - [anon_sym_in] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [105] = { - [anon_sym_RPAREN] = ACTIONS(525), - [anon_sym_RBRACE] = ACTIONS(525), - [anon_sym_COLON] = ACTIONS(527), - [anon_sym_EQ] = ACTIONS(525), - [anon_sym_COLON_QMARK] = ACTIONS(525), - [anon_sym_COLON_DASH] = ACTIONS(525), - [sym_comment] = ACTIONS(115), - }, - [106] = { - [anon_sym_RBRACE] = ACTIONS(529), - [anon_sym_COLON] = ACTIONS(531), - [anon_sym_EQ] = ACTIONS(533), - [anon_sym_COLON_QMARK] = ACTIONS(533), - [anon_sym_COLON_DASH] = ACTIONS(533), - [sym_comment] = ACTIONS(115), - }, - [107] = { - [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), - [sym_comment] = ACTIONS(115), - }, - [108] = { - [anon_sym_RPAREN] = ACTIONS(541), - [sym_comment] = ACTIONS(115), - }, - [109] = { - [anon_sym_BQUOTE] = ACTIONS(541), - [sym_comment] = ACTIONS(115), - }, - [110] = { - [anon_sym_RPAREN] = ACTIONS(543), - [sym_comment] = ACTIONS(115), - }, - [111] = { - [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), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(545), - [anon_sym_LF] = ACTIONS(545), - [anon_sym_AMP] = ACTIONS(545), - }, - [112] = { - [sym_for_statement] = STATE(233), - [sym_while_statement] = STATE(233), - [sym_if_statement] = STATE(233), - [sym_case_statement] = STATE(233), - [sym_function_definition] = STATE(233), - [sym_subshell] = STATE(233), - [sym_pipeline] = STATE(233), - [sym_list] = STATE(233), - [sym_bracket_command] = STATE(233), - [sym_command] = STATE(233), - [sym_environment_variable_assignment] = STATE(234), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [113] = { - [anon_sym_RPAREN] = ACTIONS(375), - [anon_sym_RBRACE] = ACTIONS(375), - [anon_sym_RBRACK] = ACTIONS(547), - [anon_sym_RBRACK_RBRACK] = ACTIONS(547), - [anon_sym_LT] = ACTIONS(375), - [anon_sym_GT] = ACTIONS(375), - [anon_sym_DQUOTE] = ACTIONS(375), - [sym_raw_string] = ACTIONS(547), - [anon_sym_DOLLAR] = ACTIONS(547), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(375), - [anon_sym_BQUOTE] = ACTIONS(375), - [sym_word] = ACTIONS(377), - [sym_comment] = ACTIONS(115), - }, - [114] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(549), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [115] = { - [anon_sym_RBRACK] = ACTIONS(527), - [anon_sym_RBRACK_RBRACK] = ACTIONS(527), - [anon_sym_LT] = ACTIONS(525), - [anon_sym_GT] = ACTIONS(525), - [anon_sym_DQUOTE] = ACTIONS(525), - [sym_raw_string] = ACTIONS(527), - [anon_sym_DOLLAR] = ACTIONS(527), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(525), - [anon_sym_BQUOTE] = ACTIONS(525), - [sym_word] = ACTIONS(519), - [sym_comment] = ACTIONS(115), - }, - [116] = { - [anon_sym_RPAREN] = ACTIONS(551), - [anon_sym_RBRACE] = ACTIONS(551), - [anon_sym_RBRACK] = ACTIONS(553), - [anon_sym_RBRACK_RBRACK] = ACTIONS(553), - [anon_sym_LT] = ACTIONS(551), - [anon_sym_GT] = ACTIONS(551), - [anon_sym_DQUOTE] = ACTIONS(551), - [sym_raw_string] = ACTIONS(553), - [anon_sym_DOLLAR] = ACTIONS(553), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(551), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(551), - [anon_sym_BQUOTE] = ACTIONS(551), - [sym_word] = ACTIONS(521), - [sym_comment] = ACTIONS(115), - }, - [117] = { - [anon_sym_RPAREN] = ACTIONS(555), - [anon_sym_RBRACE] = ACTIONS(555), - [anon_sym_RBRACK] = ACTIONS(557), - [anon_sym_RBRACK_RBRACK] = ACTIONS(557), - [anon_sym_LT] = ACTIONS(555), - [anon_sym_GT] = ACTIONS(555), - [anon_sym_DQUOTE] = ACTIONS(555), - [sym_raw_string] = ACTIONS(557), - [anon_sym_DOLLAR] = ACTIONS(557), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(555), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(555), - [anon_sym_BQUOTE] = ACTIONS(555), - [sym_word] = ACTIONS(523), - [sym_comment] = ACTIONS(115), - }, - [118] = { - [anon_sym_RBRACE] = ACTIONS(559), - [anon_sym_COLON] = ACTIONS(561), - [anon_sym_EQ] = ACTIONS(563), - [anon_sym_COLON_QMARK] = ACTIONS(563), - [anon_sym_COLON_DASH] = ACTIONS(563), - [sym_comment] = ACTIONS(115), - }, - [119] = { - [anon_sym_RBRACE] = ACTIONS(565), - [anon_sym_COLON] = ACTIONS(567), - [anon_sym_EQ] = ACTIONS(569), - [anon_sym_COLON_QMARK] = ACTIONS(569), - [anon_sym_COLON_DASH] = ACTIONS(569), - [sym_comment] = ACTIONS(115), - }, - [120] = { - [anon_sym_RPAREN] = ACTIONS(571), - [sym_comment] = ACTIONS(115), - }, - [121] = { - [anon_sym_BQUOTE] = ACTIONS(571), - [sym_comment] = ACTIONS(115), - }, - [122] = { - [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(73), - [anon_sym_SEMI] = ACTIONS(573), - [anon_sym_LF] = ACTIONS(573), - [anon_sym_AMP] = ACTIONS(573), - }, - [123] = { - [anon_sym_RBRACK] = ACTIONS(575), - [anon_sym_RBRACK_RBRACK] = ACTIONS(575), - [anon_sym_LT] = ACTIONS(577), - [anon_sym_GT] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(575), - [anon_sym_DOLLAR] = ACTIONS(575), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(115), - }, - [124] = { - [sym_string] = STATE(241), - [sym_simple_expansion] = STATE(241), - [sym_expansion] = STATE(241), - [sym_command_substitution] = STATE(241), - [sym_process_substitution] = STATE(241), - [anon_sym_LT] = ACTIONS(331), - [anon_sym_GT] = ACTIONS(331), - [anon_sym_DQUOTE] = ACTIONS(333), - [sym_raw_string] = ACTIONS(581), - [anon_sym_DOLLAR] = ACTIONS(337), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(339), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(341), - [anon_sym_BQUOTE] = ACTIONS(343), - [sym_word] = ACTIONS(583), - [sym_comment] = ACTIONS(115), - }, - [125] = { - [sym_string] = STATE(136), - [sym_simple_expansion] = STATE(136), - [sym_expansion] = STATE(136), - [sym_command_substitution] = STATE(136), - [sym_process_substitution] = STATE(136), - [anon_sym_LPAREN] = ACTIONS(585), - [anon_sym_LT] = ACTIONS(331), - [anon_sym_GT] = ACTIONS(331), - [anon_sym_DQUOTE] = ACTIONS(333), - [sym_raw_string] = ACTIONS(335), - [anon_sym_DOLLAR] = ACTIONS(337), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(339), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(341), - [anon_sym_BQUOTE] = ACTIONS(343), - [sym_word] = ACTIONS(345), - [sym_comment] = ACTIONS(115), - }, - [126] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(244), - [anon_sym_DQUOTE] = ACTIONS(587), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [127] = { - [sym_file_descriptor] = ACTIONS(293), - [anon_sym_SEMI_SEMI] = ACTIONS(295), - [anon_sym_PIPE] = ACTIONS(295), - [anon_sym_PIPE_AMP] = ACTIONS(295), - [anon_sym_AMP_AMP] = ACTIONS(295), - [anon_sym_PIPE_PIPE] = ACTIONS(295), - [anon_sym_LT] = ACTIONS(295), - [anon_sym_GT] = ACTIONS(295), - [anon_sym_GT_GT] = ACTIONS(295), - [anon_sym_AMP_GT] = ACTIONS(295), - [anon_sym_AMP_GT_GT] = ACTIONS(295), - [anon_sym_LT_AMP] = ACTIONS(295), - [anon_sym_GT_AMP] = ACTIONS(295), - [anon_sym_LT_LT] = ACTIONS(295), - [anon_sym_LT_LT_DASH] = ACTIONS(295), - [anon_sym_DQUOTE] = ACTIONS(295), - [sym_raw_string] = ACTIONS(295), - [anon_sym_DOLLAR] = ACTIONS(295), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(295), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(295), - [anon_sym_BQUOTE] = ACTIONS(295), - [sym_word] = ACTIONS(295), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(295), - [anon_sym_LF] = ACTIONS(295), - [anon_sym_AMP] = ACTIONS(295), - }, - [128] = { - [sym_special_variable_name] = STATE(247), - [anon_sym_DOLLAR] = ACTIONS(589), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(591), - [anon_sym_STAR] = ACTIONS(589), - [anon_sym_AT] = ACTIONS(589), - [anon_sym_POUND] = ACTIONS(593), - [anon_sym_QMARK] = ACTIONS(589), - [anon_sym_DASH] = ACTIONS(589), - [anon_sym_BANG] = ACTIONS(589), - [anon_sym_0] = ACTIONS(593), - [anon_sym__] = ACTIONS(593), - }, - [129] = { - [sym_special_variable_name] = STATE(249), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(595), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [130] = { - [sym_command] = STATE(250), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [131] = { - [sym_command] = STATE(251), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [132] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(252), - [sym_simple_expansion] = STATE(252), - [sym_expansion] = STATE(252), - [sym_command_substitution] = STATE(252), - [sym_process_substitution] = STATE(252), - [aux_sym_command_repeat2] = STATE(253), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(597), - [anon_sym_PIPE] = ACTIONS(597), - [anon_sym_PIPE_AMP] = ACTIONS(597), - [anon_sym_AMP_AMP] = ACTIONS(597), - [anon_sym_PIPE_PIPE] = ACTIONS(597), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(599), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(599), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(597), - [anon_sym_LF] = ACTIONS(597), - [anon_sym_AMP] = ACTIONS(597), - }, - [133] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(601), - [anon_sym_PIPE] = ACTIONS(601), - [anon_sym_PIPE_AMP] = ACTIONS(601), - [anon_sym_AMP_AMP] = ACTIONS(601), - [anon_sym_PIPE_PIPE] = ACTIONS(601), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(601), - [anon_sym_LF] = ACTIONS(601), - [anon_sym_AMP] = ACTIONS(601), - }, - [134] = { - [anon_sym_LPAREN] = ACTIONS(603), - [sym_comment] = ACTIONS(115), - }, - [135] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(256), - [anon_sym_DQUOTE] = ACTIONS(605), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [136] = { - [sym_file_descriptor] = ACTIONS(361), - [anon_sym_SEMI_SEMI] = ACTIONS(365), - [anon_sym_PIPE] = ACTIONS(365), - [anon_sym_PIPE_AMP] = ACTIONS(365), - [anon_sym_AMP_AMP] = ACTIONS(365), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(365), - [anon_sym_LT_LT_DASH] = ACTIONS(365), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(365), - [anon_sym_LF] = ACTIONS(365), - [anon_sym_AMP] = ACTIONS(365), - }, - [137] = { - [sym_special_variable_name] = STATE(259), - [anon_sym_DOLLAR] = ACTIONS(607), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(609), - [anon_sym_STAR] = ACTIONS(607), - [anon_sym_AT] = ACTIONS(607), - [anon_sym_POUND] = ACTIONS(611), - [anon_sym_QMARK] = ACTIONS(607), - [anon_sym_DASH] = ACTIONS(607), - [anon_sym_BANG] = ACTIONS(607), - [anon_sym_0] = ACTIONS(611), - [anon_sym__] = ACTIONS(611), - }, - [138] = { - [sym_special_variable_name] = STATE(261), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(613), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [139] = { - [sym_command] = STATE(262), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [140] = { - [sym_command] = STATE(263), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [141] = { - [sym_file_descriptor] = ACTIONS(615), - [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(73), - [anon_sym_SEMI] = ACTIONS(617), - [anon_sym_LF] = ACTIONS(617), - [anon_sym_AMP] = ACTIONS(617), - }, - [142] = { - [sym_simple_expansion] = STATE(264), - [sym_expansion] = STATE(264), - [aux_sym_heredoc_repeat1] = STATE(268), - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(621), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [143] = { - [sym_file_descriptor] = ACTIONS(627), - [anon_sym_SEMI_SEMI] = ACTIONS(629), - [anon_sym_PIPE] = ACTIONS(629), - [anon_sym_PIPE_AMP] = ACTIONS(629), - [anon_sym_AMP_AMP] = ACTIONS(629), - [anon_sym_PIPE_PIPE] = ACTIONS(629), - [anon_sym_LT] = ACTIONS(629), - [anon_sym_GT] = ACTIONS(629), - [anon_sym_GT_GT] = ACTIONS(629), - [anon_sym_AMP_GT] = ACTIONS(629), - [anon_sym_AMP_GT_GT] = ACTIONS(629), - [anon_sym_LT_AMP] = ACTIONS(629), - [anon_sym_GT_AMP] = ACTIONS(629), - [anon_sym_LT_LT] = ACTIONS(629), - [anon_sym_LT_LT_DASH] = ACTIONS(629), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(629), - [anon_sym_LF] = ACTIONS(629), - [anon_sym_AMP] = ACTIONS(629), - }, - [144] = { - [sym_file_descriptor] = ACTIONS(631), - [anon_sym_SEMI_SEMI] = ACTIONS(633), - [anon_sym_PIPE] = ACTIONS(633), - [anon_sym_PIPE_AMP] = ACTIONS(633), - [anon_sym_AMP_AMP] = ACTIONS(633), - [anon_sym_PIPE_PIPE] = ACTIONS(633), - [anon_sym_LT] = ACTIONS(633), - [anon_sym_GT] = ACTIONS(633), - [anon_sym_GT_GT] = ACTIONS(633), - [anon_sym_AMP_GT] = ACTIONS(633), - [anon_sym_AMP_GT_GT] = ACTIONS(633), - [anon_sym_LT_AMP] = ACTIONS(633), - [anon_sym_GT_AMP] = ACTIONS(633), - [anon_sym_LT_LT] = ACTIONS(633), - [anon_sym_LT_LT_DASH] = ACTIONS(633), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(633), - [anon_sym_LF] = ACTIONS(633), - [anon_sym_AMP] = ACTIONS(633), - }, - [145] = { - [sym_for_statement] = STATE(269), - [sym_while_statement] = STATE(269), - [sym_if_statement] = STATE(269), - [sym_case_statement] = STATE(269), - [sym_function_definition] = STATE(269), - [sym_subshell] = STATE(269), - [sym_pipeline] = STATE(269), - [sym_list] = STATE(269), - [sym_bracket_command] = STATE(269), - [sym_command] = STATE(269), - [sym_environment_variable_assignment] = STATE(270), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [146] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(375), - [anon_sym_PIPE] = ACTIONS(547), - [anon_sym_PIPE_AMP] = ACTIONS(375), - [anon_sym_AMP_AMP] = ACTIONS(547), - [anon_sym_PIPE_PIPE] = ACTIONS(375), - [anon_sym_COLON] = ACTIONS(375), - [anon_sym_LT] = ACTIONS(547), - [anon_sym_GT] = ACTIONS(547), - [anon_sym_GT_GT] = ACTIONS(547), - [anon_sym_AMP_GT] = ACTIONS(547), - [anon_sym_AMP_GT_GT] = ACTIONS(547), - [anon_sym_LT_AMP] = ACTIONS(547), - [anon_sym_GT_AMP] = ACTIONS(547), - [anon_sym_DQUOTE] = ACTIONS(375), - [sym_raw_string] = ACTIONS(547), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(375), - [anon_sym_BQUOTE] = ACTIONS(375), - [sym_leading_word] = ACTIONS(377), - [sym_comment] = ACTIONS(115), - }, - [147] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(635), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [148] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(525), - [anon_sym_PIPE] = ACTIONS(527), - [anon_sym_PIPE_AMP] = ACTIONS(525), - [anon_sym_AMP_AMP] = ACTIONS(527), - [anon_sym_PIPE_PIPE] = ACTIONS(525), - [anon_sym_COLON] = ACTIONS(525), - [anon_sym_LT] = ACTIONS(527), - [anon_sym_GT] = ACTIONS(527), - [anon_sym_GT_GT] = ACTIONS(527), - [anon_sym_AMP_GT] = ACTIONS(527), - [anon_sym_AMP_GT_GT] = ACTIONS(527), - [anon_sym_LT_AMP] = ACTIONS(527), - [anon_sym_GT_AMP] = ACTIONS(527), - [anon_sym_DQUOTE] = ACTIONS(525), - [sym_raw_string] = ACTIONS(527), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(525), - [anon_sym_BQUOTE] = ACTIONS(525), - [sym_leading_word] = ACTIONS(519), - [sym_comment] = ACTIONS(115), - }, - [149] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(551), - [anon_sym_PIPE] = ACTIONS(553), - [anon_sym_PIPE_AMP] = ACTIONS(551), - [anon_sym_AMP_AMP] = ACTIONS(553), - [anon_sym_PIPE_PIPE] = ACTIONS(551), - [anon_sym_COLON] = ACTIONS(551), - [anon_sym_LT] = ACTIONS(553), - [anon_sym_GT] = ACTIONS(553), - [anon_sym_GT_GT] = ACTIONS(553), - [anon_sym_AMP_GT] = ACTIONS(553), - [anon_sym_AMP_GT_GT] = ACTIONS(553), - [anon_sym_LT_AMP] = ACTIONS(553), - [anon_sym_GT_AMP] = ACTIONS(553), - [anon_sym_DQUOTE] = ACTIONS(551), - [sym_raw_string] = ACTIONS(553), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(551), - [anon_sym_BQUOTE] = ACTIONS(551), - [sym_leading_word] = ACTIONS(521), - [sym_comment] = ACTIONS(115), - }, - [150] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(555), - [anon_sym_PIPE] = ACTIONS(557), - [anon_sym_PIPE_AMP] = ACTIONS(555), - [anon_sym_AMP_AMP] = ACTIONS(557), - [anon_sym_PIPE_PIPE] = ACTIONS(555), - [anon_sym_COLON] = ACTIONS(555), - [anon_sym_LT] = ACTIONS(557), - [anon_sym_GT] = ACTIONS(557), - [anon_sym_GT_GT] = ACTIONS(557), - [anon_sym_AMP_GT] = ACTIONS(557), - [anon_sym_AMP_GT_GT] = ACTIONS(557), - [anon_sym_LT_AMP] = ACTIONS(557), - [anon_sym_GT_AMP] = ACTIONS(557), - [anon_sym_DQUOTE] = ACTIONS(555), - [sym_raw_string] = ACTIONS(557), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(555), - [anon_sym_BQUOTE] = ACTIONS(555), - [sym_leading_word] = ACTIONS(523), - [sym_comment] = ACTIONS(115), - }, - [151] = { - [anon_sym_RBRACE] = ACTIONS(637), - [anon_sym_COLON] = ACTIONS(639), - [anon_sym_EQ] = ACTIONS(641), - [anon_sym_COLON_QMARK] = ACTIONS(641), - [anon_sym_COLON_DASH] = ACTIONS(641), - [sym_comment] = ACTIONS(115), - }, - [152] = { - [anon_sym_RBRACE] = ACTIONS(643), - [anon_sym_COLON] = ACTIONS(645), - [anon_sym_EQ] = ACTIONS(647), - [anon_sym_COLON_QMARK] = ACTIONS(647), - [anon_sym_COLON_DASH] = ACTIONS(647), - [sym_comment] = ACTIONS(115), - }, - [153] = { - [anon_sym_RPAREN] = ACTIONS(649), - [sym_comment] = ACTIONS(115), - }, - [154] = { - [anon_sym_BQUOTE] = ACTIONS(649), - [sym_comment] = ACTIONS(115), - }, - [155] = { - [anon_sym_DQUOTE] = ACTIONS(519), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(519), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(527), - [sym_comment] = ACTIONS(73), - }, - [156] = { - [anon_sym_DQUOTE] = ACTIONS(521), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(521), - [anon_sym_DOLLAR] = ACTIONS(521), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(553), - [sym_comment] = ACTIONS(73), - }, - [157] = { - [anon_sym_DQUOTE] = ACTIONS(523), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(523), - [anon_sym_DOLLAR] = ACTIONS(523), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(557), - [sym_comment] = ACTIONS(73), - }, - [158] = { - [anon_sym_RBRACE] = ACTIONS(651), - [anon_sym_COLON] = ACTIONS(653), - [anon_sym_EQ] = ACTIONS(655), - [anon_sym_COLON_QMARK] = ACTIONS(655), - [anon_sym_COLON_DASH] = ACTIONS(655), - [sym_comment] = ACTIONS(115), - }, - [159] = { - [anon_sym_RBRACE] = ACTIONS(657), - [anon_sym_COLON] = ACTIONS(659), - [anon_sym_EQ] = ACTIONS(661), - [anon_sym_COLON_QMARK] = ACTIONS(661), - [anon_sym_COLON_DASH] = ACTIONS(661), - [sym_comment] = ACTIONS(115), - }, - [160] = { - [anon_sym_RPAREN] = ACTIONS(663), - [sym_comment] = ACTIONS(115), - }, - [161] = { - [anon_sym_BQUOTE] = ACTIONS(663), - [sym_comment] = ACTIONS(115), - }, - [162] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [163] = { - [anon_sym_DQUOTE] = ACTIONS(669), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(669), - [anon_sym_DOLLAR] = ACTIONS(669), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(669), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(669), - [anon_sym_BQUOTE] = ACTIONS(671), - [sym_comment] = ACTIONS(73), - }, - [164] = { - [anon_sym_LT] = ACTIONS(673), - [anon_sym_GT] = ACTIONS(673), - [anon_sym_GT_GT] = ACTIONS(675), - [anon_sym_AMP_GT] = ACTIONS(673), - [anon_sym_AMP_GT_GT] = ACTIONS(675), - [anon_sym_LT_AMP] = ACTIONS(675), - [anon_sym_GT_AMP] = ACTIONS(675), - [sym_comment] = ACTIONS(115), - }, - [165] = { [sym_file_redirect] = STATE(168), [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(290), - [aux_sym_command_repeat2] = STATE(291), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(677), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [166] = { - [sym_string] = STATE(293), - [sym_simple_expansion] = STATE(293), - [sym_expansion] = STATE(293), - [sym_command_substitution] = STATE(293), - [sym_process_substitution] = STATE(293), - [anon_sym_LT] = ACTIONS(703), - [anon_sym_GT] = ACTIONS(703), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(705), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(707), - [sym_comment] = ACTIONS(115), - }, - [167] = { - [sym_heredoc] = STATE(296), - [sym__simple_heredoc] = ACTIONS(709), - [sym__heredoc_beginning] = ACTIONS(711), - [sym_comment] = ACTIONS(115), - }, - [168] = { - [sym_file_descriptor] = ACTIONS(351), - [anon_sym_RPAREN] = ACTIONS(351), - [anon_sym_PIPE] = ACTIONS(713), - [anon_sym_PIPE_AMP] = ACTIONS(351), - [anon_sym_AMP_AMP] = ACTIONS(351), - [anon_sym_PIPE_PIPE] = ACTIONS(351), - [anon_sym_LT] = ACTIONS(713), - [anon_sym_GT] = ACTIONS(713), - [anon_sym_GT_GT] = ACTIONS(351), - [anon_sym_AMP_GT] = ACTIONS(713), - [anon_sym_AMP_GT_GT] = ACTIONS(351), - [anon_sym_LT_AMP] = ACTIONS(351), - [anon_sym_GT_AMP] = ACTIONS(351), - [anon_sym_LT_LT] = ACTIONS(713), - [anon_sym_LT_LT_DASH] = ACTIONS(351), - [anon_sym_BQUOTE] = ACTIONS(351), - [sym_comment] = ACTIONS(115), - }, - [169] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(715), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(715), - [sym_comment] = ACTIONS(115), - }, - [170] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_PIPE] = ACTIONS(377), - [anon_sym_PIPE_AMP] = ACTIONS(377), - [anon_sym_AMP_AMP] = ACTIONS(377), - [anon_sym_PIPE_PIPE] = ACTIONS(377), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - }, - [171] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(717), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [172] = { - [anon_sym_RPAREN] = ACTIONS(719), - [sym_comment] = ACTIONS(115), - }, - [173] = { - [anon_sym_BQUOTE] = ACTIONS(719), - [sym_comment] = ACTIONS(115), - }, - [174] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(300), - [aux_sym_command_repeat2] = STATE(301), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(721), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [175] = { - [sym_string] = STATE(302), - [sym_simple_expansion] = STATE(302), - [sym_expansion] = STATE(302), - [sym_command_substitution] = STATE(302), - [sym_process_substitution] = STATE(302), - [sym__empty_value] = ACTIONS(723), - [anon_sym_LT] = ACTIONS(169), - [anon_sym_GT] = ACTIONS(169), - [anon_sym_DQUOTE] = ACTIONS(171), - [sym_raw_string] = ACTIONS(725), - [anon_sym_DOLLAR] = ACTIONS(175), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(177), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(179), - [anon_sym_BQUOTE] = ACTIONS(181), - [sym_word] = ACTIONS(727), - [sym_comment] = ACTIONS(115), - }, - [176] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(729), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(729), - [sym_comment] = ACTIONS(115), - }, - [177] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [178] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(291), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(355), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(735), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [179] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(305), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(465), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), - [anon_sym_EQ] = ACTIONS(407), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [180] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(306), - [aux_sym_command_repeat2] = STATE(291), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(677), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [181] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(307), - [aux_sym_command_repeat2] = STATE(301), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(721), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [182] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(291), - [sym_file_descriptor] = ACTIONS(395), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(739), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [anon_sym_BQUOTE] = ACTIONS(355), - [sym_comment] = ACTIONS(73), - }, - [183] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(305), - [sym_file_descriptor] = ACTIONS(395), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(741), - [anon_sym_EQ] = ACTIONS(407), - [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(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [anon_sym_BQUOTE] = ACTIONS(465), - [sym_comment] = ACTIONS(73), - }, - [184] = { - [sym_compound_statement] = STATE(311), - [anon_sym_LBRACE] = ACTIONS(743), - [sym_comment] = ACTIONS(115), - }, - [185] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(252), - [sym_simple_expansion] = STATE(252), - [sym_expansion] = STATE(252), - [sym_command_substitution] = STATE(252), - [sym_process_substitution] = STATE(252), - [aux_sym_command_repeat2] = STATE(312), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(745), - [anon_sym_PIPE] = ACTIONS(745), - [anon_sym_PIPE_AMP] = ACTIONS(745), - [anon_sym_AMP_AMP] = ACTIONS(745), - [anon_sym_PIPE_PIPE] = ACTIONS(745), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(599), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(599), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(745), - [anon_sym_LF] = ACTIONS(745), - [anon_sym_AMP] = ACTIONS(745), - }, - [186] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [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), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(747), - [anon_sym_LF] = ACTIONS(747), - [anon_sym_AMP] = ACTIONS(747), - }, - [187] = { - [sym_file_descriptor] = ACTIONS(749), - [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_COLON] = ACTIONS(751), - [anon_sym_LT] = ACTIONS(751), - [anon_sym_GT] = ACTIONS(751), - [anon_sym_GT_GT] = ACTIONS(751), - [anon_sym_AMP_GT] = ACTIONS(751), - [anon_sym_AMP_GT_GT] = ACTIONS(751), - [anon_sym_LT_AMP] = ACTIONS(751), - [anon_sym_GT_AMP] = ACTIONS(751), - [anon_sym_DQUOTE] = ACTIONS(751), - [sym_raw_string] = ACTIONS(751), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(751), - [anon_sym_BQUOTE] = ACTIONS(751), - [sym_leading_word] = ACTIONS(751), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(751), - [anon_sym_LF] = ACTIONS(751), - [anon_sym_AMP] = ACTIONS(751), - }, - [188] = { - [anon_sym_LPAREN] = ACTIONS(753), - [sym_comment] = ACTIONS(115), - }, - [189] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(315), - [anon_sym_DQUOTE] = ACTIONS(755), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [190] = { - [sym_special_variable_name] = STATE(318), - [anon_sym_DOLLAR] = ACTIONS(757), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(759), - [anon_sym_STAR] = ACTIONS(757), - [anon_sym_AT] = ACTIONS(757), - [anon_sym_POUND] = ACTIONS(761), - [anon_sym_QMARK] = ACTIONS(757), - [anon_sym_DASH] = ACTIONS(757), - [anon_sym_BANG] = ACTIONS(757), - [anon_sym_0] = ACTIONS(761), - [anon_sym__] = ACTIONS(761), - }, - [191] = { - [sym_special_variable_name] = STATE(320), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(763), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [192] = { - [sym_command] = STATE(321), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [193] = { - [sym_command] = STATE(322), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [194] = { - [anon_sym_SEMI_SEMI] = ACTIONS(765), - [anon_sym_PIPE] = ACTIONS(765), - [anon_sym_PIPE_AMP] = ACTIONS(765), - [anon_sym_AMP_AMP] = ACTIONS(765), - [anon_sym_PIPE_PIPE] = ACTIONS(765), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(765), - [anon_sym_LF] = ACTIONS(765), - [anon_sym_AMP] = ACTIONS(765), - }, - [195] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_SEMI_SEMI] = ACTIONS(765), - [anon_sym_PIPE] = ACTIONS(765), - [anon_sym_PIPE_AMP] = ACTIONS(765), - [anon_sym_AMP_AMP] = ACTIONS(765), - [anon_sym_PIPE_PIPE] = ACTIONS(765), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(765), - [anon_sym_LF] = ACTIONS(765), - [anon_sym_AMP] = ACTIONS(765), - }, - [196] = { - [anon_sym_SEMI_SEMI] = ACTIONS(767), - [anon_sym_PIPE] = ACTIONS(233), - [anon_sym_PIPE_AMP] = ACTIONS(233), - [anon_sym_AMP_AMP] = ACTIONS(767), - [anon_sym_PIPE_PIPE] = ACTIONS(767), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(767), - [anon_sym_LF] = ACTIONS(767), - [anon_sym_AMP] = ACTIONS(767), - }, - [197] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_SEMI_SEMI] = ACTIONS(767), - [anon_sym_PIPE] = ACTIONS(233), - [anon_sym_PIPE_AMP] = ACTIONS(233), - [anon_sym_AMP_AMP] = ACTIONS(767), - [anon_sym_PIPE_PIPE] = ACTIONS(767), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(767), - [anon_sym_LF] = ACTIONS(767), - [anon_sym_AMP] = ACTIONS(767), - }, - [198] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(127), - [sym_simple_expansion] = STATE(127), - [sym_expansion] = STATE(127), - [sym_command_substitution] = STATE(127), - [sym_process_substitution] = STATE(127), - [aux_sym_bracket_command_repeat1] = STATE(323), - [aux_sym_command_repeat2] = STATE(253), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(597), - [anon_sym_PIPE] = ACTIONS(597), - [anon_sym_PIPE_AMP] = ACTIONS(597), - [anon_sym_AMP_AMP] = ACTIONS(597), - [anon_sym_PIPE_PIPE] = ACTIONS(597), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(321), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(321), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(597), - [anon_sym_LF] = ACTIONS(597), - [anon_sym_AMP] = ACTIONS(597), - }, - [199] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(127), - [sym_simple_expansion] = STATE(127), - [sym_expansion] = STATE(127), - [sym_command_substitution] = STATE(127), - [sym_process_substitution] = STATE(127), - [aux_sym_bracket_command_repeat1] = STATE(324), - [aux_sym_command_repeat2] = STATE(325), - [sym_file_descriptor] = ACTIONS(159), - [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), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(321), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(321), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(769), - [anon_sym_LF] = ACTIONS(769), - [anon_sym_AMP] = ACTIONS(769), - }, - [200] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(771), - [anon_sym_PIPE] = ACTIONS(771), - [anon_sym_PIPE_AMP] = ACTIONS(771), - [anon_sym_AMP_AMP] = ACTIONS(771), - [anon_sym_PIPE_PIPE] = ACTIONS(771), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(771), - [anon_sym_LF] = ACTIONS(771), - [anon_sym_AMP] = ACTIONS(771), - }, - [201] = { - [sym_do_group] = STATE(326), - [anon_sym_do] = ACTIONS(257), - [sym_comment] = ACTIONS(115), - }, - [202] = { - [anon_sym_SEMI_SEMI] = ACTIONS(773), - [anon_sym_PIPE] = ACTIONS(773), - [anon_sym_PIPE_AMP] = ACTIONS(773), - [anon_sym_AMP_AMP] = ACTIONS(773), - [anon_sym_PIPE_PIPE] = ACTIONS(773), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(773), - [anon_sym_LF] = ACTIONS(773), - [anon_sym_AMP] = ACTIONS(773), - }, - [203] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(775), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [204] = { - [anon_sym_SEMI_SEMI] = ACTIONS(777), - [anon_sym_PIPE] = ACTIONS(777), - [anon_sym_PIPE_AMP] = ACTIONS(777), - [anon_sym_AMP_AMP] = ACTIONS(777), - [anon_sym_PIPE_PIPE] = ACTIONS(777), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(777), - [anon_sym_LF] = ACTIONS(777), - [anon_sym_AMP] = ACTIONS(777), - }, - [205] = { - [sym__terminated_statement] = STATE(328), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [206] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(329), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(779), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [207] = { - [anon_sym_fi] = ACTIONS(781), - [anon_sym_elif] = ACTIONS(781), - [anon_sym_else] = ACTIONS(781), - [sym_comment] = ACTIONS(115), - }, - [208] = { - [anon_sym_fi] = ACTIONS(783), - [sym_comment] = ACTIONS(115), - }, - [209] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(331), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(332), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(785), - [anon_sym_elif] = ACTIONS(487), - [anon_sym_else] = ACTIONS(489), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [210] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(331), - [anon_sym_fi] = ACTIONS(783), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), - [sym_comment] = ACTIONS(115), - }, - [211] = { - [sym_word] = ACTIONS(791), - [sym_comment] = ACTIONS(115), - }, - [212] = { - [sym__terminated_statement] = STATE(335), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [213] = { - [sym__terminated_statement] = STATE(336), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [214] = { - [sym_string] = STATE(337), - [sym_simple_expansion] = STATE(337), - [sym_expansion] = STATE(337), - [sym_command_substitution] = STATE(337), - [sym_process_substitution] = STATE(337), - [anon_sym_LT] = ACTIONS(123), - [anon_sym_GT] = ACTIONS(123), - [anon_sym_DQUOTE] = ACTIONS(125), - [sym_raw_string] = ACTIONS(793), - [anon_sym_DOLLAR] = ACTIONS(129), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(131), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(133), - [anon_sym_BQUOTE] = ACTIONS(135), - [sym_word] = ACTIONS(795), - [sym_comment] = ACTIONS(115), - }, - [215] = { - [sym_leading_word] = ACTIONS(797), - [sym_comment] = ACTIONS(115), - }, - [216] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(340), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(799), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [217] = { - [sym_string] = STATE(42), - [sym_simple_expansion] = STATE(42), - [sym_expansion] = STATE(42), - [sym_command_substitution] = STATE(42), - [sym_process_substitution] = STATE(42), - [aux_sym_bracket_command_repeat1] = STATE(341), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(147), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(157), - [sym_comment] = ACTIONS(115), - }, - [218] = { - [sym_string] = STATE(42), - [sym_simple_expansion] = STATE(42), - [sym_expansion] = STATE(42), - [sym_command_substitution] = STATE(42), - [sym_process_substitution] = STATE(42), - [aux_sym_bracket_command_repeat1] = STATE(342), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(147), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(157), - [sym_comment] = ACTIONS(115), - }, - [219] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(346), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(161), - [anon_sym_PIPE] = ACTIONS(161), - [anon_sym_PIPE_AMP] = ACTIONS(161), - [anon_sym_AMP_AMP] = ACTIONS(161), - [anon_sym_PIPE_PIPE] = ACTIONS(161), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(803), - [anon_sym_LT] = ACTIONS(805), - [anon_sym_GT] = ACTIONS(805), - [anon_sym_GT_GT] = ACTIONS(805), - [anon_sym_AMP_GT] = ACTIONS(805), - [anon_sym_AMP_GT_GT] = ACTIONS(805), - [anon_sym_LT_AMP] = ACTIONS(805), - [anon_sym_GT_AMP] = ACTIONS(805), - [anon_sym_LT_LT] = ACTIONS(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [220] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(349), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(215), - [anon_sym_LPAREN] = ACTIONS(807), - [anon_sym_PIPE] = ACTIONS(215), - [anon_sym_PIPE_AMP] = ACTIONS(215), - [anon_sym_AMP_AMP] = ACTIONS(215), - [anon_sym_PIPE_PIPE] = ACTIONS(215), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(809), - [anon_sym_EQ] = ACTIONS(407), - [anon_sym_LT] = ACTIONS(805), - [anon_sym_GT] = ACTIONS(805), - [anon_sym_GT_GT] = ACTIONS(805), - [anon_sym_AMP_GT] = ACTIONS(805), - [anon_sym_AMP_GT_GT] = ACTIONS(805), - [anon_sym_LT_AMP] = ACTIONS(805), - [anon_sym_GT_AMP] = ACTIONS(805), - [anon_sym_LT_LT] = ACTIONS(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [221] = { - [anon_sym_RPAREN] = ACTIONS(811), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [222] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(811), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [223] = { - [sym_environment_variable_assignment] = STATE(90), - [sym_file_redirect] = STATE(90), - [sym_string] = STATE(353), - [sym_command_substitution] = STATE(353), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(821), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(823), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(825), - [sym_comment] = ACTIONS(115), - }, - [224] = { - [anon_sym_in] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [225] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(359), - [anon_sym_esac] = ACTIONS(827), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [226] = { - [anon_sym_SEMI_SEMI] = ACTIONS(835), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(835), - [anon_sym_LF] = ACTIONS(835), - [anon_sym_AMP] = ACTIONS(835), - }, - [227] = { - [anon_sym_in] = ACTIONS(837), - [anon_sym_SEMI_SEMI] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [228] = { - [sym_string] = STATE(361), - [sym_simple_expansion] = STATE(361), - [sym_expansion] = STATE(361), - [sym_command_substitution] = STATE(361), - [sym_process_substitution] = STATE(361), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(839), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(841), - [sym_comment] = ACTIONS(115), - }, - [229] = { - [anon_sym_in] = ACTIONS(843), - [anon_sym_SEMI_SEMI] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [230] = { - [sym_string] = STATE(362), - [sym_simple_expansion] = STATE(362), - [sym_expansion] = STATE(362), - [sym_command_substitution] = STATE(362), - [sym_process_substitution] = STATE(362), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(845), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(847), - [sym_comment] = ACTIONS(115), - }, - [231] = { - [anon_sym_in] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [232] = { - [sym_compound_statement] = STATE(363), - [anon_sym_LBRACE] = ACTIONS(743), - [sym_comment] = ACTIONS(115), - }, - [233] = { - [anon_sym_RPAREN] = ACTIONS(849), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [234] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(849), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [235] = { - [anon_sym_RPAREN] = ACTIONS(665), - [anon_sym_RBRACE] = ACTIONS(665), - [anon_sym_RBRACK] = ACTIONS(851), - [anon_sym_RBRACK_RBRACK] = ACTIONS(851), - [anon_sym_LT] = ACTIONS(665), - [anon_sym_GT] = ACTIONS(665), - [anon_sym_DQUOTE] = ACTIONS(665), - [sym_raw_string] = ACTIONS(851), - [anon_sym_DOLLAR] = ACTIONS(851), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(665), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(665), - [anon_sym_BQUOTE] = ACTIONS(665), - [sym_word] = ACTIONS(667), - [sym_comment] = ACTIONS(115), - }, - [236] = { - [anon_sym_RPAREN] = ACTIONS(853), - [anon_sym_RBRACE] = ACTIONS(853), - [anon_sym_RBRACK] = ACTIONS(855), - [anon_sym_RBRACK_RBRACK] = ACTIONS(855), - [anon_sym_LT] = ACTIONS(853), - [anon_sym_GT] = ACTIONS(853), - [anon_sym_DQUOTE] = ACTIONS(853), - [sym_raw_string] = ACTIONS(855), - [anon_sym_DOLLAR] = ACTIONS(855), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(853), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(853), - [anon_sym_BQUOTE] = ACTIONS(853), - [sym_word] = ACTIONS(837), - [sym_comment] = ACTIONS(115), - }, - [237] = { - [sym_string] = STATE(365), - [sym_simple_expansion] = STATE(365), - [sym_expansion] = STATE(365), - [sym_command_substitution] = STATE(365), - [sym_process_substitution] = STATE(365), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(857), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(859), - [sym_comment] = ACTIONS(115), - }, - [238] = { - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_RBRACE] = ACTIONS(861), - [anon_sym_RBRACK] = ACTIONS(863), - [anon_sym_RBRACK_RBRACK] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(861), - [anon_sym_GT] = ACTIONS(861), - [anon_sym_DQUOTE] = ACTIONS(861), - [sym_raw_string] = ACTIONS(863), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_BQUOTE] = ACTIONS(861), - [sym_word] = ACTIONS(843), - [sym_comment] = ACTIONS(115), - }, - [239] = { - [sym_string] = STATE(366), - [sym_simple_expansion] = STATE(366), - [sym_expansion] = STATE(366), - [sym_command_substitution] = STATE(366), - [sym_process_substitution] = STATE(366), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(865), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(867), - [sym_comment] = ACTIONS(115), - }, - [240] = { - [anon_sym_RPAREN] = ACTIONS(731), - [anon_sym_RBRACE] = ACTIONS(731), - [anon_sym_RBRACK] = ACTIONS(869), - [anon_sym_RBRACK_RBRACK] = ACTIONS(869), - [anon_sym_LT] = ACTIONS(731), - [anon_sym_GT] = ACTIONS(731), - [anon_sym_DQUOTE] = ACTIONS(731), - [sym_raw_string] = ACTIONS(869), - [anon_sym_DOLLAR] = ACTIONS(869), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(731), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(731), - [anon_sym_BQUOTE] = ACTIONS(731), - [sym_word] = ACTIONS(733), - [sym_comment] = ACTIONS(115), - }, - [241] = { - [sym_file_descriptor] = ACTIONS(475), - [anon_sym_SEMI_SEMI] = ACTIONS(479), - [anon_sym_PIPE] = ACTIONS(479), - [anon_sym_PIPE_AMP] = ACTIONS(479), - [anon_sym_AMP_AMP] = ACTIONS(479), - [anon_sym_PIPE_PIPE] = ACTIONS(479), - [anon_sym_LT] = ACTIONS(479), - [anon_sym_GT] = ACTIONS(479), - [anon_sym_GT_GT] = ACTIONS(479), - [anon_sym_AMP_GT] = ACTIONS(479), - [anon_sym_AMP_GT_GT] = ACTIONS(479), - [anon_sym_LT_AMP] = ACTIONS(479), - [anon_sym_GT_AMP] = ACTIONS(479), - [anon_sym_LT_LT] = ACTIONS(479), - [anon_sym_LT_LT_DASH] = ACTIONS(479), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(479), - [anon_sym_LF] = ACTIONS(479), - [anon_sym_AMP] = ACTIONS(479), - }, - [242] = { - [sym_for_statement] = STATE(367), - [sym_while_statement] = STATE(367), - [sym_if_statement] = STATE(367), - [sym_case_statement] = STATE(367), - [sym_function_definition] = STATE(367), - [sym_subshell] = STATE(367), - [sym_pipeline] = STATE(367), - [sym_list] = STATE(367), - [sym_bracket_command] = STATE(367), - [sym_command] = STATE(367), - [sym_environment_variable_assignment] = STATE(368), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [243] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR] = ACTIONS(377), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [244] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(871), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [245] = { - [sym_file_descriptor] = ACTIONS(525), + [sym_file_descriptor] = ACTIONS(163), [anon_sym_SEMI_SEMI] = ACTIONS(519), [anon_sym_PIPE] = ACTIONS(519), [anon_sym_PIPE_AMP] = ACTIONS(519), [anon_sym_AMP_AMP] = ACTIONS(519), [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(519), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_word] = ACTIONS(519), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(519), [anon_sym_LF] = ACTIONS(519), [anon_sym_AMP] = ACTIONS(519), }, - [246] = { - [sym_file_descriptor] = ACTIONS(551), + [97] = { + [sym_file_descriptor] = ACTIONS(521), + [ts_builtin_sym_end] = ACTIONS(521), + [anon_sym_for] = ACTIONS(523), + [anon_sym_while] = ACTIONS(523), + [anon_sym_do] = ACTIONS(523), + [anon_sym_done] = ACTIONS(523), + [anon_sym_if] = ACTIONS(523), + [anon_sym_then] = ACTIONS(523), + [anon_sym_fi] = ACTIONS(523), + [anon_sym_elif] = ACTIONS(523), + [anon_sym_else] = ACTIONS(523), + [anon_sym_case] = ACTIONS(523), + [anon_sym_RPAREN] = ACTIONS(521), [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR] = ACTIONS(521), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [247] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), + [anon_sym_function] = ACTIONS(523), + [anon_sym_LPAREN] = ACTIONS(521), + [anon_sym_RBRACE] = ACTIONS(521), + [anon_sym_LBRACK] = ACTIONS(523), + [anon_sym_LBRACK_LBRACK] = ACTIONS(523), + [anon_sym_COLON] = ACTIONS(521), [anon_sym_LT] = ACTIONS(523), [anon_sym_GT] = ACTIONS(523), [anon_sym_GT_GT] = ACTIONS(523), @@ -15590,47 +13762,3493 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(523), [anon_sym_LT_AMP] = ACTIONS(523), [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), + [anon_sym_DQUOTE] = ACTIONS(521), [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR] = ACTIONS(523), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_word] = ACTIONS(523), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), + [anon_sym_BQUOTE] = ACTIONS(521), + [sym_leading_word] = ACTIONS(525), + [sym_comment] = ACTIONS(115), + }, + [98] = { + [sym_for_statement] = STATE(241), + [sym_while_statement] = STATE(241), + [sym_if_statement] = STATE(241), + [sym_case_statement] = STATE(241), + [sym_function_definition] = STATE(241), + [sym_subshell] = STATE(241), + [sym_pipeline] = STATE(241), + [sym_list] = STATE(241), + [sym_bracket_command] = STATE(241), + [sym_command] = STATE(241), + [sym_environment_variable_assignment] = STATE(242), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [99] = { + [sym_for_statement] = STATE(243), + [sym_while_statement] = STATE(243), + [sym_if_statement] = STATE(243), + [sym_case_statement] = STATE(243), + [sym_function_definition] = STATE(243), + [sym_subshell] = STATE(243), + [sym_pipeline] = STATE(243), + [sym_list] = STATE(243), + [sym_bracket_command] = STATE(243), + [sym_command] = STATE(243), + [sym_environment_variable_assignment] = STATE(244), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [100] = { + [sym_file_descriptor] = ACTIONS(527), + [ts_builtin_sym_end] = ACTIONS(527), + [anon_sym_for] = ACTIONS(529), + [anon_sym_while] = ACTIONS(529), + [anon_sym_done] = ACTIONS(529), + [anon_sym_if] = ACTIONS(529), + [anon_sym_fi] = ACTIONS(529), + [anon_sym_elif] = ACTIONS(529), + [anon_sym_else] = ACTIONS(529), + [anon_sym_case] = ACTIONS(529), + [anon_sym_RPAREN] = ACTIONS(527), + [anon_sym_SEMI_SEMI] = ACTIONS(527), + [anon_sym_function] = ACTIONS(529), + [anon_sym_LPAREN] = ACTIONS(527), + [anon_sym_RBRACE] = ACTIONS(527), + [anon_sym_LBRACK] = ACTIONS(529), + [anon_sym_LBRACK_LBRACK] = ACTIONS(529), + [anon_sym_COLON] = ACTIONS(527), + [anon_sym_LT] = ACTIONS(529), + [anon_sym_GT] = ACTIONS(529), + [anon_sym_GT_GT] = ACTIONS(529), + [anon_sym_AMP_GT] = ACTIONS(529), + [anon_sym_AMP_GT_GT] = ACTIONS(529), + [anon_sym_LT_AMP] = ACTIONS(529), + [anon_sym_GT_AMP] = ACTIONS(529), + [anon_sym_DQUOTE] = ACTIONS(527), + [sym_raw_string] = ACTIONS(529), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(527), + [anon_sym_BQUOTE] = ACTIONS(527), + [sym_leading_word] = ACTIONS(531), + [sym_comment] = ACTIONS(115), + }, + [101] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [aux_sym_command_repeat2] = STATE(156), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(533), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), + [anon_sym_SEMI] = ACTIONS(391), + [anon_sym_LF] = ACTIONS(391), + [anon_sym_AMP] = ACTIONS(391), + }, + [102] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [aux_sym_command_repeat2] = STATE(247), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(535), + [anon_sym_PIPE] = ACTIONS(535), + [anon_sym_PIPE_AMP] = ACTIONS(535), + [anon_sym_AMP_AMP] = ACTIONS(535), + [anon_sym_PIPE_PIPE] = ACTIONS(535), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(537), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(535), + [anon_sym_LF] = ACTIONS(535), + [anon_sym_AMP] = ACTIONS(535), + }, + [103] = { + [sym_file_descriptor] = ACTIONS(539), + [anon_sym_COLON] = ACTIONS(539), + [anon_sym_LT] = ACTIONS(541), + [anon_sym_GT] = ACTIONS(541), + [anon_sym_GT_GT] = ACTIONS(541), + [anon_sym_AMP_GT] = ACTIONS(541), + [anon_sym_AMP_GT_GT] = ACTIONS(541), + [anon_sym_LT_AMP] = ACTIONS(541), + [anon_sym_GT_AMP] = ACTIONS(541), + [anon_sym_DQUOTE] = ACTIONS(539), + [sym_raw_string] = ACTIONS(541), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(539), + [anon_sym_BQUOTE] = ACTIONS(539), + [sym_leading_word] = ACTIONS(543), + [sym_comment] = ACTIONS(115), + }, + [104] = { + [sym_file_descriptor] = ACTIONS(545), + [anon_sym_COLON] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(547), + [anon_sym_GT] = ACTIONS(547), + [anon_sym_GT_GT] = ACTIONS(547), + [anon_sym_AMP_GT] = ACTIONS(547), + [anon_sym_AMP_GT_GT] = ACTIONS(547), + [anon_sym_LT_AMP] = ACTIONS(547), + [anon_sym_GT_AMP] = ACTIONS(547), + [anon_sym_DQUOTE] = ACTIONS(545), + [sym_raw_string] = ACTIONS(547), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(545), + [anon_sym_BQUOTE] = ACTIONS(545), + [sym_leading_word] = ACTIONS(549), + [sym_comment] = ACTIONS(115), + }, + [105] = { + [sym__terminated_statement] = STATE(248), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [106] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(250), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(551), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [107] = { + [anon_sym_SEMI_SEMI] = ACTIONS(553), + [anon_sym_PIPE] = ACTIONS(553), + [anon_sym_PIPE_AMP] = ACTIONS(553), + [anon_sym_AMP_AMP] = ACTIONS(553), + [anon_sym_PIPE_PIPE] = ACTIONS(553), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(553), + [anon_sym_LF] = ACTIONS(553), + [anon_sym_AMP] = ACTIONS(553), + }, + [108] = { + [anon_sym_do] = ACTIONS(521), + [anon_sym_then] = ACTIONS(521), + [sym_comment] = ACTIONS(115), + }, + [109] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(255), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(256), + [aux_sym_if_statement_repeat1] = STATE(257), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(555), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [110] = { + [anon_sym_in] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [111] = { + [anon_sym_RPAREN] = ACTIONS(563), + [sym_word] = ACTIONS(565), + [sym_comment] = ACTIONS(115), + }, + [112] = { + [anon_sym_RPAREN] = ACTIONS(567), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [113] = { + [sym_for_statement] = STATE(260), + [sym_while_statement] = STATE(260), + [sym_if_statement] = STATE(260), + [sym_case_statement] = STATE(260), + [sym_function_definition] = STATE(260), + [sym_subshell] = STATE(260), + [sym_pipeline] = STATE(260), + [sym_list] = STATE(260), + [sym_bracket_command] = STATE(260), + [sym_command] = STATE(260), + [sym_environment_variable_assignment] = STATE(261), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [114] = { + [anon_sym_in] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [115] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(571), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [116] = { + [anon_sym_SEMI_SEMI] = ACTIONS(573), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(573), + [anon_sym_LF] = ACTIONS(573), + [anon_sym_AMP] = ACTIONS(573), + }, + [117] = { + [anon_sym_in] = ACTIONS(575), + [sym_comment] = ACTIONS(115), + }, + [118] = { + [anon_sym_in] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [119] = { + [anon_sym_in] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [120] = { + [anon_sym_in] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [121] = { + [anon_sym_RPAREN] = ACTIONS(583), + [anon_sym_RBRACE] = ACTIONS(583), + [anon_sym_COLON] = ACTIONS(585), + [anon_sym_EQ] = ACTIONS(583), + [anon_sym_COLON_QMARK] = ACTIONS(583), + [anon_sym_COLON_DASH] = ACTIONS(583), + [sym_comment] = ACTIONS(115), + }, + [122] = { + [anon_sym_RBRACE] = ACTIONS(587), + [anon_sym_COLON] = ACTIONS(589), + [anon_sym_EQ] = ACTIONS(591), + [anon_sym_COLON_QMARK] = ACTIONS(591), + [anon_sym_COLON_DASH] = ACTIONS(591), + [sym_comment] = ACTIONS(115), + }, + [123] = { + [anon_sym_RBRACE] = ACTIONS(593), + [anon_sym_COLON] = ACTIONS(595), + [anon_sym_EQ] = ACTIONS(597), + [anon_sym_COLON_QMARK] = ACTIONS(597), + [anon_sym_COLON_DASH] = ACTIONS(597), + [sym_comment] = ACTIONS(115), + }, + [124] = { + [anon_sym_RPAREN] = ACTIONS(599), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [125] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(599), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [126] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(599), + [sym_comment] = ACTIONS(115), + }, + [127] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(599), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [128] = { + [anon_sym_RPAREN] = ACTIONS(601), + [sym_comment] = ACTIONS(115), + }, + [129] = { + [anon_sym_SEMI_SEMI] = ACTIONS(603), + [anon_sym_PIPE] = ACTIONS(603), + [anon_sym_PIPE_AMP] = ACTIONS(603), + [anon_sym_AMP_AMP] = ACTIONS(603), + [anon_sym_PIPE_PIPE] = ACTIONS(603), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(603), + [anon_sym_LF] = ACTIONS(603), + [anon_sym_AMP] = ACTIONS(603), + }, + [130] = { + [anon_sym_RPAREN] = ACTIONS(605), + [anon_sym_LPAREN] = ACTIONS(605), + [anon_sym_RBRACE] = ACTIONS(605), + [anon_sym_RBRACK] = ACTIONS(607), + [anon_sym_RBRACK_RBRACK] = ACTIONS(607), + [anon_sym_LT] = ACTIONS(605), + [anon_sym_GT] = ACTIONS(605), + [anon_sym_DQUOTE] = ACTIONS(605), + [sym_raw_string] = ACTIONS(607), + [anon_sym_DOLLAR] = ACTIONS(607), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(605), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(605), + [anon_sym_BQUOTE] = ACTIONS(605), + [sym_word] = ACTIONS(561), + [sym_comment] = ACTIONS(115), + }, + [131] = { + [anon_sym_RPAREN] = ACTIONS(609), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [132] = { + [sym_for_statement] = STATE(272), + [sym_while_statement] = STATE(272), + [sym_if_statement] = STATE(272), + [sym_case_statement] = STATE(272), + [sym_function_definition] = STATE(272), + [sym_subshell] = STATE(272), + [sym_pipeline] = STATE(272), + [sym_list] = STATE(272), + [sym_bracket_command] = STATE(272), + [sym_command] = STATE(272), + [sym_environment_variable_assignment] = STATE(273), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [133] = { + [anon_sym_RPAREN] = ACTIONS(413), + [anon_sym_LPAREN] = ACTIONS(413), + [anon_sym_RBRACE] = ACTIONS(413), + [anon_sym_RBRACK] = ACTIONS(611), + [anon_sym_RBRACK_RBRACK] = ACTIONS(611), + [anon_sym_LT] = ACTIONS(413), + [anon_sym_GT] = ACTIONS(413), + [anon_sym_DQUOTE] = ACTIONS(413), + [sym_raw_string] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(611), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(413), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(413), + [anon_sym_BQUOTE] = ACTIONS(413), + [sym_word] = ACTIONS(415), + [sym_comment] = ACTIONS(115), + }, + [134] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(613), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [135] = { + [anon_sym_LPAREN] = ACTIONS(583), + [anon_sym_RBRACK] = ACTIONS(585), + [anon_sym_RBRACK_RBRACK] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(583), + [anon_sym_GT] = ACTIONS(583), + [anon_sym_DQUOTE] = ACTIONS(583), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(583), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(583), + [anon_sym_BQUOTE] = ACTIONS(583), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [136] = { + [anon_sym_RPAREN] = ACTIONS(615), + [anon_sym_LPAREN] = ACTIONS(615), + [anon_sym_RBRACE] = ACTIONS(615), + [anon_sym_RBRACK] = ACTIONS(617), + [anon_sym_RBRACK_RBRACK] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(615), + [anon_sym_GT] = ACTIONS(615), + [anon_sym_DQUOTE] = ACTIONS(615), + [sym_raw_string] = ACTIONS(617), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(615), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(615), + [anon_sym_BQUOTE] = ACTIONS(615), + [sym_word] = ACTIONS(579), + [sym_comment] = ACTIONS(115), + }, + [137] = { + [anon_sym_RPAREN] = ACTIONS(619), + [anon_sym_LPAREN] = ACTIONS(619), + [anon_sym_RBRACE] = ACTIONS(619), + [anon_sym_RBRACK] = ACTIONS(621), + [anon_sym_RBRACK_RBRACK] = ACTIONS(621), + [anon_sym_LT] = ACTIONS(619), + [anon_sym_GT] = ACTIONS(619), + [anon_sym_DQUOTE] = ACTIONS(619), + [sym_raw_string] = ACTIONS(621), + [anon_sym_DOLLAR] = ACTIONS(621), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(619), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), + [anon_sym_BQUOTE] = ACTIONS(619), + [sym_word] = ACTIONS(581), + [sym_comment] = ACTIONS(115), + }, + [138] = { + [anon_sym_RBRACE] = ACTIONS(623), + [anon_sym_COLON] = ACTIONS(625), + [anon_sym_EQ] = ACTIONS(627), + [anon_sym_COLON_QMARK] = ACTIONS(627), + [anon_sym_COLON_DASH] = ACTIONS(627), + [sym_comment] = ACTIONS(115), + }, + [139] = { + [anon_sym_RBRACE] = ACTIONS(629), + [anon_sym_COLON] = ACTIONS(631), + [anon_sym_EQ] = ACTIONS(633), + [anon_sym_COLON_QMARK] = ACTIONS(633), + [anon_sym_COLON_DASH] = ACTIONS(633), + [sym_comment] = ACTIONS(115), + }, + [140] = { + [anon_sym_RPAREN] = ACTIONS(635), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [141] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(635), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [142] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(635), + [sym_comment] = ACTIONS(115), + }, + [143] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(635), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [144] = { + [anon_sym_SEMI_SEMI] = ACTIONS(637), + [anon_sym_PIPE] = ACTIONS(637), + [anon_sym_PIPE_AMP] = ACTIONS(637), + [anon_sym_AMP_AMP] = ACTIONS(637), + [anon_sym_PIPE_PIPE] = ACTIONS(637), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(637), + [anon_sym_LF] = ACTIONS(637), + [anon_sym_AMP] = ACTIONS(637), + }, + [145] = { + [anon_sym_LPAREN] = ACTIONS(639), + [anon_sym_RBRACK] = ACTIONS(641), + [anon_sym_RBRACK_RBRACK] = ACTIONS(641), + [anon_sym_LT] = ACTIONS(639), + [anon_sym_GT] = ACTIONS(639), + [anon_sym_DQUOTE] = ACTIONS(639), + [sym_raw_string] = ACTIONS(641), + [anon_sym_DOLLAR] = ACTIONS(641), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(639), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(639), + [anon_sym_BQUOTE] = ACTIONS(639), + [sym_word] = ACTIONS(643), + [sym_comment] = ACTIONS(115), + }, + [146] = { + [sym_string] = STATE(280), + [sym_array] = STATE(280), + [sym_simple_expansion] = STATE(280), + [sym_expansion] = STATE(280), + [sym_command_substitution] = STATE(280), + [sym_process_substitution] = STATE(280), + [anon_sym_LPAREN] = ACTIONS(365), + [anon_sym_LT] = ACTIONS(367), + [anon_sym_GT] = ACTIONS(367), + [anon_sym_DQUOTE] = ACTIONS(369), + [sym_raw_string] = ACTIONS(645), + [anon_sym_DOLLAR] = ACTIONS(373), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), + [anon_sym_BQUOTE] = ACTIONS(379), + [sym_word] = ACTIONS(647), + [sym_comment] = ACTIONS(115), + }, + [147] = { + [aux_sym_array_repeat1] = STATE(282), + [anon_sym_RPAREN] = ACTIONS(649), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [148] = { + [sym_string] = STATE(160), + [sym_array] = STATE(160), + [sym_simple_expansion] = STATE(160), + [sym_expansion] = STATE(160), + [sym_command_substitution] = STATE(160), + [sym_process_substitution] = STATE(160), + [anon_sym_LPAREN] = ACTIONS(651), + [anon_sym_LT] = ACTIONS(367), + [anon_sym_GT] = ACTIONS(367), + [anon_sym_DQUOTE] = ACTIONS(369), + [sym_raw_string] = ACTIONS(371), + [anon_sym_DOLLAR] = ACTIONS(373), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), + [anon_sym_BQUOTE] = ACTIONS(379), + [sym_word] = ACTIONS(381), + [sym_comment] = ACTIONS(115), + }, + [149] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(285), + [anon_sym_DQUOTE] = ACTIONS(653), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [150] = { + [sym_file_descriptor] = ACTIONS(323), + [anon_sym_SEMI_SEMI] = ACTIONS(327), + [anon_sym_LPAREN] = ACTIONS(327), + [anon_sym_PIPE] = ACTIONS(327), + [anon_sym_PIPE_AMP] = ACTIONS(327), + [anon_sym_AMP_AMP] = ACTIONS(327), + [anon_sym_PIPE_PIPE] = ACTIONS(327), + [anon_sym_LT] = ACTIONS(327), + [anon_sym_GT] = ACTIONS(327), + [anon_sym_GT_GT] = ACTIONS(327), + [anon_sym_AMP_GT] = ACTIONS(327), + [anon_sym_AMP_GT_GT] = ACTIONS(327), + [anon_sym_LT_AMP] = ACTIONS(327), + [anon_sym_GT_AMP] = ACTIONS(327), + [anon_sym_LT_LT] = ACTIONS(327), + [anon_sym_LT_LT_DASH] = ACTIONS(327), + [anon_sym_DQUOTE] = ACTIONS(327), + [sym_raw_string] = ACTIONS(327), + [anon_sym_DOLLAR] = ACTIONS(327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(327), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), + [anon_sym_BQUOTE] = ACTIONS(327), + [sym_word] = ACTIONS(327), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(327), + [anon_sym_LF] = ACTIONS(327), + [anon_sym_AMP] = ACTIONS(327), + }, + [151] = { + [sym_special_variable_name] = STATE(288), + [anon_sym_DOLLAR] = ACTIONS(655), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(657), + [anon_sym_STAR] = ACTIONS(655), + [anon_sym_AT] = ACTIONS(655), + [anon_sym_POUND] = ACTIONS(659), + [anon_sym_QMARK] = ACTIONS(655), + [anon_sym_DASH] = ACTIONS(655), + [anon_sym_BANG] = ACTIONS(655), + [anon_sym_0] = ACTIONS(659), + [anon_sym__] = ACTIONS(659), + }, + [152] = { + [sym_special_variable_name] = STATE(290), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(661), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [153] = { + [sym_for_statement] = STATE(291), + [sym_while_statement] = STATE(291), + [sym_if_statement] = STATE(291), + [sym_case_statement] = STATE(291), + [sym_function_definition] = STATE(291), + [sym_subshell] = STATE(291), + [sym_pipeline] = STATE(291), + [sym_list] = STATE(291), + [sym_bracket_command] = STATE(291), + [sym_command] = STATE(291), + [sym_environment_variable_assignment] = STATE(292), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [154] = { + [sym_for_statement] = STATE(293), + [sym_while_statement] = STATE(293), + [sym_if_statement] = STATE(293), + [sym_case_statement] = STATE(293), + [sym_function_definition] = STATE(293), + [sym_subshell] = STATE(293), + [sym_pipeline] = STATE(293), + [sym_list] = STATE(293), + [sym_bracket_command] = STATE(293), + [sym_command] = STATE(293), + [sym_environment_variable_assignment] = STATE(294), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [155] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(295), + [sym_array] = STATE(295), + [sym_simple_expansion] = STATE(295), + [sym_expansion] = STATE(295), + [sym_command_substitution] = STATE(295), + [sym_process_substitution] = STATE(295), + [aux_sym_command_repeat2] = STATE(296), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(663), + [anon_sym_PIPE_AMP] = ACTIONS(663), + [anon_sym_AMP_AMP] = ACTIONS(663), + [anon_sym_PIPE_PIPE] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(665), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(665), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [156] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(667), + [anon_sym_PIPE] = ACTIONS(667), + [anon_sym_PIPE_AMP] = ACTIONS(667), + [anon_sym_AMP_AMP] = ACTIONS(667), + [anon_sym_PIPE_PIPE] = ACTIONS(667), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(667), + [anon_sym_LF] = ACTIONS(667), + [anon_sym_AMP] = ACTIONS(667), + }, + [157] = { + [aux_sym_array_repeat1] = STATE(298), + [anon_sym_RPAREN] = ACTIONS(669), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [158] = { + [anon_sym_LPAREN] = ACTIONS(671), + [sym_comment] = ACTIONS(115), + }, + [159] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(301), + [anon_sym_DQUOTE] = ACTIONS(673), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [160] = { + [sym_file_descriptor] = ACTIONS(399), + [anon_sym_SEMI_SEMI] = ACTIONS(403), + [anon_sym_PIPE] = ACTIONS(403), + [anon_sym_PIPE_AMP] = ACTIONS(403), + [anon_sym_AMP_AMP] = ACTIONS(403), + [anon_sym_PIPE_PIPE] = ACTIONS(403), + [anon_sym_LT] = ACTIONS(403), + [anon_sym_GT] = ACTIONS(403), + [anon_sym_GT_GT] = ACTIONS(403), + [anon_sym_AMP_GT] = ACTIONS(403), + [anon_sym_AMP_GT_GT] = ACTIONS(403), + [anon_sym_LT_AMP] = ACTIONS(403), + [anon_sym_GT_AMP] = ACTIONS(403), + [anon_sym_LT_LT] = ACTIONS(403), + [anon_sym_LT_LT_DASH] = ACTIONS(403), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(403), + [anon_sym_LF] = ACTIONS(403), + [anon_sym_AMP] = ACTIONS(403), + }, + [161] = { + [sym_special_variable_name] = STATE(304), + [anon_sym_DOLLAR] = ACTIONS(675), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(677), + [anon_sym_STAR] = ACTIONS(675), + [anon_sym_AT] = ACTIONS(675), + [anon_sym_POUND] = ACTIONS(679), + [anon_sym_QMARK] = ACTIONS(675), + [anon_sym_DASH] = ACTIONS(675), + [anon_sym_BANG] = ACTIONS(675), + [anon_sym_0] = ACTIONS(679), + [anon_sym__] = ACTIONS(679), + }, + [162] = { + [sym_special_variable_name] = STATE(306), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(681), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [163] = { + [sym_for_statement] = STATE(307), + [sym_while_statement] = STATE(307), + [sym_if_statement] = STATE(307), + [sym_case_statement] = STATE(307), + [sym_function_definition] = STATE(307), + [sym_subshell] = STATE(307), + [sym_pipeline] = STATE(307), + [sym_list] = STATE(307), + [sym_bracket_command] = STATE(307), + [sym_command] = STATE(307), + [sym_environment_variable_assignment] = STATE(308), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [164] = { + [sym_for_statement] = STATE(309), + [sym_while_statement] = STATE(309), + [sym_if_statement] = STATE(309), + [sym_case_statement] = STATE(309), + [sym_function_definition] = STATE(309), + [sym_subshell] = STATE(309), + [sym_pipeline] = STATE(309), + [sym_list] = STATE(309), + [sym_bracket_command] = STATE(309), + [sym_command] = STATE(309), + [sym_environment_variable_assignment] = STATE(310), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [165] = { + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_SEMI_SEMI] = ACTIONS(685), + [anon_sym_PIPE] = ACTIONS(685), + [anon_sym_PIPE_AMP] = ACTIONS(685), + [anon_sym_AMP_AMP] = ACTIONS(685), + [anon_sym_PIPE_PIPE] = ACTIONS(685), + [anon_sym_LT] = ACTIONS(685), + [anon_sym_GT] = ACTIONS(685), + [anon_sym_GT_GT] = ACTIONS(685), + [anon_sym_AMP_GT] = ACTIONS(685), + [anon_sym_AMP_GT_GT] = ACTIONS(685), + [anon_sym_LT_AMP] = ACTIONS(685), + [anon_sym_GT_AMP] = ACTIONS(685), + [anon_sym_LT_LT] = ACTIONS(685), + [anon_sym_LT_LT_DASH] = ACTIONS(685), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(685), + [anon_sym_LF] = ACTIONS(685), + [anon_sym_AMP] = ACTIONS(685), + }, + [166] = { + [sym_simple_expansion] = STATE(311), + [sym_expansion] = STATE(311), + [aux_sym_heredoc_repeat1] = STATE(315), + [sym__heredoc_middle] = ACTIONS(687), + [sym__heredoc_end] = ACTIONS(689), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [sym_comment] = ACTIONS(115), + }, + [167] = { + [sym_file_descriptor] = ACTIONS(695), + [anon_sym_SEMI_SEMI] = ACTIONS(697), + [anon_sym_PIPE] = ACTIONS(697), + [anon_sym_PIPE_AMP] = ACTIONS(697), + [anon_sym_AMP_AMP] = ACTIONS(697), + [anon_sym_PIPE_PIPE] = ACTIONS(697), + [anon_sym_LT] = ACTIONS(697), + [anon_sym_GT] = ACTIONS(697), + [anon_sym_GT_GT] = ACTIONS(697), + [anon_sym_AMP_GT] = ACTIONS(697), + [anon_sym_AMP_GT_GT] = ACTIONS(697), + [anon_sym_LT_AMP] = ACTIONS(697), + [anon_sym_GT_AMP] = ACTIONS(697), + [anon_sym_LT_LT] = ACTIONS(697), + [anon_sym_LT_LT_DASH] = ACTIONS(697), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(697), + [anon_sym_LF] = ACTIONS(697), + [anon_sym_AMP] = ACTIONS(697), + }, + [168] = { + [sym_file_descriptor] = ACTIONS(699), + [anon_sym_SEMI_SEMI] = ACTIONS(701), + [anon_sym_PIPE] = ACTIONS(701), + [anon_sym_PIPE_AMP] = ACTIONS(701), + [anon_sym_AMP_AMP] = ACTIONS(701), + [anon_sym_PIPE_PIPE] = ACTIONS(701), + [anon_sym_LT] = ACTIONS(701), + [anon_sym_GT] = ACTIONS(701), + [anon_sym_GT_GT] = ACTIONS(701), + [anon_sym_AMP_GT] = ACTIONS(701), + [anon_sym_AMP_GT_GT] = ACTIONS(701), + [anon_sym_LT_AMP] = ACTIONS(701), + [anon_sym_GT_AMP] = ACTIONS(701), + [anon_sym_LT_LT] = ACTIONS(701), + [anon_sym_LT_LT_DASH] = ACTIONS(701), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(701), + [anon_sym_LF] = ACTIONS(701), + [anon_sym_AMP] = ACTIONS(701), + }, + [169] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(605), + [anon_sym_PIPE] = ACTIONS(607), + [anon_sym_PIPE_AMP] = ACTIONS(605), + [anon_sym_AMP_AMP] = ACTIONS(607), + [anon_sym_PIPE_PIPE] = ACTIONS(605), + [anon_sym_COLON] = ACTIONS(605), + [anon_sym_LT] = ACTIONS(607), + [anon_sym_GT] = ACTIONS(607), + [anon_sym_GT_GT] = ACTIONS(607), + [anon_sym_AMP_GT] = ACTIONS(607), + [anon_sym_AMP_GT_GT] = ACTIONS(607), + [anon_sym_LT_AMP] = ACTIONS(607), + [anon_sym_GT_AMP] = ACTIONS(607), + [anon_sym_DQUOTE] = ACTIONS(605), + [sym_raw_string] = ACTIONS(607), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(605), + [anon_sym_BQUOTE] = ACTIONS(605), + [sym_leading_word] = ACTIONS(561), + [sym_comment] = ACTIONS(115), + }, + [170] = { + [anon_sym_RPAREN] = ACTIONS(703), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [171] = { + [sym_for_statement] = STATE(317), + [sym_while_statement] = STATE(317), + [sym_if_statement] = STATE(317), + [sym_case_statement] = STATE(317), + [sym_function_definition] = STATE(317), + [sym_subshell] = STATE(317), + [sym_pipeline] = STATE(317), + [sym_list] = STATE(317), + [sym_bracket_command] = STATE(317), + [sym_command] = STATE(317), + [sym_environment_variable_assignment] = STATE(318), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [172] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(413), + [anon_sym_PIPE] = ACTIONS(611), + [anon_sym_PIPE_AMP] = ACTIONS(413), + [anon_sym_AMP_AMP] = ACTIONS(611), + [anon_sym_PIPE_PIPE] = ACTIONS(413), + [anon_sym_COLON] = ACTIONS(413), + [anon_sym_LT] = ACTIONS(611), + [anon_sym_GT] = ACTIONS(611), + [anon_sym_GT_GT] = ACTIONS(611), + [anon_sym_AMP_GT] = ACTIONS(611), + [anon_sym_AMP_GT_GT] = ACTIONS(611), + [anon_sym_LT_AMP] = ACTIONS(611), + [anon_sym_GT_AMP] = ACTIONS(611), + [anon_sym_DQUOTE] = ACTIONS(413), + [sym_raw_string] = ACTIONS(611), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(413), + [anon_sym_BQUOTE] = ACTIONS(413), + [sym_leading_word] = ACTIONS(415), + [sym_comment] = ACTIONS(115), + }, + [173] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(705), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [174] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(583), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(583), + [anon_sym_AMP_AMP] = ACTIONS(585), + [anon_sym_PIPE_PIPE] = ACTIONS(583), + [anon_sym_COLON] = ACTIONS(583), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(585), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(585), + [anon_sym_LT_AMP] = ACTIONS(585), + [anon_sym_GT_AMP] = ACTIONS(585), + [anon_sym_DQUOTE] = ACTIONS(583), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(583), + [anon_sym_BQUOTE] = ACTIONS(583), + [sym_leading_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [175] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(615), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(615), + [anon_sym_AMP_AMP] = ACTIONS(617), + [anon_sym_PIPE_PIPE] = ACTIONS(615), + [anon_sym_COLON] = ACTIONS(615), + [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_DQUOTE] = ACTIONS(615), + [sym_raw_string] = ACTIONS(617), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(615), + [anon_sym_BQUOTE] = ACTIONS(615), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(115), + }, + [176] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(619), + [anon_sym_PIPE] = ACTIONS(621), + [anon_sym_PIPE_AMP] = ACTIONS(619), + [anon_sym_AMP_AMP] = ACTIONS(621), + [anon_sym_PIPE_PIPE] = ACTIONS(619), + [anon_sym_COLON] = ACTIONS(619), + [anon_sym_LT] = ACTIONS(621), + [anon_sym_GT] = ACTIONS(621), + [anon_sym_GT_GT] = ACTIONS(621), + [anon_sym_AMP_GT] = ACTIONS(621), + [anon_sym_AMP_GT_GT] = ACTIONS(621), + [anon_sym_LT_AMP] = ACTIONS(621), + [anon_sym_GT_AMP] = ACTIONS(621), + [anon_sym_DQUOTE] = ACTIONS(619), + [sym_raw_string] = ACTIONS(621), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), + [anon_sym_BQUOTE] = ACTIONS(619), + [sym_leading_word] = ACTIONS(581), + [sym_comment] = ACTIONS(115), + }, + [177] = { + [anon_sym_RBRACE] = ACTIONS(707), + [anon_sym_COLON] = ACTIONS(709), + [anon_sym_EQ] = ACTIONS(711), + [anon_sym_COLON_QMARK] = ACTIONS(711), + [anon_sym_COLON_DASH] = ACTIONS(711), + [sym_comment] = ACTIONS(115), + }, + [178] = { + [anon_sym_RBRACE] = ACTIONS(713), + [anon_sym_COLON] = ACTIONS(715), + [anon_sym_EQ] = ACTIONS(717), + [anon_sym_COLON_QMARK] = ACTIONS(717), + [anon_sym_COLON_DASH] = ACTIONS(717), + [sym_comment] = ACTIONS(115), + }, + [179] = { + [anon_sym_RPAREN] = ACTIONS(719), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [180] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(719), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [181] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(719), + [sym_comment] = ACTIONS(115), + }, + [182] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(719), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [183] = { + [anon_sym_DQUOTE] = ACTIONS(577), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(577), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + }, + [184] = { + [anon_sym_DQUOTE] = ACTIONS(579), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(617), + [anon_sym_DOLLAR] = ACTIONS(579), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + }, + [185] = { + [anon_sym_DQUOTE] = ACTIONS(581), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(621), + [anon_sym_DOLLAR] = ACTIONS(581), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + }, + [186] = { + [anon_sym_RBRACE] = ACTIONS(721), + [anon_sym_COLON] = ACTIONS(723), + [anon_sym_EQ] = ACTIONS(725), + [anon_sym_COLON_QMARK] = ACTIONS(725), + [anon_sym_COLON_DASH] = ACTIONS(725), + [sym_comment] = ACTIONS(115), + }, + [187] = { + [anon_sym_RBRACE] = ACTIONS(727), + [anon_sym_COLON] = ACTIONS(729), + [anon_sym_EQ] = ACTIONS(731), + [anon_sym_COLON_QMARK] = ACTIONS(731), + [anon_sym_COLON_DASH] = ACTIONS(731), + [sym_comment] = ACTIONS(115), + }, + [188] = { + [anon_sym_RPAREN] = ACTIONS(733), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [189] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(733), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [190] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(733), + [sym_comment] = ACTIONS(115), + }, + [191] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(733), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [192] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [193] = { + [anon_sym_DQUOTE] = ACTIONS(739), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(741), + [anon_sym_DOLLAR] = ACTIONS(739), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(739), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(739), + [anon_sym_BQUOTE] = ACTIONS(739), + [sym_comment] = ACTIONS(73), + }, + [194] = { + [anon_sym_in] = ACTIONS(743), + [sym_comment] = ACTIONS(115), + }, + [195] = { + [sym_do_group] = STATE(332), + [anon_sym_do] = ACTIONS(745), + [sym_comment] = ACTIONS(115), + }, + [196] = { + [anon_sym_then] = ACTIONS(747), + [sym_comment] = ACTIONS(115), + }, + [197] = { + [anon_sym_in] = ACTIONS(749), + [anon_sym_SEMI_SEMI] = ACTIONS(751), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(751), + [anon_sym_LF] = ACTIONS(751), + [anon_sym_AMP] = ACTIONS(751), + }, + [198] = { + [anon_sym_LPAREN] = ACTIONS(753), + [sym_comment] = ACTIONS(115), + }, + [199] = { + [anon_sym_RPAREN] = ACTIONS(755), + [anon_sym_PIPE] = ACTIONS(757), + [anon_sym_PIPE_AMP] = ACTIONS(755), + [anon_sym_AMP_AMP] = ACTIONS(755), + [anon_sym_PIPE_PIPE] = ACTIONS(755), + [anon_sym_BQUOTE] = ACTIONS(755), + [sym_comment] = ACTIONS(115), + }, + [200] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(759), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [201] = { + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(761), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), + [sym_comment] = ACTIONS(115), + }, + [202] = { + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(761), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), + [sym_comment] = ACTIONS(115), + }, + [203] = { + [anon_sym_LT] = ACTIONS(763), + [anon_sym_GT] = ACTIONS(763), + [anon_sym_GT_GT] = ACTIONS(765), + [anon_sym_AMP_GT] = ACTIONS(763), + [anon_sym_AMP_GT_GT] = ACTIONS(765), + [anon_sym_LT_AMP] = ACTIONS(765), + [anon_sym_GT_AMP] = ACTIONS(765), + [sym_comment] = ACTIONS(115), + }, + [204] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(348), + [aux_sym_command_repeat2] = STATE(349), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(767), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(771), + [anon_sym_PIPE_AMP] = ACTIONS(767), + [anon_sym_AMP_AMP] = ACTIONS(767), + [anon_sym_PIPE_PIPE] = ACTIONS(771), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [205] = { + [sym_string] = STATE(353), + [sym_array] = STATE(353), + [sym_simple_expansion] = STATE(353), + [sym_expansion] = STATE(353), + [sym_command_substitution] = STATE(353), + [sym_process_substitution] = STATE(353), + [anon_sym_LPAREN] = ACTIONS(797), + [anon_sym_LT] = ACTIONS(799), + [anon_sym_GT] = ACTIONS(799), + [anon_sym_DQUOTE] = ACTIONS(801), + [sym_raw_string] = ACTIONS(803), + [anon_sym_DOLLAR] = ACTIONS(805), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(807), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(809), + [anon_sym_BQUOTE] = ACTIONS(811), + [sym_word] = ACTIONS(813), + [sym_comment] = ACTIONS(115), + }, + [206] = { + [sym_heredoc] = STATE(360), + [sym__simple_heredoc] = ACTIONS(815), + [sym__heredoc_beginning] = ACTIONS(817), + [sym_comment] = ACTIONS(115), + }, + [207] = { + [sym_file_descriptor] = ACTIONS(387), + [anon_sym_RPAREN] = ACTIONS(387), + [anon_sym_PIPE] = ACTIONS(819), + [anon_sym_PIPE_AMP] = ACTIONS(387), + [anon_sym_AMP_AMP] = ACTIONS(387), + [anon_sym_PIPE_PIPE] = ACTIONS(387), + [anon_sym_LT] = ACTIONS(819), + [anon_sym_GT] = ACTIONS(819), + [anon_sym_GT_GT] = ACTIONS(387), + [anon_sym_AMP_GT] = ACTIONS(819), + [anon_sym_AMP_GT_GT] = ACTIONS(387), + [anon_sym_LT_AMP] = ACTIONS(387), + [anon_sym_GT_AMP] = ACTIONS(387), + [anon_sym_LT_LT] = ACTIONS(819), + [anon_sym_LT_LT_DASH] = ACTIONS(387), + [anon_sym_BQUOTE] = ACTIONS(387), + [sym_comment] = ACTIONS(115), + }, + [208] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(821), + [anon_sym_PIPE] = ACTIONS(823), + [anon_sym_PIPE_AMP] = ACTIONS(821), + [anon_sym_AMP_AMP] = ACTIONS(821), + [anon_sym_PIPE_PIPE] = ACTIONS(821), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(821), + [sym_comment] = ACTIONS(115), + }, + [209] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + }, + [210] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(825), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [211] = { + [anon_sym_RPAREN] = ACTIONS(827), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [212] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(827), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [213] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(827), + [sym_comment] = ACTIONS(115), + }, + [214] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(827), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [215] = { + [anon_sym_RPAREN] = ACTIONS(829), + [sym_comment] = ACTIONS(115), + }, + [216] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(365), + [aux_sym_command_repeat2] = STATE(366), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(831), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(833), + [anon_sym_PIPE_AMP] = ACTIONS(831), + [anon_sym_AMP_AMP] = ACTIONS(831), + [anon_sym_PIPE_PIPE] = ACTIONS(833), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [217] = { + [sym_string] = STATE(367), + [sym_array] = STATE(367), + [sym_simple_expansion] = STATE(367), + [sym_expansion] = STATE(367), + [sym_command_substitution] = STATE(367), + [sym_process_substitution] = STATE(367), + [sym__empty_value] = ACTIONS(835), + [anon_sym_LPAREN] = ACTIONS(173), + [anon_sym_LT] = ACTIONS(175), + [anon_sym_GT] = ACTIONS(175), + [anon_sym_DQUOTE] = ACTIONS(177), + [sym_raw_string] = ACTIONS(837), + [anon_sym_DOLLAR] = ACTIONS(181), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(183), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(185), + [anon_sym_BQUOTE] = ACTIONS(187), + [sym_word] = ACTIONS(839), + [sym_comment] = ACTIONS(115), + }, + [218] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(841), + [anon_sym_PIPE] = ACTIONS(843), + [anon_sym_PIPE_AMP] = ACTIONS(841), + [anon_sym_AMP_AMP] = ACTIONS(841), + [anon_sym_PIPE_PIPE] = ACTIONS(841), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(841), + [sym_comment] = ACTIONS(115), + }, + [219] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [220] = { + [sym_for_statement] = STATE(368), + [sym_while_statement] = STATE(368), + [sym_if_statement] = STATE(368), + [sym_case_statement] = STATE(368), + [sym_function_definition] = STATE(368), + [sym_subshell] = STATE(368), + [sym_pipeline] = STATE(368), + [sym_list] = STATE(368), + [sym_bracket_command] = STATE(368), + [sym_command] = STATE(368), + [sym_environment_variable_assignment] = STATE(369), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [221] = { + [sym_for_statement] = STATE(370), + [sym_while_statement] = STATE(370), + [sym_if_statement] = STATE(370), + [sym_case_statement] = STATE(370), + [sym_function_definition] = STATE(370), + [sym_subshell] = STATE(370), + [sym_pipeline] = STATE(370), + [sym_list] = STATE(370), + [sym_bracket_command] = STATE(370), + [sym_command] = STATE(370), + [sym_environment_variable_assignment] = STATE(371), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [222] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(349), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(849), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [sym_comment] = ACTIONS(73), + }, + [223] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(374), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(535), + [anon_sym_PIPE] = ACTIONS(535), + [anon_sym_PIPE_AMP] = ACTIONS(535), + [anon_sym_AMP_AMP] = ACTIONS(535), + [anon_sym_PIPE_PIPE] = ACTIONS(535), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(851), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [sym_comment] = ACTIONS(73), + }, + [224] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(375), + [aux_sym_command_repeat2] = STATE(349), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(771), + [anon_sym_PIPE_AMP] = ACTIONS(767), + [anon_sym_AMP_AMP] = ACTIONS(767), + [anon_sym_PIPE_PIPE] = ACTIONS(771), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(767), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [225] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(376), + [aux_sym_command_repeat2] = STATE(366), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(833), + [anon_sym_PIPE_AMP] = ACTIONS(831), + [anon_sym_AMP_AMP] = ACTIONS(831), + [anon_sym_PIPE_PIPE] = ACTIONS(833), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(831), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [226] = { + [sym_for_statement] = STATE(368), + [sym_while_statement] = STATE(368), + [sym_if_statement] = STATE(368), + [sym_case_statement] = STATE(368), + [sym_function_definition] = STATE(368), + [sym_subshell] = STATE(368), + [sym_pipeline] = STATE(368), + [sym_list] = STATE(368), + [sym_bracket_command] = STATE(368), + [sym_command] = STATE(368), + [sym_environment_variable_assignment] = STATE(377), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [227] = { + [sym_for_statement] = STATE(378), + [sym_while_statement] = STATE(378), + [sym_if_statement] = STATE(378), + [sym_case_statement] = STATE(378), + [sym_function_definition] = STATE(378), + [sym_subshell] = STATE(378), + [sym_pipeline] = STATE(378), + [sym_list] = STATE(378), + [sym_bracket_command] = STATE(378), + [sym_command] = STATE(378), + [sym_environment_variable_assignment] = STATE(379), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [228] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(349), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(853), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [anon_sym_BQUOTE] = ACTIONS(391), + [sym_comment] = ACTIONS(73), + }, + [229] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [aux_sym_command_repeat2] = STATE(374), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_PIPE] = ACTIONS(535), + [anon_sym_PIPE_AMP] = ACTIONS(535), + [anon_sym_AMP_AMP] = ACTIONS(535), + [anon_sym_PIPE_PIPE] = ACTIONS(535), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(855), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(447), + [anon_sym_GT] = ACTIONS(447), + [anon_sym_GT_GT] = ACTIONS(447), + [anon_sym_AMP_GT] = ACTIONS(447), + [anon_sym_AMP_GT_GT] = ACTIONS(447), + [anon_sym_LT_AMP] = ACTIONS(447), + [anon_sym_GT_AMP] = ACTIONS(447), + [anon_sym_LT_LT] = ACTIONS(449), + [anon_sym_LT_LT_DASH] = ACTIONS(449), + [anon_sym_BQUOTE] = ACTIONS(535), + [sym_comment] = ACTIONS(73), + }, + [230] = { + [sym_compound_statement] = STATE(383), + [anon_sym_LBRACE] = ACTIONS(857), + [sym_comment] = ACTIONS(115), + }, + [231] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(295), + [sym_array] = STATE(295), + [sym_simple_expansion] = STATE(295), + [sym_expansion] = STATE(295), + [sym_command_substitution] = STATE(295), + [sym_process_substitution] = STATE(295), + [aux_sym_command_repeat2] = STATE(384), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(859), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(859), + [anon_sym_PIPE_AMP] = ACTIONS(859), + [anon_sym_AMP_AMP] = ACTIONS(859), + [anon_sym_PIPE_PIPE] = ACTIONS(859), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(665), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(665), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(859), + [anon_sym_LF] = ACTIONS(859), + [anon_sym_AMP] = ACTIONS(859), + }, + [232] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(861), + [anon_sym_PIPE] = ACTIONS(861), + [anon_sym_PIPE_AMP] = ACTIONS(861), + [anon_sym_AMP_AMP] = ACTIONS(861), + [anon_sym_PIPE_PIPE] = ACTIONS(861), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(861), + [anon_sym_LF] = ACTIONS(861), + [anon_sym_AMP] = ACTIONS(861), + }, + [233] = { + [sym_file_descriptor] = ACTIONS(863), + [anon_sym_SEMI_SEMI] = ACTIONS(865), + [anon_sym_PIPE] = ACTIONS(865), + [anon_sym_PIPE_AMP] = ACTIONS(865), + [anon_sym_AMP_AMP] = ACTIONS(865), + [anon_sym_PIPE_PIPE] = ACTIONS(865), + [anon_sym_COLON] = ACTIONS(865), + [anon_sym_LT] = ACTIONS(865), + [anon_sym_GT] = ACTIONS(865), + [anon_sym_GT_GT] = ACTIONS(865), + [anon_sym_AMP_GT] = ACTIONS(865), + [anon_sym_AMP_GT_GT] = ACTIONS(865), + [anon_sym_LT_AMP] = ACTIONS(865), + [anon_sym_GT_AMP] = ACTIONS(865), + [anon_sym_DQUOTE] = ACTIONS(865), + [sym_raw_string] = ACTIONS(865), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), + [sym_leading_word] = ACTIONS(865), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(865), + [anon_sym_LF] = ACTIONS(865), + [anon_sym_AMP] = ACTIONS(865), + }, + [234] = { + [aux_sym_array_repeat1] = STATE(386), + [anon_sym_RPAREN] = ACTIONS(867), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [235] = { + [anon_sym_LPAREN] = ACTIONS(869), + [sym_comment] = ACTIONS(115), + }, + [236] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(389), + [anon_sym_DQUOTE] = ACTIONS(871), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [237] = { + [sym_special_variable_name] = STATE(392), + [anon_sym_DOLLAR] = ACTIONS(873), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(875), + [anon_sym_STAR] = ACTIONS(873), + [anon_sym_AT] = ACTIONS(873), + [anon_sym_POUND] = ACTIONS(877), + [anon_sym_QMARK] = ACTIONS(873), + [anon_sym_DASH] = ACTIONS(873), + [anon_sym_BANG] = ACTIONS(873), + [anon_sym_0] = ACTIONS(877), + [anon_sym__] = ACTIONS(877), + }, + [238] = { + [sym_special_variable_name] = STATE(394), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(879), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [239] = { + [sym_for_statement] = STATE(395), + [sym_while_statement] = STATE(395), + [sym_if_statement] = STATE(395), + [sym_case_statement] = STATE(395), + [sym_function_definition] = STATE(395), + [sym_subshell] = STATE(395), + [sym_pipeline] = STATE(395), + [sym_list] = STATE(395), + [sym_bracket_command] = STATE(395), + [sym_command] = STATE(395), + [sym_environment_variable_assignment] = STATE(396), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [240] = { + [sym_for_statement] = STATE(397), + [sym_while_statement] = STATE(397), + [sym_if_statement] = STATE(397), + [sym_case_statement] = STATE(397), + [sym_function_definition] = STATE(397), + [sym_subshell] = STATE(397), + [sym_pipeline] = STATE(397), + [sym_list] = STATE(397), + [sym_bracket_command] = STATE(397), + [sym_command] = STATE(397), + [sym_environment_variable_assignment] = STATE(398), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [241] = { + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(881), + [anon_sym_PIPE_AMP] = ACTIONS(881), + [anon_sym_AMP_AMP] = ACTIONS(881), + [anon_sym_PIPE_PIPE] = ACTIONS(881), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [242] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(881), + [anon_sym_PIPE_AMP] = ACTIONS(881), + [anon_sym_AMP_AMP] = ACTIONS(881), + [anon_sym_PIPE_PIPE] = ACTIONS(881), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [243] = { + [anon_sym_SEMI_SEMI] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(883), + [anon_sym_PIPE_PIPE] = ACTIONS(883), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(883), + [anon_sym_LF] = ACTIONS(883), + [anon_sym_AMP] = ACTIONS(883), + }, + [244] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_SEMI_SEMI] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(255), + [anon_sym_PIPE_AMP] = ACTIONS(255), + [anon_sym_AMP_AMP] = ACTIONS(883), + [anon_sym_PIPE_PIPE] = ACTIONS(883), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(883), + [anon_sym_LF] = ACTIONS(883), + [anon_sym_AMP] = ACTIONS(883), + }, + [245] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(150), + [sym_array] = STATE(150), + [sym_simple_expansion] = STATE(150), + [sym_expansion] = STATE(150), + [sym_command_substitution] = STATE(150), + [sym_process_substitution] = STATE(150), + [aux_sym_bracket_command_repeat1] = STATE(399), + [aux_sym_command_repeat2] = STATE(296), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(663), + [anon_sym_PIPE_AMP] = ACTIONS(663), + [anon_sym_AMP_AMP] = ACTIONS(663), + [anon_sym_PIPE_PIPE] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(355), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(355), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [246] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(150), + [sym_array] = STATE(150), + [sym_simple_expansion] = STATE(150), + [sym_expansion] = STATE(150), + [sym_command_substitution] = STATE(150), + [sym_process_substitution] = STATE(150), + [aux_sym_bracket_command_repeat1] = STATE(400), + [aux_sym_command_repeat2] = STATE(401), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(885), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(885), + [anon_sym_PIPE_AMP] = ACTIONS(885), + [anon_sym_AMP_AMP] = ACTIONS(885), + [anon_sym_PIPE_PIPE] = ACTIONS(885), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(355), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(355), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(885), + [anon_sym_LF] = ACTIONS(885), + [anon_sym_AMP] = ACTIONS(885), + }, + [247] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(887), + [anon_sym_PIPE] = ACTIONS(887), + [anon_sym_PIPE_AMP] = ACTIONS(887), + [anon_sym_AMP_AMP] = ACTIONS(887), + [anon_sym_PIPE_PIPE] = ACTIONS(887), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(887), + [anon_sym_LF] = ACTIONS(887), + [anon_sym_AMP] = ACTIONS(887), }, [248] = { - [anon_sym_RBRACE] = ACTIONS(873), - [anon_sym_COLON] = ACTIONS(875), - [anon_sym_EQ] = ACTIONS(877), - [anon_sym_COLON_QMARK] = ACTIONS(877), - [anon_sym_COLON_DASH] = ACTIONS(877), + [sym_do_group] = STATE(402), + [anon_sym_do] = ACTIONS(283), [sym_comment] = ACTIONS(115), }, [249] = { - [anon_sym_RBRACE] = ACTIONS(879), - [anon_sym_COLON] = ACTIONS(881), - [anon_sym_EQ] = ACTIONS(883), - [anon_sym_COLON_QMARK] = ACTIONS(883), - [anon_sym_COLON_DASH] = ACTIONS(883), - [sym_comment] = ACTIONS(115), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_PIPE] = ACTIONS(889), + [anon_sym_PIPE_AMP] = ACTIONS(889), + [anon_sym_AMP_AMP] = ACTIONS(889), + [anon_sym_PIPE_PIPE] = ACTIONS(889), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), }, [250] = { - [anon_sym_RPAREN] = ACTIONS(885), + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(891), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, [251] = { - [anon_sym_BQUOTE] = ACTIONS(885), - [sym_comment] = ACTIONS(115), + [anon_sym_SEMI_SEMI] = ACTIONS(893), + [anon_sym_PIPE] = ACTIONS(893), + [anon_sym_PIPE_AMP] = ACTIONS(893), + [anon_sym_AMP_AMP] = ACTIONS(893), + [anon_sym_PIPE_PIPE] = ACTIONS(893), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(893), + [anon_sym_LF] = ACTIONS(893), + [anon_sym_AMP] = ACTIONS(893), }, [252] = { - [sym_file_descriptor] = ACTIONS(577), + [sym__terminated_statement] = STATE(404), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [253] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(405), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(895), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [254] = { + [anon_sym_fi] = ACTIONS(897), + [anon_sym_elif] = ACTIONS(897), + [anon_sym_else] = ACTIONS(897), + [sym_comment] = ACTIONS(115), + }, + [255] = { + [anon_sym_fi] = ACTIONS(899), + [sym_comment] = ACTIONS(115), + }, + [256] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(407), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(408), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(901), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [257] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(407), + [anon_sym_fi] = ACTIONS(899), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [258] = { + [anon_sym_in] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [259] = { + [anon_sym_RPAREN] = ACTIONS(909), + [sym_word] = ACTIONS(911), + [sym_comment] = ACTIONS(115), + }, + [260] = { + [anon_sym_RPAREN] = ACTIONS(913), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [261] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(913), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [262] = { + [anon_sym_in] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [263] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(415), + [anon_sym_esac] = ACTIONS(915), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [264] = { + [anon_sym_SEMI_SEMI] = ACTIONS(923), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(923), + [anon_sym_LF] = ACTIONS(923), + [anon_sym_AMP] = ACTIONS(923), + }, + [265] = { + [anon_sym_in] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [266] = { + [sym_string] = STATE(417), + [sym_array] = STATE(417), + [sym_simple_expansion] = STATE(417), + [sym_expansion] = STATE(417), + [sym_command_substitution] = STATE(417), + [sym_process_substitution] = STATE(417), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(927), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(929), + [sym_comment] = ACTIONS(115), + }, + [267] = { + [anon_sym_in] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [268] = { + [sym_string] = STATE(418), + [sym_array] = STATE(418), + [sym_simple_expansion] = STATE(418), + [sym_expansion] = STATE(418), + [sym_command_substitution] = STATE(418), + [sym_process_substitution] = STATE(418), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(933), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(935), + [sym_comment] = ACTIONS(115), + }, + [269] = { + [anon_sym_in] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [270] = { + [sym_compound_statement] = STATE(419), + [anon_sym_LBRACE] = ACTIONS(857), + [sym_comment] = ACTIONS(115), + }, + [271] = { + [anon_sym_RPAREN] = ACTIONS(937), + [anon_sym_LPAREN] = ACTIONS(937), + [anon_sym_RBRACE] = ACTIONS(937), + [anon_sym_RBRACK] = ACTIONS(939), + [anon_sym_RBRACK_RBRACK] = ACTIONS(939), + [anon_sym_LT] = ACTIONS(937), + [anon_sym_GT] = ACTIONS(937), + [anon_sym_DQUOTE] = ACTIONS(937), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(939), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(937), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(937), + [anon_sym_BQUOTE] = ACTIONS(937), + [sym_word] = ACTIONS(907), + [sym_comment] = ACTIONS(115), + }, + [272] = { + [anon_sym_RPAREN] = ACTIONS(941), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [273] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(941), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [274] = { + [anon_sym_RPAREN] = ACTIONS(735), + [anon_sym_LPAREN] = ACTIONS(735), + [anon_sym_RBRACE] = ACTIONS(735), + [anon_sym_RBRACK] = ACTIONS(943), + [anon_sym_RBRACK_RBRACK] = ACTIONS(943), + [anon_sym_LT] = ACTIONS(735), + [anon_sym_GT] = ACTIONS(735), + [anon_sym_DQUOTE] = ACTIONS(735), + [sym_raw_string] = ACTIONS(943), + [anon_sym_DOLLAR] = ACTIONS(943), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(735), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(735), + [anon_sym_BQUOTE] = ACTIONS(735), + [sym_word] = ACTIONS(737), + [sym_comment] = ACTIONS(115), + }, + [275] = { + [anon_sym_RPAREN] = ACTIONS(945), + [anon_sym_LPAREN] = ACTIONS(945), + [anon_sym_RBRACE] = ACTIONS(945), + [anon_sym_RBRACK] = ACTIONS(947), + [anon_sym_RBRACK_RBRACK] = ACTIONS(947), + [anon_sym_LT] = ACTIONS(945), + [anon_sym_GT] = ACTIONS(945), + [anon_sym_DQUOTE] = ACTIONS(945), + [sym_raw_string] = ACTIONS(947), + [anon_sym_DOLLAR] = ACTIONS(947), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(945), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(945), + [anon_sym_BQUOTE] = ACTIONS(945), + [sym_word] = ACTIONS(925), + [sym_comment] = ACTIONS(115), + }, + [276] = { + [sym_string] = STATE(421), + [sym_array] = STATE(421), + [sym_simple_expansion] = STATE(421), + [sym_expansion] = STATE(421), + [sym_command_substitution] = STATE(421), + [sym_process_substitution] = STATE(421), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(949), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(951), + [sym_comment] = ACTIONS(115), + }, + [277] = { + [anon_sym_RPAREN] = ACTIONS(953), + [anon_sym_LPAREN] = ACTIONS(953), + [anon_sym_RBRACE] = ACTIONS(953), + [anon_sym_RBRACK] = ACTIONS(955), + [anon_sym_RBRACK_RBRACK] = ACTIONS(955), + [anon_sym_LT] = ACTIONS(953), + [anon_sym_GT] = ACTIONS(953), + [anon_sym_DQUOTE] = ACTIONS(953), + [sym_raw_string] = ACTIONS(955), + [anon_sym_DOLLAR] = ACTIONS(955), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), + [anon_sym_BQUOTE] = ACTIONS(953), + [sym_word] = ACTIONS(931), + [sym_comment] = ACTIONS(115), + }, + [278] = { + [sym_string] = STATE(422), + [sym_array] = STATE(422), + [sym_simple_expansion] = STATE(422), + [sym_expansion] = STATE(422), + [sym_command_substitution] = STATE(422), + [sym_process_substitution] = STATE(422), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(957), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(959), + [sym_comment] = ACTIONS(115), + }, + [279] = { + [anon_sym_RPAREN] = ACTIONS(845), + [anon_sym_LPAREN] = ACTIONS(845), + [anon_sym_RBRACE] = ACTIONS(845), + [anon_sym_RBRACK] = ACTIONS(961), + [anon_sym_RBRACK_RBRACK] = ACTIONS(961), + [anon_sym_LT] = ACTIONS(845), + [anon_sym_GT] = ACTIONS(845), + [anon_sym_DQUOTE] = ACTIONS(845), + [sym_raw_string] = ACTIONS(961), + [anon_sym_DOLLAR] = ACTIONS(961), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(845), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(845), + [anon_sym_BQUOTE] = ACTIONS(845), + [sym_word] = ACTIONS(847), + [sym_comment] = ACTIONS(115), + }, + [280] = { + [sym_file_descriptor] = ACTIONS(545), + [anon_sym_SEMI_SEMI] = ACTIONS(549), + [anon_sym_PIPE] = ACTIONS(549), + [anon_sym_PIPE_AMP] = ACTIONS(549), + [anon_sym_AMP_AMP] = ACTIONS(549), + [anon_sym_PIPE_PIPE] = ACTIONS(549), + [anon_sym_LT] = ACTIONS(549), + [anon_sym_GT] = ACTIONS(549), + [anon_sym_GT_GT] = ACTIONS(549), + [anon_sym_AMP_GT] = ACTIONS(549), + [anon_sym_AMP_GT_GT] = ACTIONS(549), + [anon_sym_LT_AMP] = ACTIONS(549), + [anon_sym_GT_AMP] = ACTIONS(549), + [anon_sym_LT_LT] = ACTIONS(549), + [anon_sym_LT_LT_DASH] = ACTIONS(549), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(549), + [anon_sym_LF] = ACTIONS(549), + [anon_sym_AMP] = ACTIONS(549), + }, + [281] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_LPAREN] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR] = ACTIONS(561), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [282] = { + [anon_sym_RPAREN] = ACTIONS(963), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [283] = { + [sym_for_statement] = STATE(424), + [sym_while_statement] = STATE(424), + [sym_if_statement] = STATE(424), + [sym_case_statement] = STATE(424), + [sym_function_definition] = STATE(424), + [sym_subshell] = STATE(424), + [sym_pipeline] = STATE(424), + [sym_list] = STATE(424), + [sym_bracket_command] = STATE(424), + [sym_command] = STATE(424), + [sym_environment_variable_assignment] = STATE(425), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(298), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(669), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), + [sym_comment] = ACTIONS(115), + }, + [284] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_LPAREN] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR] = ACTIONS(415), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [285] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(967), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [286] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_LPAREN] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR] = ACTIONS(577), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [287] = { + [sym_file_descriptor] = ACTIONS(615), [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_LPAREN] = ACTIONS(579), [anon_sym_PIPE] = ACTIONS(579), [anon_sym_PIPE_AMP] = ACTIONS(579), [anon_sym_AMP_AMP] = ACTIONS(579), @@ -15656,3166 +17274,709 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LF] = ACTIONS(579), [anon_sym_AMP] = ACTIONS(579), }, - [253] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(887), - [anon_sym_PIPE] = ACTIONS(887), - [anon_sym_PIPE_AMP] = ACTIONS(887), - [anon_sym_AMP_AMP] = ACTIONS(887), - [anon_sym_PIPE_PIPE] = ACTIONS(887), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(887), - [anon_sym_LF] = ACTIONS(887), - [anon_sym_AMP] = ACTIONS(887), - }, - [254] = { - [sym_for_statement] = STATE(375), - [sym_while_statement] = STATE(375), - [sym_if_statement] = STATE(375), - [sym_case_statement] = STATE(375), - [sym_function_definition] = STATE(375), - [sym_subshell] = STATE(375), - [sym_pipeline] = STATE(375), - [sym_list] = STATE(375), - [sym_bracket_command] = STATE(375), - [sym_command] = STATE(375), - [sym_environment_variable_assignment] = STATE(376), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [255] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [256] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(889), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [257] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [258] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [259] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [260] = { - [anon_sym_RBRACE] = ACTIONS(891), - [anon_sym_COLON] = ACTIONS(893), - [anon_sym_EQ] = ACTIONS(895), - [anon_sym_COLON_QMARK] = ACTIONS(895), - [anon_sym_COLON_DASH] = ACTIONS(895), - [sym_comment] = ACTIONS(115), - }, - [261] = { - [anon_sym_RBRACE] = ACTIONS(897), - [anon_sym_COLON] = ACTIONS(899), - [anon_sym_EQ] = ACTIONS(901), - [anon_sym_COLON_QMARK] = ACTIONS(901), - [anon_sym_COLON_DASH] = ACTIONS(901), - [sym_comment] = ACTIONS(115), - }, - [262] = { - [anon_sym_RPAREN] = ACTIONS(903), - [sym_comment] = ACTIONS(115), - }, - [263] = { - [anon_sym_BQUOTE] = ACTIONS(903), - [sym_comment] = ACTIONS(115), - }, - [264] = { - [sym__heredoc_middle] = ACTIONS(905), - [sym__heredoc_end] = ACTIONS(905), - [anon_sym_DOLLAR] = ACTIONS(907), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(905), - [sym_comment] = ACTIONS(115), - }, - [265] = { - [sym_file_descriptor] = ACTIONS(909), - [anon_sym_SEMI_SEMI] = ACTIONS(911), - [anon_sym_PIPE] = ACTIONS(911), - [anon_sym_PIPE_AMP] = ACTIONS(911), - [anon_sym_AMP_AMP] = ACTIONS(911), - [anon_sym_PIPE_PIPE] = ACTIONS(911), - [anon_sym_LT] = ACTIONS(911), - [anon_sym_GT] = ACTIONS(911), - [anon_sym_GT_GT] = ACTIONS(911), - [anon_sym_AMP_GT] = ACTIONS(911), - [anon_sym_AMP_GT_GT] = ACTIONS(911), - [anon_sym_LT_AMP] = ACTIONS(911), - [anon_sym_GT_AMP] = ACTIONS(911), - [anon_sym_LT_LT] = ACTIONS(911), - [anon_sym_LT_LT_DASH] = ACTIONS(911), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(911), - [anon_sym_LF] = ACTIONS(911), - [anon_sym_AMP] = ACTIONS(911), - }, - [266] = { - [sym_special_variable_name] = STATE(385), - [anon_sym_DOLLAR] = ACTIONS(913), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(915), - [anon_sym_STAR] = ACTIONS(913), - [anon_sym_AT] = ACTIONS(913), - [anon_sym_POUND] = ACTIONS(917), - [anon_sym_QMARK] = ACTIONS(913), - [anon_sym_DASH] = ACTIONS(913), - [anon_sym_BANG] = ACTIONS(913), - [anon_sym_0] = ACTIONS(917), - [anon_sym__] = ACTIONS(917), - }, - [267] = { - [sym_special_variable_name] = STATE(387), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(919), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [268] = { - [sym_simple_expansion] = STATE(388), - [sym_expansion] = STATE(388), - [sym__heredoc_middle] = ACTIONS(921), - [sym__heredoc_end] = ACTIONS(923), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [269] = { - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [270] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(925), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [271] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(665), - [anon_sym_PIPE] = ACTIONS(851), - [anon_sym_PIPE_AMP] = ACTIONS(665), - [anon_sym_AMP_AMP] = ACTIONS(851), - [anon_sym_PIPE_PIPE] = ACTIONS(665), - [anon_sym_COLON] = ACTIONS(665), - [anon_sym_LT] = ACTIONS(851), - [anon_sym_GT] = ACTIONS(851), - [anon_sym_GT_GT] = ACTIONS(851), - [anon_sym_AMP_GT] = ACTIONS(851), - [anon_sym_AMP_GT_GT] = ACTIONS(851), - [anon_sym_LT_AMP] = ACTIONS(851), - [anon_sym_GT_AMP] = ACTIONS(851), - [anon_sym_DQUOTE] = ACTIONS(665), - [sym_raw_string] = ACTIONS(851), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(665), - [anon_sym_BQUOTE] = ACTIONS(665), - [sym_leading_word] = ACTIONS(667), - [sym_comment] = ACTIONS(115), - }, - [272] = { - [sym_file_descriptor] = ACTIONS(853), - [anon_sym_RPAREN] = ACTIONS(853), - [anon_sym_PIPE] = ACTIONS(855), - [anon_sym_PIPE_AMP] = ACTIONS(853), - [anon_sym_AMP_AMP] = ACTIONS(855), - [anon_sym_PIPE_PIPE] = ACTIONS(853), - [anon_sym_COLON] = ACTIONS(853), - [anon_sym_LT] = ACTIONS(855), - [anon_sym_GT] = ACTIONS(855), - [anon_sym_GT_GT] = ACTIONS(855), - [anon_sym_AMP_GT] = ACTIONS(855), - [anon_sym_AMP_GT_GT] = ACTIONS(855), - [anon_sym_LT_AMP] = ACTIONS(855), - [anon_sym_GT_AMP] = ACTIONS(855), - [anon_sym_DQUOTE] = ACTIONS(853), - [sym_raw_string] = ACTIONS(855), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(853), - [anon_sym_BQUOTE] = ACTIONS(853), - [sym_leading_word] = ACTIONS(837), - [sym_comment] = ACTIONS(115), - }, - [273] = { - [sym_string] = STATE(391), - [sym_simple_expansion] = STATE(391), - [sym_expansion] = STATE(391), - [sym_command_substitution] = STATE(391), - [sym_process_substitution] = STATE(391), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(927), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(929), - [sym_comment] = ACTIONS(115), - }, - [274] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(861), - [anon_sym_AMP_AMP] = ACTIONS(863), - [anon_sym_PIPE_PIPE] = ACTIONS(861), - [anon_sym_COLON] = ACTIONS(861), - [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_DQUOTE] = ACTIONS(861), - [sym_raw_string] = ACTIONS(863), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_BQUOTE] = ACTIONS(861), - [sym_leading_word] = ACTIONS(843), - [sym_comment] = ACTIONS(115), - }, - [275] = { - [sym_string] = STATE(392), - [sym_simple_expansion] = STATE(392), - [sym_expansion] = STATE(392), - [sym_command_substitution] = STATE(392), - [sym_process_substitution] = STATE(392), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(931), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(933), - [sym_comment] = ACTIONS(115), - }, - [276] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(731), - [anon_sym_PIPE] = ACTIONS(869), - [anon_sym_PIPE_AMP] = ACTIONS(731), - [anon_sym_AMP_AMP] = ACTIONS(869), - [anon_sym_PIPE_PIPE] = ACTIONS(731), - [anon_sym_COLON] = ACTIONS(731), - [anon_sym_LT] = ACTIONS(869), - [anon_sym_GT] = ACTIONS(869), - [anon_sym_GT_GT] = ACTIONS(869), - [anon_sym_AMP_GT] = ACTIONS(869), - [anon_sym_AMP_GT_GT] = ACTIONS(869), - [anon_sym_LT_AMP] = ACTIONS(869), - [anon_sym_GT_AMP] = ACTIONS(869), - [anon_sym_DQUOTE] = ACTIONS(731), - [sym_raw_string] = ACTIONS(869), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(731), - [anon_sym_BQUOTE] = ACTIONS(731), - [sym_leading_word] = ACTIONS(733), - [sym_comment] = ACTIONS(115), - }, - [277] = { - [anon_sym_DQUOTE] = ACTIONS(837), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(837), - [anon_sym_DOLLAR] = ACTIONS(837), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(855), - [sym_comment] = ACTIONS(73), - }, - [278] = { - [sym_string] = STATE(393), - [sym_simple_expansion] = STATE(393), - [sym_expansion] = STATE(393), - [sym_command_substitution] = STATE(393), - [sym_process_substitution] = STATE(393), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(935), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(937), - [sym_comment] = ACTIONS(115), - }, - [279] = { - [anon_sym_DQUOTE] = ACTIONS(843), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(843), - [anon_sym_DOLLAR] = ACTIONS(843), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(863), - [sym_comment] = ACTIONS(73), - }, - [280] = { - [sym_string] = STATE(394), - [sym_simple_expansion] = STATE(394), - [sym_expansion] = STATE(394), - [sym_command_substitution] = STATE(394), - [sym_process_substitution] = STATE(394), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(939), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(941), - [sym_comment] = ACTIONS(115), - }, - [281] = { - [anon_sym_DQUOTE] = ACTIONS(733), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(733), - [anon_sym_DOLLAR] = ACTIONS(733), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(869), - [sym_comment] = ACTIONS(73), - }, - [282] = { - [sym_string] = STATE(395), - [sym_simple_expansion] = STATE(395), - [sym_expansion] = STATE(395), - [sym_command_substitution] = STATE(395), - [sym_process_substitution] = STATE(395), - [anon_sym_LT] = ACTIONS(703), - [anon_sym_GT] = ACTIONS(703), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(943), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(945), - [sym_comment] = ACTIONS(115), - }, - [283] = { - [sym_string] = STATE(293), - [sym_simple_expansion] = STATE(293), - [sym_expansion] = STATE(293), - [sym_command_substitution] = STATE(293), - [sym_process_substitution] = STATE(293), - [anon_sym_LPAREN] = ACTIONS(947), - [anon_sym_LT] = ACTIONS(703), - [anon_sym_GT] = ACTIONS(703), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(705), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(707), - [sym_comment] = ACTIONS(115), - }, - [284] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(398), - [anon_sym_DQUOTE] = ACTIONS(949), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [285] = { - [sym_file_descriptor] = ACTIONS(293), - [anon_sym_RPAREN] = ACTIONS(293), - [anon_sym_PIPE] = ACTIONS(291), - [anon_sym_PIPE_AMP] = ACTIONS(293), - [anon_sym_AMP_AMP] = ACTIONS(293), - [anon_sym_PIPE_PIPE] = ACTIONS(291), - [anon_sym_LT] = ACTIONS(291), - [anon_sym_GT] = ACTIONS(291), - [anon_sym_GT_GT] = ACTIONS(293), - [anon_sym_AMP_GT] = ACTIONS(291), - [anon_sym_AMP_GT_GT] = ACTIONS(293), - [anon_sym_LT_AMP] = ACTIONS(293), - [anon_sym_GT_AMP] = ACTIONS(293), - [anon_sym_LT_LT] = ACTIONS(291), - [anon_sym_LT_LT_DASH] = ACTIONS(293), - [anon_sym_DQUOTE] = ACTIONS(293), - [sym_raw_string] = ACTIONS(291), - [anon_sym_DOLLAR] = ACTIONS(291), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(293), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(293), - [anon_sym_BQUOTE] = ACTIONS(293), - [sym_word] = ACTIONS(295), - [sym_comment] = ACTIONS(115), - }, - [286] = { - [sym_special_variable_name] = STATE(401), - [anon_sym_DOLLAR] = ACTIONS(951), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(953), - [anon_sym_STAR] = ACTIONS(951), - [anon_sym_AT] = ACTIONS(951), - [anon_sym_POUND] = ACTIONS(955), - [anon_sym_QMARK] = ACTIONS(951), - [anon_sym_DASH] = ACTIONS(951), - [anon_sym_BANG] = ACTIONS(951), - [anon_sym_0] = ACTIONS(955), - [anon_sym__] = ACTIONS(955), - }, - [287] = { - [sym_special_variable_name] = STATE(403), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(957), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, [288] = { - [sym_command] = STATE(404), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_LPAREN] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR] = ACTIONS(581), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), }, [289] = { - [sym_command] = STATE(405), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), + [anon_sym_RBRACE] = ACTIONS(969), + [anon_sym_COLON] = ACTIONS(971), + [anon_sym_EQ] = ACTIONS(973), + [anon_sym_COLON_QMARK] = ACTIONS(973), + [anon_sym_COLON_DASH] = ACTIONS(973), [sym_comment] = ACTIONS(115), }, [290] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(407), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(959), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), + [anon_sym_RBRACE] = ACTIONS(975), + [anon_sym_COLON] = ACTIONS(977), + [anon_sym_EQ] = ACTIONS(979), + [anon_sym_COLON_QMARK] = ACTIONS(979), + [anon_sym_COLON_DASH] = ACTIONS(979), [sym_comment] = ACTIONS(115), }, [291] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(965), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(965), + [anon_sym_RPAREN] = ACTIONS(981), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [292] = { - [anon_sym_LPAREN] = ACTIONS(947), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(981), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [293] = { - [sym_file_descriptor] = ACTIONS(361), - [anon_sym_RPAREN] = ACTIONS(361), - [anon_sym_PIPE] = ACTIONS(363), - [anon_sym_PIPE_AMP] = ACTIONS(361), - [anon_sym_AMP_AMP] = ACTIONS(361), - [anon_sym_PIPE_PIPE] = ACTIONS(361), - [anon_sym_LT] = ACTIONS(363), - [anon_sym_GT] = ACTIONS(363), - [anon_sym_GT_GT] = ACTIONS(361), - [anon_sym_AMP_GT] = ACTIONS(363), - [anon_sym_AMP_GT_GT] = ACTIONS(361), - [anon_sym_LT_AMP] = ACTIONS(361), - [anon_sym_GT_AMP] = ACTIONS(361), - [anon_sym_LT_LT] = ACTIONS(363), - [anon_sym_LT_LT_DASH] = ACTIONS(361), - [anon_sym_BQUOTE] = ACTIONS(361), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(981), [sym_comment] = ACTIONS(115), }, [294] = { - [sym_file_descriptor] = ACTIONS(615), - [anon_sym_RPAREN] = ACTIONS(615), - [anon_sym_PIPE] = ACTIONS(967), - [anon_sym_PIPE_AMP] = ACTIONS(615), - [anon_sym_AMP_AMP] = ACTIONS(615), - [anon_sym_PIPE_PIPE] = ACTIONS(615), - [anon_sym_LT] = ACTIONS(967), - [anon_sym_GT] = ACTIONS(967), - [anon_sym_GT_GT] = ACTIONS(615), - [anon_sym_AMP_GT] = ACTIONS(967), - [anon_sym_AMP_GT_GT] = ACTIONS(615), - [anon_sym_LT_AMP] = ACTIONS(615), - [anon_sym_GT_AMP] = ACTIONS(615), - [anon_sym_LT_LT] = ACTIONS(967), - [anon_sym_LT_LT_DASH] = ACTIONS(615), - [anon_sym_BQUOTE] = ACTIONS(615), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(981), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [295] = { - [sym_simple_expansion] = STATE(264), - [sym_expansion] = STATE(264), - [aux_sym_heredoc_repeat1] = STATE(409), - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(969), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(639), + [anon_sym_SEMI_SEMI] = ACTIONS(643), + [anon_sym_LPAREN] = ACTIONS(643), + [anon_sym_PIPE] = ACTIONS(643), + [anon_sym_PIPE_AMP] = ACTIONS(643), + [anon_sym_AMP_AMP] = ACTIONS(643), + [anon_sym_PIPE_PIPE] = ACTIONS(643), + [anon_sym_LT] = ACTIONS(643), + [anon_sym_GT] = ACTIONS(643), + [anon_sym_GT_GT] = ACTIONS(643), + [anon_sym_AMP_GT] = ACTIONS(643), + [anon_sym_AMP_GT_GT] = ACTIONS(643), + [anon_sym_LT_AMP] = ACTIONS(643), + [anon_sym_GT_AMP] = ACTIONS(643), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(643), + [anon_sym_DQUOTE] = ACTIONS(643), + [sym_raw_string] = ACTIONS(643), + [anon_sym_DOLLAR] = ACTIONS(643), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(643), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(643), + [anon_sym_BQUOTE] = ACTIONS(643), + [sym_word] = ACTIONS(643), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(643), + [anon_sym_LF] = ACTIONS(643), + [anon_sym_AMP] = ACTIONS(643), }, [296] = { - [sym_file_descriptor] = ACTIONS(627), - [anon_sym_RPAREN] = ACTIONS(627), - [anon_sym_PIPE] = ACTIONS(971), - [anon_sym_PIPE_AMP] = ACTIONS(627), - [anon_sym_AMP_AMP] = ACTIONS(627), - [anon_sym_PIPE_PIPE] = ACTIONS(627), - [anon_sym_LT] = ACTIONS(971), - [anon_sym_GT] = ACTIONS(971), - [anon_sym_GT_GT] = ACTIONS(627), - [anon_sym_AMP_GT] = ACTIONS(971), - [anon_sym_AMP_GT_GT] = ACTIONS(627), - [anon_sym_LT_AMP] = ACTIONS(627), - [anon_sym_GT_AMP] = ACTIONS(627), - [anon_sym_LT_LT] = ACTIONS(971), - [anon_sym_LT_LT_DASH] = ACTIONS(627), - [anon_sym_BQUOTE] = ACTIONS(627), - [sym_comment] = ACTIONS(115), + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(983), + [anon_sym_PIPE] = ACTIONS(983), + [anon_sym_PIPE_AMP] = ACTIONS(983), + [anon_sym_AMP_AMP] = ACTIONS(983), + [anon_sym_PIPE_PIPE] = ACTIONS(983), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(983), + [anon_sym_LF] = ACTIONS(983), + [anon_sym_AMP] = ACTIONS(983), }, [297] = { - [sym_file_descriptor] = ACTIONS(631), - [anon_sym_RPAREN] = ACTIONS(631), - [anon_sym_PIPE] = ACTIONS(973), - [anon_sym_PIPE_AMP] = ACTIONS(631), - [anon_sym_AMP_AMP] = ACTIONS(631), - [anon_sym_PIPE_PIPE] = ACTIONS(631), - [anon_sym_LT] = ACTIONS(973), - [anon_sym_GT] = ACTIONS(973), - [anon_sym_GT_GT] = ACTIONS(631), - [anon_sym_AMP_GT] = ACTIONS(973), - [anon_sym_AMP_GT_GT] = ACTIONS(631), - [anon_sym_LT_AMP] = ACTIONS(631), - [anon_sym_GT_AMP] = ACTIONS(631), - [anon_sym_LT_LT] = ACTIONS(973), - [anon_sym_LT_LT_DASH] = ACTIONS(631), - [anon_sym_BQUOTE] = ACTIONS(631), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), }, [298] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_comment] = ACTIONS(73), + [anon_sym_RPAREN] = ACTIONS(985), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), }, [299] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_comment] = ACTIONS(73), + [sym_for_statement] = STATE(433), + [sym_while_statement] = STATE(433), + [sym_if_statement] = STATE(433), + [sym_case_statement] = STATE(433), + [sym_function_definition] = STATE(433), + [sym_subshell] = STATE(433), + [sym_pipeline] = STATE(433), + [sym_list] = STATE(433), + [sym_bracket_command] = STATE(433), + [sym_command] = STATE(433), + [sym_environment_variable_assignment] = STATE(434), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), }, [300] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(410), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(975), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), }, [301] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(977), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(977), - [sym_comment] = ACTIONS(115), + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(987), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), }, [302] = { - [sym_file_descriptor] = ACTIONS(749), - [anon_sym_RPAREN] = ACTIONS(749), - [anon_sym_PIPE] = ACTIONS(979), - [anon_sym_PIPE_AMP] = ACTIONS(749), - [anon_sym_AMP_AMP] = ACTIONS(979), - [anon_sym_PIPE_PIPE] = ACTIONS(749), - [anon_sym_COLON] = ACTIONS(749), - [anon_sym_LT] = ACTIONS(979), - [anon_sym_GT] = ACTIONS(979), - [anon_sym_GT_GT] = ACTIONS(979), - [anon_sym_AMP_GT] = ACTIONS(979), - [anon_sym_AMP_GT_GT] = ACTIONS(979), - [anon_sym_LT_AMP] = ACTIONS(979), - [anon_sym_GT_AMP] = ACTIONS(979), - [anon_sym_DQUOTE] = ACTIONS(749), - [sym_raw_string] = ACTIONS(979), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(749), - [anon_sym_BQUOTE] = ACTIONS(749), - [sym_leading_word] = ACTIONS(751), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), }, [303] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(411), - [aux_sym_command_repeat2] = STATE(407), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(959), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_LT_LT] = ACTIONS(579), + [anon_sym_LT_LT_DASH] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), }, [304] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(412), - [aux_sym_command_repeat2] = STATE(413), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(981), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), }, [305] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(983), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(983), + [anon_sym_RBRACE] = ACTIONS(989), + [anon_sym_COLON] = ACTIONS(991), + [anon_sym_EQ] = ACTIONS(993), + [anon_sym_COLON_QMARK] = ACTIONS(993), + [anon_sym_COLON_DASH] = ACTIONS(993), [sym_comment] = ACTIONS(115), }, [306] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(407), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(959), - [sym_word] = ACTIONS(963), + [anon_sym_RBRACE] = ACTIONS(995), + [anon_sym_COLON] = ACTIONS(997), + [anon_sym_EQ] = ACTIONS(999), + [anon_sym_COLON_QMARK] = ACTIONS(999), + [anon_sym_COLON_DASH] = ACTIONS(999), [sym_comment] = ACTIONS(115), }, [307] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(410), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(975), - [sym_word] = ACTIONS(963), + [anon_sym_RPAREN] = ACTIONS(1001), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [308] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(414), - [aux_sym_command_repeat2] = STATE(407), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(959), - [sym_word] = ACTIONS(701), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1001), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [309] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(415), - [aux_sym_command_repeat2] = STATE(413), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(981), - [sym_word] = ACTIONS(701), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(1001), [sym_comment] = ACTIONS(115), }, [310] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(417), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(985), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1001), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [311] = { - [anon_sym_SEMI_SEMI] = ACTIONS(987), - [anon_sym_PIPE] = ACTIONS(987), - [anon_sym_PIPE_AMP] = ACTIONS(987), - [anon_sym_AMP_AMP] = ACTIONS(987), - [anon_sym_PIPE_PIPE] = ACTIONS(987), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(987), - [anon_sym_LF] = ACTIONS(987), - [anon_sym_AMP] = ACTIONS(987), + [sym__heredoc_middle] = ACTIONS(1003), + [sym__heredoc_end] = ACTIONS(1003), + [anon_sym_DOLLAR] = ACTIONS(1005), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1003), + [sym_comment] = ACTIONS(115), }, [312] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(989), - [anon_sym_PIPE] = ACTIONS(989), - [anon_sym_PIPE_AMP] = ACTIONS(989), - [anon_sym_AMP_AMP] = ACTIONS(989), - [anon_sym_PIPE_PIPE] = ACTIONS(989), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(989), - [anon_sym_LF] = ACTIONS(989), - [anon_sym_AMP] = ACTIONS(989), - }, - [313] = { - [sym_for_statement] = STATE(418), - [sym_while_statement] = STATE(418), - [sym_if_statement] = STATE(418), - [sym_case_statement] = STATE(418), - [sym_function_definition] = STATE(418), - [sym_subshell] = STATE(418), - [sym_pipeline] = STATE(418), - [sym_list] = STATE(418), - [sym_bracket_command] = STATE(418), - [sym_command] = STATE(418), - [sym_environment_variable_assignment] = STATE(419), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [314] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_leading_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [315] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(991), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [316] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [317] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_COLON] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_leading_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [318] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_leading_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [319] = { - [anon_sym_RBRACE] = ACTIONS(993), - [anon_sym_COLON] = ACTIONS(995), - [anon_sym_EQ] = ACTIONS(997), - [anon_sym_COLON_QMARK] = ACTIONS(997), - [anon_sym_COLON_DASH] = ACTIONS(997), - [sym_comment] = ACTIONS(115), - }, - [320] = { - [anon_sym_RBRACE] = ACTIONS(999), - [anon_sym_COLON] = ACTIONS(1001), - [anon_sym_EQ] = ACTIONS(1003), - [anon_sym_COLON_QMARK] = ACTIONS(1003), - [anon_sym_COLON_DASH] = ACTIONS(1003), - [sym_comment] = ACTIONS(115), - }, - [321] = { - [anon_sym_RPAREN] = ACTIONS(1005), - [sym_comment] = ACTIONS(115), - }, - [322] = { - [anon_sym_BQUOTE] = ACTIONS(1005), - [sym_comment] = ACTIONS(115), - }, - [323] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(252), - [sym_simple_expansion] = STATE(252), - [sym_expansion] = STATE(252), - [sym_command_substitution] = STATE(252), - [sym_process_substitution] = STATE(252), - [aux_sym_command_repeat2] = STATE(426), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(1007), - [anon_sym_PIPE] = ACTIONS(1007), - [anon_sym_PIPE_AMP] = ACTIONS(1007), - [anon_sym_AMP_AMP] = ACTIONS(1007), - [anon_sym_PIPE_PIPE] = ACTIONS(1007), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(599), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(599), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1007), - [anon_sym_LF] = ACTIONS(1007), - [anon_sym_AMP] = ACTIONS(1007), - }, - [324] = { - [sym_file_redirect] = STATE(53), - [sym_heredoc_redirect] = STATE(53), - [sym_string] = STATE(252), - [sym_simple_expansion] = STATE(252), - [sym_expansion] = STATE(252), - [sym_command_substitution] = STATE(252), - [sym_process_substitution] = STATE(252), - [aux_sym_command_repeat2] = STATE(427), - [sym_file_descriptor] = ACTIONS(159), + [sym_file_descriptor] = ACTIONS(1007), [anon_sym_SEMI_SEMI] = ACTIONS(1009), [anon_sym_PIPE] = ACTIONS(1009), [anon_sym_PIPE_AMP] = ACTIONS(1009), [anon_sym_AMP_AMP] = ACTIONS(1009), [anon_sym_PIPE_PIPE] = ACTIONS(1009), - [anon_sym_LT] = ACTIONS(317), - [anon_sym_GT] = ACTIONS(317), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [anon_sym_DQUOTE] = ACTIONS(319), - [sym_raw_string] = ACTIONS(599), - [anon_sym_DOLLAR] = ACTIONS(323), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(325), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), - [anon_sym_BQUOTE] = ACTIONS(329), - [sym_word] = ACTIONS(599), + [anon_sym_LT] = ACTIONS(1009), + [anon_sym_GT] = ACTIONS(1009), + [anon_sym_GT_GT] = ACTIONS(1009), + [anon_sym_AMP_GT] = ACTIONS(1009), + [anon_sym_AMP_GT_GT] = ACTIONS(1009), + [anon_sym_LT_AMP] = ACTIONS(1009), + [anon_sym_GT_AMP] = ACTIONS(1009), + [anon_sym_LT_LT] = ACTIONS(1009), + [anon_sym_LT_LT_DASH] = ACTIONS(1009), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(1009), [anon_sym_LF] = ACTIONS(1009), [anon_sym_AMP] = ACTIONS(1009), }, - [325] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(1011), - [anon_sym_PIPE] = ACTIONS(1011), - [anon_sym_PIPE_AMP] = ACTIONS(1011), - [anon_sym_AMP_AMP] = ACTIONS(1011), - [anon_sym_PIPE_PIPE] = ACTIONS(1011), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), + [313] = { + [sym_special_variable_name] = STATE(443), + [anon_sym_DOLLAR] = ACTIONS(1011), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(1013), + [anon_sym_STAR] = ACTIONS(1011), + [anon_sym_AT] = ACTIONS(1011), + [anon_sym_POUND] = ACTIONS(1015), + [anon_sym_QMARK] = ACTIONS(1011), + [anon_sym_DASH] = ACTIONS(1011), + [anon_sym_BANG] = ACTIONS(1011), + [anon_sym_0] = ACTIONS(1015), + [anon_sym__] = ACTIONS(1015), + }, + [314] = { + [sym_special_variable_name] = STATE(445), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(1017), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [315] = { + [sym_simple_expansion] = STATE(446), + [sym_expansion] = STATE(446), + [sym__heredoc_middle] = ACTIONS(1019), + [sym__heredoc_end] = ACTIONS(1021), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [sym_comment] = ACTIONS(115), + }, + [316] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(937), + [anon_sym_PIPE] = ACTIONS(939), + [anon_sym_PIPE_AMP] = ACTIONS(937), + [anon_sym_AMP_AMP] = ACTIONS(939), + [anon_sym_PIPE_PIPE] = ACTIONS(937), + [anon_sym_COLON] = ACTIONS(937), + [anon_sym_LT] = ACTIONS(939), + [anon_sym_GT] = ACTIONS(939), + [anon_sym_GT_GT] = ACTIONS(939), + [anon_sym_AMP_GT] = ACTIONS(939), + [anon_sym_AMP_GT_GT] = ACTIONS(939), + [anon_sym_LT_AMP] = ACTIONS(939), + [anon_sym_GT_AMP] = ACTIONS(939), + [anon_sym_DQUOTE] = ACTIONS(937), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(937), + [anon_sym_BQUOTE] = ACTIONS(937), + [sym_leading_word] = ACTIONS(907), + [sym_comment] = ACTIONS(115), + }, + [317] = { + [anon_sym_RPAREN] = ACTIONS(1023), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [318] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1023), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [319] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(735), + [anon_sym_PIPE] = ACTIONS(943), + [anon_sym_PIPE_AMP] = ACTIONS(735), + [anon_sym_AMP_AMP] = ACTIONS(943), + [anon_sym_PIPE_PIPE] = ACTIONS(735), + [anon_sym_COLON] = ACTIONS(735), + [anon_sym_LT] = ACTIONS(943), + [anon_sym_GT] = ACTIONS(943), + [anon_sym_GT_GT] = ACTIONS(943), + [anon_sym_AMP_GT] = ACTIONS(943), + [anon_sym_AMP_GT_GT] = ACTIONS(943), + [anon_sym_LT_AMP] = ACTIONS(943), + [anon_sym_GT_AMP] = ACTIONS(943), + [anon_sym_DQUOTE] = ACTIONS(735), + [sym_raw_string] = ACTIONS(943), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(735), + [anon_sym_BQUOTE] = ACTIONS(735), + [sym_leading_word] = ACTIONS(737), + [sym_comment] = ACTIONS(115), + }, + [320] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(945), + [anon_sym_PIPE] = ACTIONS(947), + [anon_sym_PIPE_AMP] = ACTIONS(945), + [anon_sym_AMP_AMP] = ACTIONS(947), + [anon_sym_PIPE_PIPE] = ACTIONS(945), + [anon_sym_COLON] = ACTIONS(945), + [anon_sym_LT] = ACTIONS(947), + [anon_sym_GT] = ACTIONS(947), + [anon_sym_GT_GT] = ACTIONS(947), + [anon_sym_AMP_GT] = ACTIONS(947), + [anon_sym_AMP_GT_GT] = ACTIONS(947), + [anon_sym_LT_AMP] = ACTIONS(947), + [anon_sym_GT_AMP] = ACTIONS(947), + [anon_sym_DQUOTE] = ACTIONS(945), + [sym_raw_string] = ACTIONS(947), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(945), + [anon_sym_BQUOTE] = ACTIONS(945), + [sym_leading_word] = ACTIONS(925), + [sym_comment] = ACTIONS(115), + }, + [321] = { + [sym_string] = STATE(449), + [sym_array] = STATE(449), + [sym_simple_expansion] = STATE(449), + [sym_expansion] = STATE(449), + [sym_command_substitution] = STATE(449), + [sym_process_substitution] = STATE(449), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1025), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1027), + [sym_comment] = ACTIONS(115), + }, + [322] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(953), + [anon_sym_PIPE] = ACTIONS(955), + [anon_sym_PIPE_AMP] = ACTIONS(953), + [anon_sym_AMP_AMP] = ACTIONS(955), + [anon_sym_PIPE_PIPE] = ACTIONS(953), + [anon_sym_COLON] = ACTIONS(953), + [anon_sym_LT] = ACTIONS(955), + [anon_sym_GT] = ACTIONS(955), + [anon_sym_GT_GT] = ACTIONS(955), + [anon_sym_AMP_GT] = ACTIONS(955), + [anon_sym_AMP_GT_GT] = ACTIONS(955), + [anon_sym_LT_AMP] = ACTIONS(955), + [anon_sym_GT_AMP] = ACTIONS(955), + [anon_sym_DQUOTE] = ACTIONS(953), + [sym_raw_string] = ACTIONS(955), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), + [anon_sym_BQUOTE] = ACTIONS(953), + [sym_leading_word] = ACTIONS(931), + [sym_comment] = ACTIONS(115), + }, + [323] = { + [sym_string] = STATE(450), + [sym_array] = STATE(450), + [sym_simple_expansion] = STATE(450), + [sym_expansion] = STATE(450), + [sym_command_substitution] = STATE(450), + [sym_process_substitution] = STATE(450), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1029), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1031), + [sym_comment] = ACTIONS(115), + }, + [324] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(845), + [anon_sym_PIPE] = ACTIONS(961), + [anon_sym_PIPE_AMP] = ACTIONS(845), + [anon_sym_AMP_AMP] = ACTIONS(961), + [anon_sym_PIPE_PIPE] = ACTIONS(845), + [anon_sym_COLON] = ACTIONS(845), + [anon_sym_LT] = ACTIONS(961), + [anon_sym_GT] = ACTIONS(961), + [anon_sym_GT_GT] = ACTIONS(961), + [anon_sym_AMP_GT] = ACTIONS(961), + [anon_sym_AMP_GT_GT] = ACTIONS(961), + [anon_sym_LT_AMP] = ACTIONS(961), + [anon_sym_GT_AMP] = ACTIONS(961), + [anon_sym_DQUOTE] = ACTIONS(845), + [sym_raw_string] = ACTIONS(961), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(845), + [anon_sym_BQUOTE] = ACTIONS(845), + [sym_leading_word] = ACTIONS(847), + [sym_comment] = ACTIONS(115), + }, + [325] = { + [anon_sym_DQUOTE] = ACTIONS(925), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(947), + [anon_sym_DOLLAR] = ACTIONS(925), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1011), - [anon_sym_LF] = ACTIONS(1011), - [anon_sym_AMP] = ACTIONS(1011), }, [326] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1013), - [anon_sym_PIPE] = ACTIONS(1013), - [anon_sym_PIPE_AMP] = ACTIONS(1013), - [anon_sym_AMP_AMP] = ACTIONS(1013), - [anon_sym_PIPE_PIPE] = ACTIONS(1013), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1013), - [anon_sym_LF] = ACTIONS(1013), - [anon_sym_AMP] = ACTIONS(1013), + [sym_string] = STATE(451), + [sym_array] = STATE(451), + [sym_simple_expansion] = STATE(451), + [sym_expansion] = STATE(451), + [sym_command_substitution] = STATE(451), + [sym_process_substitution] = STATE(451), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1033), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1035), + [sym_comment] = ACTIONS(115), }, [327] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1015), - [anon_sym_PIPE] = ACTIONS(1015), - [anon_sym_PIPE_AMP] = ACTIONS(1015), - [anon_sym_AMP_AMP] = ACTIONS(1015), - [anon_sym_PIPE_PIPE] = ACTIONS(1015), + [anon_sym_DQUOTE] = ACTIONS(931), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(955), + [anon_sym_DOLLAR] = ACTIONS(931), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1015), - [anon_sym_LF] = ACTIONS(1015), - [anon_sym_AMP] = ACTIONS(1015), }, [328] = { - [anon_sym_then] = ACTIONS(1017), + [sym_string] = STATE(452), + [sym_array] = STATE(452), + [sym_simple_expansion] = STATE(452), + [sym_expansion] = STATE(452), + [sym_command_substitution] = STATE(452), + [sym_process_substitution] = STATE(452), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1037), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1039), [sym_comment] = ACTIONS(115), }, [329] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1019), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), + [anon_sym_DQUOTE] = ACTIONS(847), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(961), + [anon_sym_DOLLAR] = ACTIONS(847), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_comment] = ACTIONS(73), }, [330] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1021), - [anon_sym_PIPE] = ACTIONS(1021), - [anon_sym_PIPE_AMP] = ACTIONS(1021), - [anon_sym_AMP_AMP] = ACTIONS(1021), - [anon_sym_PIPE_PIPE] = ACTIONS(1021), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1021), - [anon_sym_LF] = ACTIONS(1021), - [anon_sym_AMP] = ACTIONS(1021), - }, - [331] = { - [anon_sym_fi] = ACTIONS(1023), - [sym_comment] = ACTIONS(115), - }, - [332] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(430), - [anon_sym_fi] = ACTIONS(1023), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), - [sym_comment] = ACTIONS(115), - }, - [333] = { - [anon_sym_fi] = ACTIONS(1025), - [anon_sym_elif] = ACTIONS(1025), - [anon_sym_else] = ACTIONS(1025), - [sym_comment] = ACTIONS(115), - }, - [334] = { - [anon_sym_in] = ACTIONS(1027), - [sym_comment] = ACTIONS(115), - }, - [335] = { - [sym_do_group] = STATE(433), - [anon_sym_do] = ACTIONS(1029), - [sym_comment] = ACTIONS(115), - }, - [336] = { - [anon_sym_then] = ACTIONS(1031), - [sym_comment] = ACTIONS(115), - }, - [337] = { - [anon_sym_in] = ACTIONS(1033), - [anon_sym_SEMI_SEMI] = ACTIONS(1035), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1035), - [anon_sym_LF] = ACTIONS(1035), - [anon_sym_AMP] = ACTIONS(1035), - }, - [338] = { - [anon_sym_LPAREN] = ACTIONS(1037), - [sym_comment] = ACTIONS(115), - }, - [339] = { - [anon_sym_RPAREN] = ACTIONS(1039), - [anon_sym_PIPE] = ACTIONS(1041), - [anon_sym_PIPE_AMP] = ACTIONS(1039), - [anon_sym_AMP_AMP] = ACTIONS(1039), - [anon_sym_PIPE_PIPE] = ACTIONS(1039), - [sym_comment] = ACTIONS(115), - }, - [340] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(1043), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [341] = { - [sym_string] = STATE(123), - [sym_simple_expansion] = STATE(123), - [sym_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [sym_process_substitution] = STATE(123), - [anon_sym_RBRACK] = ACTIONS(1045), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(307), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(309), - [sym_comment] = ACTIONS(115), - }, - [342] = { - [sym_string] = STATE(123), - [sym_simple_expansion] = STATE(123), - [sym_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [sym_process_substitution] = STATE(123), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1045), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(307), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(309), - [sym_comment] = ACTIONS(115), - }, - [343] = { - [anon_sym_LT] = ACTIONS(1047), - [anon_sym_GT] = ACTIONS(1047), - [anon_sym_GT_GT] = ACTIONS(1049), - [anon_sym_AMP_GT] = ACTIONS(1047), - [anon_sym_AMP_GT_GT] = ACTIONS(1049), - [anon_sym_LT_AMP] = ACTIONS(1049), - [anon_sym_GT_AMP] = ACTIONS(1049), - [sym_comment] = ACTIONS(115), - }, - [344] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(442), - [aux_sym_command_repeat2] = STATE(443), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(677), - [anon_sym_PIPE] = ACTIONS(1051), - [anon_sym_PIPE_AMP] = ACTIONS(677), - [anon_sym_AMP_AMP] = ACTIONS(677), - [anon_sym_PIPE_PIPE] = ACTIONS(1051), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [345] = { - [sym_string] = STATE(293), - [sym_simple_expansion] = STATE(293), - [sym_expansion] = STATE(293), - [sym_command_substitution] = STATE(293), - [sym_process_substitution] = STATE(293), - [anon_sym_LT] = ACTIONS(1059), - [anon_sym_GT] = ACTIONS(1059), - [anon_sym_DQUOTE] = ACTIONS(1061), - [sym_raw_string] = ACTIONS(705), - [anon_sym_DOLLAR] = ACTIONS(1063), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1065), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1067), - [anon_sym_BQUOTE] = ACTIONS(1069), - [sym_word] = ACTIONS(707), - [sym_comment] = ACTIONS(115), - }, - [346] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(715), - [anon_sym_PIPE] = ACTIONS(1071), - [anon_sym_PIPE_AMP] = ACTIONS(715), - [anon_sym_AMP_AMP] = ACTIONS(715), - [anon_sym_PIPE_PIPE] = ACTIONS(715), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), - }, - [347] = { - [anon_sym_RPAREN] = ACTIONS(1073), - [sym_comment] = ACTIONS(115), - }, - [348] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(451), - [aux_sym_command_repeat2] = STATE(452), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(721), - [anon_sym_PIPE] = ACTIONS(1075), - [anon_sym_PIPE_AMP] = ACTIONS(721), - [anon_sym_AMP_AMP] = ACTIONS(721), - [anon_sym_PIPE_PIPE] = ACTIONS(1075), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [349] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(729), - [anon_sym_PIPE] = ACTIONS(1077), - [anon_sym_PIPE_AMP] = ACTIONS(729), - [anon_sym_AMP_AMP] = ACTIONS(729), - [anon_sym_PIPE_PIPE] = ACTIONS(729), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), - }, - [350] = { - [anon_sym_in] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [351] = { - [sym_for_statement] = STATE(453), - [sym_while_statement] = STATE(453), - [sym_if_statement] = STATE(453), - [sym_case_statement] = STATE(453), - [sym_function_definition] = STATE(453), - [sym_subshell] = STATE(453), - [sym_pipeline] = STATE(453), - [sym_list] = STATE(453), - [sym_bracket_command] = STATE(453), - [sym_command] = STATE(453), - [sym_environment_variable_assignment] = STATE(454), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [352] = { - [sym_for_statement] = STATE(455), - [sym_while_statement] = STATE(455), - [sym_if_statement] = STATE(455), - [sym_case_statement] = STATE(455), - [sym_function_definition] = STATE(455), - [sym_subshell] = STATE(455), - [sym_pipeline] = STATE(455), - [sym_list] = STATE(455), - [sym_bracket_command] = STATE(455), - [sym_command] = STATE(455), - [sym_environment_variable_assignment] = STATE(456), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [353] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(443), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(355), - [anon_sym_PIPE] = ACTIONS(355), - [anon_sym_PIPE_AMP] = ACTIONS(355), - [anon_sym_AMP_AMP] = ACTIONS(355), - [anon_sym_PIPE_PIPE] = ACTIONS(355), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1081), - [anon_sym_LT] = ACTIONS(805), - [anon_sym_GT] = ACTIONS(805), - [anon_sym_GT_GT] = ACTIONS(805), - [anon_sym_AMP_GT] = ACTIONS(805), - [anon_sym_AMP_GT_GT] = ACTIONS(805), - [anon_sym_LT_AMP] = ACTIONS(805), - [anon_sym_GT_AMP] = ACTIONS(805), - [anon_sym_LT_LT] = ACTIONS(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [354] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [aux_sym_command_repeat2] = STATE(459), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(465), - [anon_sym_PIPE] = ACTIONS(465), - [anon_sym_PIPE_AMP] = ACTIONS(465), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1083), - [anon_sym_EQ] = ACTIONS(407), - [anon_sym_LT] = ACTIONS(805), - [anon_sym_GT] = ACTIONS(805), - [anon_sym_GT_GT] = ACTIONS(805), - [anon_sym_AMP_GT] = ACTIONS(805), - [anon_sym_AMP_GT_GT] = ACTIONS(805), - [anon_sym_LT_AMP] = ACTIONS(805), - [anon_sym_GT_AMP] = ACTIONS(805), - [anon_sym_LT_LT] = ACTIONS(401), - [anon_sym_LT_LT_DASH] = ACTIONS(401), - [sym_comment] = ACTIONS(73), - }, - [355] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1085), - [anon_sym_PIPE] = ACTIONS(1085), - [anon_sym_PIPE_AMP] = ACTIONS(1085), - [anon_sym_AMP_AMP] = ACTIONS(1085), - [anon_sym_PIPE_PIPE] = ACTIONS(1085), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1085), - [anon_sym_LF] = ACTIONS(1085), - [anon_sym_AMP] = ACTIONS(1085), - }, - [356] = { - [anon_sym_RPAREN] = ACTIONS(1087), - [sym_comment] = ACTIONS(115), - }, - [357] = { - [sym_special_variable_name] = STATE(117), - [anon_sym_DOLLAR] = ACTIONS(1089), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(299), - [anon_sym_STAR] = ACTIONS(1089), - [anon_sym_AT] = ACTIONS(1089), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(1089), - [anon_sym_DASH] = ACTIONS(1089), - [anon_sym_BANG] = ACTIONS(1089), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [358] = { - [anon_sym_esac] = ACTIONS(1091), - [anon_sym_LT] = ACTIONS(1093), - [anon_sym_GT] = ACTIONS(1093), - [anon_sym_DQUOTE] = ACTIONS(1093), - [sym_raw_string] = ACTIONS(1091), - [anon_sym_DOLLAR] = ACTIONS(1091), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1093), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1093), - [anon_sym_BQUOTE] = ACTIONS(1093), - [sym_word] = ACTIONS(1095), - [sym_comment] = ACTIONS(115), - }, - [359] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(1097), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [360] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(463), - [anon_sym_esac] = ACTIONS(1097), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [361] = { - [anon_sym_RBRACE] = ACTIONS(1099), - [sym_comment] = ACTIONS(115), - }, - [362] = { - [anon_sym_RBRACE] = ACTIONS(1101), - [sym_comment] = ACTIONS(115), - }, - [363] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1103), - [anon_sym_PIPE] = ACTIONS(1103), - [anon_sym_PIPE_AMP] = ACTIONS(1103), - [anon_sym_AMP_AMP] = ACTIONS(1103), - [anon_sym_PIPE_PIPE] = ACTIONS(1103), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1103), - [anon_sym_LF] = ACTIONS(1103), - [anon_sym_AMP] = ACTIONS(1103), - }, - [364] = { - [anon_sym_RPAREN] = ACTIONS(1105), - [anon_sym_RBRACE] = ACTIONS(1105), - [anon_sym_RBRACK] = ACTIONS(1107), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1107), - [anon_sym_LT] = ACTIONS(1105), - [anon_sym_GT] = ACTIONS(1105), - [anon_sym_DQUOTE] = ACTIONS(1105), - [sym_raw_string] = ACTIONS(1107), - [anon_sym_DOLLAR] = ACTIONS(1107), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1105), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1105), - [anon_sym_BQUOTE] = ACTIONS(1105), - [sym_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(115), - }, - [365] = { - [anon_sym_RBRACE] = ACTIONS(1109), - [sym_comment] = ACTIONS(115), - }, - [366] = { - [anon_sym_RBRACE] = ACTIONS(1111), - [sym_comment] = ACTIONS(115), - }, - [367] = { - [anon_sym_RPAREN] = ACTIONS(1113), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [368] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1113), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [369] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(667), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_word] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [370] = { - [sym_file_descriptor] = ACTIONS(853), - [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(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR] = ACTIONS(837), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [371] = { - [sym_string] = STATE(469), - [sym_simple_expansion] = STATE(469), - [sym_expansion] = STATE(469), - [sym_command_substitution] = STATE(469), - [sym_process_substitution] = STATE(469), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1115), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1117), - [sym_comment] = ACTIONS(115), - }, - [372] = { - [sym_file_descriptor] = ACTIONS(861), - [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), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR] = ACTIONS(843), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_word] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [373] = { - [sym_string] = STATE(470), - [sym_simple_expansion] = STATE(470), - [sym_expansion] = STATE(470), - [sym_command_substitution] = STATE(470), - [sym_process_substitution] = STATE(470), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1119), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1121), - [sym_comment] = ACTIONS(115), - }, - [374] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR] = ACTIONS(733), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [375] = { - [anon_sym_RPAREN] = ACTIONS(1123), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [376] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1123), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [377] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [378] = { - [sym_file_descriptor] = ACTIONS(853), - [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(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [379] = { - [sym_string] = STATE(472), - [sym_simple_expansion] = STATE(472), - [sym_expansion] = STATE(472), - [sym_command_substitution] = STATE(472), - [sym_process_substitution] = STATE(472), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1125), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1127), - [sym_comment] = ACTIONS(115), - }, - [380] = { - [sym_file_descriptor] = ACTIONS(861), - [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), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [381] = { - [sym_string] = STATE(473), - [sym_simple_expansion] = STATE(473), - [sym_expansion] = STATE(473), - [sym_command_substitution] = STATE(473), - [sym_process_substitution] = STATE(473), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1129), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1131), - [sym_comment] = ACTIONS(115), - }, - [382] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [383] = { - [sym__heredoc_middle] = ACTIONS(525), - [sym__heredoc_end] = ACTIONS(525), - [anon_sym_DOLLAR] = ACTIONS(527), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), - [sym_comment] = ACTIONS(115), - }, - [384] = { - [sym__heredoc_middle] = ACTIONS(551), - [sym__heredoc_end] = ACTIONS(551), - [anon_sym_DOLLAR] = ACTIONS(553), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(551), - [sym_comment] = ACTIONS(115), - }, - [385] = { - [sym__heredoc_middle] = ACTIONS(555), - [sym__heredoc_end] = ACTIONS(555), - [anon_sym_DOLLAR] = ACTIONS(557), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(555), - [sym_comment] = ACTIONS(115), - }, - [386] = { - [anon_sym_RBRACE] = ACTIONS(1133), - [anon_sym_COLON] = ACTIONS(1135), - [anon_sym_EQ] = ACTIONS(1137), - [anon_sym_COLON_QMARK] = ACTIONS(1137), - [anon_sym_COLON_DASH] = ACTIONS(1137), - [sym_comment] = ACTIONS(115), - }, - [387] = { - [anon_sym_RBRACE] = ACTIONS(1139), - [anon_sym_COLON] = ACTIONS(1141), - [anon_sym_EQ] = ACTIONS(1143), - [anon_sym_COLON_QMARK] = ACTIONS(1143), - [anon_sym_COLON_DASH] = ACTIONS(1143), - [sym_comment] = ACTIONS(115), - }, - [388] = { - [sym__heredoc_middle] = ACTIONS(1145), - [sym__heredoc_end] = ACTIONS(1145), - [anon_sym_DOLLAR] = ACTIONS(1147), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1145), - [sym_comment] = ACTIONS(115), - }, - [389] = { - [sym_file_descriptor] = ACTIONS(1149), - [anon_sym_SEMI_SEMI] = ACTIONS(1151), - [anon_sym_PIPE] = ACTIONS(1151), - [anon_sym_PIPE_AMP] = ACTIONS(1151), - [anon_sym_AMP_AMP] = ACTIONS(1151), - [anon_sym_PIPE_PIPE] = ACTIONS(1151), - [anon_sym_LT] = ACTIONS(1151), - [anon_sym_GT] = ACTIONS(1151), - [anon_sym_GT_GT] = ACTIONS(1151), - [anon_sym_AMP_GT] = ACTIONS(1151), - [anon_sym_AMP_GT_GT] = ACTIONS(1151), - [anon_sym_LT_AMP] = ACTIONS(1151), - [anon_sym_GT_AMP] = ACTIONS(1151), - [anon_sym_LT_LT] = ACTIONS(1151), - [anon_sym_LT_LT_DASH] = ACTIONS(1151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1151), - [anon_sym_LF] = ACTIONS(1151), - [anon_sym_AMP] = ACTIONS(1151), - }, - [390] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1105), - [anon_sym_PIPE] = ACTIONS(1107), - [anon_sym_PIPE_AMP] = ACTIONS(1105), - [anon_sym_AMP_AMP] = ACTIONS(1107), - [anon_sym_PIPE_PIPE] = ACTIONS(1105), - [anon_sym_COLON] = ACTIONS(1105), - [anon_sym_LT] = ACTIONS(1107), - [anon_sym_GT] = ACTIONS(1107), - [anon_sym_GT_GT] = ACTIONS(1107), - [anon_sym_AMP_GT] = ACTIONS(1107), - [anon_sym_AMP_GT_GT] = ACTIONS(1107), - [anon_sym_LT_AMP] = ACTIONS(1107), - [anon_sym_GT_AMP] = ACTIONS(1107), - [anon_sym_DQUOTE] = ACTIONS(1105), - [sym_raw_string] = ACTIONS(1107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1105), - [anon_sym_BQUOTE] = ACTIONS(1105), - [sym_leading_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(115), - }, - [391] = { - [anon_sym_RBRACE] = ACTIONS(1153), - [sym_comment] = ACTIONS(115), - }, - [392] = { - [anon_sym_RBRACE] = ACTIONS(1155), - [sym_comment] = ACTIONS(115), - }, - [393] = { - [anon_sym_RBRACE] = ACTIONS(1157), - [sym_comment] = ACTIONS(115), - }, - [394] = { - [anon_sym_RBRACE] = ACTIONS(1159), - [sym_comment] = ACTIONS(115), - }, - [395] = { - [sym_file_descriptor] = ACTIONS(475), - [anon_sym_RPAREN] = ACTIONS(475), - [anon_sym_PIPE] = ACTIONS(477), - [anon_sym_PIPE_AMP] = ACTIONS(475), - [anon_sym_AMP_AMP] = ACTIONS(475), - [anon_sym_PIPE_PIPE] = ACTIONS(475), - [anon_sym_LT] = ACTIONS(477), - [anon_sym_GT] = ACTIONS(477), - [anon_sym_GT_GT] = ACTIONS(475), - [anon_sym_AMP_GT] = ACTIONS(477), - [anon_sym_AMP_GT_GT] = ACTIONS(475), - [anon_sym_LT_AMP] = ACTIONS(475), - [anon_sym_GT_AMP] = ACTIONS(475), - [anon_sym_LT_LT] = ACTIONS(477), - [anon_sym_LT_LT_DASH] = ACTIONS(475), - [anon_sym_BQUOTE] = ACTIONS(475), - [sym_comment] = ACTIONS(115), - }, - [396] = { - [sym_for_statement] = STATE(482), - [sym_while_statement] = STATE(482), - [sym_if_statement] = STATE(482), - [sym_case_statement] = STATE(482), - [sym_function_definition] = STATE(482), - [sym_subshell] = STATE(482), - [sym_pipeline] = STATE(482), - [sym_list] = STATE(482), - [sym_bracket_command] = STATE(482), - [sym_command] = STATE(482), - [sym_environment_variable_assignment] = STATE(483), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [397] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(375), - [anon_sym_PIPE] = ACTIONS(547), - [anon_sym_PIPE_AMP] = ACTIONS(375), - [anon_sym_AMP_AMP] = ACTIONS(375), - [anon_sym_PIPE_PIPE] = ACTIONS(547), - [anon_sym_LT] = ACTIONS(547), - [anon_sym_GT] = ACTIONS(547), - [anon_sym_GT_GT] = ACTIONS(375), - [anon_sym_AMP_GT] = ACTIONS(547), - [anon_sym_AMP_GT_GT] = ACTIONS(375), - [anon_sym_LT_AMP] = ACTIONS(375), - [anon_sym_GT_AMP] = ACTIONS(375), - [anon_sym_LT_LT] = ACTIONS(547), - [anon_sym_LT_LT_DASH] = ACTIONS(375), - [anon_sym_DQUOTE] = ACTIONS(375), - [sym_raw_string] = ACTIONS(547), - [anon_sym_DOLLAR] = ACTIONS(547), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(375), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(375), - [anon_sym_BQUOTE] = ACTIONS(375), - [sym_word] = ACTIONS(377), - [sym_comment] = ACTIONS(115), - }, - [398] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(1161), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [399] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(525), - [anon_sym_PIPE] = ACTIONS(527), - [anon_sym_PIPE_AMP] = ACTIONS(525), - [anon_sym_AMP_AMP] = ACTIONS(525), - [anon_sym_PIPE_PIPE] = ACTIONS(527), - [anon_sym_LT] = ACTIONS(527), - [anon_sym_GT] = ACTIONS(527), - [anon_sym_GT_GT] = ACTIONS(525), - [anon_sym_AMP_GT] = ACTIONS(527), - [anon_sym_AMP_GT_GT] = ACTIONS(525), - [anon_sym_LT_AMP] = ACTIONS(525), - [anon_sym_GT_AMP] = ACTIONS(525), - [anon_sym_LT_LT] = ACTIONS(527), - [anon_sym_LT_LT_DASH] = ACTIONS(525), - [anon_sym_DQUOTE] = ACTIONS(525), - [sym_raw_string] = ACTIONS(527), - [anon_sym_DOLLAR] = ACTIONS(527), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(525), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(525), - [anon_sym_BQUOTE] = ACTIONS(525), - [sym_word] = ACTIONS(519), - [sym_comment] = ACTIONS(115), - }, - [400] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(551), - [anon_sym_PIPE] = ACTIONS(553), - [anon_sym_PIPE_AMP] = ACTIONS(551), - [anon_sym_AMP_AMP] = ACTIONS(551), - [anon_sym_PIPE_PIPE] = ACTIONS(553), - [anon_sym_LT] = ACTIONS(553), - [anon_sym_GT] = ACTIONS(553), - [anon_sym_GT_GT] = ACTIONS(551), - [anon_sym_AMP_GT] = ACTIONS(553), - [anon_sym_AMP_GT_GT] = ACTIONS(551), - [anon_sym_LT_AMP] = ACTIONS(551), - [anon_sym_GT_AMP] = ACTIONS(551), - [anon_sym_LT_LT] = ACTIONS(553), - [anon_sym_LT_LT_DASH] = ACTIONS(551), - [anon_sym_DQUOTE] = ACTIONS(551), - [sym_raw_string] = ACTIONS(553), - [anon_sym_DOLLAR] = ACTIONS(553), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(551), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(551), - [anon_sym_BQUOTE] = ACTIONS(551), - [sym_word] = ACTIONS(521), - [sym_comment] = ACTIONS(115), - }, - [401] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(555), - [anon_sym_PIPE] = ACTIONS(557), - [anon_sym_PIPE_AMP] = ACTIONS(555), - [anon_sym_AMP_AMP] = ACTIONS(555), - [anon_sym_PIPE_PIPE] = ACTIONS(557), - [anon_sym_LT] = ACTIONS(557), - [anon_sym_GT] = ACTIONS(557), - [anon_sym_GT_GT] = ACTIONS(555), - [anon_sym_AMP_GT] = ACTIONS(557), - [anon_sym_AMP_GT_GT] = ACTIONS(555), - [anon_sym_LT_AMP] = ACTIONS(555), - [anon_sym_GT_AMP] = ACTIONS(555), - [anon_sym_LT_LT] = ACTIONS(557), - [anon_sym_LT_LT_DASH] = ACTIONS(555), - [anon_sym_DQUOTE] = ACTIONS(555), - [sym_raw_string] = ACTIONS(557), - [anon_sym_DOLLAR] = ACTIONS(557), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(555), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(555), - [anon_sym_BQUOTE] = ACTIONS(555), - [sym_word] = ACTIONS(523), - [sym_comment] = ACTIONS(115), - }, - [402] = { - [anon_sym_RBRACE] = ACTIONS(1163), - [anon_sym_COLON] = ACTIONS(1165), - [anon_sym_EQ] = ACTIONS(1167), - [anon_sym_COLON_QMARK] = ACTIONS(1167), - [anon_sym_COLON_DASH] = ACTIONS(1167), - [sym_comment] = ACTIONS(115), - }, - [403] = { - [anon_sym_RBRACE] = ACTIONS(1169), - [anon_sym_COLON] = ACTIONS(1171), - [anon_sym_EQ] = ACTIONS(1173), - [anon_sym_COLON_QMARK] = ACTIONS(1173), - [anon_sym_COLON_DASH] = ACTIONS(1173), - [sym_comment] = ACTIONS(115), - }, - [404] = { - [anon_sym_RPAREN] = ACTIONS(1175), - [sym_comment] = ACTIONS(115), - }, - [405] = { - [anon_sym_BQUOTE] = ACTIONS(1175), - [sym_comment] = ACTIONS(115), - }, - [406] = { - [sym_file_descriptor] = ACTIONS(577), - [anon_sym_RPAREN] = ACTIONS(577), - [anon_sym_PIPE] = ACTIONS(575), - [anon_sym_PIPE_AMP] = ACTIONS(577), - [anon_sym_AMP_AMP] = ACTIONS(577), - [anon_sym_PIPE_PIPE] = ACTIONS(575), - [anon_sym_LT] = ACTIONS(575), - [anon_sym_GT] = ACTIONS(575), - [anon_sym_GT_GT] = ACTIONS(577), - [anon_sym_AMP_GT] = ACTIONS(575), - [anon_sym_AMP_GT_GT] = ACTIONS(577), - [anon_sym_LT_AMP] = ACTIONS(577), - [anon_sym_GT_AMP] = ACTIONS(577), - [anon_sym_LT_LT] = ACTIONS(575), - [anon_sym_LT_LT_DASH] = ACTIONS(577), - [anon_sym_DQUOTE] = ACTIONS(577), - [sym_raw_string] = ACTIONS(575), - [anon_sym_DOLLAR] = ACTIONS(575), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), - [anon_sym_BQUOTE] = ACTIONS(577), - [sym_word] = ACTIONS(579), - [sym_comment] = ACTIONS(115), - }, - [407] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1177), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(1177), - [sym_comment] = ACTIONS(115), - }, - [408] = { - [sym_file_descriptor] = ACTIONS(909), - [anon_sym_RPAREN] = ACTIONS(909), - [anon_sym_PIPE] = ACTIONS(1179), - [anon_sym_PIPE_AMP] = ACTIONS(909), - [anon_sym_AMP_AMP] = ACTIONS(909), - [anon_sym_PIPE_PIPE] = ACTIONS(909), - [anon_sym_LT] = ACTIONS(1179), - [anon_sym_GT] = ACTIONS(1179), - [anon_sym_GT_GT] = ACTIONS(909), - [anon_sym_AMP_GT] = ACTIONS(1179), - [anon_sym_AMP_GT_GT] = ACTIONS(909), - [anon_sym_LT_AMP] = ACTIONS(909), - [anon_sym_GT_AMP] = ACTIONS(909), - [anon_sym_LT_LT] = ACTIONS(1179), - [anon_sym_LT_LT_DASH] = ACTIONS(909), - [anon_sym_BQUOTE] = ACTIONS(909), - [sym_comment] = ACTIONS(115), - }, - [409] = { - [sym_simple_expansion] = STATE(388), - [sym_expansion] = STATE(388), - [sym__heredoc_middle] = ACTIONS(921), - [sym__heredoc_end] = ACTIONS(1181), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [410] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1183), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(1183), - [sym_comment] = ACTIONS(115), - }, - [411] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(491), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1185), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), - }, - [412] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(492), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), - }, - [413] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1189), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(1189), - [sym_comment] = ACTIONS(115), - }, - [414] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(491), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(1185), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), - }, - [415] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(492), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_LT] = ACTIONS(679), - [anon_sym_GT] = ACTIONS(679), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(1187), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), - }, - [416] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1191), - [anon_sym_PIPE] = ACTIONS(1191), - [anon_sym_PIPE_AMP] = ACTIONS(1191), - [anon_sym_AMP_AMP] = ACTIONS(1191), - [anon_sym_PIPE_PIPE] = ACTIONS(1191), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1191), - [anon_sym_LF] = ACTIONS(1191), - [anon_sym_AMP] = ACTIONS(1191), - }, - [417] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1193), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [418] = { - [anon_sym_RPAREN] = ACTIONS(1195), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [419] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1195), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [420] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_leading_word] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [421] = { - [sym_file_descriptor] = ACTIONS(853), - [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_COLON] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_leading_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [422] = { - [sym_string] = STATE(495), - [sym_simple_expansion] = STATE(495), - [sym_expansion] = STATE(495), - [sym_command_substitution] = STATE(495), - [sym_process_substitution] = STATE(495), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1197), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1199), - [sym_comment] = ACTIONS(115), - }, - [423] = { - [sym_file_descriptor] = ACTIONS(861), - [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), - [anon_sym_COLON] = ACTIONS(843), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_leading_word] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [424] = { - [sym_string] = STATE(496), - [sym_simple_expansion] = STATE(496), - [sym_expansion] = STATE(496), - [sym_command_substitution] = STATE(496), - [sym_process_substitution] = STATE(496), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1201), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1203), - [sym_comment] = ACTIONS(115), - }, - [425] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_leading_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [426] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(1205), - [anon_sym_PIPE] = ACTIONS(1205), - [anon_sym_PIPE_AMP] = ACTIONS(1205), - [anon_sym_AMP_AMP] = ACTIONS(1205), - [anon_sym_PIPE_PIPE] = ACTIONS(1205), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1205), - [anon_sym_LF] = ACTIONS(1205), - [anon_sym_AMP] = ACTIONS(1205), - }, - [427] = { - [sym_file_redirect] = STATE(144), - [sym_heredoc_redirect] = STATE(144), - [sym_file_descriptor] = ACTIONS(159), - [anon_sym_SEMI_SEMI] = ACTIONS(1207), - [anon_sym_PIPE] = ACTIONS(1207), - [anon_sym_PIPE_AMP] = ACTIONS(1207), - [anon_sym_AMP_AMP] = ACTIONS(1207), - [anon_sym_PIPE_PIPE] = ACTIONS(1207), - [anon_sym_LT] = ACTIONS(165), - [anon_sym_GT] = ACTIONS(165), - [anon_sym_GT_GT] = ACTIONS(165), - [anon_sym_AMP_GT] = ACTIONS(165), - [anon_sym_AMP_GT_GT] = ACTIONS(165), - [anon_sym_LT_AMP] = ACTIONS(165), - [anon_sym_GT_AMP] = ACTIONS(165), - [anon_sym_LT_LT] = ACTIONS(167), - [anon_sym_LT_LT_DASH] = ACTIONS(167), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1207), - [anon_sym_LF] = ACTIONS(1207), - [anon_sym_AMP] = ACTIONS(1207), - }, - [428] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(497), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1209), - [anon_sym_elif] = ACTIONS(1209), - [anon_sym_else] = ACTIONS(1209), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [429] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1211), - [anon_sym_PIPE] = ACTIONS(1211), - [anon_sym_PIPE_AMP] = ACTIONS(1211), - [anon_sym_AMP_AMP] = ACTIONS(1211), - [anon_sym_PIPE_PIPE] = ACTIONS(1211), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1211), - [anon_sym_LF] = ACTIONS(1211), - [anon_sym_AMP] = ACTIONS(1211), - }, - [430] = { - [anon_sym_fi] = ACTIONS(1213), - [sym_comment] = ACTIONS(115), - }, - [431] = { - [sym__terminated_statement] = STATE(499), + [sym__terminated_statement] = STATE(453), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -18855,7 +18016,7 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [432] = { + [331] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -18871,12 +18032,12 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(501), + [aux_sym_program_repeat1] = STATE(455), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(1215), + [anon_sym_done] = ACTIONS(1041), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), @@ -18898,1177 +18059,3174 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [433] = { + [332] = { + [anon_sym_RPAREN] = ACTIONS(1043), + [anon_sym_PIPE] = ACTIONS(1045), + [anon_sym_PIPE_AMP] = ACTIONS(1043), + [anon_sym_AMP_AMP] = ACTIONS(1043), + [anon_sym_PIPE_PIPE] = ACTIONS(1043), + [anon_sym_BQUOTE] = ACTIONS(1043), + [sym_comment] = ACTIONS(115), + }, + [333] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(457), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(458), + [aux_sym_if_statement_repeat1] = STATE(459), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1047), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [334] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1049), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1049), + [anon_sym_LF] = ACTIONS(1049), + [anon_sym_AMP] = ACTIONS(1049), + }, + [335] = { + [anon_sym_in] = ACTIONS(1051), + [sym_comment] = ACTIONS(115), + }, + [336] = { + [anon_sym_RPAREN] = ACTIONS(1053), + [sym_comment] = ACTIONS(115), + }, + [337] = { + [anon_sym_RPAREN] = ACTIONS(1055), + [anon_sym_PIPE] = ACTIONS(1057), + [anon_sym_PIPE_AMP] = ACTIONS(1055), + [anon_sym_AMP_AMP] = ACTIONS(1055), + [anon_sym_PIPE_PIPE] = ACTIONS(1055), + [anon_sym_BQUOTE] = ACTIONS(1055), + [sym_comment] = ACTIONS(115), + }, + [338] = { + [anon_sym_RPAREN] = ACTIONS(1059), + [anon_sym_PIPE] = ACTIONS(1061), + [anon_sym_PIPE_AMP] = ACTIONS(1059), + [anon_sym_AMP_AMP] = ACTIONS(1059), + [anon_sym_PIPE_PIPE] = ACTIONS(1059), + [anon_sym_BQUOTE] = ACTIONS(1059), + [sym_comment] = ACTIONS(115), + }, + [339] = { + [sym_string] = STATE(463), + [sym_array] = STATE(463), + [sym_simple_expansion] = STATE(463), + [sym_expansion] = STATE(463), + [sym_command_substitution] = STATE(463), + [sym_process_substitution] = STATE(463), + [anon_sym_LPAREN] = ACTIONS(797), + [anon_sym_LT] = ACTIONS(799), + [anon_sym_GT] = ACTIONS(799), + [anon_sym_DQUOTE] = ACTIONS(801), + [sym_raw_string] = ACTIONS(1063), + [anon_sym_DOLLAR] = ACTIONS(805), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(807), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(809), + [anon_sym_BQUOTE] = ACTIONS(811), + [sym_word] = ACTIONS(1065), + [sym_comment] = ACTIONS(115), + }, + [340] = { + [aux_sym_array_repeat1] = STATE(465), + [anon_sym_RPAREN] = ACTIONS(1067), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [341] = { + [sym_string] = STATE(353), + [sym_array] = STATE(353), + [sym_simple_expansion] = STATE(353), + [sym_expansion] = STATE(353), + [sym_command_substitution] = STATE(353), + [sym_process_substitution] = STATE(353), + [anon_sym_LPAREN] = ACTIONS(1069), + [anon_sym_LT] = ACTIONS(799), + [anon_sym_GT] = ACTIONS(799), + [anon_sym_DQUOTE] = ACTIONS(801), + [sym_raw_string] = ACTIONS(803), + [anon_sym_DOLLAR] = ACTIONS(805), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(807), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(809), + [anon_sym_BQUOTE] = ACTIONS(811), + [sym_word] = ACTIONS(813), + [sym_comment] = ACTIONS(115), + }, + [342] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(468), + [anon_sym_DQUOTE] = ACTIONS(1071), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [343] = { + [sym_file_descriptor] = ACTIONS(323), + [anon_sym_RPAREN] = ACTIONS(323), + [anon_sym_LPAREN] = ACTIONS(323), + [anon_sym_PIPE] = ACTIONS(325), + [anon_sym_PIPE_AMP] = ACTIONS(323), + [anon_sym_AMP_AMP] = ACTIONS(323), + [anon_sym_PIPE_PIPE] = ACTIONS(325), + [anon_sym_LT] = ACTIONS(325), + [anon_sym_GT] = ACTIONS(325), + [anon_sym_GT_GT] = ACTIONS(323), + [anon_sym_AMP_GT] = ACTIONS(325), + [anon_sym_AMP_GT_GT] = ACTIONS(323), + [anon_sym_LT_AMP] = ACTIONS(323), + [anon_sym_GT_AMP] = ACTIONS(323), + [anon_sym_LT_LT] = ACTIONS(325), + [anon_sym_LT_LT_DASH] = ACTIONS(323), + [anon_sym_DQUOTE] = ACTIONS(323), + [sym_raw_string] = ACTIONS(325), + [anon_sym_DOLLAR] = ACTIONS(325), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(323), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(323), + [anon_sym_BQUOTE] = ACTIONS(323), + [sym_word] = ACTIONS(327), + [sym_comment] = ACTIONS(115), + }, + [344] = { + [sym_special_variable_name] = STATE(471), + [anon_sym_DOLLAR] = ACTIONS(1073), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(1075), + [anon_sym_STAR] = ACTIONS(1073), + [anon_sym_AT] = ACTIONS(1073), + [anon_sym_POUND] = ACTIONS(1077), + [anon_sym_QMARK] = ACTIONS(1073), + [anon_sym_DASH] = ACTIONS(1073), + [anon_sym_BANG] = ACTIONS(1073), + [anon_sym_0] = ACTIONS(1077), + [anon_sym__] = ACTIONS(1077), + }, + [345] = { + [sym_special_variable_name] = STATE(473), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(1079), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [346] = { + [sym_for_statement] = STATE(474), + [sym_while_statement] = STATE(474), + [sym_if_statement] = STATE(474), + [sym_case_statement] = STATE(474), + [sym_function_definition] = STATE(474), + [sym_subshell] = STATE(474), + [sym_pipeline] = STATE(474), + [sym_list] = STATE(474), + [sym_bracket_command] = STATE(474), + [sym_command] = STATE(474), + [sym_environment_variable_assignment] = STATE(475), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [347] = { + [sym_for_statement] = STATE(476), + [sym_while_statement] = STATE(476), + [sym_if_statement] = STATE(476), + [sym_case_statement] = STATE(476), + [sym_function_definition] = STATE(476), + [sym_subshell] = STATE(476), + [sym_pipeline] = STATE(476), + [sym_list] = STATE(476), + [sym_bracket_command] = STATE(476), + [sym_command] = STATE(476), + [sym_environment_variable_assignment] = STATE(477), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [348] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(479), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1081), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1083), + [anon_sym_PIPE_AMP] = ACTIONS(1081), + [anon_sym_AMP_AMP] = ACTIONS(1081), + [anon_sym_PIPE_PIPE] = ACTIONS(1083), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(1087), + [sym_comment] = ACTIONS(115), + }, + [349] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1089), + [anon_sym_PIPE] = ACTIONS(1091), + [anon_sym_PIPE_AMP] = ACTIONS(1089), + [anon_sym_AMP_AMP] = ACTIONS(1089), + [anon_sym_PIPE_PIPE] = ACTIONS(1089), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1089), + [sym_comment] = ACTIONS(115), + }, + [350] = { + [aux_sym_array_repeat1] = STATE(481), + [anon_sym_RPAREN] = ACTIONS(1093), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [351] = { + [anon_sym_LPAREN] = ACTIONS(1095), + [sym_comment] = ACTIONS(115), + }, + [352] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(484), + [anon_sym_DQUOTE] = ACTIONS(1097), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [353] = { + [sym_file_descriptor] = ACTIONS(399), + [anon_sym_RPAREN] = ACTIONS(399), + [anon_sym_PIPE] = ACTIONS(401), + [anon_sym_PIPE_AMP] = ACTIONS(399), + [anon_sym_AMP_AMP] = ACTIONS(399), + [anon_sym_PIPE_PIPE] = ACTIONS(399), + [anon_sym_LT] = ACTIONS(401), + [anon_sym_GT] = ACTIONS(401), + [anon_sym_GT_GT] = ACTIONS(399), + [anon_sym_AMP_GT] = ACTIONS(401), + [anon_sym_AMP_GT_GT] = ACTIONS(399), + [anon_sym_LT_AMP] = ACTIONS(399), + [anon_sym_GT_AMP] = ACTIONS(399), + [anon_sym_LT_LT] = ACTIONS(401), + [anon_sym_LT_LT_DASH] = ACTIONS(399), + [anon_sym_BQUOTE] = ACTIONS(399), + [sym_comment] = ACTIONS(115), + }, + [354] = { + [sym_special_variable_name] = STATE(487), + [anon_sym_DOLLAR] = ACTIONS(1099), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(1101), + [anon_sym_STAR] = ACTIONS(1099), + [anon_sym_AT] = ACTIONS(1099), + [anon_sym_POUND] = ACTIONS(1103), + [anon_sym_QMARK] = ACTIONS(1099), + [anon_sym_DASH] = ACTIONS(1099), + [anon_sym_BANG] = ACTIONS(1099), + [anon_sym_0] = ACTIONS(1103), + [anon_sym__] = ACTIONS(1103), + }, + [355] = { + [sym_special_variable_name] = STATE(489), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(1105), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [356] = { + [sym_for_statement] = STATE(490), + [sym_while_statement] = STATE(490), + [sym_if_statement] = STATE(490), + [sym_case_statement] = STATE(490), + [sym_function_definition] = STATE(490), + [sym_subshell] = STATE(490), + [sym_pipeline] = STATE(490), + [sym_list] = STATE(490), + [sym_bracket_command] = STATE(490), + [sym_command] = STATE(490), + [sym_environment_variable_assignment] = STATE(491), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [357] = { + [sym_for_statement] = STATE(492), + [sym_while_statement] = STATE(492), + [sym_if_statement] = STATE(492), + [sym_case_statement] = STATE(492), + [sym_function_definition] = STATE(492), + [sym_subshell] = STATE(492), + [sym_pipeline] = STATE(492), + [sym_list] = STATE(492), + [sym_bracket_command] = STATE(492), + [sym_command] = STATE(492), + [sym_environment_variable_assignment] = STATE(493), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [358] = { + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(683), + [anon_sym_PIPE] = ACTIONS(1107), + [anon_sym_PIPE_AMP] = ACTIONS(683), + [anon_sym_AMP_AMP] = ACTIONS(683), + [anon_sym_PIPE_PIPE] = ACTIONS(683), + [anon_sym_LT] = ACTIONS(1107), + [anon_sym_GT] = ACTIONS(1107), + [anon_sym_GT_GT] = ACTIONS(683), + [anon_sym_AMP_GT] = ACTIONS(1107), + [anon_sym_AMP_GT_GT] = ACTIONS(683), + [anon_sym_LT_AMP] = ACTIONS(683), + [anon_sym_GT_AMP] = ACTIONS(683), + [anon_sym_LT_LT] = ACTIONS(1107), + [anon_sym_LT_LT_DASH] = ACTIONS(683), + [anon_sym_BQUOTE] = ACTIONS(683), + [sym_comment] = ACTIONS(115), + }, + [359] = { + [sym_simple_expansion] = STATE(311), + [sym_expansion] = STATE(311), + [aux_sym_heredoc_repeat1] = STATE(495), + [sym__heredoc_middle] = ACTIONS(687), + [sym__heredoc_end] = ACTIONS(1109), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [sym_comment] = ACTIONS(115), + }, + [360] = { + [sym_file_descriptor] = ACTIONS(695), + [anon_sym_RPAREN] = ACTIONS(695), + [anon_sym_PIPE] = ACTIONS(1111), + [anon_sym_PIPE_AMP] = ACTIONS(695), + [anon_sym_AMP_AMP] = ACTIONS(695), + [anon_sym_PIPE_PIPE] = ACTIONS(695), + [anon_sym_LT] = ACTIONS(1111), + [anon_sym_GT] = ACTIONS(1111), + [anon_sym_GT_GT] = ACTIONS(695), + [anon_sym_AMP_GT] = ACTIONS(1111), + [anon_sym_AMP_GT_GT] = ACTIONS(695), + [anon_sym_LT_AMP] = ACTIONS(695), + [anon_sym_GT_AMP] = ACTIONS(695), + [anon_sym_LT_LT] = ACTIONS(1111), + [anon_sym_LT_LT_DASH] = ACTIONS(695), + [anon_sym_BQUOTE] = ACTIONS(695), + [sym_comment] = ACTIONS(115), + }, + [361] = { + [sym_file_descriptor] = ACTIONS(699), + [anon_sym_RPAREN] = ACTIONS(699), + [anon_sym_PIPE] = ACTIONS(1113), + [anon_sym_PIPE_AMP] = ACTIONS(699), + [anon_sym_AMP_AMP] = ACTIONS(699), + [anon_sym_PIPE_PIPE] = ACTIONS(699), + [anon_sym_LT] = ACTIONS(1113), + [anon_sym_GT] = ACTIONS(1113), + [anon_sym_GT_GT] = ACTIONS(699), + [anon_sym_AMP_GT] = ACTIONS(1113), + [anon_sym_AMP_GT_GT] = ACTIONS(699), + [anon_sym_LT_AMP] = ACTIONS(699), + [anon_sym_GT_AMP] = ACTIONS(699), + [anon_sym_LT_LT] = ACTIONS(1113), + [anon_sym_LT_LT_DASH] = ACTIONS(699), + [anon_sym_BQUOTE] = ACTIONS(699), + [sym_comment] = ACTIONS(115), + }, + [362] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + }, + [363] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + }, + [364] = { + [sym_compound_statement] = STATE(497), + [anon_sym_LBRACE] = ACTIONS(1115), + [sym_comment] = ACTIONS(115), + }, + [365] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(498), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1117), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1119), + [anon_sym_PIPE_AMP] = ACTIONS(1117), + [anon_sym_AMP_AMP] = ACTIONS(1117), + [anon_sym_PIPE_PIPE] = ACTIONS(1119), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(1087), + [sym_comment] = ACTIONS(115), + }, + [366] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1121), + [anon_sym_PIPE] = ACTIONS(1123), + [anon_sym_PIPE_AMP] = ACTIONS(1121), + [anon_sym_AMP_AMP] = ACTIONS(1121), + [anon_sym_PIPE_PIPE] = ACTIONS(1121), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1121), + [sym_comment] = ACTIONS(115), + }, + [367] = { + [sym_file_descriptor] = ACTIONS(863), + [anon_sym_RPAREN] = ACTIONS(863), + [anon_sym_PIPE] = ACTIONS(1125), + [anon_sym_PIPE_AMP] = ACTIONS(863), + [anon_sym_AMP_AMP] = ACTIONS(1125), + [anon_sym_PIPE_PIPE] = ACTIONS(863), + [anon_sym_COLON] = ACTIONS(863), + [anon_sym_LT] = ACTIONS(1125), + [anon_sym_GT] = ACTIONS(1125), + [anon_sym_GT_GT] = ACTIONS(1125), + [anon_sym_AMP_GT] = ACTIONS(1125), + [anon_sym_AMP_GT_GT] = ACTIONS(1125), + [anon_sym_LT_AMP] = ACTIONS(1125), + [anon_sym_GT_AMP] = ACTIONS(1125), + [anon_sym_DQUOTE] = ACTIONS(863), + [sym_raw_string] = ACTIONS(1125), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(863), + [anon_sym_BQUOTE] = ACTIONS(863), + [sym_leading_word] = ACTIONS(865), + [sym_comment] = ACTIONS(115), + }, + [368] = { + [anon_sym_RPAREN] = ACTIONS(1127), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1127), + [anon_sym_PIPE_PIPE] = ACTIONS(1127), + [anon_sym_BQUOTE] = ACTIONS(1127), + [sym_comment] = ACTIONS(115), + }, + [369] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1127), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1129), + [anon_sym_PIPE_PIPE] = ACTIONS(1127), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [370] = { + [anon_sym_RPAREN] = ACTIONS(1131), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(1131), + [anon_sym_PIPE_PIPE] = ACTIONS(1131), + [sym_comment] = ACTIONS(115), + }, + [371] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1131), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(1133), + [anon_sym_PIPE_PIPE] = ACTIONS(1131), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [372] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(499), + [aux_sym_command_repeat2] = STATE(479), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1081), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1083), + [anon_sym_PIPE_AMP] = ACTIONS(1081), + [anon_sym_AMP_AMP] = ACTIONS(1081), + [anon_sym_PIPE_PIPE] = ACTIONS(1083), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [373] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(500), + [aux_sym_command_repeat2] = STATE(501), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1135), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1137), + [anon_sym_PIPE_AMP] = ACTIONS(1135), + [anon_sym_AMP_AMP] = ACTIONS(1135), + [anon_sym_PIPE_PIPE] = ACTIONS(1137), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [374] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1139), + [anon_sym_PIPE] = ACTIONS(1141), + [anon_sym_PIPE_AMP] = ACTIONS(1139), + [anon_sym_AMP_AMP] = ACTIONS(1139), + [anon_sym_PIPE_PIPE] = ACTIONS(1139), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1139), + [sym_comment] = ACTIONS(115), + }, + [375] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(479), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1083), + [anon_sym_PIPE_AMP] = ACTIONS(1081), + [anon_sym_AMP_AMP] = ACTIONS(1081), + [anon_sym_PIPE_PIPE] = ACTIONS(1083), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(1081), + [sym_word] = ACTIONS(1087), + [sym_comment] = ACTIONS(115), + }, + [376] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(498), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1119), + [anon_sym_PIPE_AMP] = ACTIONS(1117), + [anon_sym_AMP_AMP] = ACTIONS(1117), + [anon_sym_PIPE_PIPE] = ACTIONS(1119), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(1117), + [sym_word] = ACTIONS(1087), + [sym_comment] = ACTIONS(115), + }, + [377] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(1129), + [anon_sym_PIPE_AMP] = ACTIONS(1127), + [anon_sym_AMP_AMP] = ACTIONS(1129), + [anon_sym_PIPE_PIPE] = ACTIONS(1127), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1127), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [378] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(1131), + [anon_sym_PIPE_PIPE] = ACTIONS(1131), + [anon_sym_BQUOTE] = ACTIONS(1131), + [sym_comment] = ACTIONS(115), + }, + [379] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(1133), + [anon_sym_PIPE_PIPE] = ACTIONS(1131), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [380] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(502), + [aux_sym_command_repeat2] = STATE(479), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1083), + [anon_sym_PIPE_AMP] = ACTIONS(1081), + [anon_sym_AMP_AMP] = ACTIONS(1081), + [anon_sym_PIPE_PIPE] = ACTIONS(1083), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(1081), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [381] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(343), + [sym_array] = STATE(343), + [sym_simple_expansion] = STATE(343), + [sym_expansion] = STATE(343), + [sym_command_substitution] = STATE(343), + [sym_process_substitution] = STATE(343), + [aux_sym_bracket_command_repeat1] = STATE(503), + [aux_sym_command_repeat2] = STATE(501), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1137), + [anon_sym_PIPE_AMP] = ACTIONS(1135), + [anon_sym_AMP_AMP] = ACTIONS(1135), + [anon_sym_PIPE_PIPE] = ACTIONS(1137), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(785), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(1135), + [sym_word] = ACTIONS(795), + [sym_comment] = ACTIONS(115), + }, + [382] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(505), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(1143), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [383] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1145), + [anon_sym_PIPE] = ACTIONS(1145), + [anon_sym_PIPE_AMP] = ACTIONS(1145), + [anon_sym_AMP_AMP] = ACTIONS(1145), + [anon_sym_PIPE_PIPE] = ACTIONS(1145), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1145), + [anon_sym_LF] = ACTIONS(1145), + [anon_sym_AMP] = ACTIONS(1145), + }, + [384] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1147), + [anon_sym_PIPE] = ACTIONS(1147), + [anon_sym_PIPE_AMP] = ACTIONS(1147), + [anon_sym_AMP_AMP] = ACTIONS(1147), + [anon_sym_PIPE_PIPE] = ACTIONS(1147), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1147), + [anon_sym_LF] = ACTIONS(1147), + [anon_sym_AMP] = ACTIONS(1147), + }, + [385] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_COLON] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_leading_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [386] = { + [anon_sym_RPAREN] = ACTIONS(1149), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [387] = { + [sym_for_statement] = STATE(507), + [sym_while_statement] = STATE(507), + [sym_if_statement] = STATE(507), + [sym_case_statement] = STATE(507), + [sym_function_definition] = STATE(507), + [sym_subshell] = STATE(507), + [sym_pipeline] = STATE(507), + [sym_list] = STATE(507), + [sym_bracket_command] = STATE(507), + [sym_command] = STATE(507), + [sym_environment_variable_assignment] = STATE(508), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [388] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_COLON] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_leading_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [389] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(1151), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [390] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [391] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_COLON] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_DQUOTE] = ACTIONS(579), + [sym_raw_string] = ACTIONS(579), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [392] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_leading_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [393] = { + [anon_sym_RBRACE] = ACTIONS(1153), + [anon_sym_COLON] = ACTIONS(1155), + [anon_sym_EQ] = ACTIONS(1157), + [anon_sym_COLON_QMARK] = ACTIONS(1157), + [anon_sym_COLON_DASH] = ACTIONS(1157), + [sym_comment] = ACTIONS(115), + }, + [394] = { + [anon_sym_RBRACE] = ACTIONS(1159), + [anon_sym_COLON] = ACTIONS(1161), + [anon_sym_EQ] = ACTIONS(1163), + [anon_sym_COLON_QMARK] = ACTIONS(1163), + [anon_sym_COLON_DASH] = ACTIONS(1163), + [sym_comment] = ACTIONS(115), + }, + [395] = { + [anon_sym_RPAREN] = ACTIONS(1165), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [396] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1165), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [397] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(1165), + [sym_comment] = ACTIONS(115), + }, + [398] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1165), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [399] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(295), + [sym_array] = STATE(295), + [sym_simple_expansion] = STATE(295), + [sym_expansion] = STATE(295), + [sym_command_substitution] = STATE(295), + [sym_process_substitution] = STATE(295), + [aux_sym_command_repeat2] = STATE(515), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1167), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(1167), + [anon_sym_PIPE_AMP] = ACTIONS(1167), + [anon_sym_AMP_AMP] = ACTIONS(1167), + [anon_sym_PIPE_PIPE] = ACTIONS(1167), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(665), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(665), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1167), + [anon_sym_LF] = ACTIONS(1167), + [anon_sym_AMP] = ACTIONS(1167), + }, + [400] = { + [sym_file_redirect] = STATE(55), + [sym_heredoc_redirect] = STATE(55), + [sym_string] = STATE(295), + [sym_array] = STATE(295), + [sym_simple_expansion] = STATE(295), + [sym_expansion] = STATE(295), + [sym_command_substitution] = STATE(295), + [sym_process_substitution] = STATE(295), + [aux_sym_command_repeat2] = STATE(516), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1169), + [anon_sym_LPAREN] = ACTIONS(349), + [anon_sym_PIPE] = ACTIONS(1169), + [anon_sym_PIPE_AMP] = ACTIONS(1169), + [anon_sym_AMP_AMP] = ACTIONS(1169), + [anon_sym_PIPE_PIPE] = ACTIONS(1169), + [anon_sym_LT] = ACTIONS(351), + [anon_sym_GT] = ACTIONS(351), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [anon_sym_DQUOTE] = ACTIONS(353), + [sym_raw_string] = ACTIONS(665), + [anon_sym_DOLLAR] = ACTIONS(357), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(359), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(361), + [anon_sym_BQUOTE] = ACTIONS(363), + [sym_word] = ACTIONS(665), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1169), + [anon_sym_LF] = ACTIONS(1169), + [anon_sym_AMP] = ACTIONS(1169), + }, + [401] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1171), + [anon_sym_PIPE] = ACTIONS(1171), + [anon_sym_PIPE_AMP] = ACTIONS(1171), + [anon_sym_AMP_AMP] = ACTIONS(1171), + [anon_sym_PIPE_PIPE] = ACTIONS(1171), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1171), + [anon_sym_LF] = ACTIONS(1171), + [anon_sym_AMP] = ACTIONS(1171), + }, + [402] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1173), + [anon_sym_PIPE] = ACTIONS(1173), + [anon_sym_PIPE_AMP] = ACTIONS(1173), + [anon_sym_AMP_AMP] = ACTIONS(1173), + [anon_sym_PIPE_PIPE] = ACTIONS(1173), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1173), + [anon_sym_LF] = ACTIONS(1173), + [anon_sym_AMP] = ACTIONS(1173), + }, + [403] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1175), + [anon_sym_PIPE] = ACTIONS(1175), + [anon_sym_PIPE_AMP] = ACTIONS(1175), + [anon_sym_AMP_AMP] = ACTIONS(1175), + [anon_sym_PIPE_PIPE] = ACTIONS(1175), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1175), + [anon_sym_LF] = ACTIONS(1175), + [anon_sym_AMP] = ACTIONS(1175), + }, + [404] = { + [anon_sym_then] = ACTIONS(1177), + [sym_comment] = ACTIONS(115), + }, + [405] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1179), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [406] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1181), + [anon_sym_PIPE] = ACTIONS(1181), + [anon_sym_PIPE_AMP] = ACTIONS(1181), + [anon_sym_AMP_AMP] = ACTIONS(1181), + [anon_sym_PIPE_PIPE] = ACTIONS(1181), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1181), + [anon_sym_LF] = ACTIONS(1181), + [anon_sym_AMP] = ACTIONS(1181), + }, + [407] = { + [anon_sym_fi] = ACTIONS(1183), + [sym_comment] = ACTIONS(115), + }, + [408] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(519), + [anon_sym_fi] = ACTIONS(1183), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [409] = { + [anon_sym_fi] = ACTIONS(1185), + [anon_sym_elif] = ACTIONS(1185), + [anon_sym_else] = ACTIONS(1185), + [sym_comment] = ACTIONS(115), + }, + [410] = { + [anon_sym_in] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [411] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1189), + [anon_sym_PIPE] = ACTIONS(1189), + [anon_sym_PIPE_AMP] = ACTIONS(1189), + [anon_sym_AMP_AMP] = ACTIONS(1189), + [anon_sym_PIPE_PIPE] = ACTIONS(1189), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1189), + [anon_sym_LF] = ACTIONS(1189), + [anon_sym_AMP] = ACTIONS(1189), + }, + [412] = { + [anon_sym_RPAREN] = ACTIONS(1191), + [sym_comment] = ACTIONS(115), + }, + [413] = { + [sym_special_variable_name] = STATE(137), + [anon_sym_DOLLAR] = ACTIONS(1193), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(331), + [anon_sym_STAR] = ACTIONS(1193), + [anon_sym_AT] = ACTIONS(1193), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(1193), + [anon_sym_DASH] = ACTIONS(1193), + [anon_sym_BANG] = ACTIONS(1193), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [414] = { + [anon_sym_esac] = ACTIONS(1195), + [anon_sym_LPAREN] = ACTIONS(1197), + [anon_sym_LT] = ACTIONS(1197), + [anon_sym_GT] = ACTIONS(1197), + [anon_sym_DQUOTE] = ACTIONS(1197), + [sym_raw_string] = ACTIONS(1195), + [anon_sym_DOLLAR] = ACTIONS(1195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1197), + [anon_sym_BQUOTE] = ACTIONS(1197), + [sym_word] = ACTIONS(1199), + [sym_comment] = ACTIONS(115), + }, + [415] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(1201), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [416] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(523), + [anon_sym_esac] = ACTIONS(1201), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [417] = { + [anon_sym_RBRACE] = ACTIONS(1203), + [sym_comment] = ACTIONS(115), + }, + [418] = { + [anon_sym_RBRACE] = ACTIONS(1205), + [sym_comment] = ACTIONS(115), + }, + [419] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1207), + [anon_sym_PIPE] = ACTIONS(1207), + [anon_sym_PIPE_AMP] = ACTIONS(1207), + [anon_sym_AMP_AMP] = ACTIONS(1207), + [anon_sym_PIPE_PIPE] = ACTIONS(1207), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1207), + [anon_sym_LF] = ACTIONS(1207), + [anon_sym_AMP] = ACTIONS(1207), + }, + [420] = { + [anon_sym_RPAREN] = ACTIONS(1209), + [anon_sym_LPAREN] = ACTIONS(1209), + [anon_sym_RBRACE] = ACTIONS(1209), + [anon_sym_RBRACK] = ACTIONS(1211), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1211), + [anon_sym_LT] = ACTIONS(1209), + [anon_sym_GT] = ACTIONS(1209), + [anon_sym_DQUOTE] = ACTIONS(1209), + [sym_raw_string] = ACTIONS(1211), + [anon_sym_DOLLAR] = ACTIONS(1211), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1209), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), + [anon_sym_BQUOTE] = ACTIONS(1209), + [sym_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(115), + }, + [421] = { + [anon_sym_RBRACE] = ACTIONS(1213), + [sym_comment] = ACTIONS(115), + }, + [422] = { + [anon_sym_RBRACE] = ACTIONS(1215), + [sym_comment] = ACTIONS(115), + }, + [423] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR] = ACTIONS(907), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [424] = { [anon_sym_RPAREN] = ACTIONS(1217), - [anon_sym_PIPE] = ACTIONS(1219), - [anon_sym_PIPE_AMP] = ACTIONS(1217), - [anon_sym_AMP_AMP] = ACTIONS(1217), - [anon_sym_PIPE_PIPE] = ACTIONS(1217), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [425] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1217), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [426] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_LPAREN] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR] = ACTIONS(737), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [427] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_LPAREN] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR] = ACTIONS(925), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [428] = { + [sym_string] = STATE(529), + [sym_array] = STATE(529), + [sym_simple_expansion] = STATE(529), + [sym_expansion] = STATE(529), + [sym_command_substitution] = STATE(529), + [sym_process_substitution] = STATE(529), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1219), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1221), + [sym_comment] = ACTIONS(115), + }, + [429] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_LPAREN] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR] = ACTIONS(931), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [430] = { + [sym_string] = STATE(530), + [sym_array] = STATE(530), + [sym_simple_expansion] = STATE(530), + [sym_expansion] = STATE(530), + [sym_command_substitution] = STATE(530), + [sym_process_substitution] = STATE(530), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1223), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1225), + [sym_comment] = ACTIONS(115), + }, + [431] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_LPAREN] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR] = ACTIONS(847), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [432] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [433] = { + [anon_sym_RPAREN] = ACTIONS(1227), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [434] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(503), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(504), - [aux_sym_if_statement_repeat1] = STATE(505), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1221), - [anon_sym_elif] = ACTIONS(487), - [anon_sym_else] = ACTIONS(489), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1227), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [435] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1223), + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1223), - [anon_sym_LF] = ACTIONS(1223), - [anon_sym_AMP] = ACTIONS(1223), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), }, [436] = { - [anon_sym_in] = ACTIONS(1225), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), }, [437] = { - [anon_sym_RPAREN] = ACTIONS(1227), + [sym_string] = STATE(532), + [sym_array] = STATE(532), + [sym_simple_expansion] = STATE(532), + [sym_expansion] = STATE(532), + [sym_command_substitution] = STATE(532), + [sym_process_substitution] = STATE(532), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1229), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1231), [sym_comment] = ACTIONS(115), }, [438] = { - [anon_sym_RPAREN] = ACTIONS(1229), - [anon_sym_PIPE] = ACTIONS(1231), - [anon_sym_PIPE_AMP] = ACTIONS(1229), - [anon_sym_AMP_AMP] = ACTIONS(1229), - [anon_sym_PIPE_PIPE] = ACTIONS(1229), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), }, [439] = { - [anon_sym_RPAREN] = ACTIONS(1233), - [anon_sym_PIPE] = ACTIONS(1235), - [anon_sym_PIPE_AMP] = ACTIONS(1233), - [anon_sym_AMP_AMP] = ACTIONS(1233), - [anon_sym_PIPE_PIPE] = ACTIONS(1233), - [sym_comment] = ACTIONS(115), - }, - [440] = { - [sym_string] = STATE(395), - [sym_simple_expansion] = STATE(395), - [sym_expansion] = STATE(395), - [sym_command_substitution] = STATE(395), - [sym_process_substitution] = STATE(395), - [anon_sym_LT] = ACTIONS(1059), - [anon_sym_GT] = ACTIONS(1059), - [anon_sym_DQUOTE] = ACTIONS(1061), - [sym_raw_string] = ACTIONS(943), - [anon_sym_DOLLAR] = ACTIONS(1063), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1065), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1067), - [anon_sym_BQUOTE] = ACTIONS(1069), - [sym_word] = ACTIONS(945), - [sym_comment] = ACTIONS(115), - }, - [441] = { - [sym_string] = STATE(293), - [sym_simple_expansion] = STATE(293), - [sym_expansion] = STATE(293), - [sym_command_substitution] = STATE(293), - [sym_process_substitution] = STATE(293), - [anon_sym_LPAREN] = ACTIONS(947), - [anon_sym_LT] = ACTIONS(1059), - [anon_sym_GT] = ACTIONS(1059), - [anon_sym_DQUOTE] = ACTIONS(1061), - [sym_raw_string] = ACTIONS(705), - [anon_sym_DOLLAR] = ACTIONS(1063), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1065), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1067), - [anon_sym_BQUOTE] = ACTIONS(1069), - [sym_word] = ACTIONS(707), - [sym_comment] = ACTIONS(115), - }, - [442] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(509), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(959), - [anon_sym_PIPE] = ACTIONS(1237), - [anon_sym_PIPE_AMP] = ACTIONS(959), - [anon_sym_AMP_AMP] = ACTIONS(959), - [anon_sym_PIPE_PIPE] = ACTIONS(1237), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), - }, - [443] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(965), - [anon_sym_PIPE] = ACTIONS(1239), - [anon_sym_PIPE_AMP] = ACTIONS(965), - [anon_sym_AMP_AMP] = ACTIONS(965), - [anon_sym_PIPE_PIPE] = ACTIONS(965), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), - }, - [444] = { - [anon_sym_LPAREN] = ACTIONS(1241), - [sym_comment] = ACTIONS(115), - }, - [445] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(512), - [anon_sym_DQUOTE] = ACTIONS(1243), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [446] = { - [sym_special_variable_name] = STATE(515), - [anon_sym_DOLLAR] = ACTIONS(1245), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(1247), - [anon_sym_STAR] = ACTIONS(1245), - [anon_sym_AT] = ACTIONS(1245), - [anon_sym_POUND] = ACTIONS(1249), - [anon_sym_QMARK] = ACTIONS(1245), - [anon_sym_DASH] = ACTIONS(1245), - [anon_sym_BANG] = ACTIONS(1245), - [anon_sym_0] = ACTIONS(1249), - [anon_sym__] = ACTIONS(1249), - }, - [447] = { - [sym_special_variable_name] = STATE(517), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(1251), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [448] = { - [sym_command] = STATE(518), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [449] = { - [sym_command] = STATE(519), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [450] = { - [sym_compound_statement] = STATE(521), - [anon_sym_LBRACE] = ACTIONS(1253), - [sym_comment] = ACTIONS(115), - }, - [451] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(522), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(975), - [anon_sym_PIPE] = ACTIONS(1255), - [anon_sym_PIPE_AMP] = ACTIONS(975), - [anon_sym_AMP_AMP] = ACTIONS(975), - [anon_sym_PIPE_PIPE] = ACTIONS(1255), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), - }, - [452] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(977), - [anon_sym_PIPE] = ACTIONS(1257), - [anon_sym_PIPE_AMP] = ACTIONS(977), - [anon_sym_AMP_AMP] = ACTIONS(977), - [anon_sym_PIPE_PIPE] = ACTIONS(977), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), - }, - [453] = { - [anon_sym_RPAREN] = ACTIONS(1259), - [anon_sym_PIPE] = ACTIONS(1261), - [anon_sym_PIPE_AMP] = ACTIONS(1259), - [anon_sym_AMP_AMP] = ACTIONS(1259), - [anon_sym_PIPE_PIPE] = ACTIONS(1259), - [sym_comment] = ACTIONS(115), - }, - [454] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1259), - [anon_sym_PIPE] = ACTIONS(1261), - [anon_sym_PIPE_AMP] = ACTIONS(1259), - [anon_sym_AMP_AMP] = ACTIONS(1261), - [anon_sym_PIPE_PIPE] = ACTIONS(1259), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [455] = { - [anon_sym_RPAREN] = ACTIONS(1263), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(1263), - [anon_sym_PIPE_PIPE] = ACTIONS(1263), - [sym_comment] = ACTIONS(115), - }, - [456] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1263), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(1265), - [anon_sym_PIPE_PIPE] = ACTIONS(1263), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [457] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(523), - [aux_sym_command_repeat2] = STATE(509), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(959), - [anon_sym_PIPE] = ACTIONS(1237), - [anon_sym_PIPE_AMP] = ACTIONS(959), - [anon_sym_AMP_AMP] = ACTIONS(959), - [anon_sym_PIPE_PIPE] = ACTIONS(1237), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [458] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(285), - [sym_simple_expansion] = STATE(285), - [sym_expansion] = STATE(285), - [sym_command_substitution] = STATE(285), - [sym_process_substitution] = STATE(285), - [aux_sym_bracket_command_repeat1] = STATE(524), - [aux_sym_command_repeat2] = STATE(525), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(981), - [anon_sym_PIPE] = ACTIONS(1267), - [anon_sym_PIPE_AMP] = ACTIONS(981), - [anon_sym_AMP_AMP] = ACTIONS(981), - [anon_sym_PIPE_PIPE] = ACTIONS(1267), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(691), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(701), - [sym_comment] = ACTIONS(115), - }, - [459] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(983), - [anon_sym_PIPE] = ACTIONS(1269), - [anon_sym_PIPE_AMP] = ACTIONS(983), - [anon_sym_AMP_AMP] = ACTIONS(983), - [anon_sym_PIPE_PIPE] = ACTIONS(983), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), - }, - [460] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(527), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_SEMI_SEMI] = ACTIONS(1271), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [461] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1273), - [anon_sym_PIPE] = ACTIONS(1273), - [anon_sym_PIPE_AMP] = ACTIONS(1273), - [anon_sym_AMP_AMP] = ACTIONS(1273), - [anon_sym_PIPE_PIPE] = ACTIONS(1273), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1273), - [anon_sym_LF] = ACTIONS(1273), - [anon_sym_AMP] = ACTIONS(1273), - }, - [462] = { - [anon_sym_esac] = ACTIONS(1275), - [anon_sym_LT] = ACTIONS(1277), - [anon_sym_GT] = ACTIONS(1277), - [anon_sym_DQUOTE] = ACTIONS(1277), - [sym_raw_string] = ACTIONS(1275), - [anon_sym_DOLLAR] = ACTIONS(1275), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1277), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1277), - [anon_sym_BQUOTE] = ACTIONS(1277), - [sym_word] = ACTIONS(1279), - [sym_comment] = ACTIONS(115), - }, - [463] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(1281), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [464] = { - [anon_sym_in] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), - }, - [465] = { - [anon_sym_in] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), - }, - [466] = { - [anon_sym_RPAREN] = ACTIONS(1287), - [anon_sym_RBRACE] = ACTIONS(1287), - [anon_sym_RBRACK] = ACTIONS(1289), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1289), - [anon_sym_LT] = ACTIONS(1287), - [anon_sym_GT] = ACTIONS(1287), - [anon_sym_DQUOTE] = ACTIONS(1287), - [sym_raw_string] = ACTIONS(1289), - [anon_sym_DOLLAR] = ACTIONS(1289), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1287), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1287), - [anon_sym_BQUOTE] = ACTIONS(1287), - [sym_word] = ACTIONS(1283), - [sym_comment] = ACTIONS(115), - }, - [467] = { - [anon_sym_RPAREN] = ACTIONS(1291), - [anon_sym_RBRACE] = ACTIONS(1291), - [anon_sym_RBRACK] = ACTIONS(1293), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1293), - [anon_sym_LT] = ACTIONS(1291), - [anon_sym_GT] = ACTIONS(1291), - [anon_sym_DQUOTE] = ACTIONS(1291), - [sym_raw_string] = ACTIONS(1293), - [anon_sym_DOLLAR] = ACTIONS(1293), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1291), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1291), - [anon_sym_BQUOTE] = ACTIONS(1291), - [sym_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(115), - }, - [468] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR] = ACTIONS(1079), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [469] = { - [anon_sym_RBRACE] = ACTIONS(1295), - [sym_comment] = ACTIONS(115), - }, - [470] = { - [anon_sym_RBRACE] = ACTIONS(1297), - [sym_comment] = ACTIONS(115), - }, - [471] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [472] = { - [anon_sym_RBRACE] = ACTIONS(1299), - [sym_comment] = ACTIONS(115), - }, - [473] = { - [anon_sym_RBRACE] = ACTIONS(1301), - [sym_comment] = ACTIONS(115), - }, - [474] = { - [sym__heredoc_middle] = ACTIONS(853), - [sym__heredoc_end] = ACTIONS(853), - [anon_sym_DOLLAR] = ACTIONS(855), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(853), - [sym_comment] = ACTIONS(115), - }, - [475] = { [sym_string] = STATE(533), + [sym_array] = STATE(533), [sym_simple_expansion] = STATE(533), [sym_expansion] = STATE(533), [sym_command_substitution] = STATE(533), [sym_process_substitution] = STATE(533), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1303), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1305), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1233), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1235), + [sym_comment] = ACTIONS(115), + }, + [440] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [441] = { + [sym__heredoc_middle] = ACTIONS(583), + [sym__heredoc_end] = ACTIONS(583), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(583), + [sym_comment] = ACTIONS(115), + }, + [442] = { + [sym__heredoc_middle] = ACTIONS(615), + [sym__heredoc_end] = ACTIONS(615), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(615), + [sym_comment] = ACTIONS(115), + }, + [443] = { + [sym__heredoc_middle] = ACTIONS(619), + [sym__heredoc_end] = ACTIONS(619), + [anon_sym_DOLLAR] = ACTIONS(621), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(619), + [sym_comment] = ACTIONS(115), + }, + [444] = { + [anon_sym_RBRACE] = ACTIONS(1237), + [anon_sym_COLON] = ACTIONS(1239), + [anon_sym_EQ] = ACTIONS(1241), + [anon_sym_COLON_QMARK] = ACTIONS(1241), + [anon_sym_COLON_DASH] = ACTIONS(1241), + [sym_comment] = ACTIONS(115), + }, + [445] = { + [anon_sym_RBRACE] = ACTIONS(1243), + [anon_sym_COLON] = ACTIONS(1245), + [anon_sym_EQ] = ACTIONS(1247), + [anon_sym_COLON_QMARK] = ACTIONS(1247), + [anon_sym_COLON_DASH] = ACTIONS(1247), + [sym_comment] = ACTIONS(115), + }, + [446] = { + [sym__heredoc_middle] = ACTIONS(1249), + [sym__heredoc_end] = ACTIONS(1249), + [anon_sym_DOLLAR] = ACTIONS(1251), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1249), + [sym_comment] = ACTIONS(115), + }, + [447] = { + [sym_file_descriptor] = ACTIONS(1253), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [448] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1209), + [anon_sym_PIPE] = ACTIONS(1211), + [anon_sym_PIPE_AMP] = ACTIONS(1209), + [anon_sym_AMP_AMP] = ACTIONS(1211), + [anon_sym_PIPE_PIPE] = ACTIONS(1209), + [anon_sym_COLON] = ACTIONS(1209), + [anon_sym_LT] = ACTIONS(1211), + [anon_sym_GT] = ACTIONS(1211), + [anon_sym_GT_GT] = ACTIONS(1211), + [anon_sym_AMP_GT] = ACTIONS(1211), + [anon_sym_AMP_GT_GT] = ACTIONS(1211), + [anon_sym_LT_AMP] = ACTIONS(1211), + [anon_sym_GT_AMP] = ACTIONS(1211), + [anon_sym_DQUOTE] = ACTIONS(1209), + [sym_raw_string] = ACTIONS(1211), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), + [anon_sym_BQUOTE] = ACTIONS(1209), + [sym_leading_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(115), + }, + [449] = { + [anon_sym_RBRACE] = ACTIONS(1257), + [sym_comment] = ACTIONS(115), + }, + [450] = { + [anon_sym_RBRACE] = ACTIONS(1259), + [sym_comment] = ACTIONS(115), + }, + [451] = { + [anon_sym_RBRACE] = ACTIONS(1261), + [sym_comment] = ACTIONS(115), + }, + [452] = { + [anon_sym_RBRACE] = ACTIONS(1263), + [sym_comment] = ACTIONS(115), + }, + [453] = { + [sym_do_group] = STATE(542), + [anon_sym_do] = ACTIONS(745), + [sym_comment] = ACTIONS(115), + }, + [454] = { + [anon_sym_RPAREN] = ACTIONS(1265), + [anon_sym_PIPE] = ACTIONS(1267), + [anon_sym_PIPE_AMP] = ACTIONS(1265), + [anon_sym_AMP_AMP] = ACTIONS(1265), + [anon_sym_PIPE_PIPE] = ACTIONS(1265), + [anon_sym_BQUOTE] = ACTIONS(1265), + [sym_comment] = ACTIONS(115), + }, + [455] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(1269), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [456] = { + [anon_sym_RPAREN] = ACTIONS(1271), + [anon_sym_PIPE] = ACTIONS(1273), + [anon_sym_PIPE_AMP] = ACTIONS(1271), + [anon_sym_AMP_AMP] = ACTIONS(1271), + [anon_sym_PIPE_PIPE] = ACTIONS(1271), + [anon_sym_BQUOTE] = ACTIONS(1271), + [sym_comment] = ACTIONS(115), + }, + [457] = { + [anon_sym_fi] = ACTIONS(1275), + [sym_comment] = ACTIONS(115), + }, + [458] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(545), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(546), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1277), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [459] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(545), + [anon_sym_fi] = ACTIONS(1275), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [460] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(548), + [anon_sym_esac] = ACTIONS(1279), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [461] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1281), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1281), + [anon_sym_LF] = ACTIONS(1281), + [anon_sym_AMP] = ACTIONS(1281), + }, + [462] = { + [sym_compound_statement] = STATE(550), + [anon_sym_LBRACE] = ACTIONS(1115), + [sym_comment] = ACTIONS(115), + }, + [463] = { + [sym_file_descriptor] = ACTIONS(545), + [anon_sym_RPAREN] = ACTIONS(545), + [anon_sym_PIPE] = ACTIONS(547), + [anon_sym_PIPE_AMP] = ACTIONS(545), + [anon_sym_AMP_AMP] = ACTIONS(545), + [anon_sym_PIPE_PIPE] = ACTIONS(545), + [anon_sym_LT] = ACTIONS(547), + [anon_sym_GT] = ACTIONS(547), + [anon_sym_GT_GT] = ACTIONS(545), + [anon_sym_AMP_GT] = ACTIONS(547), + [anon_sym_AMP_GT_GT] = ACTIONS(545), + [anon_sym_LT_AMP] = ACTIONS(545), + [anon_sym_GT_AMP] = ACTIONS(545), + [anon_sym_LT_LT] = ACTIONS(547), + [anon_sym_LT_LT_DASH] = ACTIONS(545), + [anon_sym_BQUOTE] = ACTIONS(545), + [sym_comment] = ACTIONS(115), + }, + [464] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(605), + [anon_sym_LPAREN] = ACTIONS(605), + [anon_sym_PIPE] = ACTIONS(607), + [anon_sym_PIPE_AMP] = ACTIONS(605), + [anon_sym_AMP_AMP] = ACTIONS(605), + [anon_sym_PIPE_PIPE] = ACTIONS(607), + [anon_sym_LT] = ACTIONS(607), + [anon_sym_GT] = ACTIONS(607), + [anon_sym_GT_GT] = ACTIONS(605), + [anon_sym_AMP_GT] = ACTIONS(607), + [anon_sym_AMP_GT_GT] = ACTIONS(605), + [anon_sym_LT_AMP] = ACTIONS(605), + [anon_sym_GT_AMP] = ACTIONS(605), + [anon_sym_LT_LT] = ACTIONS(607), + [anon_sym_LT_LT_DASH] = ACTIONS(605), + [anon_sym_DQUOTE] = ACTIONS(605), + [sym_raw_string] = ACTIONS(607), + [anon_sym_DOLLAR] = ACTIONS(607), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(605), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(605), + [anon_sym_BQUOTE] = ACTIONS(605), + [sym_word] = ACTIONS(561), + [sym_comment] = ACTIONS(115), + }, + [465] = { + [anon_sym_RPAREN] = ACTIONS(1283), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [466] = { + [sym_for_statement] = STATE(552), + [sym_while_statement] = STATE(552), + [sym_if_statement] = STATE(552), + [sym_case_statement] = STATE(552), + [sym_function_definition] = STATE(552), + [sym_subshell] = STATE(552), + [sym_pipeline] = STATE(552), + [sym_list] = STATE(552), + [sym_bracket_command] = STATE(552), + [sym_command] = STATE(552), + [sym_environment_variable_assignment] = STATE(553), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(481), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(1093), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), + [sym_comment] = ACTIONS(115), + }, + [467] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(413), + [anon_sym_LPAREN] = ACTIONS(413), + [anon_sym_PIPE] = ACTIONS(611), + [anon_sym_PIPE_AMP] = ACTIONS(413), + [anon_sym_AMP_AMP] = ACTIONS(413), + [anon_sym_PIPE_PIPE] = ACTIONS(611), + [anon_sym_LT] = ACTIONS(611), + [anon_sym_GT] = ACTIONS(611), + [anon_sym_GT_GT] = ACTIONS(413), + [anon_sym_AMP_GT] = ACTIONS(611), + [anon_sym_AMP_GT_GT] = ACTIONS(413), + [anon_sym_LT_AMP] = ACTIONS(413), + [anon_sym_GT_AMP] = ACTIONS(413), + [anon_sym_LT_LT] = ACTIONS(611), + [anon_sym_LT_LT_DASH] = ACTIONS(413), + [anon_sym_DQUOTE] = ACTIONS(413), + [sym_raw_string] = ACTIONS(611), + [anon_sym_DOLLAR] = ACTIONS(611), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(413), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(413), + [anon_sym_BQUOTE] = ACTIONS(413), + [sym_word] = ACTIONS(415), + [sym_comment] = ACTIONS(115), + }, + [468] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(1285), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [469] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(583), + [anon_sym_LPAREN] = ACTIONS(583), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(583), + [anon_sym_AMP_AMP] = ACTIONS(583), + [anon_sym_PIPE_PIPE] = ACTIONS(585), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(583), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(583), + [anon_sym_LT_AMP] = ACTIONS(583), + [anon_sym_GT_AMP] = ACTIONS(583), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(583), + [anon_sym_DQUOTE] = ACTIONS(583), + [sym_raw_string] = ACTIONS(585), + [anon_sym_DOLLAR] = ACTIONS(585), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(583), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(583), + [anon_sym_BQUOTE] = ACTIONS(583), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(115), + }, + [470] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(615), + [anon_sym_LPAREN] = ACTIONS(615), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(615), + [anon_sym_AMP_AMP] = ACTIONS(615), + [anon_sym_PIPE_PIPE] = ACTIONS(617), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(615), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(615), + [anon_sym_LT_AMP] = ACTIONS(615), + [anon_sym_GT_AMP] = ACTIONS(615), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(615), + [anon_sym_DQUOTE] = ACTIONS(615), + [sym_raw_string] = ACTIONS(617), + [anon_sym_DOLLAR] = ACTIONS(617), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(615), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(615), + [anon_sym_BQUOTE] = ACTIONS(615), + [sym_word] = ACTIONS(579), + [sym_comment] = ACTIONS(115), + }, + [471] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(619), + [anon_sym_LPAREN] = ACTIONS(619), + [anon_sym_PIPE] = ACTIONS(621), + [anon_sym_PIPE_AMP] = ACTIONS(619), + [anon_sym_AMP_AMP] = ACTIONS(619), + [anon_sym_PIPE_PIPE] = ACTIONS(621), + [anon_sym_LT] = ACTIONS(621), + [anon_sym_GT] = ACTIONS(621), + [anon_sym_GT_GT] = ACTIONS(619), + [anon_sym_AMP_GT] = ACTIONS(621), + [anon_sym_AMP_GT_GT] = ACTIONS(619), + [anon_sym_LT_AMP] = ACTIONS(619), + [anon_sym_GT_AMP] = ACTIONS(619), + [anon_sym_LT_LT] = ACTIONS(621), + [anon_sym_LT_LT_DASH] = ACTIONS(619), + [anon_sym_DQUOTE] = ACTIONS(619), + [sym_raw_string] = ACTIONS(621), + [anon_sym_DOLLAR] = ACTIONS(621), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(619), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(619), + [anon_sym_BQUOTE] = ACTIONS(619), + [sym_word] = ACTIONS(581), + [sym_comment] = ACTIONS(115), + }, + [472] = { + [anon_sym_RBRACE] = ACTIONS(1287), + [anon_sym_COLON] = ACTIONS(1289), + [anon_sym_EQ] = ACTIONS(1291), + [anon_sym_COLON_QMARK] = ACTIONS(1291), + [anon_sym_COLON_DASH] = ACTIONS(1291), + [sym_comment] = ACTIONS(115), + }, + [473] = { + [anon_sym_RBRACE] = ACTIONS(1293), + [anon_sym_COLON] = ACTIONS(1295), + [anon_sym_EQ] = ACTIONS(1297), + [anon_sym_COLON_QMARK] = ACTIONS(1297), + [anon_sym_COLON_DASH] = ACTIONS(1297), + [sym_comment] = ACTIONS(115), + }, + [474] = { + [anon_sym_RPAREN] = ACTIONS(1299), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [475] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1299), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [476] = { - [sym__heredoc_middle] = ACTIONS(861), - [sym__heredoc_end] = ACTIONS(861), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(1299), [sym_comment] = ACTIONS(115), }, [477] = { - [sym_string] = STATE(534), - [sym_simple_expansion] = STATE(534), - [sym_expansion] = STATE(534), - [sym_command_substitution] = STATE(534), - [sym_process_substitution] = STATE(534), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1307), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1309), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1299), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [478] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1287), - [anon_sym_PIPE] = ACTIONS(1289), - [anon_sym_PIPE_AMP] = ACTIONS(1287), - [anon_sym_AMP_AMP] = ACTIONS(1289), - [anon_sym_PIPE_PIPE] = ACTIONS(1287), - [anon_sym_COLON] = ACTIONS(1287), - [anon_sym_LT] = ACTIONS(1289), - [anon_sym_GT] = ACTIONS(1289), - [anon_sym_GT_GT] = ACTIONS(1289), - [anon_sym_AMP_GT] = ACTIONS(1289), - [anon_sym_AMP_GT_GT] = ACTIONS(1289), - [anon_sym_LT_AMP] = ACTIONS(1289), - [anon_sym_GT_AMP] = ACTIONS(1289), - [anon_sym_DQUOTE] = ACTIONS(1287), - [sym_raw_string] = ACTIONS(1289), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1287), - [anon_sym_BQUOTE] = ACTIONS(1287), - [sym_leading_word] = ACTIONS(1283), + [sym_file_descriptor] = ACTIONS(639), + [anon_sym_RPAREN] = ACTIONS(639), + [anon_sym_LPAREN] = ACTIONS(639), + [anon_sym_PIPE] = ACTIONS(641), + [anon_sym_PIPE_AMP] = ACTIONS(639), + [anon_sym_AMP_AMP] = ACTIONS(639), + [anon_sym_PIPE_PIPE] = ACTIONS(641), + [anon_sym_LT] = ACTIONS(641), + [anon_sym_GT] = ACTIONS(641), + [anon_sym_GT_GT] = ACTIONS(639), + [anon_sym_AMP_GT] = ACTIONS(641), + [anon_sym_AMP_GT_GT] = ACTIONS(639), + [anon_sym_LT_AMP] = ACTIONS(639), + [anon_sym_GT_AMP] = ACTIONS(639), + [anon_sym_LT_LT] = ACTIONS(641), + [anon_sym_LT_LT_DASH] = ACTIONS(639), + [anon_sym_DQUOTE] = ACTIONS(639), + [sym_raw_string] = ACTIONS(641), + [anon_sym_DOLLAR] = ACTIONS(641), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(639), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(639), + [anon_sym_BQUOTE] = ACTIONS(639), + [sym_word] = ACTIONS(643), [sym_comment] = ACTIONS(115), }, [479] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1291), - [anon_sym_PIPE] = ACTIONS(1293), - [anon_sym_PIPE_AMP] = ACTIONS(1291), - [anon_sym_AMP_AMP] = ACTIONS(1293), - [anon_sym_PIPE_PIPE] = ACTIONS(1291), - [anon_sym_COLON] = ACTIONS(1291), - [anon_sym_LT] = ACTIONS(1293), - [anon_sym_GT] = ACTIONS(1293), - [anon_sym_GT_GT] = ACTIONS(1293), - [anon_sym_AMP_GT] = ACTIONS(1293), - [anon_sym_AMP_GT_GT] = ACTIONS(1293), - [anon_sym_LT_AMP] = ACTIONS(1293), - [anon_sym_GT_AMP] = ACTIONS(1293), - [anon_sym_DQUOTE] = ACTIONS(1291), - [sym_raw_string] = ACTIONS(1293), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1291), - [anon_sym_BQUOTE] = ACTIONS(1291), - [sym_leading_word] = ACTIONS(1285), + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1301), + [anon_sym_PIPE] = ACTIONS(1303), + [anon_sym_PIPE_AMP] = ACTIONS(1301), + [anon_sym_AMP_AMP] = ACTIONS(1301), + [anon_sym_PIPE_PIPE] = ACTIONS(1301), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1301), [sym_comment] = ACTIONS(115), }, [480] = { - [anon_sym_DQUOTE] = ACTIONS(1283), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1283), - [anon_sym_DOLLAR] = ACTIONS(1283), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1289), - [sym_comment] = ACTIONS(73), + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(605), + [anon_sym_PIPE] = ACTIONS(607), + [anon_sym_PIPE_AMP] = ACTIONS(605), + [anon_sym_AMP_AMP] = ACTIONS(605), + [anon_sym_PIPE_PIPE] = ACTIONS(605), + [anon_sym_LT] = ACTIONS(607), + [anon_sym_GT] = ACTIONS(607), + [anon_sym_GT_GT] = ACTIONS(605), + [anon_sym_AMP_GT] = ACTIONS(607), + [anon_sym_AMP_GT_GT] = ACTIONS(605), + [anon_sym_LT_AMP] = ACTIONS(605), + [anon_sym_GT_AMP] = ACTIONS(605), + [anon_sym_LT_LT] = ACTIONS(607), + [anon_sym_LT_LT_DASH] = ACTIONS(605), + [anon_sym_BQUOTE] = ACTIONS(605), + [sym_comment] = ACTIONS(115), }, [481] = { - [anon_sym_DQUOTE] = ACTIONS(1285), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1285), - [anon_sym_DOLLAR] = ACTIONS(1285), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1293), - [sym_comment] = ACTIONS(73), + [anon_sym_RPAREN] = ACTIONS(1305), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), }, [482] = { - [anon_sym_RPAREN] = ACTIONS(1311), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), + [sym_for_statement] = STATE(561), + [sym_while_statement] = STATE(561), + [sym_if_statement] = STATE(561), + [sym_case_statement] = STATE(561), + [sym_function_definition] = STATE(561), + [sym_subshell] = STATE(561), + [sym_pipeline] = STATE(561), + [sym_list] = STATE(561), + [sym_bracket_command] = STATE(561), + [sym_command] = STATE(561), + [sym_environment_variable_assignment] = STATE(562), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, [483] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1311), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(413), + [anon_sym_PIPE] = ACTIONS(611), + [anon_sym_PIPE_AMP] = ACTIONS(413), + [anon_sym_AMP_AMP] = ACTIONS(413), + [anon_sym_PIPE_PIPE] = ACTIONS(413), + [anon_sym_LT] = ACTIONS(611), + [anon_sym_GT] = ACTIONS(611), + [anon_sym_GT_GT] = ACTIONS(413), + [anon_sym_AMP_GT] = ACTIONS(611), + [anon_sym_AMP_GT_GT] = ACTIONS(413), + [anon_sym_LT_AMP] = ACTIONS(413), + [anon_sym_GT_AMP] = ACTIONS(413), + [anon_sym_LT_LT] = ACTIONS(611), + [anon_sym_LT_LT_DASH] = ACTIONS(413), + [anon_sym_BQUOTE] = ACTIONS(413), [sym_comment] = ACTIONS(115), }, [484] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(665), - [anon_sym_PIPE] = ACTIONS(851), - [anon_sym_PIPE_AMP] = ACTIONS(665), - [anon_sym_AMP_AMP] = ACTIONS(665), - [anon_sym_PIPE_PIPE] = ACTIONS(851), - [anon_sym_LT] = ACTIONS(851), - [anon_sym_GT] = ACTIONS(851), - [anon_sym_GT_GT] = ACTIONS(665), - [anon_sym_AMP_GT] = ACTIONS(851), - [anon_sym_AMP_GT_GT] = ACTIONS(665), - [anon_sym_LT_AMP] = ACTIONS(665), - [anon_sym_GT_AMP] = ACTIONS(665), - [anon_sym_LT_LT] = ACTIONS(851), - [anon_sym_LT_LT_DASH] = ACTIONS(665), - [anon_sym_DQUOTE] = ACTIONS(665), - [sym_raw_string] = ACTIONS(851), - [anon_sym_DOLLAR] = ACTIONS(851), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(665), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(665), - [anon_sym_BQUOTE] = ACTIONS(665), - [sym_word] = ACTIONS(667), - [sym_comment] = ACTIONS(115), + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(1307), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), }, [485] = { - [sym_file_descriptor] = ACTIONS(853), - [anon_sym_RPAREN] = ACTIONS(853), - [anon_sym_PIPE] = ACTIONS(855), - [anon_sym_PIPE_AMP] = ACTIONS(853), - [anon_sym_AMP_AMP] = ACTIONS(853), - [anon_sym_PIPE_PIPE] = ACTIONS(855), - [anon_sym_LT] = ACTIONS(855), - [anon_sym_GT] = ACTIONS(855), - [anon_sym_GT_GT] = ACTIONS(853), - [anon_sym_AMP_GT] = ACTIONS(855), - [anon_sym_AMP_GT_GT] = ACTIONS(853), - [anon_sym_LT_AMP] = ACTIONS(853), - [anon_sym_GT_AMP] = ACTIONS(853), - [anon_sym_LT_LT] = ACTIONS(855), - [anon_sym_LT_LT_DASH] = ACTIONS(853), - [anon_sym_DQUOTE] = ACTIONS(853), - [sym_raw_string] = ACTIONS(855), - [anon_sym_DOLLAR] = ACTIONS(855), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(853), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(853), - [anon_sym_BQUOTE] = ACTIONS(853), - [sym_word] = ACTIONS(837), + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(583), + [anon_sym_PIPE] = ACTIONS(585), + [anon_sym_PIPE_AMP] = ACTIONS(583), + [anon_sym_AMP_AMP] = ACTIONS(583), + [anon_sym_PIPE_PIPE] = ACTIONS(583), + [anon_sym_LT] = ACTIONS(585), + [anon_sym_GT] = ACTIONS(585), + [anon_sym_GT_GT] = ACTIONS(583), + [anon_sym_AMP_GT] = ACTIONS(585), + [anon_sym_AMP_GT_GT] = ACTIONS(583), + [anon_sym_LT_AMP] = ACTIONS(583), + [anon_sym_GT_AMP] = ACTIONS(583), + [anon_sym_LT_LT] = ACTIONS(585), + [anon_sym_LT_LT_DASH] = ACTIONS(583), + [anon_sym_BQUOTE] = ACTIONS(583), [sym_comment] = ACTIONS(115), }, [486] = { - [sym_string] = STATE(536), - [sym_simple_expansion] = STATE(536), - [sym_expansion] = STATE(536), - [sym_command_substitution] = STATE(536), - [sym_process_substitution] = STATE(536), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1313), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1315), + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(615), + [anon_sym_PIPE] = ACTIONS(617), + [anon_sym_PIPE_AMP] = ACTIONS(615), + [anon_sym_AMP_AMP] = ACTIONS(615), + [anon_sym_PIPE_PIPE] = ACTIONS(615), + [anon_sym_LT] = ACTIONS(617), + [anon_sym_GT] = ACTIONS(617), + [anon_sym_GT_GT] = ACTIONS(615), + [anon_sym_AMP_GT] = ACTIONS(617), + [anon_sym_AMP_GT_GT] = ACTIONS(615), + [anon_sym_LT_AMP] = ACTIONS(615), + [anon_sym_GT_AMP] = ACTIONS(615), + [anon_sym_LT_LT] = ACTIONS(617), + [anon_sym_LT_LT_DASH] = ACTIONS(615), + [anon_sym_BQUOTE] = ACTIONS(615), [sym_comment] = ACTIONS(115), }, [487] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(861), - [anon_sym_AMP_AMP] = ACTIONS(861), - [anon_sym_PIPE_PIPE] = ACTIONS(863), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(861), - [anon_sym_DQUOTE] = ACTIONS(861), - [sym_raw_string] = ACTIONS(863), - [anon_sym_DOLLAR] = ACTIONS(863), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(861), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(861), - [anon_sym_BQUOTE] = ACTIONS(861), - [sym_word] = ACTIONS(843), + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(619), + [anon_sym_PIPE] = ACTIONS(621), + [anon_sym_PIPE_AMP] = ACTIONS(619), + [anon_sym_AMP_AMP] = ACTIONS(619), + [anon_sym_PIPE_PIPE] = ACTIONS(619), + [anon_sym_LT] = ACTIONS(621), + [anon_sym_GT] = ACTIONS(621), + [anon_sym_GT_GT] = ACTIONS(619), + [anon_sym_AMP_GT] = ACTIONS(621), + [anon_sym_AMP_GT_GT] = ACTIONS(619), + [anon_sym_LT_AMP] = ACTIONS(619), + [anon_sym_GT_AMP] = ACTIONS(619), + [anon_sym_LT_LT] = ACTIONS(621), + [anon_sym_LT_LT_DASH] = ACTIONS(619), + [anon_sym_BQUOTE] = ACTIONS(619), [sym_comment] = ACTIONS(115), }, [488] = { - [sym_string] = STATE(537), - [sym_simple_expansion] = STATE(537), - [sym_expansion] = STATE(537), - [sym_command_substitution] = STATE(537), - [sym_process_substitution] = STATE(537), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1317), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1319), + [anon_sym_RBRACE] = ACTIONS(1309), + [anon_sym_COLON] = ACTIONS(1311), + [anon_sym_EQ] = ACTIONS(1313), + [anon_sym_COLON_QMARK] = ACTIONS(1313), + [anon_sym_COLON_DASH] = ACTIONS(1313), [sym_comment] = ACTIONS(115), }, [489] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(731), - [anon_sym_PIPE] = ACTIONS(869), - [anon_sym_PIPE_AMP] = ACTIONS(731), - [anon_sym_AMP_AMP] = ACTIONS(731), - [anon_sym_PIPE_PIPE] = ACTIONS(869), - [anon_sym_LT] = ACTIONS(869), - [anon_sym_GT] = ACTIONS(869), - [anon_sym_GT_GT] = ACTIONS(731), - [anon_sym_AMP_GT] = ACTIONS(869), - [anon_sym_AMP_GT_GT] = ACTIONS(731), - [anon_sym_LT_AMP] = ACTIONS(731), - [anon_sym_GT_AMP] = ACTIONS(731), - [anon_sym_LT_LT] = ACTIONS(869), - [anon_sym_LT_LT_DASH] = ACTIONS(731), - [anon_sym_DQUOTE] = ACTIONS(731), - [sym_raw_string] = ACTIONS(869), - [anon_sym_DOLLAR] = ACTIONS(869), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(731), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(731), - [anon_sym_BQUOTE] = ACTIONS(731), - [sym_word] = ACTIONS(733), + [anon_sym_RBRACE] = ACTIONS(1315), + [anon_sym_COLON] = ACTIONS(1317), + [anon_sym_EQ] = ACTIONS(1319), + [anon_sym_COLON_QMARK] = ACTIONS(1319), + [anon_sym_COLON_DASH] = ACTIONS(1319), [sym_comment] = ACTIONS(115), }, [490] = { - [sym_file_descriptor] = ACTIONS(1149), - [anon_sym_RPAREN] = ACTIONS(1149), - [anon_sym_PIPE] = ACTIONS(1321), - [anon_sym_PIPE_AMP] = ACTIONS(1149), - [anon_sym_AMP_AMP] = ACTIONS(1149), - [anon_sym_PIPE_PIPE] = ACTIONS(1149), - [anon_sym_LT] = ACTIONS(1321), - [anon_sym_GT] = ACTIONS(1321), - [anon_sym_GT_GT] = ACTIONS(1149), - [anon_sym_AMP_GT] = ACTIONS(1321), - [anon_sym_AMP_GT_GT] = ACTIONS(1149), - [anon_sym_LT_AMP] = ACTIONS(1149), - [anon_sym_GT_AMP] = ACTIONS(1149), - [anon_sym_LT_LT] = ACTIONS(1321), - [anon_sym_LT_LT_DASH] = ACTIONS(1149), - [anon_sym_BQUOTE] = ACTIONS(1149), + [anon_sym_RPAREN] = ACTIONS(1321), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [491] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1323), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(1323), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1321), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [492] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(395), - [anon_sym_RPAREN] = ACTIONS(1325), - [anon_sym_LT] = ACTIONS(683), - [anon_sym_GT] = ACTIONS(683), - [anon_sym_GT_GT] = ACTIONS(681), - [anon_sym_AMP_GT] = ACTIONS(683), - [anon_sym_AMP_GT_GT] = ACTIONS(681), - [anon_sym_LT_AMP] = ACTIONS(681), - [anon_sym_GT_AMP] = ACTIONS(681), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_BQUOTE] = ACTIONS(1325), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(1321), [sym_comment] = ACTIONS(115), }, [493] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1327), - [anon_sym_PIPE] = ACTIONS(1327), - [anon_sym_PIPE_AMP] = ACTIONS(1327), - [anon_sym_AMP_AMP] = ACTIONS(1327), - [anon_sym_PIPE_PIPE] = ACTIONS(1327), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1327), - [anon_sym_LF] = ACTIONS(1327), - [anon_sym_AMP] = ACTIONS(1327), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(1321), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), }, [494] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_COLON] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_leading_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), + [sym_file_descriptor] = ACTIONS(1007), + [anon_sym_RPAREN] = ACTIONS(1007), + [anon_sym_PIPE] = ACTIONS(1323), + [anon_sym_PIPE_AMP] = ACTIONS(1007), + [anon_sym_AMP_AMP] = ACTIONS(1007), + [anon_sym_PIPE_PIPE] = ACTIONS(1007), + [anon_sym_LT] = ACTIONS(1323), + [anon_sym_GT] = ACTIONS(1323), + [anon_sym_GT_GT] = ACTIONS(1007), + [anon_sym_AMP_GT] = ACTIONS(1323), + [anon_sym_AMP_GT_GT] = ACTIONS(1007), + [anon_sym_LT_AMP] = ACTIONS(1007), + [anon_sym_GT_AMP] = ACTIONS(1007), + [anon_sym_LT_LT] = ACTIONS(1323), + [anon_sym_LT_LT_DASH] = ACTIONS(1007), + [anon_sym_BQUOTE] = ACTIONS(1007), + [sym_comment] = ACTIONS(115), }, [495] = { - [anon_sym_RBRACE] = ACTIONS(1329), + [sym_simple_expansion] = STATE(446), + [sym_expansion] = STATE(446), + [sym__heredoc_middle] = ACTIONS(1019), + [sym__heredoc_end] = ACTIONS(1325), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), [sym_comment] = ACTIONS(115), }, [496] = { - [anon_sym_RBRACE] = ACTIONS(1331), + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(571), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(1327), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, [497] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1333), - [anon_sym_elif] = ACTIONS(1333), - [anon_sym_else] = ACTIONS(1333), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [anon_sym_RPAREN] = ACTIONS(1329), + [anon_sym_PIPE] = ACTIONS(1331), + [anon_sym_PIPE_AMP] = ACTIONS(1329), + [anon_sym_AMP_AMP] = ACTIONS(1329), + [anon_sym_PIPE_PIPE] = ACTIONS(1329), + [anon_sym_BQUOTE] = ACTIONS(1329), [sym_comment] = ACTIONS(115), }, [498] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1335), + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1333), [anon_sym_PIPE] = ACTIONS(1335), - [anon_sym_PIPE_AMP] = ACTIONS(1335), - [anon_sym_AMP_AMP] = ACTIONS(1335), - [anon_sym_PIPE_PIPE] = ACTIONS(1335), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1335), - [anon_sym_LF] = ACTIONS(1335), - [anon_sym_AMP] = ACTIONS(1335), - }, - [499] = { - [sym_do_group] = STATE(540), - [anon_sym_do] = ACTIONS(1029), + [anon_sym_PIPE_AMP] = ACTIONS(1333), + [anon_sym_AMP_AMP] = ACTIONS(1333), + [anon_sym_PIPE_PIPE] = ACTIONS(1333), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1333), [sym_comment] = ACTIONS(115), }, - [500] = { + [499] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(572), + [sym_file_descriptor] = ACTIONS(443), [anon_sym_RPAREN] = ACTIONS(1337), + [anon_sym_LPAREN] = ACTIONS(769), [anon_sym_PIPE] = ACTIONS(1339), [anon_sym_PIPE_AMP] = ACTIONS(1337), [anon_sym_AMP_AMP] = ACTIONS(1337), - [anon_sym_PIPE_PIPE] = ACTIONS(1337), + [anon_sym_PIPE_PIPE] = ACTIONS(1339), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(1087), + [sym_comment] = ACTIONS(115), + }, + [500] = { + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(573), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1341), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1343), + [anon_sym_PIPE_AMP] = ACTIONS(1341), + [anon_sym_AMP_AMP] = ACTIONS(1341), + [anon_sym_PIPE_PIPE] = ACTIONS(1343), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(793), + [sym_word] = ACTIONS(1087), [sym_comment] = ACTIONS(115), }, [501] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(1341), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1345), + [anon_sym_PIPE] = ACTIONS(1347), + [anon_sym_PIPE_AMP] = ACTIONS(1345), + [anon_sym_AMP_AMP] = ACTIONS(1345), + [anon_sym_PIPE_PIPE] = ACTIONS(1345), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1345), [sym_comment] = ACTIONS(115), }, [502] = { - [anon_sym_RPAREN] = ACTIONS(1343), - [anon_sym_PIPE] = ACTIONS(1345), - [anon_sym_PIPE_AMP] = ACTIONS(1343), - [anon_sym_AMP_AMP] = ACTIONS(1343), - [anon_sym_PIPE_PIPE] = ACTIONS(1343), + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(572), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1339), + [anon_sym_PIPE_AMP] = ACTIONS(1337), + [anon_sym_AMP_AMP] = ACTIONS(1337), + [anon_sym_PIPE_PIPE] = ACTIONS(1339), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(1337), + [sym_word] = ACTIONS(1087), [sym_comment] = ACTIONS(115), }, [503] = { - [anon_sym_fi] = ACTIONS(1347), + [sym_file_redirect] = STATE(207), + [sym_heredoc_redirect] = STATE(207), + [sym_string] = STATE(478), + [sym_array] = STATE(478), + [sym_simple_expansion] = STATE(478), + [sym_expansion] = STATE(478), + [sym_command_substitution] = STATE(478), + [sym_process_substitution] = STATE(478), + [aux_sym_command_repeat2] = STATE(573), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_LPAREN] = ACTIONS(769), + [anon_sym_PIPE] = ACTIONS(1343), + [anon_sym_PIPE_AMP] = ACTIONS(1341), + [anon_sym_AMP_AMP] = ACTIONS(1341), + [anon_sym_PIPE_PIPE] = ACTIONS(1343), + [anon_sym_LT] = ACTIONS(773), + [anon_sym_GT] = ACTIONS(773), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_DQUOTE] = ACTIONS(783), + [sym_raw_string] = ACTIONS(1085), + [anon_sym_DOLLAR] = ACTIONS(787), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(789), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(791), + [anon_sym_BQUOTE] = ACTIONS(1341), + [sym_word] = ACTIONS(1087), [sym_comment] = ACTIONS(115), }, [504] = { - [sym__terminated_statement] = STATE(87), + [anon_sym_SEMI_SEMI] = ACTIONS(1349), + [anon_sym_PIPE] = ACTIONS(1349), + [anon_sym_PIPE_AMP] = ACTIONS(1349), + [anon_sym_AMP_AMP] = ACTIONS(1349), + [anon_sym_PIPE_PIPE] = ACTIONS(1349), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1349), + [anon_sym_LF] = ACTIONS(1349), + [anon_sym_AMP] = ACTIONS(1349), + }, + [505] = { + [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(543), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -20080,15 +21238,296 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(544), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1349), - [anon_sym_elif] = ACTIONS(487), - [anon_sym_else] = ACTIONS(489), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(1351), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [506] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_COLON] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_leading_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [507] = { + [anon_sym_RPAREN] = ACTIONS(1353), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [508] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1353), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [509] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_COLON] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_leading_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [510] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_COLON] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_leading_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [511] = { + [sym_string] = STATE(576), + [sym_array] = STATE(576), + [sym_simple_expansion] = STATE(576), + [sym_expansion] = STATE(576), + [sym_command_substitution] = STATE(576), + [sym_process_substitution] = STATE(576), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1355), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1357), + [sym_comment] = ACTIONS(115), + }, + [512] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_COLON] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_leading_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [513] = { + [sym_string] = STATE(577), + [sym_array] = STATE(577), + [sym_simple_expansion] = STATE(577), + [sym_expansion] = STATE(577), + [sym_command_substitution] = STATE(577), + [sym_process_substitution] = STATE(577), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1359), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1361), + [sym_comment] = ACTIONS(115), + }, + [514] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_COLON] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_leading_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [515] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1363), + [anon_sym_PIPE] = ACTIONS(1363), + [anon_sym_PIPE_AMP] = ACTIONS(1363), + [anon_sym_AMP_AMP] = ACTIONS(1363), + [anon_sym_PIPE_PIPE] = ACTIONS(1363), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1363), + [anon_sym_LF] = ACTIONS(1363), + [anon_sym_AMP] = ACTIONS(1363), + }, + [516] = { + [sym_file_redirect] = STATE(168), + [sym_heredoc_redirect] = STATE(168), + [sym_file_descriptor] = ACTIONS(163), + [anon_sym_SEMI_SEMI] = ACTIONS(1365), + [anon_sym_PIPE] = ACTIONS(1365), + [anon_sym_PIPE_AMP] = ACTIONS(1365), + [anon_sym_AMP_AMP] = ACTIONS(1365), + [anon_sym_PIPE_PIPE] = ACTIONS(1365), + [anon_sym_LT] = ACTIONS(169), + [anon_sym_GT] = ACTIONS(169), + [anon_sym_GT_GT] = ACTIONS(169), + [anon_sym_AMP_GT] = ACTIONS(169), + [anon_sym_AMP_GT_GT] = ACTIONS(169), + [anon_sym_LT_AMP] = ACTIONS(169), + [anon_sym_GT_AMP] = ACTIONS(169), + [anon_sym_LT_LT] = ACTIONS(171), + [anon_sym_LT_LT_DASH] = ACTIONS(171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1365), + [anon_sym_LF] = ACTIONS(1365), + [anon_sym_AMP] = ACTIONS(1365), + }, + [517] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(578), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1367), + [anon_sym_elif] = ACTIONS(1367), + [anon_sym_else] = ACTIONS(1367), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -20109,212 +21548,19 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [505] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(543), - [anon_sym_fi] = ACTIONS(1347), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), - [sym_comment] = ACTIONS(115), - }, - [506] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(546), - [anon_sym_esac] = ACTIONS(1351), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [507] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1353), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1353), - [anon_sym_LF] = ACTIONS(1353), - [anon_sym_AMP] = ACTIONS(1353), - }, - [508] = { - [sym_compound_statement] = STATE(548), - [anon_sym_LBRACE] = ACTIONS(1253), - [sym_comment] = ACTIONS(115), - }, - [509] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1177), - [anon_sym_PIPE] = ACTIONS(1355), - [anon_sym_PIPE_AMP] = ACTIONS(1177), - [anon_sym_AMP_AMP] = ACTIONS(1177), - [anon_sym_PIPE_PIPE] = ACTIONS(1177), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), - }, - [510] = { - [sym_for_statement] = STATE(549), - [sym_while_statement] = STATE(549), - [sym_if_statement] = STATE(549), - [sym_case_statement] = STATE(549), - [sym_function_definition] = STATE(549), - [sym_subshell] = STATE(549), - [sym_pipeline] = STATE(549), - [sym_list] = STATE(549), - [sym_bracket_command] = STATE(549), - [sym_command] = STATE(549), - [sym_environment_variable_assignment] = STATE(550), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [511] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(375), - [anon_sym_PIPE] = ACTIONS(547), - [anon_sym_PIPE_AMP] = ACTIONS(375), - [anon_sym_AMP_AMP] = ACTIONS(375), - [anon_sym_PIPE_PIPE] = ACTIONS(375), - [anon_sym_LT] = ACTIONS(547), - [anon_sym_GT] = ACTIONS(547), - [anon_sym_GT_GT] = ACTIONS(375), - [anon_sym_AMP_GT] = ACTIONS(547), - [anon_sym_AMP_GT_GT] = ACTIONS(375), - [anon_sym_LT_AMP] = ACTIONS(375), - [anon_sym_GT_AMP] = ACTIONS(375), - [anon_sym_LT_LT] = ACTIONS(547), - [anon_sym_LT_LT_DASH] = ACTIONS(375), - [sym_comment] = ACTIONS(115), - }, - [512] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(1357), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [513] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(525), - [anon_sym_PIPE] = ACTIONS(527), - [anon_sym_PIPE_AMP] = ACTIONS(525), - [anon_sym_AMP_AMP] = ACTIONS(525), - [anon_sym_PIPE_PIPE] = ACTIONS(525), - [anon_sym_LT] = ACTIONS(527), - [anon_sym_GT] = ACTIONS(527), - [anon_sym_GT_GT] = ACTIONS(525), - [anon_sym_AMP_GT] = ACTIONS(527), - [anon_sym_AMP_GT_GT] = ACTIONS(525), - [anon_sym_LT_AMP] = ACTIONS(525), - [anon_sym_GT_AMP] = ACTIONS(525), - [anon_sym_LT_LT] = ACTIONS(527), - [anon_sym_LT_LT_DASH] = ACTIONS(525), - [sym_comment] = ACTIONS(115), - }, - [514] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(551), - [anon_sym_PIPE] = ACTIONS(553), - [anon_sym_PIPE_AMP] = ACTIONS(551), - [anon_sym_AMP_AMP] = ACTIONS(551), - [anon_sym_PIPE_PIPE] = ACTIONS(551), - [anon_sym_LT] = ACTIONS(553), - [anon_sym_GT] = ACTIONS(553), - [anon_sym_GT_GT] = ACTIONS(551), - [anon_sym_AMP_GT] = ACTIONS(553), - [anon_sym_AMP_GT_GT] = ACTIONS(551), - [anon_sym_LT_AMP] = ACTIONS(551), - [anon_sym_GT_AMP] = ACTIONS(551), - [anon_sym_LT_LT] = ACTIONS(553), - [anon_sym_LT_LT_DASH] = ACTIONS(551), - [sym_comment] = ACTIONS(115), - }, - [515] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(555), - [anon_sym_PIPE] = ACTIONS(557), - [anon_sym_PIPE_AMP] = ACTIONS(555), - [anon_sym_AMP_AMP] = ACTIONS(555), - [anon_sym_PIPE_PIPE] = ACTIONS(555), - [anon_sym_LT] = ACTIONS(557), - [anon_sym_GT] = ACTIONS(557), - [anon_sym_GT_GT] = ACTIONS(555), - [anon_sym_AMP_GT] = ACTIONS(557), - [anon_sym_AMP_GT_GT] = ACTIONS(555), - [anon_sym_LT_AMP] = ACTIONS(555), - [anon_sym_GT_AMP] = ACTIONS(555), - [anon_sym_LT_LT] = ACTIONS(557), - [anon_sym_LT_LT_DASH] = ACTIONS(555), - [sym_comment] = ACTIONS(115), - }, - [516] = { - [anon_sym_RBRACE] = ACTIONS(1359), - [anon_sym_COLON] = ACTIONS(1361), - [anon_sym_EQ] = ACTIONS(1363), - [anon_sym_COLON_QMARK] = ACTIONS(1363), - [anon_sym_COLON_DASH] = ACTIONS(1363), - [sym_comment] = ACTIONS(115), - }, - [517] = { - [anon_sym_RBRACE] = ACTIONS(1365), - [anon_sym_COLON] = ACTIONS(1367), - [anon_sym_EQ] = ACTIONS(1369), - [anon_sym_COLON_QMARK] = ACTIONS(1369), - [anon_sym_COLON_DASH] = ACTIONS(1369), - [sym_comment] = ACTIONS(115), - }, [518] = { - [anon_sym_RPAREN] = ACTIONS(1371), - [sym_comment] = ACTIONS(115), + [anon_sym_SEMI_SEMI] = ACTIONS(1369), + [anon_sym_PIPE] = ACTIONS(1369), + [anon_sym_PIPE_AMP] = ACTIONS(1369), + [anon_sym_AMP_AMP] = ACTIONS(1369), + [anon_sym_PIPE_PIPE] = ACTIONS(1369), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1369), + [anon_sym_LF] = ACTIONS(1369), + [anon_sym_AMP] = ACTIONS(1369), }, [519] = { - [anon_sym_BQUOTE] = ACTIONS(1371), + [anon_sym_fi] = ACTIONS(1371), [sym_comment] = ACTIONS(115), }, [520] = { @@ -20333,16 +21579,16 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(558), + [aux_sym_program_repeat1] = STATE(581), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), + [anon_sym_SEMI_SEMI] = ACTIONS(1373), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1373), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -20361,389 +21607,280 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [521] = { - [anon_sym_RPAREN] = ACTIONS(1375), - [anon_sym_PIPE] = ACTIONS(1377), + [anon_sym_SEMI_SEMI] = ACTIONS(1375), + [anon_sym_PIPE] = ACTIONS(1375), [anon_sym_PIPE_AMP] = ACTIONS(1375), [anon_sym_AMP_AMP] = ACTIONS(1375), [anon_sym_PIPE_PIPE] = ACTIONS(1375), - [sym_comment] = ACTIONS(115), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1375), + [anon_sym_LF] = ACTIONS(1375), + [anon_sym_AMP] = ACTIONS(1375), }, [522] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1183), - [anon_sym_PIPE] = ACTIONS(1379), - [anon_sym_PIPE_AMP] = ACTIONS(1183), - [anon_sym_AMP_AMP] = ACTIONS(1183), - [anon_sym_PIPE_PIPE] = ACTIONS(1183), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), + [anon_sym_esac] = ACTIONS(1377), + [anon_sym_LPAREN] = ACTIONS(1379), + [anon_sym_LT] = ACTIONS(1379), + [anon_sym_GT] = ACTIONS(1379), + [anon_sym_DQUOTE] = ACTIONS(1379), + [sym_raw_string] = ACTIONS(1377), + [anon_sym_DOLLAR] = ACTIONS(1377), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1379), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1379), + [anon_sym_BQUOTE] = ACTIONS(1379), + [sym_word] = ACTIONS(1381), [sym_comment] = ACTIONS(115), }, [523] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(559), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1185), - [anon_sym_PIPE] = ACTIONS(1381), - [anon_sym_PIPE_AMP] = ACTIONS(1185), - [anon_sym_AMP_AMP] = ACTIONS(1185), - [anon_sym_PIPE_PIPE] = ACTIONS(1381), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(1383), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), [sym_comment] = ACTIONS(115), }, [524] = { - [sym_file_redirect] = STATE(168), - [sym_heredoc_redirect] = STATE(168), - [sym_string] = STATE(406), - [sym_simple_expansion] = STATE(406), - [sym_expansion] = STATE(406), - [sym_command_substitution] = STATE(406), - [sym_process_substitution] = STATE(406), - [aux_sym_command_repeat2] = STATE(560), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1187), - [anon_sym_PIPE] = ACTIONS(1383), - [anon_sym_PIPE_AMP] = ACTIONS(1187), - [anon_sym_AMP_AMP] = ACTIONS(1187), - [anon_sym_PIPE_PIPE] = ACTIONS(1383), - [anon_sym_LT] = ACTIONS(1053), - [anon_sym_GT] = ACTIONS(1053), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [anon_sym_DQUOTE] = ACTIONS(689), - [sym_raw_string] = ACTIONS(961), - [anon_sym_DOLLAR] = ACTIONS(693), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(695), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(697), - [anon_sym_BQUOTE] = ACTIONS(699), - [sym_word] = ACTIONS(963), - [sym_comment] = ACTIONS(115), + [anon_sym_in] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), }, [525] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1189), - [anon_sym_PIPE] = ACTIONS(1385), - [anon_sym_PIPE_AMP] = ACTIONS(1189), - [anon_sym_AMP_AMP] = ACTIONS(1189), - [anon_sym_PIPE_PIPE] = ACTIONS(1189), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), - [sym_comment] = ACTIONS(115), + [anon_sym_in] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), }, [526] = { - [anon_sym_esac] = ACTIONS(1387), + [anon_sym_RPAREN] = ACTIONS(1389), + [anon_sym_LPAREN] = ACTIONS(1389), + [anon_sym_RBRACE] = ACTIONS(1389), + [anon_sym_RBRACK] = ACTIONS(1391), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1391), [anon_sym_LT] = ACTIONS(1389), [anon_sym_GT] = ACTIONS(1389), [anon_sym_DQUOTE] = ACTIONS(1389), - [sym_raw_string] = ACTIONS(1387), - [anon_sym_DOLLAR] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1391), + [anon_sym_DOLLAR] = ACTIONS(1391), [anon_sym_DOLLAR_LBRACE] = ACTIONS(1389), [anon_sym_DOLLAR_LPAREN] = ACTIONS(1389), [anon_sym_BQUOTE] = ACTIONS(1389), - [sym_word] = ACTIONS(1391), + [sym_word] = ACTIONS(1385), [sym_comment] = ACTIONS(115), }, [527] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_SEMI_SEMI] = ACTIONS(1393), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [anon_sym_RPAREN] = ACTIONS(1393), + [anon_sym_LPAREN] = ACTIONS(1393), + [anon_sym_RBRACE] = ACTIONS(1393), + [anon_sym_RBRACK] = ACTIONS(1395), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1395), + [anon_sym_LT] = ACTIONS(1393), + [anon_sym_GT] = ACTIONS(1393), + [anon_sym_DQUOTE] = ACTIONS(1393), + [sym_raw_string] = ACTIONS(1395), + [anon_sym_DOLLAR] = ACTIONS(1395), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1393), + [anon_sym_BQUOTE] = ACTIONS(1393), + [sym_word] = ACTIONS(1387), [sym_comment] = ACTIONS(115), }, [528] = { - [anon_sym_SEMI_SEMI] = ACTIONS(1395), - [anon_sym_PIPE] = ACTIONS(1395), - [anon_sym_PIPE_AMP] = ACTIONS(1395), - [anon_sym_AMP_AMP] = ACTIONS(1395), - [anon_sym_PIPE_PIPE] = ACTIONS(1395), + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_LPAREN] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR] = ACTIONS(1187), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_word] = ACTIONS(1187), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1395), - [anon_sym_LF] = ACTIONS(1395), - [anon_sym_AMP] = ACTIONS(1395), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), }, [529] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR] = ACTIONS(1283), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_word] = ACTIONS(1283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), - }, - [530] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [anon_sym_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR] = ACTIONS(1285), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), - }, - [531] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), - }, - [532] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), - }, - [533] = { [anon_sym_RBRACE] = ACTIONS(1397), [sym_comment] = ACTIONS(115), }, - [534] = { + [530] = { [anon_sym_RBRACE] = ACTIONS(1399), [sym_comment] = ACTIONS(115), }, - [535] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1105), - [anon_sym_PIPE] = ACTIONS(1107), - [anon_sym_PIPE_AMP] = ACTIONS(1105), - [anon_sym_AMP_AMP] = ACTIONS(1105), - [anon_sym_PIPE_PIPE] = ACTIONS(1107), - [anon_sym_LT] = ACTIONS(1107), - [anon_sym_GT] = ACTIONS(1107), - [anon_sym_GT_GT] = ACTIONS(1105), - [anon_sym_AMP_GT] = ACTIONS(1107), - [anon_sym_AMP_GT_GT] = ACTIONS(1105), - [anon_sym_LT_AMP] = ACTIONS(1105), - [anon_sym_GT_AMP] = ACTIONS(1105), - [anon_sym_LT_LT] = ACTIONS(1107), - [anon_sym_LT_LT_DASH] = ACTIONS(1105), - [anon_sym_DQUOTE] = ACTIONS(1105), - [sym_raw_string] = ACTIONS(1107), - [anon_sym_DOLLAR] = ACTIONS(1107), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1105), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1105), - [anon_sym_BQUOTE] = ACTIONS(1105), - [sym_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(115), + [531] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), }, - [536] = { + [532] = { [anon_sym_RBRACE] = ACTIONS(1401), [sym_comment] = ACTIONS(115), }, - [537] = { + [533] = { [anon_sym_RBRACE] = ACTIONS(1403), [sym_comment] = ACTIONS(115), }, + [534] = { + [sym__heredoc_middle] = ACTIONS(945), + [sym__heredoc_end] = ACTIONS(945), + [anon_sym_DOLLAR] = ACTIONS(947), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(945), + [sym_comment] = ACTIONS(115), + }, + [535] = { + [sym_string] = STATE(587), + [sym_array] = STATE(587), + [sym_simple_expansion] = STATE(587), + [sym_expansion] = STATE(587), + [sym_command_substitution] = STATE(587), + [sym_process_substitution] = STATE(587), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1405), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1407), + [sym_comment] = ACTIONS(115), + }, + [536] = { + [sym__heredoc_middle] = ACTIONS(953), + [sym__heredoc_end] = ACTIONS(953), + [anon_sym_DOLLAR] = ACTIONS(955), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), + [sym_comment] = ACTIONS(115), + }, + [537] = { + [sym_string] = STATE(588), + [sym_array] = STATE(588), + [sym_simple_expansion] = STATE(588), + [sym_expansion] = STATE(588), + [sym_command_substitution] = STATE(588), + [sym_process_substitution] = STATE(588), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1409), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1411), + [sym_comment] = ACTIONS(115), + }, [538] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_COLON] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_leading_word] = ACTIONS(1283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1389), + [anon_sym_PIPE] = ACTIONS(1391), + [anon_sym_PIPE_AMP] = ACTIONS(1389), + [anon_sym_AMP_AMP] = ACTIONS(1391), + [anon_sym_PIPE_PIPE] = ACTIONS(1389), + [anon_sym_COLON] = ACTIONS(1389), + [anon_sym_LT] = ACTIONS(1391), + [anon_sym_GT] = ACTIONS(1391), + [anon_sym_GT_GT] = ACTIONS(1391), + [anon_sym_AMP_GT] = ACTIONS(1391), + [anon_sym_AMP_GT_GT] = ACTIONS(1391), + [anon_sym_LT_AMP] = ACTIONS(1391), + [anon_sym_GT_AMP] = ACTIONS(1391), + [anon_sym_DQUOTE] = ACTIONS(1389), + [sym_raw_string] = ACTIONS(1391), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1389), + [anon_sym_BQUOTE] = ACTIONS(1389), + [sym_leading_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(115), }, [539] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [anon_sym_COLON] = ACTIONS(1285), - [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_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_leading_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1393), + [anon_sym_PIPE] = ACTIONS(1395), + [anon_sym_PIPE_AMP] = ACTIONS(1393), + [anon_sym_AMP_AMP] = ACTIONS(1395), + [anon_sym_PIPE_PIPE] = ACTIONS(1393), + [anon_sym_COLON] = ACTIONS(1393), + [anon_sym_LT] = ACTIONS(1395), + [anon_sym_GT] = ACTIONS(1395), + [anon_sym_GT_GT] = ACTIONS(1395), + [anon_sym_AMP_GT] = ACTIONS(1395), + [anon_sym_AMP_GT_GT] = ACTIONS(1395), + [anon_sym_LT_AMP] = ACTIONS(1395), + [anon_sym_GT_AMP] = ACTIONS(1395), + [anon_sym_DQUOTE] = ACTIONS(1393), + [sym_raw_string] = ACTIONS(1395), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1393), + [anon_sym_BQUOTE] = ACTIONS(1393), + [sym_leading_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(115), }, [540] = { - [anon_sym_RPAREN] = ACTIONS(1405), - [anon_sym_PIPE] = ACTIONS(1407), - [anon_sym_PIPE_AMP] = ACTIONS(1405), - [anon_sym_AMP_AMP] = ACTIONS(1405), - [anon_sym_PIPE_PIPE] = ACTIONS(1405), - [sym_comment] = ACTIONS(115), + [anon_sym_DQUOTE] = ACTIONS(1385), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1391), + [anon_sym_DOLLAR] = ACTIONS(1385), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), }, [541] = { - [anon_sym_RPAREN] = ACTIONS(1409), - [anon_sym_PIPE] = ACTIONS(1411), - [anon_sym_PIPE_AMP] = ACTIONS(1409), - [anon_sym_AMP_AMP] = ACTIONS(1409), - [anon_sym_PIPE_PIPE] = ACTIONS(1409), - [sym_comment] = ACTIONS(115), + [anon_sym_DQUOTE] = ACTIONS(1387), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1395), + [anon_sym_DOLLAR] = ACTIONS(1387), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), }, [542] = { [anon_sym_RPAREN] = ACTIONS(1413), @@ -20751,565 +21888,502 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_PIPE_AMP] = ACTIONS(1413), [anon_sym_AMP_AMP] = ACTIONS(1413), [anon_sym_PIPE_PIPE] = ACTIONS(1413), + [anon_sym_BQUOTE] = ACTIONS(1413), [sym_comment] = ACTIONS(115), }, [543] = { - [anon_sym_fi] = ACTIONS(1417), + [anon_sym_RPAREN] = ACTIONS(1417), + [anon_sym_PIPE] = ACTIONS(1419), + [anon_sym_PIPE_AMP] = ACTIONS(1417), + [anon_sym_AMP_AMP] = ACTIONS(1417), + [anon_sym_PIPE_PIPE] = ACTIONS(1417), + [anon_sym_BQUOTE] = ACTIONS(1417), [sym_comment] = ACTIONS(115), }, [544] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(567), - [anon_sym_fi] = ACTIONS(1417), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), + [anon_sym_RPAREN] = ACTIONS(1421), + [anon_sym_PIPE] = ACTIONS(1423), + [anon_sym_PIPE_AMP] = ACTIONS(1421), + [anon_sym_AMP_AMP] = ACTIONS(1421), + [anon_sym_PIPE_PIPE] = ACTIONS(1421), + [anon_sym_BQUOTE] = ACTIONS(1421), [sym_comment] = ACTIONS(115), }, [545] = { - [anon_sym_RPAREN] = ACTIONS(1419), - [anon_sym_PIPE] = ACTIONS(1421), - [anon_sym_PIPE_AMP] = ACTIONS(1419), - [anon_sym_AMP_AMP] = ACTIONS(1419), - [anon_sym_PIPE_PIPE] = ACTIONS(1419), + [anon_sym_fi] = ACTIONS(1425), [sym_comment] = ACTIONS(115), }, [546] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(1423), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(590), + [anon_sym_fi] = ACTIONS(1425), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), [sym_comment] = ACTIONS(115), }, [547] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(569), - [anon_sym_esac] = ACTIONS(1423), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), + [anon_sym_RPAREN] = ACTIONS(1427), + [anon_sym_PIPE] = ACTIONS(1429), + [anon_sym_PIPE_AMP] = ACTIONS(1427), + [anon_sym_AMP_AMP] = ACTIONS(1427), + [anon_sym_PIPE_PIPE] = ACTIONS(1427), + [anon_sym_BQUOTE] = ACTIONS(1427), [sym_comment] = ACTIONS(115), }, [548] = { - [anon_sym_RPAREN] = ACTIONS(1425), - [anon_sym_PIPE] = ACTIONS(1427), - [anon_sym_PIPE_AMP] = ACTIONS(1425), - [anon_sym_AMP_AMP] = ACTIONS(1425), - [anon_sym_PIPE_PIPE] = ACTIONS(1425), + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(1431), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), [sym_comment] = ACTIONS(115), }, [549] = { - [anon_sym_RPAREN] = ACTIONS(1429), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(592), + [anon_sym_esac] = ACTIONS(1431), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), [sym_comment] = ACTIONS(115), }, [550] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(1429), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), + [anon_sym_RPAREN] = ACTIONS(1433), + [anon_sym_PIPE] = ACTIONS(1435), + [anon_sym_PIPE_AMP] = ACTIONS(1433), + [anon_sym_AMP_AMP] = ACTIONS(1433), + [anon_sym_PIPE_PIPE] = ACTIONS(1433), + [anon_sym_BQUOTE] = ACTIONS(1433), [sym_comment] = ACTIONS(115), }, [551] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(665), - [anon_sym_PIPE] = ACTIONS(851), - [anon_sym_PIPE_AMP] = ACTIONS(665), - [anon_sym_AMP_AMP] = ACTIONS(665), - [anon_sym_PIPE_PIPE] = ACTIONS(665), - [anon_sym_LT] = ACTIONS(851), - [anon_sym_GT] = ACTIONS(851), - [anon_sym_GT_GT] = ACTIONS(665), - [anon_sym_AMP_GT] = ACTIONS(851), - [anon_sym_AMP_GT_GT] = ACTIONS(665), - [anon_sym_LT_AMP] = ACTIONS(665), - [anon_sym_GT_AMP] = ACTIONS(665), - [anon_sym_LT_LT] = ACTIONS(851), - [anon_sym_LT_LT_DASH] = ACTIONS(665), + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(937), + [anon_sym_LPAREN] = ACTIONS(937), + [anon_sym_PIPE] = ACTIONS(939), + [anon_sym_PIPE_AMP] = ACTIONS(937), + [anon_sym_AMP_AMP] = ACTIONS(937), + [anon_sym_PIPE_PIPE] = ACTIONS(939), + [anon_sym_LT] = ACTIONS(939), + [anon_sym_GT] = ACTIONS(939), + [anon_sym_GT_GT] = ACTIONS(937), + [anon_sym_AMP_GT] = ACTIONS(939), + [anon_sym_AMP_GT_GT] = ACTIONS(937), + [anon_sym_LT_AMP] = ACTIONS(937), + [anon_sym_GT_AMP] = ACTIONS(937), + [anon_sym_LT_LT] = ACTIONS(939), + [anon_sym_LT_LT_DASH] = ACTIONS(937), + [anon_sym_DQUOTE] = ACTIONS(937), + [sym_raw_string] = ACTIONS(939), + [anon_sym_DOLLAR] = ACTIONS(939), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(937), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(937), + [anon_sym_BQUOTE] = ACTIONS(937), + [sym_word] = ACTIONS(907), [sym_comment] = ACTIONS(115), }, [552] = { - [sym_file_descriptor] = ACTIONS(853), - [anon_sym_RPAREN] = ACTIONS(853), - [anon_sym_PIPE] = ACTIONS(855), - [anon_sym_PIPE_AMP] = ACTIONS(853), - [anon_sym_AMP_AMP] = ACTIONS(853), - [anon_sym_PIPE_PIPE] = ACTIONS(853), - [anon_sym_LT] = ACTIONS(855), - [anon_sym_GT] = ACTIONS(855), - [anon_sym_GT_GT] = ACTIONS(853), - [anon_sym_AMP_GT] = ACTIONS(855), - [anon_sym_AMP_GT_GT] = ACTIONS(853), - [anon_sym_LT_AMP] = ACTIONS(853), - [anon_sym_GT_AMP] = ACTIONS(853), - [anon_sym_LT_LT] = ACTIONS(855), - [anon_sym_LT_LT_DASH] = ACTIONS(853), + [anon_sym_RPAREN] = ACTIONS(1437), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [553] = { - [sym_string] = STATE(571), - [sym_simple_expansion] = STATE(571), - [sym_expansion] = STATE(571), - [sym_command_substitution] = STATE(571), - [sym_process_substitution] = STATE(571), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1431), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1433), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1437), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [554] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(861), - [anon_sym_PIPE] = ACTIONS(863), - [anon_sym_PIPE_AMP] = ACTIONS(861), - [anon_sym_AMP_AMP] = ACTIONS(861), - [anon_sym_PIPE_PIPE] = ACTIONS(861), - [anon_sym_LT] = ACTIONS(863), - [anon_sym_GT] = ACTIONS(863), - [anon_sym_GT_GT] = ACTIONS(861), - [anon_sym_AMP_GT] = ACTIONS(863), - [anon_sym_AMP_GT_GT] = ACTIONS(861), - [anon_sym_LT_AMP] = ACTIONS(861), - [anon_sym_GT_AMP] = ACTIONS(861), - [anon_sym_LT_LT] = ACTIONS(863), - [anon_sym_LT_LT_DASH] = ACTIONS(861), + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(735), + [anon_sym_LPAREN] = ACTIONS(735), + [anon_sym_PIPE] = ACTIONS(943), + [anon_sym_PIPE_AMP] = ACTIONS(735), + [anon_sym_AMP_AMP] = ACTIONS(735), + [anon_sym_PIPE_PIPE] = ACTIONS(943), + [anon_sym_LT] = ACTIONS(943), + [anon_sym_GT] = ACTIONS(943), + [anon_sym_GT_GT] = ACTIONS(735), + [anon_sym_AMP_GT] = ACTIONS(943), + [anon_sym_AMP_GT_GT] = ACTIONS(735), + [anon_sym_LT_AMP] = ACTIONS(735), + [anon_sym_GT_AMP] = ACTIONS(735), + [anon_sym_LT_LT] = ACTIONS(943), + [anon_sym_LT_LT_DASH] = ACTIONS(735), + [anon_sym_DQUOTE] = ACTIONS(735), + [sym_raw_string] = ACTIONS(943), + [anon_sym_DOLLAR] = ACTIONS(943), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(735), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(735), + [anon_sym_BQUOTE] = ACTIONS(735), + [sym_word] = ACTIONS(737), [sym_comment] = ACTIONS(115), }, [555] = { - [sym_string] = STATE(572), - [sym_simple_expansion] = STATE(572), - [sym_expansion] = STATE(572), - [sym_command_substitution] = STATE(572), - [sym_process_substitution] = STATE(572), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(1435), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(1437), + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(945), + [anon_sym_LPAREN] = ACTIONS(945), + [anon_sym_PIPE] = ACTIONS(947), + [anon_sym_PIPE_AMP] = ACTIONS(945), + [anon_sym_AMP_AMP] = ACTIONS(945), + [anon_sym_PIPE_PIPE] = ACTIONS(947), + [anon_sym_LT] = ACTIONS(947), + [anon_sym_GT] = ACTIONS(947), + [anon_sym_GT_GT] = ACTIONS(945), + [anon_sym_AMP_GT] = ACTIONS(947), + [anon_sym_AMP_GT_GT] = ACTIONS(945), + [anon_sym_LT_AMP] = ACTIONS(945), + [anon_sym_GT_AMP] = ACTIONS(945), + [anon_sym_LT_LT] = ACTIONS(947), + [anon_sym_LT_LT_DASH] = ACTIONS(945), + [anon_sym_DQUOTE] = ACTIONS(945), + [sym_raw_string] = ACTIONS(947), + [anon_sym_DOLLAR] = ACTIONS(947), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(945), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(945), + [anon_sym_BQUOTE] = ACTIONS(945), + [sym_word] = ACTIONS(925), [sym_comment] = ACTIONS(115), }, [556] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(731), - [anon_sym_PIPE] = ACTIONS(869), - [anon_sym_PIPE_AMP] = ACTIONS(731), - [anon_sym_AMP_AMP] = ACTIONS(731), - [anon_sym_PIPE_PIPE] = ACTIONS(731), - [anon_sym_LT] = ACTIONS(869), - [anon_sym_GT] = ACTIONS(869), - [anon_sym_GT_GT] = ACTIONS(731), - [anon_sym_AMP_GT] = ACTIONS(869), - [anon_sym_AMP_GT_GT] = ACTIONS(731), - [anon_sym_LT_AMP] = ACTIONS(731), - [anon_sym_GT_AMP] = ACTIONS(731), - [anon_sym_LT_LT] = ACTIONS(869), - [anon_sym_LT_LT_DASH] = ACTIONS(731), + [sym_string] = STATE(594), + [sym_array] = STATE(594), + [sym_simple_expansion] = STATE(594), + [sym_expansion] = STATE(594), + [sym_command_substitution] = STATE(594), + [sym_process_substitution] = STATE(594), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1439), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1441), [sym_comment] = ACTIONS(115), }, [557] = { - [anon_sym_RPAREN] = ACTIONS(1439), - [anon_sym_PIPE] = ACTIONS(1441), - [anon_sym_PIPE_AMP] = ACTIONS(1439), - [anon_sym_AMP_AMP] = ACTIONS(1439), - [anon_sym_PIPE_PIPE] = ACTIONS(1439), + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(953), + [anon_sym_LPAREN] = ACTIONS(953), + [anon_sym_PIPE] = ACTIONS(955), + [anon_sym_PIPE_AMP] = ACTIONS(953), + [anon_sym_AMP_AMP] = ACTIONS(953), + [anon_sym_PIPE_PIPE] = ACTIONS(955), + [anon_sym_LT] = ACTIONS(955), + [anon_sym_GT] = ACTIONS(955), + [anon_sym_GT_GT] = ACTIONS(953), + [anon_sym_AMP_GT] = ACTIONS(955), + [anon_sym_AMP_GT_GT] = ACTIONS(953), + [anon_sym_LT_AMP] = ACTIONS(953), + [anon_sym_GT_AMP] = ACTIONS(953), + [anon_sym_LT_LT] = ACTIONS(955), + [anon_sym_LT_LT_DASH] = ACTIONS(953), + [anon_sym_DQUOTE] = ACTIONS(953), + [sym_raw_string] = ACTIONS(955), + [anon_sym_DOLLAR] = ACTIONS(955), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(953), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(953), + [anon_sym_BQUOTE] = ACTIONS(953), + [sym_word] = ACTIONS(931), [sym_comment] = ACTIONS(115), }, [558] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1443), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [sym_string] = STATE(595), + [sym_array] = STATE(595), + [sym_simple_expansion] = STATE(595), + [sym_expansion] = STATE(595), + [sym_command_substitution] = STATE(595), + [sym_process_substitution] = STATE(595), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1443), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1445), [sym_comment] = ACTIONS(115), }, [559] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1323), - [anon_sym_PIPE] = ACTIONS(1445), - [anon_sym_PIPE_AMP] = ACTIONS(1323), - [anon_sym_AMP_AMP] = ACTIONS(1323), - [anon_sym_PIPE_PIPE] = ACTIONS(1323), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(845), + [anon_sym_LPAREN] = ACTIONS(845), + [anon_sym_PIPE] = ACTIONS(961), + [anon_sym_PIPE_AMP] = ACTIONS(845), + [anon_sym_AMP_AMP] = ACTIONS(845), + [anon_sym_PIPE_PIPE] = ACTIONS(961), + [anon_sym_LT] = ACTIONS(961), + [anon_sym_GT] = ACTIONS(961), + [anon_sym_GT_GT] = ACTIONS(845), + [anon_sym_AMP_GT] = ACTIONS(961), + [anon_sym_AMP_GT_GT] = ACTIONS(845), + [anon_sym_LT_AMP] = ACTIONS(845), + [anon_sym_GT_AMP] = ACTIONS(845), + [anon_sym_LT_LT] = ACTIONS(961), + [anon_sym_LT_LT_DASH] = ACTIONS(845), + [anon_sym_DQUOTE] = ACTIONS(845), + [sym_raw_string] = ACTIONS(961), + [anon_sym_DOLLAR] = ACTIONS(961), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(845), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(845), + [anon_sym_BQUOTE] = ACTIONS(845), + [sym_word] = ACTIONS(847), [sym_comment] = ACTIONS(115), }, [560] = { - [sym_file_redirect] = STATE(297), - [sym_heredoc_redirect] = STATE(297), - [sym_file_descriptor] = ACTIONS(801), - [anon_sym_RPAREN] = ACTIONS(1325), - [anon_sym_PIPE] = ACTIONS(1447), - [anon_sym_PIPE_AMP] = ACTIONS(1325), - [anon_sym_AMP_AMP] = ACTIONS(1325), - [anon_sym_PIPE_PIPE] = ACTIONS(1325), - [anon_sym_LT] = ACTIONS(1057), - [anon_sym_GT] = ACTIONS(1057), - [anon_sym_GT_GT] = ACTIONS(1055), - [anon_sym_AMP_GT] = ACTIONS(1057), - [anon_sym_AMP_GT_GT] = ACTIONS(1055), - [anon_sym_LT_AMP] = ACTIONS(1055), - [anon_sym_GT_AMP] = ACTIONS(1055), - [anon_sym_LT_LT] = ACTIONS(685), - [anon_sym_LT_LT_DASH] = ACTIONS(687), + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(937), + [anon_sym_PIPE] = ACTIONS(939), + [anon_sym_PIPE_AMP] = ACTIONS(937), + [anon_sym_AMP_AMP] = ACTIONS(937), + [anon_sym_PIPE_PIPE] = ACTIONS(937), + [anon_sym_LT] = ACTIONS(939), + [anon_sym_GT] = ACTIONS(939), + [anon_sym_GT_GT] = ACTIONS(937), + [anon_sym_AMP_GT] = ACTIONS(939), + [anon_sym_AMP_GT_GT] = ACTIONS(937), + [anon_sym_LT_AMP] = ACTIONS(937), + [anon_sym_GT_AMP] = ACTIONS(937), + [anon_sym_LT_LT] = ACTIONS(939), + [anon_sym_LT_LT_DASH] = ACTIONS(937), + [anon_sym_BQUOTE] = ACTIONS(937), [sym_comment] = ACTIONS(115), }, [561] = { - [anon_sym_esac] = ACTIONS(1449), - [anon_sym_LT] = ACTIONS(1451), - [anon_sym_GT] = ACTIONS(1451), - [anon_sym_DQUOTE] = ACTIONS(1451), - [sym_raw_string] = ACTIONS(1449), - [anon_sym_DOLLAR] = ACTIONS(1449), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1451), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1451), - [anon_sym_BQUOTE] = ACTIONS(1451), - [sym_word] = ACTIONS(1453), + [anon_sym_RPAREN] = ACTIONS(1447), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, [562] = { - [sym__heredoc_middle] = ACTIONS(1287), - [sym__heredoc_end] = ACTIONS(1287), - [anon_sym_DOLLAR] = ACTIONS(1289), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1287), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(1447), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, [563] = { - [sym__heredoc_middle] = ACTIONS(1291), - [sym__heredoc_end] = ACTIONS(1291), - [anon_sym_DOLLAR] = ACTIONS(1293), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1291), + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(735), + [anon_sym_PIPE] = ACTIONS(943), + [anon_sym_PIPE_AMP] = ACTIONS(735), + [anon_sym_AMP_AMP] = ACTIONS(735), + [anon_sym_PIPE_PIPE] = ACTIONS(735), + [anon_sym_LT] = ACTIONS(943), + [anon_sym_GT] = ACTIONS(943), + [anon_sym_GT_GT] = ACTIONS(735), + [anon_sym_AMP_GT] = ACTIONS(943), + [anon_sym_AMP_GT_GT] = ACTIONS(735), + [anon_sym_LT_AMP] = ACTIONS(735), + [anon_sym_GT_AMP] = ACTIONS(735), + [anon_sym_LT_LT] = ACTIONS(943), + [anon_sym_LT_LT_DASH] = ACTIONS(735), + [anon_sym_BQUOTE] = ACTIONS(735), [sym_comment] = ACTIONS(115), }, [564] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1287), - [anon_sym_PIPE] = ACTIONS(1289), - [anon_sym_PIPE_AMP] = ACTIONS(1287), - [anon_sym_AMP_AMP] = ACTIONS(1287), - [anon_sym_PIPE_PIPE] = ACTIONS(1289), - [anon_sym_LT] = ACTIONS(1289), - [anon_sym_GT] = ACTIONS(1289), - [anon_sym_GT_GT] = ACTIONS(1287), - [anon_sym_AMP_GT] = ACTIONS(1289), - [anon_sym_AMP_GT_GT] = ACTIONS(1287), - [anon_sym_LT_AMP] = ACTIONS(1287), - [anon_sym_GT_AMP] = ACTIONS(1287), - [anon_sym_LT_LT] = ACTIONS(1289), - [anon_sym_LT_LT_DASH] = ACTIONS(1287), - [anon_sym_DQUOTE] = ACTIONS(1287), - [sym_raw_string] = ACTIONS(1289), - [anon_sym_DOLLAR] = ACTIONS(1289), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1287), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1287), - [anon_sym_BQUOTE] = ACTIONS(1287), - [sym_word] = ACTIONS(1283), + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(945), + [anon_sym_PIPE] = ACTIONS(947), + [anon_sym_PIPE_AMP] = ACTIONS(945), + [anon_sym_AMP_AMP] = ACTIONS(945), + [anon_sym_PIPE_PIPE] = ACTIONS(945), + [anon_sym_LT] = ACTIONS(947), + [anon_sym_GT] = ACTIONS(947), + [anon_sym_GT_GT] = ACTIONS(945), + [anon_sym_AMP_GT] = ACTIONS(947), + [anon_sym_AMP_GT_GT] = ACTIONS(945), + [anon_sym_LT_AMP] = ACTIONS(945), + [anon_sym_GT_AMP] = ACTIONS(945), + [anon_sym_LT_LT] = ACTIONS(947), + [anon_sym_LT_LT_DASH] = ACTIONS(945), + [anon_sym_BQUOTE] = ACTIONS(945), [sym_comment] = ACTIONS(115), }, [565] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1291), - [anon_sym_PIPE] = ACTIONS(1293), - [anon_sym_PIPE_AMP] = ACTIONS(1291), - [anon_sym_AMP_AMP] = ACTIONS(1291), - [anon_sym_PIPE_PIPE] = ACTIONS(1293), - [anon_sym_LT] = ACTIONS(1293), - [anon_sym_GT] = ACTIONS(1293), - [anon_sym_GT_GT] = ACTIONS(1291), - [anon_sym_AMP_GT] = ACTIONS(1293), - [anon_sym_AMP_GT_GT] = ACTIONS(1291), - [anon_sym_LT_AMP] = ACTIONS(1291), - [anon_sym_GT_AMP] = ACTIONS(1291), - [anon_sym_LT_LT] = ACTIONS(1293), - [anon_sym_LT_LT_DASH] = ACTIONS(1291), - [anon_sym_DQUOTE] = ACTIONS(1291), - [sym_raw_string] = ACTIONS(1293), - [anon_sym_DOLLAR] = ACTIONS(1293), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1291), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1291), - [anon_sym_BQUOTE] = ACTIONS(1291), - [sym_word] = ACTIONS(1285), + [sym_string] = STATE(597), + [sym_array] = STATE(597), + [sym_simple_expansion] = STATE(597), + [sym_expansion] = STATE(597), + [sym_command_substitution] = STATE(597), + [sym_process_substitution] = STATE(597), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1449), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1451), [sym_comment] = ACTIONS(115), }, [566] = { - [anon_sym_RPAREN] = ACTIONS(1455), - [anon_sym_PIPE] = ACTIONS(1457), - [anon_sym_PIPE_AMP] = ACTIONS(1455), - [anon_sym_AMP_AMP] = ACTIONS(1455), - [anon_sym_PIPE_PIPE] = ACTIONS(1455), + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(953), + [anon_sym_PIPE] = ACTIONS(955), + [anon_sym_PIPE_AMP] = ACTIONS(953), + [anon_sym_AMP_AMP] = ACTIONS(953), + [anon_sym_PIPE_PIPE] = ACTIONS(953), + [anon_sym_LT] = ACTIONS(955), + [anon_sym_GT] = ACTIONS(955), + [anon_sym_GT_GT] = ACTIONS(953), + [anon_sym_AMP_GT] = ACTIONS(955), + [anon_sym_AMP_GT_GT] = ACTIONS(953), + [anon_sym_LT_AMP] = ACTIONS(953), + [anon_sym_GT_AMP] = ACTIONS(953), + [anon_sym_LT_LT] = ACTIONS(955), + [anon_sym_LT_LT_DASH] = ACTIONS(953), + [anon_sym_BQUOTE] = ACTIONS(953), [sym_comment] = ACTIONS(115), }, [567] = { - [anon_sym_fi] = ACTIONS(1459), + [sym_string] = STATE(598), + [sym_array] = STATE(598), + [sym_simple_expansion] = STATE(598), + [sym_expansion] = STATE(598), + [sym_command_substitution] = STATE(598), + [sym_process_substitution] = STATE(598), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(1453), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(1455), [sym_comment] = ACTIONS(115), }, [568] = { - [anon_sym_RPAREN] = ACTIONS(1461), - [anon_sym_PIPE] = ACTIONS(1463), - [anon_sym_PIPE_AMP] = ACTIONS(1461), - [anon_sym_AMP_AMP] = ACTIONS(1461), - [anon_sym_PIPE_PIPE] = ACTIONS(1461), + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(845), + [anon_sym_PIPE] = ACTIONS(961), + [anon_sym_PIPE_AMP] = ACTIONS(845), + [anon_sym_AMP_AMP] = ACTIONS(845), + [anon_sym_PIPE_PIPE] = ACTIONS(845), + [anon_sym_LT] = ACTIONS(961), + [anon_sym_GT] = ACTIONS(961), + [anon_sym_GT_GT] = ACTIONS(845), + [anon_sym_AMP_GT] = ACTIONS(961), + [anon_sym_AMP_GT_GT] = ACTIONS(845), + [anon_sym_LT_AMP] = ACTIONS(845), + [anon_sym_GT_AMP] = ACTIONS(845), + [anon_sym_LT_LT] = ACTIONS(961), + [anon_sym_LT_LT_DASH] = ACTIONS(845), + [anon_sym_BQUOTE] = ACTIONS(845), [sym_comment] = ACTIONS(115), }, [569] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(1465), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), + [sym_file_descriptor] = ACTIONS(1253), + [anon_sym_RPAREN] = ACTIONS(1253), + [anon_sym_PIPE] = ACTIONS(1457), + [anon_sym_PIPE_AMP] = ACTIONS(1253), + [anon_sym_AMP_AMP] = ACTIONS(1253), + [anon_sym_PIPE_PIPE] = ACTIONS(1253), + [anon_sym_LT] = ACTIONS(1457), + [anon_sym_GT] = ACTIONS(1457), + [anon_sym_GT_GT] = ACTIONS(1253), + [anon_sym_AMP_GT] = ACTIONS(1457), + [anon_sym_AMP_GT_GT] = ACTIONS(1253), + [anon_sym_LT_AMP] = ACTIONS(1253), + [anon_sym_GT_AMP] = ACTIONS(1253), + [anon_sym_LT_LT] = ACTIONS(1457), + [anon_sym_LT_LT_DASH] = ACTIONS(1253), + [anon_sym_BQUOTE] = ACTIONS(1253), [sym_comment] = ACTIONS(115), }, [570] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1105), - [anon_sym_PIPE] = ACTIONS(1107), - [anon_sym_PIPE_AMP] = ACTIONS(1105), - [anon_sym_AMP_AMP] = ACTIONS(1105), - [anon_sym_PIPE_PIPE] = ACTIONS(1105), - [anon_sym_LT] = ACTIONS(1107), - [anon_sym_GT] = ACTIONS(1107), - [anon_sym_GT_GT] = ACTIONS(1105), - [anon_sym_AMP_GT] = ACTIONS(1107), - [anon_sym_AMP_GT_GT] = ACTIONS(1105), - [anon_sym_LT_AMP] = ACTIONS(1105), - [anon_sym_GT_AMP] = ACTIONS(1105), - [anon_sym_LT_LT] = ACTIONS(1107), - [anon_sym_LT_LT_DASH] = ACTIONS(1105), + [anon_sym_RPAREN] = ACTIONS(1459), + [anon_sym_PIPE] = ACTIONS(1461), + [anon_sym_PIPE_AMP] = ACTIONS(1459), + [anon_sym_AMP_AMP] = ACTIONS(1459), + [anon_sym_PIPE_PIPE] = ACTIONS(1459), + [anon_sym_BQUOTE] = ACTIONS(1459), [sym_comment] = ACTIONS(115), }, [571] = { - [anon_sym_RBRACE] = ACTIONS(1467), - [sym_comment] = ACTIONS(115), - }, - [572] = { - [anon_sym_RBRACE] = ACTIONS(1469), - [sym_comment] = ACTIONS(115), - }, - [573] = { - [anon_sym_RPAREN] = ACTIONS(1471), - [anon_sym_PIPE] = ACTIONS(1473), - [anon_sym_PIPE_AMP] = ACTIONS(1471), - [anon_sym_AMP_AMP] = ACTIONS(1471), - [anon_sym_PIPE_PIPE] = ACTIONS(1471), - [sym_comment] = ACTIONS(115), - }, - [574] = { - [anon_sym_RPAREN] = ACTIONS(1475), - [anon_sym_PIPE] = ACTIONS(1477), - [anon_sym_PIPE_AMP] = ACTIONS(1475), - [anon_sym_AMP_AMP] = ACTIONS(1475), - [anon_sym_PIPE_PIPE] = ACTIONS(1475), - [sym_comment] = ACTIONS(115), - }, - [575] = { - [anon_sym_RPAREN] = ACTIONS(1479), - [anon_sym_PIPE] = ACTIONS(1481), - [anon_sym_PIPE_AMP] = ACTIONS(1479), - [anon_sym_AMP_AMP] = ACTIONS(1479), - [anon_sym_PIPE_PIPE] = ACTIONS(1479), - [sym_comment] = ACTIONS(115), - }, - [576] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1287), - [anon_sym_PIPE] = ACTIONS(1289), - [anon_sym_PIPE_AMP] = ACTIONS(1287), - [anon_sym_AMP_AMP] = ACTIONS(1287), - [anon_sym_PIPE_PIPE] = ACTIONS(1287), - [anon_sym_LT] = ACTIONS(1289), - [anon_sym_GT] = ACTIONS(1289), - [anon_sym_GT_GT] = ACTIONS(1287), - [anon_sym_AMP_GT] = ACTIONS(1289), - [anon_sym_AMP_GT_GT] = ACTIONS(1287), - [anon_sym_LT_AMP] = ACTIONS(1287), - [anon_sym_GT_AMP] = ACTIONS(1287), - [anon_sym_LT_LT] = ACTIONS(1289), - [anon_sym_LT_LT_DASH] = ACTIONS(1287), - [sym_comment] = ACTIONS(115), - }, - [577] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1291), - [anon_sym_PIPE] = ACTIONS(1293), - [anon_sym_PIPE_AMP] = ACTIONS(1291), - [anon_sym_AMP_AMP] = ACTIONS(1291), - [anon_sym_PIPE_PIPE] = ACTIONS(1291), - [anon_sym_LT] = ACTIONS(1293), - [anon_sym_GT] = ACTIONS(1293), - [anon_sym_GT_GT] = ACTIONS(1291), - [anon_sym_AMP_GT] = ACTIONS(1293), - [anon_sym_AMP_GT_GT] = ACTIONS(1291), - [anon_sym_LT_AMP] = ACTIONS(1291), - [anon_sym_GT_AMP] = ACTIONS(1291), - [anon_sym_LT_LT] = ACTIONS(1293), - [anon_sym_LT_LT_DASH] = ACTIONS(1291), - [sym_comment] = ACTIONS(115), - }, - [578] = { - [sym_word] = ACTIONS(1483), - [sym_comment] = ACTIONS(115), - }, - [579] = { - [sym__terminated_statement] = STATE(639), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1485), - [anon_sym_while] = ACTIONS(1487), - [anon_sym_if] = ACTIONS(1489), - [anon_sym_case] = ACTIONS(1491), - [anon_sym_SEMI_SEMI] = ACTIONS(1493), - [anon_sym_function] = ACTIONS(1495), - [anon_sym_LPAREN] = ACTIONS(1497), - [anon_sym_LBRACK] = ACTIONS(1499), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1501), - [anon_sym_COLON] = ACTIONS(1503), - [anon_sym_LT] = ACTIONS(1505), - [anon_sym_GT] = ACTIONS(1505), - [anon_sym_GT_GT] = ACTIONS(1505), - [anon_sym_AMP_GT] = ACTIONS(1505), - [anon_sym_AMP_GT_GT] = ACTIONS(1505), - [anon_sym_LT_AMP] = ACTIONS(1505), - [anon_sym_GT_AMP] = ACTIONS(1505), - [anon_sym_DQUOTE] = ACTIONS(1507), - [sym_raw_string] = ACTIONS(1503), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1509), - [anon_sym_BQUOTE] = ACTIONS(1511), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1493), - [anon_sym_LF] = ACTIONS(1493), - [anon_sym_AMP] = ACTIONS(1493), - }, - [580] = { - [sym__terminated_statement] = STATE(640), - [sym_for_statement] = STATE(27), - [sym_while_statement] = STATE(27), - [sym_if_statement] = STATE(27), - [sym_case_statement] = STATE(27), - [sym_function_definition] = STATE(27), - [sym_subshell] = STATE(27), - [sym_pipeline] = STATE(27), - [sym_list] = STATE(27), - [sym_bracket_command] = STATE(27), - [sym_command] = STATE(27), - [sym_environment_variable_assignment] = STATE(28), + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), @@ -21321,6 +22395,137 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(1463), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [572] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1465), + [anon_sym_PIPE] = ACTIONS(1467), + [anon_sym_PIPE_AMP] = ACTIONS(1465), + [anon_sym_AMP_AMP] = ACTIONS(1465), + [anon_sym_PIPE_PIPE] = ACTIONS(1465), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1465), + [sym_comment] = ACTIONS(115), + }, + [573] = { + [sym_file_redirect] = STATE(361), + [sym_heredoc_redirect] = STATE(361), + [sym_file_descriptor] = ACTIONS(443), + [anon_sym_RPAREN] = ACTIONS(1469), + [anon_sym_PIPE] = ACTIONS(1471), + [anon_sym_PIPE_AMP] = ACTIONS(1469), + [anon_sym_AMP_AMP] = ACTIONS(1469), + [anon_sym_PIPE_PIPE] = ACTIONS(1469), + [anon_sym_LT] = ACTIONS(777), + [anon_sym_GT] = ACTIONS(777), + [anon_sym_GT_GT] = ACTIONS(775), + [anon_sym_AMP_GT] = ACTIONS(777), + [anon_sym_AMP_GT_GT] = ACTIONS(775), + [anon_sym_LT_AMP] = ACTIONS(775), + [anon_sym_GT_AMP] = ACTIONS(775), + [anon_sym_LT_LT] = ACTIONS(779), + [anon_sym_LT_LT_DASH] = ACTIONS(781), + [anon_sym_BQUOTE] = ACTIONS(1469), + [sym_comment] = ACTIONS(115), + }, + [574] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1473), + [anon_sym_PIPE] = ACTIONS(1473), + [anon_sym_PIPE_AMP] = ACTIONS(1473), + [anon_sym_AMP_AMP] = ACTIONS(1473), + [anon_sym_PIPE_PIPE] = ACTIONS(1473), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1473), + [anon_sym_LF] = ACTIONS(1473), + [anon_sym_AMP] = ACTIONS(1473), + }, + [575] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_COLON] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_leading_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [576] = { + [anon_sym_RBRACE] = ACTIONS(1475), + [sym_comment] = ACTIONS(115), + }, + [577] = { + [anon_sym_RBRACE] = ACTIONS(1477), + [sym_comment] = ACTIONS(115), + }, + [578] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1479), + [anon_sym_elif] = ACTIONS(1479), + [anon_sym_else] = ACTIONS(1479), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -21338,8 +22543,33 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, + [579] = { + [anon_sym_SEMI_SEMI] = ACTIONS(1481), + [anon_sym_PIPE] = ACTIONS(1481), + [anon_sym_PIPE_AMP] = ACTIONS(1481), + [anon_sym_AMP_AMP] = ACTIONS(1481), + [anon_sym_PIPE_PIPE] = ACTIONS(1481), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1481), + [anon_sym_LF] = ACTIONS(1481), + [anon_sym_AMP] = ACTIONS(1481), + }, + [580] = { + [anon_sym_esac] = ACTIONS(1483), + [anon_sym_LPAREN] = ACTIONS(1485), + [anon_sym_LT] = ACTIONS(1485), + [anon_sym_GT] = ACTIONS(1485), + [anon_sym_DQUOTE] = ACTIONS(1485), + [sym_raw_string] = ACTIONS(1483), + [anon_sym_DOLLAR] = ACTIONS(1483), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1485), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1485), + [anon_sym_BQUOTE] = ACTIONS(1485), + [sym_word] = ACTIONS(1487), + [sym_comment] = ACTIONS(115), + }, [581] = { - [sym__terminated_statement] = STATE(18), + [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), @@ -21354,14 +22584,13 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(642), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(1513), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), + [anon_sym_SEMI_SEMI] = ACTIONS(1489), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -21382,19 +22611,474 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_comment] = ACTIONS(115), }, [582] = { - [anon_sym_RPAREN] = ACTIONS(1515), - [anon_sym_SEMI_SEMI] = ACTIONS(1515), - [anon_sym_PIPE] = ACTIONS(1515), - [anon_sym_PIPE_AMP] = ACTIONS(1515), - [anon_sym_AMP_AMP] = ACTIONS(1515), - [anon_sym_PIPE_PIPE] = ACTIONS(1515), + [anon_sym_SEMI_SEMI] = ACTIONS(1491), + [anon_sym_PIPE] = ACTIONS(1491), + [anon_sym_PIPE_AMP] = ACTIONS(1491), + [anon_sym_AMP_AMP] = ACTIONS(1491), + [anon_sym_PIPE_PIPE] = ACTIONS(1491), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1515), - [anon_sym_LF] = ACTIONS(1515), - [anon_sym_AMP] = ACTIONS(1515), + [anon_sym_SEMI] = ACTIONS(1491), + [anon_sym_LF] = ACTIONS(1491), + [anon_sym_AMP] = ACTIONS(1491), }, [583] = { - [sym__terminated_statement] = STATE(643), + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_LPAREN] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR] = ACTIONS(1385), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [584] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_LPAREN] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR] = ACTIONS(1387), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [585] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [586] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [587] = { + [anon_sym_RBRACE] = ACTIONS(1493), + [sym_comment] = ACTIONS(115), + }, + [588] = { + [anon_sym_RBRACE] = ACTIONS(1495), + [sym_comment] = ACTIONS(115), + }, + [589] = { + [anon_sym_RPAREN] = ACTIONS(1497), + [anon_sym_PIPE] = ACTIONS(1499), + [anon_sym_PIPE_AMP] = ACTIONS(1497), + [anon_sym_AMP_AMP] = ACTIONS(1497), + [anon_sym_PIPE_PIPE] = ACTIONS(1497), + [anon_sym_BQUOTE] = ACTIONS(1497), + [sym_comment] = ACTIONS(115), + }, + [590] = { + [anon_sym_fi] = ACTIONS(1501), + [sym_comment] = ACTIONS(115), + }, + [591] = { + [anon_sym_RPAREN] = ACTIONS(1503), + [anon_sym_PIPE] = ACTIONS(1505), + [anon_sym_PIPE_AMP] = ACTIONS(1503), + [anon_sym_AMP_AMP] = ACTIONS(1503), + [anon_sym_PIPE_PIPE] = ACTIONS(1503), + [anon_sym_BQUOTE] = ACTIONS(1503), + [sym_comment] = ACTIONS(115), + }, + [592] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(1507), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [593] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1209), + [anon_sym_LPAREN] = ACTIONS(1209), + [anon_sym_PIPE] = ACTIONS(1211), + [anon_sym_PIPE_AMP] = ACTIONS(1209), + [anon_sym_AMP_AMP] = ACTIONS(1209), + [anon_sym_PIPE_PIPE] = ACTIONS(1211), + [anon_sym_LT] = ACTIONS(1211), + [anon_sym_GT] = ACTIONS(1211), + [anon_sym_GT_GT] = ACTIONS(1209), + [anon_sym_AMP_GT] = ACTIONS(1211), + [anon_sym_AMP_GT_GT] = ACTIONS(1209), + [anon_sym_LT_AMP] = ACTIONS(1209), + [anon_sym_GT_AMP] = ACTIONS(1209), + [anon_sym_LT_LT] = ACTIONS(1211), + [anon_sym_LT_LT_DASH] = ACTIONS(1209), + [anon_sym_DQUOTE] = ACTIONS(1209), + [sym_raw_string] = ACTIONS(1211), + [anon_sym_DOLLAR] = ACTIONS(1211), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1209), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1209), + [anon_sym_BQUOTE] = ACTIONS(1209), + [sym_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(115), + }, + [594] = { + [anon_sym_RBRACE] = ACTIONS(1509), + [sym_comment] = ACTIONS(115), + }, + [595] = { + [anon_sym_RBRACE] = ACTIONS(1511), + [sym_comment] = ACTIONS(115), + }, + [596] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1209), + [anon_sym_PIPE] = ACTIONS(1211), + [anon_sym_PIPE_AMP] = ACTIONS(1209), + [anon_sym_AMP_AMP] = ACTIONS(1209), + [anon_sym_PIPE_PIPE] = ACTIONS(1209), + [anon_sym_LT] = ACTIONS(1211), + [anon_sym_GT] = ACTIONS(1211), + [anon_sym_GT_GT] = ACTIONS(1209), + [anon_sym_AMP_GT] = ACTIONS(1211), + [anon_sym_AMP_GT_GT] = ACTIONS(1209), + [anon_sym_LT_AMP] = ACTIONS(1209), + [anon_sym_GT_AMP] = ACTIONS(1209), + [anon_sym_LT_LT] = ACTIONS(1211), + [anon_sym_LT_LT_DASH] = ACTIONS(1209), + [anon_sym_BQUOTE] = ACTIONS(1209), + [sym_comment] = ACTIONS(115), + }, + [597] = { + [anon_sym_RBRACE] = ACTIONS(1513), + [sym_comment] = ACTIONS(115), + }, + [598] = { + [anon_sym_RBRACE] = ACTIONS(1515), + [sym_comment] = ACTIONS(115), + }, + [599] = { + [anon_sym_RPAREN] = ACTIONS(1517), + [anon_sym_PIPE] = ACTIONS(1519), + [anon_sym_PIPE_AMP] = ACTIONS(1517), + [anon_sym_AMP_AMP] = ACTIONS(1517), + [anon_sym_PIPE_PIPE] = ACTIONS(1517), + [anon_sym_BQUOTE] = ACTIONS(1517), + [sym_comment] = ACTIONS(115), + }, + [600] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_COLON] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_leading_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [601] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_COLON] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_leading_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [602] = { + [anon_sym_esac] = ACTIONS(1521), + [anon_sym_LPAREN] = ACTIONS(1523), + [anon_sym_LT] = ACTIONS(1523), + [anon_sym_GT] = ACTIONS(1523), + [anon_sym_DQUOTE] = ACTIONS(1523), + [sym_raw_string] = ACTIONS(1521), + [anon_sym_DOLLAR] = ACTIONS(1521), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1523), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1523), + [anon_sym_BQUOTE] = ACTIONS(1523), + [sym_word] = ACTIONS(1525), + [sym_comment] = ACTIONS(115), + }, + [603] = { + [sym__heredoc_middle] = ACTIONS(1389), + [sym__heredoc_end] = ACTIONS(1389), + [anon_sym_DOLLAR] = ACTIONS(1391), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1389), + [sym_comment] = ACTIONS(115), + }, + [604] = { + [sym__heredoc_middle] = ACTIONS(1393), + [sym__heredoc_end] = ACTIONS(1393), + [anon_sym_DOLLAR] = ACTIONS(1395), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), + [sym_comment] = ACTIONS(115), + }, + [605] = { + [anon_sym_RPAREN] = ACTIONS(1527), + [anon_sym_PIPE] = ACTIONS(1529), + [anon_sym_PIPE_AMP] = ACTIONS(1527), + [anon_sym_AMP_AMP] = ACTIONS(1527), + [anon_sym_PIPE_PIPE] = ACTIONS(1527), + [anon_sym_BQUOTE] = ACTIONS(1527), + [sym_comment] = ACTIONS(115), + }, + [606] = { + [anon_sym_RPAREN] = ACTIONS(1531), + [anon_sym_PIPE] = ACTIONS(1533), + [anon_sym_PIPE_AMP] = ACTIONS(1531), + [anon_sym_AMP_AMP] = ACTIONS(1531), + [anon_sym_PIPE_PIPE] = ACTIONS(1531), + [anon_sym_BQUOTE] = ACTIONS(1531), + [sym_comment] = ACTIONS(115), + }, + [607] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1389), + [anon_sym_LPAREN] = ACTIONS(1389), + [anon_sym_PIPE] = ACTIONS(1391), + [anon_sym_PIPE_AMP] = ACTIONS(1389), + [anon_sym_AMP_AMP] = ACTIONS(1389), + [anon_sym_PIPE_PIPE] = ACTIONS(1391), + [anon_sym_LT] = ACTIONS(1391), + [anon_sym_GT] = ACTIONS(1391), + [anon_sym_GT_GT] = ACTIONS(1389), + [anon_sym_AMP_GT] = ACTIONS(1391), + [anon_sym_AMP_GT_GT] = ACTIONS(1389), + [anon_sym_LT_AMP] = ACTIONS(1389), + [anon_sym_GT_AMP] = ACTIONS(1389), + [anon_sym_LT_LT] = ACTIONS(1391), + [anon_sym_LT_LT_DASH] = ACTIONS(1389), + [anon_sym_DQUOTE] = ACTIONS(1389), + [sym_raw_string] = ACTIONS(1391), + [anon_sym_DOLLAR] = ACTIONS(1391), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1389), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1389), + [anon_sym_BQUOTE] = ACTIONS(1389), + [sym_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(115), + }, + [608] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1393), + [anon_sym_LPAREN] = ACTIONS(1393), + [anon_sym_PIPE] = ACTIONS(1395), + [anon_sym_PIPE_AMP] = ACTIONS(1393), + [anon_sym_AMP_AMP] = ACTIONS(1393), + [anon_sym_PIPE_PIPE] = ACTIONS(1395), + [anon_sym_LT] = ACTIONS(1395), + [anon_sym_GT] = ACTIONS(1395), + [anon_sym_GT_GT] = ACTIONS(1393), + [anon_sym_AMP_GT] = ACTIONS(1395), + [anon_sym_AMP_GT_GT] = ACTIONS(1393), + [anon_sym_LT_AMP] = ACTIONS(1393), + [anon_sym_GT_AMP] = ACTIONS(1393), + [anon_sym_LT_LT] = ACTIONS(1395), + [anon_sym_LT_LT_DASH] = ACTIONS(1393), + [anon_sym_DQUOTE] = ACTIONS(1393), + [sym_raw_string] = ACTIONS(1395), + [anon_sym_DOLLAR] = ACTIONS(1395), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1393), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1393), + [anon_sym_BQUOTE] = ACTIONS(1393), + [sym_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(115), + }, + [609] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1389), + [anon_sym_PIPE] = ACTIONS(1391), + [anon_sym_PIPE_AMP] = ACTIONS(1389), + [anon_sym_AMP_AMP] = ACTIONS(1389), + [anon_sym_PIPE_PIPE] = ACTIONS(1389), + [anon_sym_LT] = ACTIONS(1391), + [anon_sym_GT] = ACTIONS(1391), + [anon_sym_GT_GT] = ACTIONS(1389), + [anon_sym_AMP_GT] = ACTIONS(1391), + [anon_sym_AMP_GT_GT] = ACTIONS(1389), + [anon_sym_LT_AMP] = ACTIONS(1389), + [anon_sym_GT_AMP] = ACTIONS(1389), + [anon_sym_LT_LT] = ACTIONS(1391), + [anon_sym_LT_LT_DASH] = ACTIONS(1389), + [anon_sym_BQUOTE] = ACTIONS(1389), + [sym_comment] = ACTIONS(115), + }, + [610] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1393), + [anon_sym_PIPE] = ACTIONS(1395), + [anon_sym_PIPE_AMP] = ACTIONS(1393), + [anon_sym_AMP_AMP] = ACTIONS(1393), + [anon_sym_PIPE_PIPE] = ACTIONS(1393), + [anon_sym_LT] = ACTIONS(1395), + [anon_sym_GT] = ACTIONS(1395), + [anon_sym_GT_GT] = ACTIONS(1393), + [anon_sym_AMP_GT] = ACTIONS(1395), + [anon_sym_AMP_GT_GT] = ACTIONS(1393), + [anon_sym_LT_AMP] = ACTIONS(1393), + [anon_sym_GT_AMP] = ACTIONS(1393), + [anon_sym_LT_LT] = ACTIONS(1395), + [anon_sym_LT_LT_DASH] = ACTIONS(1393), + [anon_sym_BQUOTE] = ACTIONS(1393), + [sym_comment] = ACTIONS(115), + }, + [611] = { + [sym_word] = ACTIONS(1535), + [sym_comment] = ACTIONS(115), + }, + [612] = { + [sym__terminated_statement] = STATE(672), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1537), + [anon_sym_while] = ACTIONS(1539), + [anon_sym_if] = ACTIONS(1541), + [anon_sym_case] = ACTIONS(1543), + [anon_sym_SEMI_SEMI] = ACTIONS(1545), + [anon_sym_function] = ACTIONS(1547), + [anon_sym_LPAREN] = ACTIONS(1549), + [anon_sym_LBRACK] = ACTIONS(1551), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1553), + [anon_sym_COLON] = ACTIONS(1555), + [anon_sym_LT] = ACTIONS(1557), + [anon_sym_GT] = ACTIONS(1557), + [anon_sym_GT_GT] = ACTIONS(1557), + [anon_sym_AMP_GT] = ACTIONS(1557), + [anon_sym_AMP_GT_GT] = ACTIONS(1557), + [anon_sym_LT_AMP] = ACTIONS(1557), + [anon_sym_GT_AMP] = ACTIONS(1557), + [anon_sym_DQUOTE] = ACTIONS(1559), + [sym_raw_string] = ACTIONS(1555), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1561), + [anon_sym_BQUOTE] = ACTIONS(1563), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1545), + [anon_sym_LF] = ACTIONS(1545), + [anon_sym_AMP] = ACTIONS(1545), + }, + [613] = { + [sym__terminated_statement] = STATE(673), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -21434,13 +23118,11 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [584] = { + [614] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(645), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -21452,16 +23134,13 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(646), - [aux_sym_if_statement_repeat1] = STATE(647), + [aux_sym_program_repeat1] = STATE(675), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(1565), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(1518), - [anon_sym_elif] = ACTIONS(1521), - [anon_sym_else] = ACTIONS(1524), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -21482,175 +23161,35 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [585] = { - [anon_sym_RPAREN] = ACTIONS(1527), - [anon_sym_SEMI_SEMI] = ACTIONS(1527), - [anon_sym_PIPE] = ACTIONS(1527), - [anon_sym_PIPE_AMP] = ACTIONS(1527), - [anon_sym_AMP_AMP] = ACTIONS(1527), - [anon_sym_PIPE_PIPE] = ACTIONS(1527), + [615] = { + [anon_sym_RPAREN] = ACTIONS(1567), + [anon_sym_SEMI_SEMI] = ACTIONS(1567), + [anon_sym_PIPE] = ACTIONS(1567), + [anon_sym_PIPE_AMP] = ACTIONS(1567), + [anon_sym_AMP_AMP] = ACTIONS(1567), + [anon_sym_PIPE_PIPE] = ACTIONS(1567), + [anon_sym_BQUOTE] = ACTIONS(1567), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1527), - [anon_sym_LF] = ACTIONS(1527), - [anon_sym_AMP] = ACTIONS(1527), + [anon_sym_SEMI] = ACTIONS(1567), + [anon_sym_LF] = ACTIONS(1567), + [anon_sym_AMP] = ACTIONS(1567), }, - [586] = { - [sym_string] = STATE(648), - [sym_simple_expansion] = STATE(648), - [sym_expansion] = STATE(648), - [sym_command_substitution] = STATE(648), - [sym_process_substitution] = STATE(648), - [anon_sym_LT] = ACTIONS(123), - [anon_sym_GT] = ACTIONS(123), - [anon_sym_DQUOTE] = ACTIONS(125), - [sym_raw_string] = ACTIONS(1532), - [anon_sym_DOLLAR] = ACTIONS(129), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(131), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(133), - [anon_sym_BQUOTE] = ACTIONS(135), - [sym_word] = ACTIONS(1534), - [sym_comment] = ACTIONS(115), - }, - [587] = { - [anon_sym_RPAREN] = ACTIONS(1536), - [anon_sym_SEMI_SEMI] = ACTIONS(1536), - [anon_sym_PIPE] = ACTIONS(1536), - [anon_sym_PIPE_AMP] = ACTIONS(1536), - [anon_sym_AMP_AMP] = ACTIONS(1536), - [anon_sym_PIPE_PIPE] = ACTIONS(1536), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1536), - [anon_sym_LF] = ACTIONS(1536), - [anon_sym_AMP] = ACTIONS(1536), - }, - [588] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_compound_statement] = STATE(618), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), + [616] = { + [sym__terminated_statement] = STATE(676), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(527), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(1540), - [anon_sym_for] = ACTIONS(1485), - [anon_sym_in] = ACTIONS(1544), - [anon_sym_while] = ACTIONS(1487), - [anon_sym_if] = ACTIONS(1489), - [anon_sym_case] = ACTIONS(1491), - [anon_sym_RPAREN] = ACTIONS(1547), - [anon_sym_SEMI_SEMI] = ACTIONS(1552), - [anon_sym_function] = ACTIONS(1495), - [anon_sym_LPAREN] = ACTIONS(1497), - [anon_sym_LBRACE] = ACTIONS(1558), - [anon_sym_RBRACE] = ACTIONS(1544), - [anon_sym_PIPE] = ACTIONS(1547), - [anon_sym_PIPE_AMP] = ACTIONS(1547), - [anon_sym_AMP_AMP] = ACTIONS(1547), - [anon_sym_PIPE_PIPE] = ACTIONS(1547), - [anon_sym_LBRACK] = ACTIONS(1499), - [anon_sym_RBRACK] = ACTIONS(1544), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1501), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1544), - [anon_sym_COLON] = ACTIONS(1560), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(733), - [anon_sym_LT] = ACTIONS(1564), - [anon_sym_GT] = ACTIONS(1564), - [anon_sym_GT_GT] = ACTIONS(1564), - [anon_sym_AMP_GT] = ACTIONS(1564), - [anon_sym_AMP_GT_GT] = ACTIONS(1564), - [anon_sym_LT_AMP] = ACTIONS(1564), - [anon_sym_GT_AMP] = ACTIONS(1564), - [anon_sym_LT_LT] = ACTIONS(1544), - [anon_sym_LT_LT_DASH] = ACTIONS(1544), - [anon_sym_DQUOTE] = ACTIONS(1568), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(733), - [sym_raw_string] = ACTIONS(1560), - [anon_sym_DOLLAR] = ACTIONS(1544), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1544), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1572), - [anon_sym_BQUOTE] = ACTIONS(1576), - [sym_leading_word] = ACTIONS(1580), - [sym_word] = ACTIONS(1544), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1547), - [anon_sym_LF] = ACTIONS(1547), - [anon_sym_AMP] = ACTIONS(1547), - }, - [589] = { - [sym_leading_word] = ACTIONS(1584), - [sym_comment] = ACTIONS(115), - }, - [590] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(658), - [sym_while_statement] = STATE(658), - [sym_if_statement] = STATE(658), - [sym_case_statement] = STATE(658), - [sym_function_definition] = STATE(658), - [sym_subshell] = STATE(658), - [sym_pipeline] = STATE(658), - [sym_list] = STATE(658), - [sym_bracket_command] = STATE(658), - [sym_command] = STATE(658), - [sym_environment_variable_assignment] = STATE(659), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(653), - [sym_command_substitution] = STATE(653), - [aux_sym_program_repeat1] = STATE(660), - [aux_sym_command_repeat1] = STATE(661), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1586), - [anon_sym_while] = ACTIONS(1588), - [anon_sym_if] = ACTIONS(1590), - [anon_sym_case] = ACTIONS(1592), - [anon_sym_RPAREN] = ACTIONS(1594), - [anon_sym_function] = ACTIONS(1596), - [anon_sym_LPAREN] = ACTIONS(1598), - [anon_sym_LBRACK] = ACTIONS(1600), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1602), - [anon_sym_COLON] = ACTIONS(1604), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1606), - [sym_raw_string] = ACTIONS(1608), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1610), - [anon_sym_BQUOTE] = ACTIONS(1612), - [sym_leading_word] = ACTIONS(1614), - [sym_comment] = ACTIONS(115), - }, - [591] = { - [sym__terminated_statement] = STATE(18), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(663), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), @@ -21659,7 +23198,6 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(1616), [anon_sym_LBRACK] = ACTIONS(97), [anon_sym_LBRACK_LBRACK] = ACTIONS(99), [anon_sym_COLON] = ACTIONS(101), @@ -21677,70 +23215,40 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [592] = { - [sym__heredoc_middle] = ACTIONS(1618), - [sym__heredoc_end] = ACTIONS(1618), - [sym_file_descriptor] = ACTIONS(1618), - [anon_sym_in] = ACTIONS(1623), - [anon_sym_RPAREN] = ACTIONS(1628), - [anon_sym_SEMI_SEMI] = ACTIONS(1628), - [anon_sym_RBRACE] = ACTIONS(1623), - [anon_sym_PIPE] = ACTIONS(1628), - [anon_sym_PIPE_AMP] = ACTIONS(1628), - [anon_sym_AMP_AMP] = ACTIONS(1628), - [anon_sym_PIPE_PIPE] = ACTIONS(1628), - [anon_sym_RBRACK] = ACTIONS(1623), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1623), - [anon_sym_COLON] = ACTIONS(1623), - [anon_sym_LT] = ACTIONS(1623), - [anon_sym_GT] = ACTIONS(1623), - [anon_sym_GT_GT] = ACTIONS(1623), - [anon_sym_AMP_GT] = ACTIONS(1623), - [anon_sym_AMP_GT_GT] = ACTIONS(1623), - [anon_sym_LT_AMP] = ACTIONS(1623), - [anon_sym_GT_AMP] = ACTIONS(1623), - [anon_sym_LT_LT] = ACTIONS(1623), - [anon_sym_LT_LT_DASH] = ACTIONS(1623), - [anon_sym_DQUOTE] = ACTIONS(1623), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1623), - [sym_raw_string] = ACTIONS(1623), - [anon_sym_DOLLAR] = ACTIONS(1623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1623), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1623), - [anon_sym_BQUOTE] = ACTIONS(1623), - [sym_leading_word] = ACTIONS(1623), - [sym_word] = ACTIONS(1623), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1628), - [anon_sym_LF] = ACTIONS(1628), - [anon_sym_AMP] = ACTIONS(1628), - }, - [593] = { - [sym_for_statement] = STATE(664), - [sym_while_statement] = STATE(664), - [sym_if_statement] = STATE(664), - [sym_case_statement] = STATE(664), - [sym_function_definition] = STATE(664), - [sym_subshell] = STATE(664), - [sym_pipeline] = STATE(664), - [sym_list] = STATE(664), - [sym_bracket_command] = STATE(664), - [sym_command] = STATE(664), - [sym_environment_variable_assignment] = STATE(665), + [617] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(678), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(653), - [sym_command_substitution] = STATE(653), - [aux_sym_command_repeat1] = STATE(661), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(679), + [aux_sym_if_statement_repeat1] = STATE(680), + [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1586), - [anon_sym_while] = ACTIONS(1588), - [anon_sym_if] = ACTIONS(1590), - [anon_sym_case] = ACTIONS(1592), - [anon_sym_function] = ACTIONS(1596), - [anon_sym_LPAREN] = ACTIONS(1598), - [anon_sym_LBRACK] = ACTIONS(1600), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1602), - [anon_sym_COLON] = ACTIONS(1604), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(1570), + [anon_sym_elif] = ACTIONS(1573), + [anon_sym_else] = ACTIONS(1576), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -21748,39 +23256,156 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1606), - [sym_raw_string] = ACTIONS(1608), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1610), - [anon_sym_BQUOTE] = ACTIONS(1612), - [sym_leading_word] = ACTIONS(1614), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [594] = { - [sym_for_statement] = STATE(666), - [sym_while_statement] = STATE(666), - [sym_if_statement] = STATE(666), - [sym_case_statement] = STATE(666), - [sym_function_definition] = STATE(666), - [sym_subshell] = STATE(666), - [sym_pipeline] = STATE(666), - [sym_list] = STATE(666), - [sym_bracket_command] = STATE(666), - [sym_command] = STATE(666), - [sym_environment_variable_assignment] = STATE(667), + [618] = { + [anon_sym_RPAREN] = ACTIONS(1579), + [anon_sym_SEMI_SEMI] = ACTIONS(1579), + [anon_sym_PIPE] = ACTIONS(1579), + [anon_sym_PIPE_AMP] = ACTIONS(1579), + [anon_sym_AMP_AMP] = ACTIONS(1579), + [anon_sym_PIPE_PIPE] = ACTIONS(1579), + [anon_sym_BQUOTE] = ACTIONS(1579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1579), + [anon_sym_LF] = ACTIONS(1579), + [anon_sym_AMP] = ACTIONS(1579), + }, + [619] = { + [sym_string] = STATE(681), + [sym_array] = STATE(681), + [sym_simple_expansion] = STATE(681), + [sym_expansion] = STATE(681), + [sym_command_substitution] = STATE(681), + [sym_process_substitution] = STATE(681), + [anon_sym_LPAREN] = ACTIONS(123), + [anon_sym_LT] = ACTIONS(125), + [anon_sym_GT] = ACTIONS(125), + [anon_sym_DQUOTE] = ACTIONS(127), + [sym_raw_string] = ACTIONS(1584), + [anon_sym_DOLLAR] = ACTIONS(131), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), + [anon_sym_BQUOTE] = ACTIONS(137), + [sym_word] = ACTIONS(1586), + [sym_comment] = ACTIONS(115), + }, + [620] = { + [anon_sym_RPAREN] = ACTIONS(1588), + [anon_sym_SEMI_SEMI] = ACTIONS(1588), + [anon_sym_PIPE] = ACTIONS(1588), + [anon_sym_PIPE_AMP] = ACTIONS(1588), + [anon_sym_AMP_AMP] = ACTIONS(1588), + [anon_sym_PIPE_PIPE] = ACTIONS(1588), + [anon_sym_BQUOTE] = ACTIONS(1588), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1588), + [anon_sym_LF] = ACTIONS(1588), + [anon_sym_AMP] = ACTIONS(1588), + }, + [621] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_compound_statement] = STATE(651), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(653), - [sym_command_substitution] = STATE(653), - [aux_sym_command_repeat1] = STATE(661), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(581), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(1592), + [anon_sym_for] = ACTIONS(1537), + [anon_sym_in] = ACTIONS(1598), + [anon_sym_while] = ACTIONS(1539), + [anon_sym_if] = ACTIONS(1541), + [anon_sym_case] = ACTIONS(1543), + [anon_sym_RPAREN] = ACTIONS(1603), + [anon_sym_SEMI_SEMI] = ACTIONS(1610), + [anon_sym_function] = ACTIONS(1547), + [anon_sym_LPAREN] = ACTIONS(1618), + [anon_sym_LBRACE] = ACTIONS(1624), + [anon_sym_RBRACE] = ACTIONS(1598), + [anon_sym_PIPE] = ACTIONS(1603), + [anon_sym_PIPE_AMP] = ACTIONS(1603), + [anon_sym_AMP_AMP] = ACTIONS(1603), + [anon_sym_PIPE_PIPE] = ACTIONS(1603), + [anon_sym_LBRACK] = ACTIONS(1551), + [anon_sym_RBRACK] = ACTIONS(1598), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1553), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1598), + [anon_sym_COLON] = ACTIONS(1626), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(1632), + [anon_sym_GT] = ACTIONS(1632), + [anon_sym_GT_GT] = ACTIONS(1632), + [anon_sym_AMP_GT] = ACTIONS(1632), + [anon_sym_AMP_GT_GT] = ACTIONS(1632), + [anon_sym_LT_AMP] = ACTIONS(1632), + [anon_sym_GT_AMP] = ACTIONS(1632), + [anon_sym_LT_LT] = ACTIONS(1598), + [anon_sym_LT_LT_DASH] = ACTIONS(1598), + [anon_sym_DQUOTE] = ACTIONS(1638), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), + [sym_raw_string] = ACTIONS(1626), + [anon_sym_DOLLAR] = ACTIONS(1598), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1598), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1644), + [anon_sym_BQUOTE] = ACTIONS(1650), + [sym_leading_word] = ACTIONS(1658), + [sym_word] = ACTIONS(1598), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1603), + [anon_sym_LF] = ACTIONS(1603), + [anon_sym_AMP] = ACTIONS(1603), + }, + [622] = { + [sym_leading_word] = ACTIONS(1664), + [sym_comment] = ACTIONS(115), + }, + [623] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(697), + [sym_while_statement] = STATE(697), + [sym_if_statement] = STATE(697), + [sym_case_statement] = STATE(697), + [sym_function_definition] = STATE(697), + [sym_subshell] = STATE(697), + [sym_pipeline] = STATE(697), + [sym_list] = STATE(697), + [sym_bracket_command] = STATE(697), + [sym_command] = STATE(697), + [sym_environment_variable_assignment] = STATE(698), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(692), + [sym_command_substitution] = STATE(692), + [aux_sym_program_repeat1] = STATE(699), + [aux_sym_command_repeat1] = STATE(700), + [aux_sym_array_repeat1] = STATE(669), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(1586), - [anon_sym_while] = ACTIONS(1588), - [anon_sym_if] = ACTIONS(1590), - [anon_sym_case] = ACTIONS(1592), - [anon_sym_function] = ACTIONS(1596), - [anon_sym_LPAREN] = ACTIONS(1598), - [anon_sym_LBRACK] = ACTIONS(1600), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1602), - [anon_sym_COLON] = ACTIONS(1604), + [anon_sym_for] = ACTIONS(1666), + [anon_sym_while] = ACTIONS(1668), + [anon_sym_if] = ACTIONS(1670), + [anon_sym_case] = ACTIONS(1672), + [anon_sym_RPAREN] = ACTIONS(1674), + [anon_sym_function] = ACTIONS(1676), + [anon_sym_LPAREN] = ACTIONS(1678), + [anon_sym_LBRACK] = ACTIONS(1680), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1682), + [anon_sym_COLON] = ACTIONS(1684), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -21788,152 +23413,73 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1606), - [sym_raw_string] = ACTIONS(1608), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1610), - [anon_sym_BQUOTE] = ACTIONS(1612), - [sym_leading_word] = ACTIONS(1614), + [anon_sym_DQUOTE] = ACTIONS(1686), + [sym_raw_string] = ACTIONS(1684), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), + [anon_sym_BQUOTE] = ACTIONS(1690), + [sym_leading_word] = ACTIONS(1692), + [sym_word] = ACTIONS(965), [sym_comment] = ACTIONS(115), }, - [595] = { - [sym_string] = STATE(42), - [sym_simple_expansion] = STATE(42), - [sym_expansion] = STATE(42), - [sym_command_substitution] = STATE(42), - [sym_process_substitution] = STATE(42), - [aux_sym_bracket_command_repeat1] = STATE(668), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(147), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(157), + [624] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(702), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(1694), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [596] = { - [anon_sym_RPAREN] = ACTIONS(573), - [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(73), - [anon_sym_SEMI] = ACTIONS(573), - [anon_sym_LF] = ACTIONS(573), - [anon_sym_AMP] = ACTIONS(573), - }, - [597] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(674), - [sym_simple_expansion] = STATE(674), - [sym_expansion] = STATE(674), - [sym_command_substitution] = STATE(674), - [sym_process_substitution] = STATE(674), - [aux_sym_command_repeat2] = STATE(676), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(1637), - [anon_sym_SEMI_SEMI] = ACTIONS(1637), - [anon_sym_PIPE] = ACTIONS(1637), - [anon_sym_PIPE_AMP] = ACTIONS(1637), - [anon_sym_AMP_AMP] = ACTIONS(1637), - [anon_sym_PIPE_PIPE] = ACTIONS(1637), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1640), - [anon_sym_LT] = ACTIONS(1642), - [anon_sym_GT] = ACTIONS(1642), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(1648), - [sym_raw_string] = ACTIONS(1650), - [anon_sym_DOLLAR] = ACTIONS(1652), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1654), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1656), - [anon_sym_BQUOTE] = ACTIONS(1658), - [sym_word] = ACTIONS(1650), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1637), - [anon_sym_LF] = ACTIONS(1637), - [anon_sym_AMP] = ACTIONS(1637), - }, - [598] = { - [sym_string] = STATE(679), - [sym_simple_expansion] = STATE(679), - [sym_expansion] = STATE(679), - [sym_command_substitution] = STATE(679), - [sym_process_substitution] = STATE(679), - [sym__empty_value] = ACTIONS(1662), - [anon_sym_LT] = ACTIONS(1664), - [anon_sym_GT] = ACTIONS(1664), - [anon_sym_DQUOTE] = ACTIONS(1666), - [sym_raw_string] = ACTIONS(1668), - [anon_sym_DOLLAR] = ACTIONS(1670), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1672), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1674), - [anon_sym_BQUOTE] = ACTIONS(1676), - [sym_word] = ACTIONS(1678), - [sym_comment] = ACTIONS(115), - }, - [599] = { - [sym_string] = STATE(687), - [sym_simple_expansion] = STATE(687), - [sym_expansion] = STATE(687), - [sym_command_substitution] = STATE(687), - [sym_process_substitution] = STATE(687), - [anon_sym_LPAREN] = ACTIONS(1680), - [anon_sym_LT] = ACTIONS(1682), - [anon_sym_GT] = ACTIONS(1682), - [anon_sym_DQUOTE] = ACTIONS(1684), - [sym_raw_string] = ACTIONS(1686), - [anon_sym_DOLLAR] = ACTIONS(1688), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1690), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1692), - [anon_sym_BQUOTE] = ACTIONS(1694), - [sym_word] = ACTIONS(1696), - [sym_comment] = ACTIONS(115), - }, - [600] = { - [sym_string] = STATE(687), - [sym_simple_expansion] = STATE(687), - [sym_expansion] = STATE(687), - [sym_command_substitution] = STATE(687), - [sym_process_substitution] = STATE(687), - [anon_sym_LT] = ACTIONS(1682), - [anon_sym_GT] = ACTIONS(1682), - [anon_sym_DQUOTE] = ACTIONS(1684), - [sym_raw_string] = ACTIONS(1686), - [anon_sym_DOLLAR] = ACTIONS(1688), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1690), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1692), - [anon_sym_BQUOTE] = ACTIONS(1694), - [sym_word] = ACTIONS(1696), - [sym_comment] = ACTIONS(115), - }, - [601] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(636), - [sym_file_descriptor] = ACTIONS(1698), + [625] = { + [sym__heredoc_middle] = ACTIONS(1696), + [sym__heredoc_end] = ACTIONS(1696), + [sym_file_descriptor] = ACTIONS(1696), [anon_sym_in] = ACTIONS(1701), - [anon_sym_RPAREN] = ACTIONS(1701), - [anon_sym_SEMI_SEMI] = ACTIONS(1701), + [anon_sym_RPAREN] = ACTIONS(1706), + [anon_sym_SEMI_SEMI] = ACTIONS(1706), + [anon_sym_LPAREN] = ACTIONS(1701), [anon_sym_RBRACE] = ACTIONS(1701), - [anon_sym_PIPE] = ACTIONS(1701), - [anon_sym_PIPE_AMP] = ACTIONS(1701), - [anon_sym_AMP_AMP] = ACTIONS(1701), - [anon_sym_PIPE_PIPE] = ACTIONS(1701), + [anon_sym_PIPE] = ACTIONS(1706), + [anon_sym_PIPE_AMP] = ACTIONS(1706), + [anon_sym_AMP_AMP] = ACTIONS(1706), + [anon_sym_PIPE_PIPE] = ACTIONS(1706), [anon_sym_RBRACK] = ACTIONS(1701), [anon_sym_RBRACK_RBRACK] = ACTIONS(1701), [anon_sym_COLON] = ACTIONS(1701), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1701), [anon_sym_LT] = ACTIONS(1701), [anon_sym_GT] = ACTIONS(1701), [anon_sym_GT_GT] = ACTIONS(1701), @@ -21943,1002 +23489,1219 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_GT_AMP] = ACTIONS(1701), [anon_sym_LT_LT] = ACTIONS(1701), [anon_sym_LT_LT_DASH] = ACTIONS(1701), - [anon_sym_DQUOTE] = ACTIONS(1704), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), + [anon_sym_DQUOTE] = ACTIONS(1701), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1701), [sym_raw_string] = ACTIONS(1701), - [anon_sym_DOLLAR] = ACTIONS(1708), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1712), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1716), - [anon_sym_BQUOTE] = ACTIONS(1720), + [anon_sym_DOLLAR] = ACTIONS(1701), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1701), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1701), + [anon_sym_BQUOTE] = ACTIONS(1706), [sym_leading_word] = ACTIONS(1701), [sym_word] = ACTIONS(1701), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1701), - [anon_sym_LF] = ACTIONS(1701), - [anon_sym_AMP] = ACTIONS(1701), - }, - [602] = { - [sym_special_variable_name] = STATE(695), - [sym__heredoc_middle] = ACTIONS(525), - [sym__heredoc_end] = ACTIONS(525), - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_in] = ACTIONS(519), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_RBRACE] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_RBRACK] = ACTIONS(519), - [anon_sym_RBRACK_RBRACK] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_EQ] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(1724), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_COLON_QMARK] = ACTIONS(527), - [anon_sym_COLON_DASH] = ACTIONS(527), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(1727), - [anon_sym_STAR] = ACTIONS(1729), - [anon_sym_AT] = ACTIONS(1729), - [anon_sym_POUND] = ACTIONS(1729), - [anon_sym_QMARK] = ACTIONS(1729), - [anon_sym_DASH] = ACTIONS(1729), - [anon_sym_BANG] = ACTIONS(1729), - [anon_sym_0] = ACTIONS(1729), - [anon_sym__] = ACTIONS(1729), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [603] = { - [sym_command] = STATE(696), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(1731), - [anon_sym_in] = ACTIONS(733), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_RBRACE] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_RBRACK] = ACTIONS(733), - [anon_sym_RBRACK_RBRACK] = ACTIONS(733), - [anon_sym_COLON] = ACTIONS(1734), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(733), - [anon_sym_LT] = ACTIONS(1737), - [anon_sym_GT] = ACTIONS(1737), - [anon_sym_GT_GT] = ACTIONS(1737), - [anon_sym_AMP_GT] = ACTIONS(1737), - [anon_sym_AMP_GT_GT] = ACTIONS(1737), - [anon_sym_LT_AMP] = ACTIONS(1737), - [anon_sym_GT_AMP] = ACTIONS(1737), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_DQUOTE] = ACTIONS(1740), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(733), - [sym_raw_string] = ACTIONS(1734), - [anon_sym_DOLLAR] = ACTIONS(733), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1743), - [anon_sym_BQUOTE] = ACTIONS(1746), - [sym_leading_word] = ACTIONS(1749), - [sym_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [604] = { - [sym__heredoc_middle] = ACTIONS(525), - [sym__heredoc_end] = ACTIONS(525), - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_in] = ACTIONS(519), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_RBRACE] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_RBRACK] = ACTIONS(519), - [anon_sym_RBRACK_RBRACK] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_EQ] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(519), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_COLON_QMARK] = ACTIONS(527), - [anon_sym_COLON_DASH] = ACTIONS(527), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [605] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(631), - [sym_file_descriptor] = ACTIONS(451), - [ts_builtin_sym_end] = ACTIONS(451), - [anon_sym_for] = ACTIONS(453), - [anon_sym_in] = ACTIONS(1752), - [anon_sym_while] = ACTIONS(453), - [anon_sym_do] = ACTIONS(453), - [anon_sym_done] = ACTIONS(453), - [anon_sym_if] = ACTIONS(453), - [anon_sym_then] = ACTIONS(453), - [anon_sym_fi] = ACTIONS(453), - [anon_sym_elif] = ACTIONS(453), - [anon_sym_else] = ACTIONS(453), - [anon_sym_case] = ACTIONS(453), - [anon_sym_esac] = ACTIONS(1754), - [anon_sym_RPAREN] = ACTIONS(451), - [anon_sym_SEMI_SEMI] = ACTIONS(451), - [anon_sym_function] = ACTIONS(453), - [anon_sym_LPAREN] = ACTIONS(451), - [anon_sym_RBRACE] = ACTIONS(451), - [anon_sym_LBRACK] = ACTIONS(453), - [anon_sym_LBRACK_LBRACK] = ACTIONS(453), - [anon_sym_COLON] = ACTIONS(453), - [anon_sym_LT] = ACTIONS(1756), - [anon_sym_GT] = ACTIONS(1756), - [anon_sym_GT_GT] = ACTIONS(453), - [anon_sym_AMP_GT] = ACTIONS(453), - [anon_sym_AMP_GT_GT] = ACTIONS(453), - [anon_sym_LT_AMP] = ACTIONS(453), - [anon_sym_GT_AMP] = ACTIONS(453), - [anon_sym_DQUOTE] = ACTIONS(1759), - [sym_raw_string] = ACTIONS(1762), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1765), - [anon_sym_BQUOTE] = ACTIONS(1768), - [sym_leading_word] = ACTIONS(455), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [606] = { - [sym_file_descriptor] = ACTIONS(615), - [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), - [anon_sym_BQUOTE] = ACTIONS(617), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(617), - [anon_sym_LF] = ACTIONS(617), - [anon_sym_AMP] = ACTIONS(617), - }, - [607] = { - [sym_simple_expansion] = STATE(264), - [sym_expansion] = STATE(264), - [aux_sym_heredoc_repeat1] = STATE(635), - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(1771), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [608] = { - [sym__heredoc_middle] = ACTIONS(1773), - [sym__heredoc_end] = ACTIONS(1773), - [anon_sym_DOLLAR] = ACTIONS(1776), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1773), - [sym_comment] = ACTIONS(115), - }, - [609] = { - [sym_file_descriptor] = ACTIONS(1779), - [anon_sym_RPAREN] = ACTIONS(1782), - [anon_sym_SEMI_SEMI] = ACTIONS(1782), - [anon_sym_PIPE] = ACTIONS(1782), - [anon_sym_PIPE_AMP] = ACTIONS(1782), - [anon_sym_AMP_AMP] = ACTIONS(1782), - [anon_sym_PIPE_PIPE] = ACTIONS(1782), - [anon_sym_LT] = ACTIONS(1782), - [anon_sym_GT] = ACTIONS(1782), - [anon_sym_GT_GT] = ACTIONS(1782), - [anon_sym_AMP_GT] = ACTIONS(1782), - [anon_sym_AMP_GT_GT] = ACTIONS(1782), - [anon_sym_LT_AMP] = ACTIONS(1782), - [anon_sym_GT_AMP] = ACTIONS(1782), - [anon_sym_LT_LT] = ACTIONS(1782), - [anon_sym_LT_LT_DASH] = ACTIONS(1782), - [anon_sym_BQUOTE] = ACTIONS(1782), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1782), - [anon_sym_LF] = ACTIONS(1782), - [anon_sym_AMP] = ACTIONS(1782), - }, - [610] = { - [anon_sym_LT] = ACTIONS(1785), - [anon_sym_GT] = ACTIONS(1785), - [anon_sym_GT_GT] = ACTIONS(1787), - [anon_sym_AMP_GT] = ACTIONS(1785), - [anon_sym_AMP_GT_GT] = ACTIONS(1787), - [anon_sym_LT_AMP] = ACTIONS(1787), - [anon_sym_GT_AMP] = ACTIONS(1787), - [sym_comment] = ACTIONS(115), - }, - [611] = { - [sym_file_descriptor] = ACTIONS(749), - [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_COLON] = ACTIONS(751), - [anon_sym_LT] = ACTIONS(751), - [anon_sym_GT] = ACTIONS(751), - [anon_sym_GT_GT] = ACTIONS(751), - [anon_sym_AMP_GT] = ACTIONS(751), - [anon_sym_AMP_GT_GT] = ACTIONS(751), - [anon_sym_LT_AMP] = ACTIONS(751), - [anon_sym_GT_AMP] = ACTIONS(751), - [anon_sym_DQUOTE] = ACTIONS(751), - [sym_raw_string] = ACTIONS(751), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(751), - [anon_sym_BQUOTE] = ACTIONS(751), - [sym_leading_word] = ACTIONS(751), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(751), - [anon_sym_LF] = ACTIONS(751), - [anon_sym_AMP] = ACTIONS(751), - }, - [612] = { - [sym_do_group] = STATE(614), - [sym_file_descriptor] = ACTIONS(1789), - [ts_builtin_sym_end] = ACTIONS(1789), - [anon_sym_for] = ACTIONS(1792), - [anon_sym_while] = ACTIONS(1792), - [anon_sym_do] = ACTIONS(1795), - [anon_sym_done] = ACTIONS(1792), - [anon_sym_if] = ACTIONS(1792), - [anon_sym_then] = ACTIONS(1797), - [anon_sym_fi] = ACTIONS(1792), - [anon_sym_elif] = ACTIONS(1792), - [anon_sym_else] = ACTIONS(1792), - [anon_sym_case] = ACTIONS(1792), - [anon_sym_RPAREN] = ACTIONS(1789), - [anon_sym_SEMI_SEMI] = ACTIONS(1789), - [anon_sym_function] = ACTIONS(1792), - [anon_sym_LPAREN] = ACTIONS(1789), - [anon_sym_RBRACE] = ACTIONS(1789), - [anon_sym_LBRACK] = ACTIONS(1792), - [anon_sym_LBRACK_LBRACK] = ACTIONS(1792), - [anon_sym_COLON] = ACTIONS(1789), - [anon_sym_LT] = ACTIONS(1792), - [anon_sym_GT] = ACTIONS(1792), - [anon_sym_GT_GT] = ACTIONS(1792), - [anon_sym_AMP_GT] = ACTIONS(1792), - [anon_sym_AMP_GT_GT] = ACTIONS(1792), - [anon_sym_LT_AMP] = ACTIONS(1792), - [anon_sym_GT_AMP] = ACTIONS(1792), - [anon_sym_DQUOTE] = ACTIONS(1789), - [sym_raw_string] = ACTIONS(1792), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1789), - [anon_sym_BQUOTE] = ACTIONS(1789), - [sym_leading_word] = ACTIONS(1799), - [sym_comment] = ACTIONS(115), - }, - [613] = { - [anon_sym_RPAREN] = ACTIONS(1802), - [anon_sym_SEMI_SEMI] = ACTIONS(1806), - [anon_sym_PIPE] = ACTIONS(1810), - [anon_sym_PIPE_AMP] = ACTIONS(1810), - [anon_sym_AMP_AMP] = ACTIONS(1814), - [anon_sym_PIPE_PIPE] = ACTIONS(1814), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1806), - [anon_sym_LF] = ACTIONS(1806), - [anon_sym_AMP] = ACTIONS(1806), - }, - [614] = { - [anon_sym_RPAREN] = ACTIONS(1818), - [anon_sym_SEMI_SEMI] = ACTIONS(1818), - [anon_sym_PIPE] = ACTIONS(1818), - [anon_sym_PIPE_AMP] = ACTIONS(1818), - [anon_sym_AMP_AMP] = ACTIONS(1818), - [anon_sym_PIPE_PIPE] = ACTIONS(1818), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1818), - [anon_sym_LF] = ACTIONS(1818), - [anon_sym_AMP] = ACTIONS(1818), - }, - [615] = { - [anon_sym_fi] = ACTIONS(1821), - [anon_sym_elif] = ACTIONS(1821), - [anon_sym_else] = ACTIONS(1821), - [sym_comment] = ACTIONS(115), - }, - [616] = { - [anon_sym_fi] = ACTIONS(1824), - [sym_comment] = ACTIONS(115), - }, - [617] = { - [anon_sym_esac] = ACTIONS(1826), - [anon_sym_LT] = ACTIONS(1829), - [anon_sym_GT] = ACTIONS(1829), - [anon_sym_DQUOTE] = ACTIONS(1829), - [sym_raw_string] = ACTIONS(1826), - [anon_sym_DOLLAR] = ACTIONS(1826), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1829), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1829), - [anon_sym_BQUOTE] = ACTIONS(1829), - [sym_word] = ACTIONS(1832), - [sym_comment] = ACTIONS(115), - }, - [618] = { - [anon_sym_RPAREN] = ACTIONS(1835), - [anon_sym_SEMI_SEMI] = ACTIONS(1835), - [anon_sym_PIPE] = ACTIONS(1835), - [anon_sym_PIPE_AMP] = ACTIONS(1835), - [anon_sym_AMP_AMP] = ACTIONS(1835), - [anon_sym_PIPE_PIPE] = ACTIONS(1835), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1835), - [anon_sym_LF] = ACTIONS(1835), - [anon_sym_AMP] = ACTIONS(1835), - }, - [619] = { - [anon_sym_RPAREN] = ACTIONS(1838), - [anon_sym_SEMI_SEMI] = ACTIONS(1842), - [anon_sym_PIPE] = ACTIONS(1846), - [anon_sym_PIPE_AMP] = ACTIONS(1846), - [anon_sym_AMP_AMP] = ACTIONS(1850), - [anon_sym_PIPE_PIPE] = ACTIONS(1850), - [anon_sym_BQUOTE] = ACTIONS(1854), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1842), - [anon_sym_LF] = ACTIONS(1842), - [anon_sym_AMP] = ACTIONS(1842), - }, - [620] = { - [sym_file_descriptor] = ACTIONS(1856), - [anon_sym_RPAREN] = ACTIONS(1802), - [anon_sym_SEMI_SEMI] = ACTIONS(1806), - [anon_sym_PIPE] = ACTIONS(1810), - [anon_sym_PIPE_AMP] = ACTIONS(1810), - [anon_sym_AMP_AMP] = ACTIONS(1814), - [anon_sym_PIPE_PIPE] = ACTIONS(1814), - [anon_sym_COLON] = ACTIONS(1859), - [anon_sym_LT] = ACTIONS(1859), - [anon_sym_GT] = ACTIONS(1859), - [anon_sym_GT_GT] = ACTIONS(1859), - [anon_sym_AMP_GT] = ACTIONS(1859), - [anon_sym_AMP_GT_GT] = ACTIONS(1859), - [anon_sym_LT_AMP] = ACTIONS(1859), - [anon_sym_GT_AMP] = ACTIONS(1859), - [anon_sym_DQUOTE] = ACTIONS(1859), - [sym_raw_string] = ACTIONS(1859), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1859), - [anon_sym_BQUOTE] = ACTIONS(1859), - [sym_leading_word] = ACTIONS(1859), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1806), - [anon_sym_LF] = ACTIONS(1806), - [anon_sym_AMP] = ACTIONS(1806), - }, - [621] = { - [sym_file_descriptor] = ACTIONS(1862), - [anon_sym_RPAREN] = ACTIONS(1867), - [anon_sym_SEMI_SEMI] = ACTIONS(1867), - [anon_sym_PIPE] = ACTIONS(1867), - [anon_sym_PIPE_AMP] = ACTIONS(1867), - [anon_sym_AMP_AMP] = ACTIONS(1867), - [anon_sym_PIPE_PIPE] = ACTIONS(1867), - [anon_sym_COLON] = ACTIONS(1859), - [anon_sym_LT] = ACTIONS(1870), - [anon_sym_GT] = ACTIONS(1870), - [anon_sym_GT_GT] = ACTIONS(1870), - [anon_sym_AMP_GT] = ACTIONS(1870), - [anon_sym_AMP_GT_GT] = ACTIONS(1870), - [anon_sym_LT_AMP] = ACTIONS(1870), - [anon_sym_GT_AMP] = ACTIONS(1870), - [anon_sym_LT_LT] = ACTIONS(1867), - [anon_sym_LT_LT_DASH] = ACTIONS(1867), - [anon_sym_DQUOTE] = ACTIONS(1859), - [sym_raw_string] = ACTIONS(1859), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1859), - [anon_sym_BQUOTE] = ACTIONS(1870), - [sym_leading_word] = ACTIONS(1859), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1867), - [anon_sym_LF] = ACTIONS(1867), - [anon_sym_AMP] = ACTIONS(1867), - }, - [622] = { - [sym_file_descriptor] = ACTIONS(1875), - [anon_sym_RPAREN] = ACTIONS(1867), - [anon_sym_SEMI_SEMI] = ACTIONS(1867), - [anon_sym_PIPE] = ACTIONS(1867), - [anon_sym_PIPE_AMP] = ACTIONS(1867), - [anon_sym_AMP_AMP] = ACTIONS(1867), - [anon_sym_PIPE_PIPE] = ACTIONS(1867), - [anon_sym_LT] = ACTIONS(1867), - [anon_sym_GT] = ACTIONS(1867), - [anon_sym_GT_GT] = ACTIONS(1867), - [anon_sym_AMP_GT] = ACTIONS(1867), - [anon_sym_AMP_GT_GT] = ACTIONS(1867), - [anon_sym_LT_AMP] = ACTIONS(1867), - [anon_sym_GT_AMP] = ACTIONS(1867), - [anon_sym_LT_LT] = ACTIONS(1867), - [anon_sym_LT_LT_DASH] = ACTIONS(1867), - [anon_sym_BQUOTE] = ACTIONS(1867), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1867), - [anon_sym_LF] = ACTIONS(1867), - [anon_sym_AMP] = ACTIONS(1867), - }, - [623] = { - [sym_file_descriptor] = ACTIONS(627), - [anon_sym_RPAREN] = ACTIONS(629), - [anon_sym_SEMI_SEMI] = ACTIONS(629), - [anon_sym_PIPE] = ACTIONS(629), - [anon_sym_PIPE_AMP] = ACTIONS(629), - [anon_sym_AMP_AMP] = ACTIONS(629), - [anon_sym_PIPE_PIPE] = ACTIONS(629), - [anon_sym_LT] = ACTIONS(629), - [anon_sym_GT] = ACTIONS(629), - [anon_sym_GT_GT] = ACTIONS(629), - [anon_sym_AMP_GT] = ACTIONS(629), - [anon_sym_AMP_GT_GT] = ACTIONS(629), - [anon_sym_LT_AMP] = ACTIONS(629), - [anon_sym_GT_AMP] = ACTIONS(629), - [anon_sym_LT_LT] = ACTIONS(629), - [anon_sym_LT_LT_DASH] = ACTIONS(629), - [anon_sym_BQUOTE] = ACTIONS(629), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(629), - [anon_sym_LF] = ACTIONS(629), - [anon_sym_AMP] = ACTIONS(629), - }, - [624] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [aux_sym_command_repeat2] = STATE(676), - [sym_file_descriptor] = ACTIONS(1878), - [anon_sym_in] = ACTIONS(1885), - [anon_sym_RPAREN] = ACTIONS(1887), - [anon_sym_SEMI_SEMI] = ACTIONS(1896), - [anon_sym_RBRACE] = ACTIONS(1905), - [anon_sym_PIPE] = ACTIONS(1907), - [anon_sym_PIPE_AMP] = ACTIONS(1907), - [anon_sym_AMP_AMP] = ACTIONS(1907), - [anon_sym_PIPE_PIPE] = ACTIONS(1907), - [anon_sym_RBRACK] = ACTIONS(1915), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1915), - [anon_sym_COLON] = ACTIONS(1918), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1640), - [anon_sym_LT] = ACTIONS(1922), - [anon_sym_GT] = ACTIONS(1922), - [anon_sym_GT_GT] = ACTIONS(1922), - [anon_sym_AMP_GT] = ACTIONS(1922), - [anon_sym_AMP_GT_GT] = ACTIONS(1922), - [anon_sym_LT_AMP] = ACTIONS(1922), - [anon_sym_GT_AMP] = ACTIONS(1922), - [anon_sym_LT_LT] = ACTIONS(1929), - [anon_sym_LT_LT_DASH] = ACTIONS(1929), - [anon_sym_DQUOTE] = ACTIONS(1935), - [sym_raw_string] = ACTIONS(1935), - [anon_sym_DOLLAR] = ACTIONS(1915), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1915), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1935), - [anon_sym_BQUOTE] = ACTIONS(1907), - [sym_leading_word] = ACTIONS(1918), - [sym_word] = ACTIONS(1915), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1896), - [anon_sym_LF] = ACTIONS(1896), - [anon_sym_AMP] = ACTIONS(1896), - }, - [625] = { - [sym__heredoc_middle] = ACTIONS(1773), - [sym__heredoc_end] = ACTIONS(1773), - [sym_file_descriptor] = ACTIONS(1941), - [anon_sym_in] = ACTIONS(1885), - [anon_sym_RPAREN] = ACTIONS(1947), - [anon_sym_SEMI_SEMI] = ACTIONS(1954), - [anon_sym_RBRACE] = ACTIONS(1905), - [anon_sym_PIPE] = ACTIONS(1935), - [anon_sym_PIPE_AMP] = ACTIONS(1935), - [anon_sym_AMP_AMP] = ACTIONS(1935), - [anon_sym_PIPE_PIPE] = ACTIONS(1935), - [anon_sym_RBRACK] = ACTIONS(1915), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1915), - [anon_sym_COLON] = ACTIONS(1918), - [anon_sym_LT] = ACTIONS(1935), - [anon_sym_GT] = ACTIONS(1935), - [anon_sym_GT_GT] = ACTIONS(1935), - [anon_sym_AMP_GT] = ACTIONS(1935), - [anon_sym_AMP_GT_GT] = ACTIONS(1935), - [anon_sym_LT_AMP] = ACTIONS(1935), - [anon_sym_GT_AMP] = ACTIONS(1935), - [anon_sym_LT_LT] = ACTIONS(1961), - [anon_sym_LT_LT_DASH] = ACTIONS(1961), - [anon_sym_DQUOTE] = ACTIONS(1966), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1974), - [sym_raw_string] = ACTIONS(1935), - [anon_sym_DOLLAR] = ACTIONS(1977), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1977), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1966), - [anon_sym_BQUOTE] = ACTIONS(1966), - [sym_leading_word] = ACTIONS(1918), - [sym_word] = ACTIONS(1915), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1954), - [anon_sym_LF] = ACTIONS(1954), - [anon_sym_AMP] = ACTIONS(1954), + [anon_sym_SEMI] = ACTIONS(1706), + [anon_sym_LF] = ACTIONS(1706), + [anon_sym_AMP] = ACTIONS(1706), }, [626] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [aux_sym_command_repeat2] = STATE(676), - [sym_file_descriptor] = ACTIONS(1878), - [anon_sym_in] = ACTIONS(1885), - [anon_sym_RPAREN] = ACTIONS(1887), - [anon_sym_SEMI_SEMI] = ACTIONS(1896), - [anon_sym_RBRACE] = ACTIONS(1905), - [anon_sym_PIPE] = ACTIONS(1907), - [anon_sym_PIPE_AMP] = ACTIONS(1907), - [anon_sym_AMP_AMP] = ACTIONS(1907), - [anon_sym_PIPE_PIPE] = ACTIONS(1907), - [anon_sym_RBRACK] = ACTIONS(1915), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1915), - [anon_sym_COLON] = ACTIONS(1918), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1640), - [anon_sym_LT] = ACTIONS(1922), - [anon_sym_GT] = ACTIONS(1922), - [anon_sym_GT_GT] = ACTIONS(1922), - [anon_sym_AMP_GT] = ACTIONS(1922), - [anon_sym_AMP_GT_GT] = ACTIONS(1922), - [anon_sym_LT_AMP] = ACTIONS(1922), - [anon_sym_GT_AMP] = ACTIONS(1922), - [anon_sym_LT_LT] = ACTIONS(1929), - [anon_sym_LT_LT_DASH] = ACTIONS(1929), - [anon_sym_DQUOTE] = ACTIONS(1966), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1974), - [sym_raw_string] = ACTIONS(1935), - [anon_sym_DOLLAR] = ACTIONS(1984), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1984), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1966), - [anon_sym_BQUOTE] = ACTIONS(1989), - [sym_leading_word] = ACTIONS(1918), - [sym_word] = ACTIONS(1915), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1896), - [anon_sym_LF] = ACTIONS(1896), - [anon_sym_AMP] = ACTIONS(1896), + [sym_for_statement] = STATE(710), + [sym_while_statement] = STATE(710), + [sym_if_statement] = STATE(710), + [sym_case_statement] = STATE(710), + [sym_function_definition] = STATE(710), + [sym_subshell] = STATE(710), + [sym_pipeline] = STATE(710), + [sym_list] = STATE(710), + [sym_bracket_command] = STATE(710), + [sym_command] = STATE(710), + [sym_environment_variable_assignment] = STATE(711), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(705), + [sym_command_substitution] = STATE(705), + [aux_sym_command_repeat1] = STATE(665), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1713), + [anon_sym_while] = ACTIONS(1715), + [anon_sym_if] = ACTIONS(1717), + [anon_sym_case] = ACTIONS(1719), + [anon_sym_function] = ACTIONS(1721), + [anon_sym_LPAREN] = ACTIONS(1723), + [anon_sym_LBRACK] = ACTIONS(1725), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1727), + [anon_sym_COLON] = ACTIONS(1729), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1731), + [sym_raw_string] = ACTIONS(1733), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1735), + [anon_sym_BQUOTE] = ACTIONS(1737), + [sym_leading_word] = ACTIONS(1739), + [sym_comment] = ACTIONS(115), }, [627] = { - [sym_file_descriptor] = ACTIONS(1941), - [anon_sym_in] = ACTIONS(1885), - [anon_sym_RPAREN] = ACTIONS(1947), - [anon_sym_SEMI_SEMI] = ACTIONS(1954), - [anon_sym_RBRACE] = ACTIONS(1905), - [anon_sym_PIPE] = ACTIONS(1935), - [anon_sym_PIPE_AMP] = ACTIONS(1935), - [anon_sym_AMP_AMP] = ACTIONS(1935), - [anon_sym_PIPE_PIPE] = ACTIONS(1935), - [anon_sym_RBRACK] = ACTIONS(1915), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1915), - [anon_sym_COLON] = ACTIONS(1918), - [anon_sym_LT] = ACTIONS(1935), - [anon_sym_GT] = ACTIONS(1935), - [anon_sym_GT_GT] = ACTIONS(1935), - [anon_sym_AMP_GT] = ACTIONS(1935), - [anon_sym_AMP_GT_GT] = ACTIONS(1935), - [anon_sym_LT_AMP] = ACTIONS(1935), - [anon_sym_GT_AMP] = ACTIONS(1935), - [anon_sym_LT_LT] = ACTIONS(1961), - [anon_sym_LT_LT_DASH] = ACTIONS(1961), - [anon_sym_DQUOTE] = ACTIONS(1935), - [sym_raw_string] = ACTIONS(1935), - [anon_sym_DOLLAR] = ACTIONS(1915), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1915), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1935), - [anon_sym_BQUOTE] = ACTIONS(1935), - [sym_leading_word] = ACTIONS(1918), - [sym_word] = ACTIONS(1915), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1954), - [anon_sym_LF] = ACTIONS(1954), - [anon_sym_AMP] = ACTIONS(1954), + [sym_for_statement] = STATE(712), + [sym_while_statement] = STATE(712), + [sym_if_statement] = STATE(712), + [sym_case_statement] = STATE(712), + [sym_function_definition] = STATE(712), + [sym_subshell] = STATE(712), + [sym_pipeline] = STATE(712), + [sym_list] = STATE(712), + [sym_bracket_command] = STATE(712), + [sym_command] = STATE(712), + [sym_environment_variable_assignment] = STATE(713), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(705), + [sym_command_substitution] = STATE(705), + [aux_sym_command_repeat1] = STATE(665), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1713), + [anon_sym_while] = ACTIONS(1715), + [anon_sym_if] = ACTIONS(1717), + [anon_sym_case] = ACTIONS(1719), + [anon_sym_function] = ACTIONS(1721), + [anon_sym_LPAREN] = ACTIONS(1723), + [anon_sym_LBRACK] = ACTIONS(1725), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1727), + [anon_sym_COLON] = ACTIONS(1729), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1731), + [sym_raw_string] = ACTIONS(1733), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1735), + [anon_sym_BQUOTE] = ACTIONS(1737), + [sym_leading_word] = ACTIONS(1739), + [sym_comment] = ACTIONS(115), }, [628] = { - [sym__heredoc_middle] = ACTIONS(555), - [sym__heredoc_end] = ACTIONS(555), - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_in] = ACTIONS(523), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_RBRACE] = ACTIONS(1999), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_RBRACK] = ACTIONS(523), - [anon_sym_RBRACK_RBRACK] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(2002), - [anon_sym_EQ] = ACTIONS(2005), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(714), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), + [sym_comment] = ACTIONS(115), + }, + [629] = { + [anon_sym_RPAREN] = ACTIONS(637), + [anon_sym_SEMI_SEMI] = ACTIONS(637), + [anon_sym_PIPE] = ACTIONS(637), + [anon_sym_PIPE_AMP] = ACTIONS(637), + [anon_sym_AMP_AMP] = ACTIONS(637), + [anon_sym_PIPE_PIPE] = ACTIONS(637), + [anon_sym_BQUOTE] = ACTIONS(637), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(637), + [anon_sym_LF] = ACTIONS(637), + [anon_sym_AMP] = ACTIONS(637), + }, + [630] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(720), + [sym_array] = STATE(720), + [sym_simple_expansion] = STATE(720), + [sym_expansion] = STATE(720), + [sym_command_substitution] = STATE(720), + [sym_process_substitution] = STATE(720), + [aux_sym_command_repeat2] = STATE(722), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1743), + [anon_sym_SEMI_SEMI] = ACTIONS(1743), + [anon_sym_LPAREN] = ACTIONS(1746), + [anon_sym_PIPE] = ACTIONS(1743), + [anon_sym_PIPE_AMP] = ACTIONS(1743), + [anon_sym_AMP_AMP] = ACTIONS(1743), + [anon_sym_PIPE_PIPE] = ACTIONS(1743), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1748), + [anon_sym_LT] = ACTIONS(1750), + [anon_sym_GT] = ACTIONS(1750), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(1756), + [sym_raw_string] = ACTIONS(1758), + [anon_sym_DOLLAR] = ACTIONS(1760), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1762), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1764), + [anon_sym_BQUOTE] = ACTIONS(1766), + [sym_word] = ACTIONS(1758), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1743), + [anon_sym_LF] = ACTIONS(1743), + [anon_sym_AMP] = ACTIONS(1743), + }, + [631] = { + [sym_string] = STATE(726), + [sym_array] = STATE(726), + [sym_simple_expansion] = STATE(726), + [sym_expansion] = STATE(726), + [sym_command_substitution] = STATE(726), + [sym_process_substitution] = STATE(726), + [sym__empty_value] = ACTIONS(1770), + [anon_sym_LPAREN] = ACTIONS(1772), + [anon_sym_LT] = ACTIONS(1774), + [anon_sym_GT] = ACTIONS(1774), + [anon_sym_DQUOTE] = ACTIONS(1776), + [sym_raw_string] = ACTIONS(1778), + [anon_sym_DOLLAR] = ACTIONS(1780), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1782), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1784), + [anon_sym_BQUOTE] = ACTIONS(1786), + [sym_word] = ACTIONS(1788), + [sym_comment] = ACTIONS(115), + }, + [632] = { + [sym_string] = STATE(734), + [sym_array] = STATE(734), + [sym_simple_expansion] = STATE(734), + [sym_expansion] = STATE(734), + [sym_command_substitution] = STATE(734), + [sym_process_substitution] = STATE(734), + [anon_sym_LPAREN] = ACTIONS(1790), + [anon_sym_LT] = ACTIONS(1792), + [anon_sym_GT] = ACTIONS(1792), + [anon_sym_DQUOTE] = ACTIONS(1794), + [sym_raw_string] = ACTIONS(1796), + [anon_sym_DOLLAR] = ACTIONS(1798), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1800), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1802), + [anon_sym_BQUOTE] = ACTIONS(1804), + [sym_word] = ACTIONS(1806), + [sym_comment] = ACTIONS(115), + }, + [633] = { + [sym_string] = STATE(734), + [sym_array] = STATE(734), + [sym_simple_expansion] = STATE(734), + [sym_expansion] = STATE(734), + [sym_command_substitution] = STATE(734), + [sym_process_substitution] = STATE(734), + [anon_sym_LPAREN] = ACTIONS(1808), + [anon_sym_LT] = ACTIONS(1792), + [anon_sym_GT] = ACTIONS(1792), + [anon_sym_DQUOTE] = ACTIONS(1794), + [sym_raw_string] = ACTIONS(1796), + [anon_sym_DOLLAR] = ACTIONS(1798), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1800), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1802), + [anon_sym_BQUOTE] = ACTIONS(1804), + [sym_word] = ACTIONS(1806), + [sym_comment] = ACTIONS(115), + }, + [634] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(668), + [sym_file_descriptor] = ACTIONS(1810), + [anon_sym_in] = ACTIONS(1813), + [anon_sym_RPAREN] = ACTIONS(1813), + [anon_sym_SEMI_SEMI] = ACTIONS(1813), + [anon_sym_LPAREN] = ACTIONS(1813), + [anon_sym_RBRACE] = ACTIONS(1813), + [anon_sym_PIPE] = ACTIONS(1813), + [anon_sym_PIPE_AMP] = ACTIONS(1813), + [anon_sym_AMP_AMP] = ACTIONS(1813), + [anon_sym_PIPE_PIPE] = ACTIONS(1813), + [anon_sym_RBRACK] = ACTIONS(1813), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1813), + [anon_sym_COLON] = ACTIONS(1813), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1813), + [anon_sym_LT] = ACTIONS(1813), + [anon_sym_GT] = ACTIONS(1813), + [anon_sym_GT_GT] = ACTIONS(1813), + [anon_sym_AMP_GT] = ACTIONS(1813), + [anon_sym_AMP_GT_GT] = ACTIONS(1813), + [anon_sym_LT_AMP] = ACTIONS(1813), + [anon_sym_GT_AMP] = ACTIONS(1813), + [anon_sym_LT_LT] = ACTIONS(1813), + [anon_sym_LT_LT_DASH] = ACTIONS(1813), + [anon_sym_DQUOTE] = ACTIONS(1816), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1820), + [sym_raw_string] = ACTIONS(1813), + [anon_sym_DOLLAR] = ACTIONS(1822), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1826), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1830), + [anon_sym_BQUOTE] = ACTIONS(1834), + [sym_leading_word] = ACTIONS(1813), + [sym_word] = ACTIONS(1813), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1813), + [anon_sym_LF] = ACTIONS(1813), + [anon_sym_AMP] = ACTIONS(1813), + }, + [635] = { + [sym_special_variable_name] = STATE(743), + [sym__heredoc_middle] = ACTIONS(583), + [sym__heredoc_end] = ACTIONS(583), + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_in] = ACTIONS(577), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_LPAREN] = ACTIONS(577), + [anon_sym_RBRACE] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_RBRACK] = ACTIONS(577), + [anon_sym_RBRACK_RBRACK] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_EQ] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR] = ACTIONS(1838), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_COLON_QMARK] = ACTIONS(585), + [anon_sym_COLON_DASH] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(1841), + [anon_sym_STAR] = ACTIONS(1843), + [anon_sym_AT] = ACTIONS(1843), + [anon_sym_POUND] = ACTIONS(1843), + [anon_sym_QMARK] = ACTIONS(1843), + [anon_sym_DASH] = ACTIONS(1843), + [anon_sym_BANG] = ACTIONS(1843), + [anon_sym_0] = ACTIONS(1843), + [anon_sym__] = ACTIONS(1843), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [636] = { + [sym_for_statement] = STATE(744), + [sym_while_statement] = STATE(744), + [sym_if_statement] = STATE(744), + [sym_case_statement] = STATE(744), + [sym_function_definition] = STATE(744), + [sym_subshell] = STATE(744), + [sym_pipeline] = STATE(744), + [sym_list] = STATE(744), + [sym_bracket_command] = STATE(744), + [sym_command] = STATE(744), + [sym_environment_variable_assignment] = STATE(745), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(1845), + [anon_sym_for] = ACTIONS(1848), + [anon_sym_in] = ACTIONS(847), + [anon_sym_while] = ACTIONS(1850), + [anon_sym_if] = ACTIONS(1852), + [anon_sym_case] = ACTIONS(1854), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_function] = ACTIONS(1856), + [anon_sym_LPAREN] = ACTIONS(1858), + [anon_sym_RBRACE] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_LBRACK] = ACTIONS(1861), + [anon_sym_RBRACK] = ACTIONS(847), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1863), + [anon_sym_RBRACK_RBRACK] = ACTIONS(847), + [anon_sym_COLON] = ACTIONS(1865), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(1868), + [anon_sym_GT] = ACTIONS(1868), + [anon_sym_GT_GT] = ACTIONS(1868), + [anon_sym_AMP_GT] = ACTIONS(1868), + [anon_sym_AMP_GT_GT] = ACTIONS(1868), + [anon_sym_LT_AMP] = ACTIONS(1868), + [anon_sym_GT_AMP] = ACTIONS(1868), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(1871), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), + [sym_raw_string] = ACTIONS(1865), + [anon_sym_DOLLAR] = ACTIONS(847), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1874), + [anon_sym_BQUOTE] = ACTIONS(1877), + [sym_leading_word] = ACTIONS(1880), + [sym_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [637] = { + [sym__heredoc_middle] = ACTIONS(583), + [sym__heredoc_end] = ACTIONS(583), + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_in] = ACTIONS(577), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_LPAREN] = ACTIONS(577), + [anon_sym_RBRACE] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_RBRACK] = ACTIONS(577), + [anon_sym_RBRACK_RBRACK] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_EQ] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR] = ACTIONS(577), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_COLON_QMARK] = ACTIONS(585), + [anon_sym_COLON_DASH] = ACTIONS(585), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [638] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(663), + [sym_file_descriptor] = ACTIONS(521), + [ts_builtin_sym_end] = ACTIONS(521), + [anon_sym_for] = ACTIONS(523), + [anon_sym_in] = ACTIONS(1883), + [anon_sym_while] = ACTIONS(523), + [anon_sym_do] = ACTIONS(523), + [anon_sym_done] = ACTIONS(523), + [anon_sym_if] = ACTIONS(523), + [anon_sym_then] = ACTIONS(523), + [anon_sym_fi] = ACTIONS(523), + [anon_sym_elif] = ACTIONS(523), + [anon_sym_else] = ACTIONS(523), + [anon_sym_case] = ACTIONS(523), + [anon_sym_esac] = ACTIONS(1885), + [anon_sym_RPAREN] = ACTIONS(521), + [anon_sym_SEMI_SEMI] = ACTIONS(521), + [anon_sym_function] = ACTIONS(523), + [anon_sym_LPAREN] = ACTIONS(1887), + [anon_sym_RBRACE] = ACTIONS(521), + [anon_sym_LBRACK] = ACTIONS(523), + [anon_sym_LBRACK_LBRACK] = ACTIONS(523), + [anon_sym_COLON] = ACTIONS(523), + [anon_sym_LT] = ACTIONS(1890), + [anon_sym_GT] = ACTIONS(1890), [anon_sym_GT_GT] = ACTIONS(523), [anon_sym_AMP_GT] = ACTIONS(523), [anon_sym_AMP_GT_GT] = ACTIONS(523), [anon_sym_LT_AMP] = ACTIONS(523), [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR] = ACTIONS(523), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(523), - [anon_sym_COLON_QMARK] = ACTIONS(2007), - [anon_sym_COLON_DASH] = ACTIONS(2007), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_leading_word] = ACTIONS(523), - [sym_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [629] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(714), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(715), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [ts_builtin_sym_end] = ACTIONS(243), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(2009), - [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2011), - [anon_sym_elif] = ACTIONS(2015), - [anon_sym_else] = ACTIONS(2018), - [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2021), - [anon_sym_SEMI_SEMI] = ACTIONS(1393), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(2023), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [630] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(717), - [anon_sym_fi] = ACTIONS(2025), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), - [sym_comment] = ACTIONS(115), - }, - [631] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(2027), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [632] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(721), - [sym_simple_expansion] = STATE(721), - [sym_expansion] = STATE(721), - [sym_command_substitution] = STATE(721), - [sym_process_substitution] = STATE(721), - [aux_sym_command_repeat2] = STATE(726), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2029), - [anon_sym_SEMI_SEMI] = ACTIONS(2029), - [anon_sym_PIPE] = ACTIONS(2029), - [anon_sym_PIPE_AMP] = ACTIONS(2029), - [anon_sym_AMP_AMP] = ACTIONS(2029), - [anon_sym_PIPE_PIPE] = ACTIONS(2029), - [anon_sym_RBRACK] = ACTIONS(2034), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), - [anon_sym_LT] = ACTIONS(2036), - [anon_sym_GT] = ACTIONS(2036), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2038), - [sym_raw_string] = ACTIONS(2040), - [anon_sym_DOLLAR] = ACTIONS(2042), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2044), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2046), - [anon_sym_BQUOTE] = ACTIONS(2048), - [sym_word] = ACTIONS(2040), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2029), - [anon_sym_LF] = ACTIONS(2029), - [anon_sym_AMP] = ACTIONS(2029), - }, - [633] = { - [sym_environment_variable_assignment] = STATE(90), - [sym_file_redirect] = STATE(90), - [sym_string] = STATE(727), - [sym_command_substitution] = STATE(727), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(2054), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(2056), - [sym_raw_string] = ACTIONS(2058), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2060), - [anon_sym_BQUOTE] = ACTIONS(2062), - [sym_leading_word] = ACTIONS(2064), - [sym_comment] = ACTIONS(115), - }, - [634] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2066), - [anon_sym_SEMI_SEMI] = ACTIONS(2066), - [anon_sym_PIPE] = ACTIONS(2066), - [anon_sym_PIPE_AMP] = ACTIONS(2066), - [anon_sym_AMP_AMP] = ACTIONS(2066), - [anon_sym_PIPE_PIPE] = ACTIONS(2066), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(2066), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2066), - [anon_sym_LF] = ACTIONS(2066), - [anon_sym_AMP] = ACTIONS(2066), - }, - [635] = { - [sym_simple_expansion] = STATE(388), - [sym_expansion] = STATE(388), - [sym__heredoc_middle] = ACTIONS(921), - [sym__heredoc_end] = ACTIONS(2077), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [636] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2079), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [637] = { - [anon_sym_in] = ACTIONS(2081), - [sym_comment] = ACTIONS(115), - }, - [638] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(631), - [anon_sym_esac] = ACTIONS(1754), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), + [anon_sym_DQUOTE] = ACTIONS(1893), + [sym_raw_string] = ACTIONS(1896), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1899), + [anon_sym_BQUOTE] = ACTIONS(1902), + [sym_leading_word] = ACTIONS(525), + [sym_word] = ACTIONS(921), [sym_comment] = ACTIONS(115), }, [639] = { - [sym_do_group] = STATE(736), - [anon_sym_do] = ACTIONS(2083), - [sym_comment] = ACTIONS(115), + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(685), + [anon_sym_SEMI_SEMI] = ACTIONS(685), + [anon_sym_PIPE] = ACTIONS(685), + [anon_sym_PIPE_AMP] = ACTIONS(685), + [anon_sym_AMP_AMP] = ACTIONS(685), + [anon_sym_PIPE_PIPE] = ACTIONS(685), + [anon_sym_LT] = ACTIONS(685), + [anon_sym_GT] = ACTIONS(685), + [anon_sym_GT_GT] = ACTIONS(685), + [anon_sym_AMP_GT] = ACTIONS(685), + [anon_sym_AMP_GT_GT] = ACTIONS(685), + [anon_sym_LT_AMP] = ACTIONS(685), + [anon_sym_GT_AMP] = ACTIONS(685), + [anon_sym_LT_LT] = ACTIONS(685), + [anon_sym_LT_LT_DASH] = ACTIONS(685), + [anon_sym_BQUOTE] = ACTIONS(685), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(685), + [anon_sym_LF] = ACTIONS(685), + [anon_sym_AMP] = ACTIONS(685), }, [640] = { - [sym_do_group] = STATE(737), - [anon_sym_do] = ACTIONS(2083), + [sym_simple_expansion] = STATE(311), + [sym_expansion] = STATE(311), + [aux_sym_heredoc_repeat1] = STATE(667), + [sym__heredoc_middle] = ACTIONS(687), + [sym__heredoc_end] = ACTIONS(1905), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), [sym_comment] = ACTIONS(115), }, [641] = { - [anon_sym_RPAREN] = ACTIONS(773), - [anon_sym_SEMI_SEMI] = ACTIONS(773), - [anon_sym_PIPE] = ACTIONS(773), - [anon_sym_PIPE_AMP] = ACTIONS(773), - [anon_sym_AMP_AMP] = ACTIONS(773), - [anon_sym_PIPE_PIPE] = ACTIONS(773), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(773), - [anon_sym_LF] = ACTIONS(773), - [anon_sym_AMP] = ACTIONS(773), - }, - [642] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_done] = ACTIONS(2009), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), + [sym__heredoc_middle] = ACTIONS(1907), + [sym__heredoc_end] = ACTIONS(1907), + [anon_sym_DOLLAR] = ACTIONS(1910), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1907), [sym_comment] = ACTIONS(115), }, + [642] = { + [sym_file_descriptor] = ACTIONS(1913), + [anon_sym_RPAREN] = ACTIONS(1916), + [anon_sym_SEMI_SEMI] = ACTIONS(1916), + [anon_sym_PIPE] = ACTIONS(1916), + [anon_sym_PIPE_AMP] = ACTIONS(1916), + [anon_sym_AMP_AMP] = ACTIONS(1916), + [anon_sym_PIPE_PIPE] = ACTIONS(1916), + [anon_sym_LT] = ACTIONS(1916), + [anon_sym_GT] = ACTIONS(1916), + [anon_sym_GT_GT] = ACTIONS(1916), + [anon_sym_AMP_GT] = ACTIONS(1916), + [anon_sym_AMP_GT_GT] = ACTIONS(1916), + [anon_sym_LT_AMP] = ACTIONS(1916), + [anon_sym_GT_AMP] = ACTIONS(1916), + [anon_sym_LT_LT] = ACTIONS(1916), + [anon_sym_LT_LT_DASH] = ACTIONS(1916), + [anon_sym_BQUOTE] = ACTIONS(1916), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1916), + [anon_sym_LF] = ACTIONS(1916), + [anon_sym_AMP] = ACTIONS(1916), + }, [643] = { - [anon_sym_then] = ACTIONS(2085), + [anon_sym_LT] = ACTIONS(1919), + [anon_sym_GT] = ACTIONS(1919), + [anon_sym_GT_GT] = ACTIONS(1921), + [anon_sym_AMP_GT] = ACTIONS(1919), + [anon_sym_AMP_GT_GT] = ACTIONS(1921), + [anon_sym_LT_AMP] = ACTIONS(1921), + [anon_sym_GT_AMP] = ACTIONS(1921), [sym_comment] = ACTIONS(115), }, [644] = { - [anon_sym_RPAREN] = ACTIONS(777), - [anon_sym_SEMI_SEMI] = ACTIONS(777), - [anon_sym_PIPE] = ACTIONS(777), - [anon_sym_PIPE_AMP] = ACTIONS(777), - [anon_sym_AMP_AMP] = ACTIONS(777), - [anon_sym_PIPE_PIPE] = ACTIONS(777), + [sym_file_descriptor] = ACTIONS(863), + [anon_sym_RPAREN] = ACTIONS(865), + [anon_sym_SEMI_SEMI] = ACTIONS(865), + [anon_sym_PIPE] = ACTIONS(865), + [anon_sym_PIPE_AMP] = ACTIONS(865), + [anon_sym_AMP_AMP] = ACTIONS(865), + [anon_sym_PIPE_PIPE] = ACTIONS(865), + [anon_sym_COLON] = ACTIONS(865), + [anon_sym_LT] = ACTIONS(865), + [anon_sym_GT] = ACTIONS(865), + [anon_sym_GT_GT] = ACTIONS(865), + [anon_sym_AMP_GT] = ACTIONS(865), + [anon_sym_AMP_GT_GT] = ACTIONS(865), + [anon_sym_LT_AMP] = ACTIONS(865), + [anon_sym_GT_AMP] = ACTIONS(865), + [anon_sym_DQUOTE] = ACTIONS(865), + [sym_raw_string] = ACTIONS(865), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), + [sym_leading_word] = ACTIONS(865), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(777), - [anon_sym_LF] = ACTIONS(777), - [anon_sym_AMP] = ACTIONS(777), + [anon_sym_SEMI] = ACTIONS(865), + [anon_sym_LF] = ACTIONS(865), + [anon_sym_AMP] = ACTIONS(865), }, [645] = { - [anon_sym_fi] = ACTIONS(2087), + [sym_do_group] = STATE(647), + [sym_file_descriptor] = ACTIONS(1923), + [ts_builtin_sym_end] = ACTIONS(1923), + [anon_sym_for] = ACTIONS(1926), + [anon_sym_while] = ACTIONS(1926), + [anon_sym_do] = ACTIONS(1929), + [anon_sym_done] = ACTIONS(1926), + [anon_sym_if] = ACTIONS(1926), + [anon_sym_then] = ACTIONS(1931), + [anon_sym_fi] = ACTIONS(1926), + [anon_sym_elif] = ACTIONS(1926), + [anon_sym_else] = ACTIONS(1926), + [anon_sym_case] = ACTIONS(1926), + [anon_sym_RPAREN] = ACTIONS(1923), + [anon_sym_SEMI_SEMI] = ACTIONS(1923), + [anon_sym_function] = ACTIONS(1926), + [anon_sym_LPAREN] = ACTIONS(1923), + [anon_sym_RBRACE] = ACTIONS(1923), + [anon_sym_LBRACK] = ACTIONS(1926), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1926), + [anon_sym_COLON] = ACTIONS(1923), + [anon_sym_LT] = ACTIONS(1926), + [anon_sym_GT] = ACTIONS(1926), + [anon_sym_GT_GT] = ACTIONS(1926), + [anon_sym_AMP_GT] = ACTIONS(1926), + [anon_sym_AMP_GT_GT] = ACTIONS(1926), + [anon_sym_LT_AMP] = ACTIONS(1926), + [anon_sym_GT_AMP] = ACTIONS(1926), + [anon_sym_DQUOTE] = ACTIONS(1923), + [sym_raw_string] = ACTIONS(1926), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1923), + [anon_sym_BQUOTE] = ACTIONS(1923), + [sym_leading_word] = ACTIONS(1933), [sym_comment] = ACTIONS(115), }, [646] = { - [sym__terminated_statement] = STATE(87), + [anon_sym_RPAREN] = ACTIONS(1936), + [anon_sym_SEMI_SEMI] = ACTIONS(1940), + [anon_sym_PIPE] = ACTIONS(1944), + [anon_sym_PIPE_AMP] = ACTIONS(1944), + [anon_sym_AMP_AMP] = ACTIONS(1948), + [anon_sym_PIPE_PIPE] = ACTIONS(1948), + [anon_sym_BQUOTE] = ACTIONS(1952), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1940), + [anon_sym_LF] = ACTIONS(1940), + [anon_sym_AMP] = ACTIONS(1940), + }, + [647] = { + [anon_sym_RPAREN] = ACTIONS(1956), + [anon_sym_SEMI_SEMI] = ACTIONS(1956), + [anon_sym_PIPE] = ACTIONS(1956), + [anon_sym_PIPE_AMP] = ACTIONS(1956), + [anon_sym_AMP_AMP] = ACTIONS(1956), + [anon_sym_PIPE_PIPE] = ACTIONS(1956), + [anon_sym_BQUOTE] = ACTIONS(1956), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1956), + [anon_sym_LF] = ACTIONS(1956), + [anon_sym_AMP] = ACTIONS(1956), + }, + [648] = { + [anon_sym_fi] = ACTIONS(1959), + [anon_sym_elif] = ACTIONS(1959), + [anon_sym_else] = ACTIONS(1959), + [sym_comment] = ACTIONS(115), + }, + [649] = { + [anon_sym_fi] = ACTIONS(1962), + [sym_comment] = ACTIONS(115), + }, + [650] = { + [anon_sym_esac] = ACTIONS(1964), + [anon_sym_LPAREN] = ACTIONS(1967), + [anon_sym_LT] = ACTIONS(1967), + [anon_sym_GT] = ACTIONS(1967), + [anon_sym_DQUOTE] = ACTIONS(1967), + [sym_raw_string] = ACTIONS(1964), + [anon_sym_DOLLAR] = ACTIONS(1964), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1967), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1967), + [anon_sym_BQUOTE] = ACTIONS(1967), + [sym_word] = ACTIONS(1970), + [sym_comment] = ACTIONS(115), + }, + [651] = { + [anon_sym_RPAREN] = ACTIONS(1973), + [anon_sym_SEMI_SEMI] = ACTIONS(1973), + [anon_sym_PIPE] = ACTIONS(1973), + [anon_sym_PIPE_AMP] = ACTIONS(1973), + [anon_sym_AMP_AMP] = ACTIONS(1973), + [anon_sym_PIPE_PIPE] = ACTIONS(1973), + [anon_sym_BQUOTE] = ACTIONS(1973), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1973), + [anon_sym_LF] = ACTIONS(1973), + [anon_sym_AMP] = ACTIONS(1973), + }, + [652] = { + [sym_file_descriptor] = ACTIONS(1976), + [anon_sym_RPAREN] = ACTIONS(1936), + [anon_sym_SEMI_SEMI] = ACTIONS(1940), + [anon_sym_PIPE] = ACTIONS(1944), + [anon_sym_PIPE_AMP] = ACTIONS(1944), + [anon_sym_AMP_AMP] = ACTIONS(1948), + [anon_sym_PIPE_PIPE] = ACTIONS(1948), + [anon_sym_COLON] = ACTIONS(1979), + [anon_sym_LT] = ACTIONS(1979), + [anon_sym_GT] = ACTIONS(1979), + [anon_sym_GT_GT] = ACTIONS(1979), + [anon_sym_AMP_GT] = ACTIONS(1979), + [anon_sym_AMP_GT_GT] = ACTIONS(1979), + [anon_sym_LT_AMP] = ACTIONS(1979), + [anon_sym_GT_AMP] = ACTIONS(1979), + [anon_sym_DQUOTE] = ACTIONS(1979), + [sym_raw_string] = ACTIONS(1979), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1979), + [anon_sym_BQUOTE] = ACTIONS(1982), + [sym_leading_word] = ACTIONS(1979), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1940), + [anon_sym_LF] = ACTIONS(1940), + [anon_sym_AMP] = ACTIONS(1940), + }, + [653] = { + [sym_file_descriptor] = ACTIONS(1988), + [anon_sym_RPAREN] = ACTIONS(1993), + [anon_sym_SEMI_SEMI] = ACTIONS(1993), + [anon_sym_PIPE] = ACTIONS(1993), + [anon_sym_PIPE_AMP] = ACTIONS(1993), + [anon_sym_AMP_AMP] = ACTIONS(1993), + [anon_sym_PIPE_PIPE] = ACTIONS(1993), + [anon_sym_COLON] = ACTIONS(1996), + [anon_sym_LT] = ACTIONS(1999), + [anon_sym_GT] = ACTIONS(1999), + [anon_sym_GT_GT] = ACTIONS(1999), + [anon_sym_AMP_GT] = ACTIONS(1999), + [anon_sym_AMP_GT_GT] = ACTIONS(1999), + [anon_sym_LT_AMP] = ACTIONS(1999), + [anon_sym_GT_AMP] = ACTIONS(1999), + [anon_sym_LT_LT] = ACTIONS(1993), + [anon_sym_LT_LT_DASH] = ACTIONS(1993), + [anon_sym_DQUOTE] = ACTIONS(1996), + [sym_raw_string] = ACTIONS(1996), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1996), + [anon_sym_BQUOTE] = ACTIONS(1999), + [sym_leading_word] = ACTIONS(1996), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1993), + [anon_sym_LF] = ACTIONS(1993), + [anon_sym_AMP] = ACTIONS(1993), + }, + [654] = { + [sym_file_descriptor] = ACTIONS(2004), + [anon_sym_RPAREN] = ACTIONS(1993), + [anon_sym_SEMI_SEMI] = ACTIONS(1993), + [anon_sym_PIPE] = ACTIONS(1993), + [anon_sym_PIPE_AMP] = ACTIONS(1993), + [anon_sym_AMP_AMP] = ACTIONS(1993), + [anon_sym_PIPE_PIPE] = ACTIONS(1993), + [anon_sym_LT] = ACTIONS(1993), + [anon_sym_GT] = ACTIONS(1993), + [anon_sym_GT_GT] = ACTIONS(1993), + [anon_sym_AMP_GT] = ACTIONS(1993), + [anon_sym_AMP_GT_GT] = ACTIONS(1993), + [anon_sym_LT_AMP] = ACTIONS(1993), + [anon_sym_GT_AMP] = ACTIONS(1993), + [anon_sym_LT_LT] = ACTIONS(1993), + [anon_sym_LT_LT_DASH] = ACTIONS(1993), + [anon_sym_BQUOTE] = ACTIONS(1993), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1993), + [anon_sym_LF] = ACTIONS(1993), + [anon_sym_AMP] = ACTIONS(1993), + }, + [655] = { + [sym_file_descriptor] = ACTIONS(695), + [anon_sym_RPAREN] = ACTIONS(697), + [anon_sym_SEMI_SEMI] = ACTIONS(697), + [anon_sym_PIPE] = ACTIONS(697), + [anon_sym_PIPE_AMP] = ACTIONS(697), + [anon_sym_AMP_AMP] = ACTIONS(697), + [anon_sym_PIPE_PIPE] = ACTIONS(697), + [anon_sym_LT] = ACTIONS(697), + [anon_sym_GT] = ACTIONS(697), + [anon_sym_GT_GT] = ACTIONS(697), + [anon_sym_AMP_GT] = ACTIONS(697), + [anon_sym_AMP_GT_GT] = ACTIONS(697), + [anon_sym_LT_AMP] = ACTIONS(697), + [anon_sym_GT_AMP] = ACTIONS(697), + [anon_sym_LT_LT] = ACTIONS(697), + [anon_sym_LT_LT_DASH] = ACTIONS(697), + [anon_sym_BQUOTE] = ACTIONS(697), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(697), + [anon_sym_LF] = ACTIONS(697), + [anon_sym_AMP] = ACTIONS(697), + }, + [656] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [aux_sym_command_repeat2] = STATE(722), + [sym_file_descriptor] = ACTIONS(2007), + [anon_sym_in] = ACTIONS(2014), + [anon_sym_RPAREN] = ACTIONS(2016), + [anon_sym_SEMI_SEMI] = ACTIONS(2025), + [anon_sym_LPAREN] = ACTIONS(2034), + [anon_sym_RBRACE] = ACTIONS(2037), + [anon_sym_PIPE] = ACTIONS(2039), + [anon_sym_PIPE_AMP] = ACTIONS(2039), + [anon_sym_AMP_AMP] = ACTIONS(2039), + [anon_sym_PIPE_PIPE] = ACTIONS(2039), + [anon_sym_RBRACK] = ACTIONS(2034), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), + [anon_sym_COLON] = ACTIONS(2047), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1748), + [anon_sym_LT] = ACTIONS(2051), + [anon_sym_GT] = ACTIONS(2051), + [anon_sym_GT_GT] = ACTIONS(2051), + [anon_sym_AMP_GT] = ACTIONS(2051), + [anon_sym_AMP_GT_GT] = ACTIONS(2051), + [anon_sym_LT_AMP] = ACTIONS(2051), + [anon_sym_GT_AMP] = ACTIONS(2051), + [anon_sym_LT_LT] = ACTIONS(2058), + [anon_sym_LT_LT_DASH] = ACTIONS(2058), + [anon_sym_DQUOTE] = ACTIONS(2064), + [sym_raw_string] = ACTIONS(2064), + [anon_sym_DOLLAR] = ACTIONS(2034), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2034), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2064), + [anon_sym_BQUOTE] = ACTIONS(2039), + [sym_leading_word] = ACTIONS(2047), + [sym_word] = ACTIONS(2034), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2025), + [anon_sym_LF] = ACTIONS(2025), + [anon_sym_AMP] = ACTIONS(2025), + }, + [657] = { + [sym_file_descriptor] = ACTIONS(2070), + [anon_sym_in] = ACTIONS(2014), + [anon_sym_RPAREN] = ACTIONS(2076), + [anon_sym_SEMI_SEMI] = ACTIONS(2083), + [anon_sym_LPAREN] = ACTIONS(2034), + [anon_sym_RBRACE] = ACTIONS(2037), + [anon_sym_PIPE] = ACTIONS(2064), + [anon_sym_PIPE_AMP] = ACTIONS(2064), + [anon_sym_AMP_AMP] = ACTIONS(2064), + [anon_sym_PIPE_PIPE] = ACTIONS(2064), + [anon_sym_RBRACK] = ACTIONS(2034), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), + [anon_sym_COLON] = ACTIONS(2047), + [anon_sym_LT] = ACTIONS(2064), + [anon_sym_GT] = ACTIONS(2064), + [anon_sym_GT_GT] = ACTIONS(2064), + [anon_sym_AMP_GT] = ACTIONS(2064), + [anon_sym_AMP_GT_GT] = ACTIONS(2064), + [anon_sym_LT_AMP] = ACTIONS(2064), + [anon_sym_GT_AMP] = ACTIONS(2064), + [anon_sym_LT_LT] = ACTIONS(2090), + [anon_sym_LT_LT_DASH] = ACTIONS(2090), + [anon_sym_DQUOTE] = ACTIONS(2064), + [sym_raw_string] = ACTIONS(2064), + [anon_sym_DOLLAR] = ACTIONS(2034), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2034), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2064), + [anon_sym_BQUOTE] = ACTIONS(2064), + [sym_leading_word] = ACTIONS(2047), + [sym_word] = ACTIONS(2034), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2083), + [anon_sym_LF] = ACTIONS(2083), + [anon_sym_AMP] = ACTIONS(2083), + }, + [658] = { + [sym__heredoc_middle] = ACTIONS(1907), + [sym__heredoc_end] = ACTIONS(1907), + [sym_file_descriptor] = ACTIONS(2070), + [anon_sym_in] = ACTIONS(2014), + [anon_sym_RPAREN] = ACTIONS(2076), + [anon_sym_SEMI_SEMI] = ACTIONS(2083), + [anon_sym_LPAREN] = ACTIONS(2034), + [anon_sym_RBRACE] = ACTIONS(2037), + [anon_sym_PIPE] = ACTIONS(2064), + [anon_sym_PIPE_AMP] = ACTIONS(2064), + [anon_sym_AMP_AMP] = ACTIONS(2064), + [anon_sym_PIPE_PIPE] = ACTIONS(2064), + [anon_sym_RBRACK] = ACTIONS(2034), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), + [anon_sym_COLON] = ACTIONS(2047), + [anon_sym_LT] = ACTIONS(2064), + [anon_sym_GT] = ACTIONS(2064), + [anon_sym_GT_GT] = ACTIONS(2064), + [anon_sym_AMP_GT] = ACTIONS(2064), + [anon_sym_AMP_GT_GT] = ACTIONS(2064), + [anon_sym_LT_AMP] = ACTIONS(2064), + [anon_sym_GT_AMP] = ACTIONS(2064), + [anon_sym_LT_LT] = ACTIONS(2090), + [anon_sym_LT_LT_DASH] = ACTIONS(2090), + [anon_sym_DQUOTE] = ACTIONS(2095), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2103), + [sym_raw_string] = ACTIONS(2064), + [anon_sym_DOLLAR] = ACTIONS(2106), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2106), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2095), + [anon_sym_BQUOTE] = ACTIONS(2095), + [sym_leading_word] = ACTIONS(2047), + [sym_word] = ACTIONS(2034), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2083), + [anon_sym_LF] = ACTIONS(2083), + [anon_sym_AMP] = ACTIONS(2083), + }, + [659] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [aux_sym_command_repeat2] = STATE(722), + [sym_file_descriptor] = ACTIONS(2007), + [anon_sym_in] = ACTIONS(2014), + [anon_sym_RPAREN] = ACTIONS(2016), + [anon_sym_SEMI_SEMI] = ACTIONS(2025), + [anon_sym_LPAREN] = ACTIONS(2034), + [anon_sym_RBRACE] = ACTIONS(2037), + [anon_sym_PIPE] = ACTIONS(2039), + [anon_sym_PIPE_AMP] = ACTIONS(2039), + [anon_sym_AMP_AMP] = ACTIONS(2039), + [anon_sym_PIPE_PIPE] = ACTIONS(2039), + [anon_sym_RBRACK] = ACTIONS(2034), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2034), + [anon_sym_COLON] = ACTIONS(2047), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(1748), + [anon_sym_LT] = ACTIONS(2051), + [anon_sym_GT] = ACTIONS(2051), + [anon_sym_GT_GT] = ACTIONS(2051), + [anon_sym_AMP_GT] = ACTIONS(2051), + [anon_sym_AMP_GT_GT] = ACTIONS(2051), + [anon_sym_LT_AMP] = ACTIONS(2051), + [anon_sym_GT_AMP] = ACTIONS(2051), + [anon_sym_LT_LT] = ACTIONS(2058), + [anon_sym_LT_LT_DASH] = ACTIONS(2058), + [anon_sym_DQUOTE] = ACTIONS(2095), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2103), + [sym_raw_string] = ACTIONS(2064), + [anon_sym_DOLLAR] = ACTIONS(2113), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2113), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2095), + [anon_sym_BQUOTE] = ACTIONS(2118), + [sym_leading_word] = ACTIONS(2047), + [sym_word] = ACTIONS(2034), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2025), + [anon_sym_LF] = ACTIONS(2025), + [anon_sym_AMP] = ACTIONS(2025), + }, + [660] = { + [sym__heredoc_middle] = ACTIONS(619), + [sym__heredoc_end] = ACTIONS(619), + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_in] = ACTIONS(581), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_LPAREN] = ACTIONS(581), + [anon_sym_RBRACE] = ACTIONS(2128), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_RBRACK] = ACTIONS(581), + [anon_sym_RBRACK_RBRACK] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(2131), + [anon_sym_EQ] = ACTIONS(2134), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR] = ACTIONS(581), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), + [anon_sym_COLON_QMARK] = ACTIONS(2136), + [anon_sym_COLON_DASH] = ACTIONS(2136), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_leading_word] = ACTIONS(581), + [sym_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [661] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(762), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(763), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [ts_builtin_sym_end] = ACTIONS(269), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(2138), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2140), + [anon_sym_elif] = ACTIONS(2144), + [anon_sym_else] = ACTIONS(2147), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(2150), + [anon_sym_SEMI_SEMI] = ACTIONS(1489), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(2152), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [662] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(765), + [anon_sym_fi] = ACTIONS(2154), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [663] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(2156), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [664] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(770), + [sym_array] = STATE(770), + [sym_simple_expansion] = STATE(770), + [sym_expansion] = STATE(770), + [sym_command_substitution] = STATE(770), + [sym_process_substitution] = STATE(770), + [aux_sym_command_repeat2] = STATE(775), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2158), + [anon_sym_SEMI_SEMI] = ACTIONS(2158), + [anon_sym_LPAREN] = ACTIONS(2163), + [anon_sym_PIPE] = ACTIONS(2158), + [anon_sym_PIPE_AMP] = ACTIONS(2158), + [anon_sym_AMP_AMP] = ACTIONS(2158), + [anon_sym_PIPE_PIPE] = ACTIONS(2158), + [anon_sym_RBRACK] = ACTIONS(2165), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2165), + [anon_sym_LT] = ACTIONS(2167), + [anon_sym_GT] = ACTIONS(2167), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2169), + [sym_raw_string] = ACTIONS(2171), + [anon_sym_DOLLAR] = ACTIONS(2173), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2175), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2177), + [anon_sym_BQUOTE] = ACTIONS(2179), + [sym_word] = ACTIONS(2171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2158), + [anon_sym_LF] = ACTIONS(2158), + [anon_sym_AMP] = ACTIONS(2158), + }, + [665] = { + [sym_environment_variable_assignment] = STATE(103), + [sym_file_redirect] = STATE(103), + [sym_string] = STATE(776), + [sym_command_substitution] = STATE(776), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_COLON] = ACTIONS(2185), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1731), + [sym_raw_string] = ACTIONS(2187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1735), + [anon_sym_BQUOTE] = ACTIONS(1737), + [sym_leading_word] = ACTIONS(2189), + [sym_comment] = ACTIONS(115), + }, + [666] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2191), + [anon_sym_SEMI_SEMI] = ACTIONS(2191), + [anon_sym_PIPE] = ACTIONS(2191), + [anon_sym_PIPE_AMP] = ACTIONS(2191), + [anon_sym_AMP_AMP] = ACTIONS(2191), + [anon_sym_PIPE_PIPE] = ACTIONS(2191), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(2191), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2191), + [anon_sym_LF] = ACTIONS(2191), + [anon_sym_AMP] = ACTIONS(2191), + }, + [667] = { + [sym_simple_expansion] = STATE(446), + [sym_expansion] = STATE(446), + [sym__heredoc_middle] = ACTIONS(1019), + [sym__heredoc_end] = ACTIONS(2202), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [sym_comment] = ACTIONS(115), + }, + [668] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2204), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [669] = { + [anon_sym_RPAREN] = ACTIONS(2206), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [670] = { + [anon_sym_in] = ACTIONS(2208), + [sym_comment] = ACTIONS(115), + }, + [671] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(663), + [anon_sym_esac] = ACTIONS(1885), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [672] = { + [sym_do_group] = STATE(783), + [anon_sym_do] = ACTIONS(2210), + [sym_comment] = ACTIONS(115), + }, + [673] = { + [sym_do_group] = STATE(784), + [anon_sym_do] = ACTIONS(2210), + [sym_comment] = ACTIONS(115), + }, + [674] = { + [anon_sym_RPAREN] = ACTIONS(889), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_PIPE] = ACTIONS(889), + [anon_sym_PIPE_AMP] = ACTIONS(889), + [anon_sym_AMP_AMP] = ACTIONS(889), + [anon_sym_PIPE_PIPE] = ACTIONS(889), + [anon_sym_BQUOTE] = ACTIONS(889), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [675] = { + [sym__terminated_statement] = STATE(100), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(714), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -22950,15 +24713,12 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(715), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(2138), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2089), - [anon_sym_elif] = ACTIONS(2015), - [anon_sym_else] = ACTIONS(2018), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -22979,41 +24739,242 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [647] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(714), - [anon_sym_fi] = ACTIONS(2087), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), + [676] = { + [anon_sym_then] = ACTIONS(2212), [sym_comment] = ACTIONS(115), }, - [648] = { - [anon_sym_in] = ACTIONS(1885), - [anon_sym_SEMI_SEMI] = ACTIONS(2092), + [677] = { + [anon_sym_RPAREN] = ACTIONS(893), + [anon_sym_SEMI_SEMI] = ACTIONS(893), + [anon_sym_PIPE] = ACTIONS(893), + [anon_sym_PIPE_AMP] = ACTIONS(893), + [anon_sym_AMP_AMP] = ACTIONS(893), + [anon_sym_PIPE_PIPE] = ACTIONS(893), + [anon_sym_BQUOTE] = ACTIONS(893), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2092), - [anon_sym_LF] = ACTIONS(2092), - [anon_sym_AMP] = ACTIONS(2092), + [anon_sym_SEMI] = ACTIONS(893), + [anon_sym_LF] = ACTIONS(893), + [anon_sym_AMP] = ACTIONS(893), }, - [649] = { - [anon_sym_LPAREN] = ACTIONS(2094), + [678] = { + [anon_sym_fi] = ACTIONS(2214), [sym_comment] = ACTIONS(115), }, - [650] = { - [sym_compound_statement] = STATE(618), - [anon_sym_RPAREN] = ACTIONS(283), - [anon_sym_SEMI_SEMI] = ACTIONS(283), - [anon_sym_LBRACE] = ACTIONS(1558), - [anon_sym_PIPE] = ACTIONS(283), - [anon_sym_PIPE_AMP] = ACTIONS(283), - [anon_sym_AMP_AMP] = ACTIONS(283), - [anon_sym_PIPE_PIPE] = ACTIONS(283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(283), - [anon_sym_LF] = ACTIONS(283), - [anon_sym_AMP] = ACTIONS(283), + [679] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(762), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(763), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2216), + [anon_sym_elif] = ACTIONS(2144), + [anon_sym_else] = ACTIONS(2147), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), }, - [651] = { + [680] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(762), + [anon_sym_fi] = ACTIONS(2214), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [681] = { + [anon_sym_in] = ACTIONS(2014), + [anon_sym_SEMI_SEMI] = ACTIONS(2219), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2219), + [anon_sym_LF] = ACTIONS(2219), + [anon_sym_AMP] = ACTIONS(2219), + }, + [682] = { + [anon_sym_LPAREN] = ACTIONS(2221), + [sym_comment] = ACTIONS(115), + }, + [683] = { + [sym_word] = ACTIONS(2223), + [sym_comment] = ACTIONS(115), + }, + [684] = { + [sym__terminated_statement] = STATE(788), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [685] = { + [sym__terminated_statement] = STATE(789), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [686] = { + [sym_string] = STATE(790), + [sym_array] = STATE(790), + [sym_simple_expansion] = STATE(790), + [sym_expansion] = STATE(790), + [sym_command_substitution] = STATE(790), + [sym_process_substitution] = STATE(790), + [anon_sym_LPAREN] = ACTIONS(123), + [anon_sym_LT] = ACTIONS(125), + [anon_sym_GT] = ACTIONS(125), + [anon_sym_DQUOTE] = ACTIONS(127), + [sym_raw_string] = ACTIONS(2225), + [anon_sym_DOLLAR] = ACTIONS(131), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(133), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(135), + [anon_sym_BQUOTE] = ACTIONS(137), + [sym_word] = ACTIONS(2227), + [sym_comment] = ACTIONS(115), + }, + [687] = { + [sym_compound_statement] = STATE(651), + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_in] = ACTIONS(561), + [anon_sym_RPAREN] = ACTIONS(2229), + [anon_sym_SEMI_SEMI] = ACTIONS(2229), + [anon_sym_LPAREN] = ACTIONS(561), + [anon_sym_LBRACE] = ACTIONS(1624), + [anon_sym_RBRACE] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(2229), + [anon_sym_PIPE_AMP] = ACTIONS(2229), + [anon_sym_AMP_AMP] = ACTIONS(2229), + [anon_sym_PIPE_PIPE] = ACTIONS(2229), + [anon_sym_RBRACK] = ACTIONS(561), + [anon_sym_RBRACK_RBRACK] = ACTIONS(561), + [anon_sym_COLON] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR] = ACTIONS(561), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(2229), + [sym_leading_word] = ACTIONS(561), + [sym_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2229), + [anon_sym_LF] = ACTIONS(2229), + [anon_sym_AMP] = ACTIONS(2229), + }, + [688] = { + [sym_leading_word] = ACTIONS(2232), + [sym_comment] = ACTIONS(115), + }, + [689] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), @@ -23029,14 +24990,14 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(660), + [aux_sym_program_repeat1] = STATE(793), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2096), + [anon_sym_RPAREN] = ACTIONS(2234), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), [anon_sym_LBRACK] = ACTIONS(97), @@ -23056,790 +25017,111 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [652] = { - [sym_string] = STATE(42), - [sym_simple_expansion] = STATE(42), - [sym_expansion] = STATE(42), - [sym_command_substitution] = STATE(42), - [sym_process_substitution] = STATE(42), - [aux_sym_bracket_command_repeat1] = STATE(741), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(147), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(157), - [sym_comment] = ACTIONS(115), - }, - [653] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [aux_sym_command_repeat2] = STATE(747), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(161), - [anon_sym_SEMI_SEMI] = ACTIONS(161), - [anon_sym_PIPE] = ACTIONS(161), - [anon_sym_PIPE_AMP] = ACTIONS(161), - [anon_sym_AMP_AMP] = ACTIONS(161), - [anon_sym_PIPE_PIPE] = ACTIONS(161), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2100), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(161), - [anon_sym_LF] = ACTIONS(161), - [anon_sym_AMP] = ACTIONS(161), - }, - [654] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(749), - [anon_sym_DQUOTE] = ACTIONS(2106), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [655] = { - [sym_command] = STATE(750), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [656] = { - [sym_command] = STATE(751), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [657] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [aux_sym_command_repeat2] = STATE(755), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(215), - [anon_sym_SEMI_SEMI] = ACTIONS(215), - [anon_sym_LPAREN] = ACTIONS(2108), - [anon_sym_PIPE] = ACTIONS(215), - [anon_sym_PIPE_AMP] = ACTIONS(215), - [anon_sym_AMP_AMP] = ACTIONS(215), - [anon_sym_PIPE_PIPE] = ACTIONS(215), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2110), - [anon_sym_EQ] = ACTIONS(2112), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(215), - [anon_sym_LF] = ACTIONS(215), - [anon_sym_AMP] = ACTIONS(215), - }, - [658] = { - [anon_sym_RPAREN] = ACTIONS(2114), - [anon_sym_SEMI_SEMI] = ACTIONS(231), - [anon_sym_PIPE] = ACTIONS(2116), - [anon_sym_PIPE_AMP] = ACTIONS(2116), - [anon_sym_AMP_AMP] = ACTIONS(2118), - [anon_sym_PIPE_PIPE] = ACTIONS(2118), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(231), - [anon_sym_LF] = ACTIONS(231), - [anon_sym_AMP] = ACTIONS(231), - }, - [659] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2114), - [anon_sym_SEMI_SEMI] = ACTIONS(231), - [anon_sym_PIPE] = ACTIONS(2116), - [anon_sym_PIPE_AMP] = ACTIONS(2116), - [anon_sym_AMP_AMP] = ACTIONS(2118), - [anon_sym_PIPE_PIPE] = ACTIONS(2118), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(231), - [anon_sym_LF] = ACTIONS(231), - [anon_sym_AMP] = ACTIONS(231), - }, - [660] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_RPAREN] = ACTIONS(2021), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [661] = { - [sym_environment_variable_assignment] = STATE(90), - [sym_file_redirect] = STATE(90), - [sym_string] = STATE(756), - [sym_command_substitution] = STATE(756), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(2120), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(1606), - [sym_raw_string] = ACTIONS(2122), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1610), - [anon_sym_BQUOTE] = ACTIONS(1612), - [sym_leading_word] = ACTIONS(2124), - [sym_comment] = ACTIONS(115), - }, - [662] = { - [anon_sym_RPAREN] = ACTIONS(1191), - [anon_sym_SEMI_SEMI] = ACTIONS(1191), - [anon_sym_PIPE] = ACTIONS(1191), - [anon_sym_PIPE_AMP] = ACTIONS(1191), - [anon_sym_AMP_AMP] = ACTIONS(1191), - [anon_sym_PIPE_PIPE] = ACTIONS(1191), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1191), - [anon_sym_LF] = ACTIONS(1191), - [anon_sym_AMP] = ACTIONS(1191), - }, - [663] = { - [sym__terminated_statement] = STATE(87), - [sym_for_statement] = STATE(19), - [sym_while_statement] = STATE(19), - [sym_if_statement] = STATE(19), - [sym_case_statement] = STATE(19), - [sym_function_definition] = STATE(19), - [sym_subshell] = STATE(19), - [sym_pipeline] = STATE(19), - [sym_list] = STATE(19), - [sym_bracket_command] = STATE(19), - [sym_command] = STATE(19), - [sym_environment_variable_assignment] = STATE(20), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(11), - [sym_command_substitution] = STATE(11), - [aux_sym_command_repeat1] = STATE(23), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(85), - [anon_sym_while] = ACTIONS(87), - [anon_sym_if] = ACTIONS(89), - [anon_sym_case] = ACTIONS(91), - [anon_sym_function] = ACTIONS(93), - [anon_sym_LPAREN] = ACTIONS(95), - [anon_sym_RBRACE] = ACTIONS(2023), - [anon_sym_LBRACK] = ACTIONS(97), - [anon_sym_LBRACK_LBRACK] = ACTIONS(99), - [anon_sym_COLON] = ACTIONS(101), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(105), - [sym_raw_string] = ACTIONS(107), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), - [anon_sym_BQUOTE] = ACTIONS(111), - [sym_leading_word] = ACTIONS(113), - [sym_comment] = ACTIONS(115), - }, - [664] = { - [anon_sym_RPAREN] = ACTIONS(765), - [anon_sym_SEMI_SEMI] = ACTIONS(765), - [anon_sym_PIPE] = ACTIONS(2126), - [anon_sym_PIPE_AMP] = ACTIONS(2126), - [anon_sym_AMP_AMP] = ACTIONS(2129), - [anon_sym_PIPE_PIPE] = ACTIONS(2129), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(765), - [anon_sym_LF] = ACTIONS(765), - [anon_sym_AMP] = ACTIONS(765), - }, - [665] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(765), - [anon_sym_SEMI_SEMI] = ACTIONS(765), - [anon_sym_PIPE] = ACTIONS(2126), - [anon_sym_PIPE_AMP] = ACTIONS(2126), - [anon_sym_AMP_AMP] = ACTIONS(2129), - [anon_sym_PIPE_PIPE] = ACTIONS(2129), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(765), - [anon_sym_LF] = ACTIONS(765), - [anon_sym_AMP] = ACTIONS(765), - }, - [666] = { - [anon_sym_RPAREN] = ACTIONS(767), - [anon_sym_SEMI_SEMI] = ACTIONS(767), - [anon_sym_PIPE] = ACTIONS(2132), - [anon_sym_PIPE_AMP] = ACTIONS(2132), - [anon_sym_AMP_AMP] = ACTIONS(2135), - [anon_sym_PIPE_PIPE] = ACTIONS(2135), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(767), - [anon_sym_LF] = ACTIONS(767), - [anon_sym_AMP] = ACTIONS(767), - }, - [667] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(767), - [anon_sym_SEMI_SEMI] = ACTIONS(767), - [anon_sym_PIPE] = ACTIONS(2132), - [anon_sym_PIPE_AMP] = ACTIONS(2132), - [anon_sym_AMP_AMP] = ACTIONS(2135), - [anon_sym_PIPE_PIPE] = ACTIONS(2135), - [anon_sym_COLON] = ACTIONS(239), - [anon_sym_LT] = ACTIONS(239), - [anon_sym_GT] = ACTIONS(239), - [anon_sym_GT_GT] = ACTIONS(239), - [anon_sym_AMP_GT] = ACTIONS(239), - [anon_sym_AMP_GT_GT] = ACTIONS(239), - [anon_sym_LT_AMP] = ACTIONS(239), - [anon_sym_GT_AMP] = ACTIONS(239), - [anon_sym_DQUOTE] = ACTIONS(239), - [sym_raw_string] = ACTIONS(239), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(239), - [anon_sym_BQUOTE] = ACTIONS(239), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(767), - [anon_sym_LF] = ACTIONS(767), - [anon_sym_AMP] = ACTIONS(767), - }, - [668] = { - [sym_string] = STATE(123), - [sym_simple_expansion] = STATE(123), - [sym_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [sym_process_substitution] = STATE(123), - [anon_sym_RBRACK] = ACTIONS(2138), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(307), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(309), - [sym_comment] = ACTIONS(115), - }, - [669] = { - [anon_sym_LT] = ACTIONS(2140), - [anon_sym_GT] = ACTIONS(2140), - [anon_sym_GT_GT] = ACTIONS(2142), - [anon_sym_AMP_GT] = ACTIONS(2140), - [anon_sym_AMP_GT_GT] = ACTIONS(2142), - [anon_sym_LT_AMP] = ACTIONS(2142), - [anon_sym_GT_AMP] = ACTIONS(2142), - [sym_comment] = ACTIONS(115), - }, - [670] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(766), - [aux_sym_command_repeat2] = STATE(767), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2144), - [anon_sym_SEMI_SEMI] = ACTIONS(2144), - [anon_sym_PIPE] = ACTIONS(2144), - [anon_sym_PIPE_AMP] = ACTIONS(2144), - [anon_sym_AMP_AMP] = ACTIONS(2144), - [anon_sym_PIPE_PIPE] = ACTIONS(2144), - [anon_sym_LT] = ACTIONS(2147), - [anon_sym_GT] = ACTIONS(2147), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2159), - [sym_word] = ACTIONS(2151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2144), - [anon_sym_LF] = ACTIONS(2144), - [anon_sym_AMP] = ACTIONS(2144), - }, - [671] = { - [sym_string] = STATE(770), - [sym_simple_expansion] = STATE(770), - [sym_expansion] = STATE(770), - [sym_command_substitution] = STATE(770), - [sym_process_substitution] = STATE(770), - [anon_sym_LPAREN] = ACTIONS(287), - [anon_sym_LT] = ACTIONS(2163), - [anon_sym_GT] = ACTIONS(2163), - [anon_sym_DQUOTE] = ACTIONS(2165), - [sym_raw_string] = ACTIONS(2167), - [anon_sym_DOLLAR] = ACTIONS(2169), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2171), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2173), - [anon_sym_BQUOTE] = ACTIONS(2175), - [sym_word] = ACTIONS(2177), - [sym_comment] = ACTIONS(115), - }, - [672] = { - [sym_string] = STATE(770), - [sym_simple_expansion] = STATE(770), - [sym_expansion] = STATE(770), - [sym_command_substitution] = STATE(770), - [sym_process_substitution] = STATE(770), - [anon_sym_LT] = ACTIONS(2163), - [anon_sym_GT] = ACTIONS(2163), - [anon_sym_DQUOTE] = ACTIONS(2165), - [sym_raw_string] = ACTIONS(2167), - [anon_sym_DOLLAR] = ACTIONS(2169), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2171), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2173), - [anon_sym_BQUOTE] = ACTIONS(2175), - [sym_word] = ACTIONS(2177), - [sym_comment] = ACTIONS(115), - }, - [673] = { - [sym_heredoc] = STATE(623), - [sym__simple_heredoc] = ACTIONS(2179), - [sym__heredoc_beginning] = ACTIONS(2181), - [sym_comment] = ACTIONS(115), - }, - [674] = { - [anon_sym_RBRACE] = ACTIONS(2183), - [sym_comment] = ACTIONS(115), - }, - [675] = { - [sym_file_descriptor] = ACTIONS(351), - [anon_sym_RPAREN] = ACTIONS(353), - [anon_sym_SEMI_SEMI] = ACTIONS(353), - [anon_sym_PIPE] = ACTIONS(353), - [anon_sym_PIPE_AMP] = ACTIONS(353), - [anon_sym_AMP_AMP] = ACTIONS(353), - [anon_sym_PIPE_PIPE] = ACTIONS(353), - [anon_sym_LT] = ACTIONS(353), - [anon_sym_GT] = ACTIONS(353), - [anon_sym_GT_GT] = ACTIONS(353), - [anon_sym_AMP_GT] = ACTIONS(353), - [anon_sym_AMP_GT_GT] = ACTIONS(353), - [anon_sym_LT_AMP] = ACTIONS(353), - [anon_sym_GT_AMP] = ACTIONS(353), - [anon_sym_LT_LT] = ACTIONS(353), - [anon_sym_LT_LT_DASH] = ACTIONS(353), - [anon_sym_BQUOTE] = ACTIONS(353), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(353), - [anon_sym_LF] = ACTIONS(353), - [anon_sym_AMP] = ACTIONS(353), - }, - [676] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2185), - [anon_sym_SEMI_SEMI] = ACTIONS(2185), - [anon_sym_PIPE] = ACTIONS(2185), - [anon_sym_PIPE_AMP] = ACTIONS(2185), - [anon_sym_AMP_AMP] = ACTIONS(2185), - [anon_sym_PIPE_PIPE] = ACTIONS(2185), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(2185), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2185), - [anon_sym_LF] = ACTIONS(2185), - [anon_sym_AMP] = ACTIONS(2185), - }, - [677] = { - [anon_sym_LPAREN] = ACTIONS(2188), - [sym_comment] = ACTIONS(115), - }, - [678] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(777), - [anon_sym_DQUOTE] = ACTIONS(2190), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [679] = { - [sym_file_descriptor] = ACTIONS(749), - [anon_sym_RPAREN] = ACTIONS(751), - [anon_sym_SEMI_SEMI] = ACTIONS(751), - [anon_sym_RBRACE] = ACTIONS(1905), - [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_COLON] = ACTIONS(751), - [anon_sym_LT] = ACTIONS(751), - [anon_sym_GT] = ACTIONS(751), - [anon_sym_GT_GT] = ACTIONS(751), - [anon_sym_AMP_GT] = ACTIONS(751), - [anon_sym_AMP_GT_GT] = ACTIONS(751), - [anon_sym_LT_AMP] = ACTIONS(751), - [anon_sym_GT_AMP] = ACTIONS(751), - [anon_sym_DQUOTE] = ACTIONS(751), - [sym_raw_string] = ACTIONS(751), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(751), - [anon_sym_BQUOTE] = ACTIONS(751), - [sym_leading_word] = ACTIONS(751), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(751), - [anon_sym_LF] = ACTIONS(751), - [anon_sym_AMP] = ACTIONS(751), - }, - [680] = { - [sym_special_variable_name] = STATE(780), - [anon_sym_DOLLAR] = ACTIONS(2192), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2194), - [anon_sym_STAR] = ACTIONS(2192), - [anon_sym_AT] = ACTIONS(2192), - [anon_sym_POUND] = ACTIONS(2196), - [anon_sym_QMARK] = ACTIONS(2192), - [anon_sym_DASH] = ACTIONS(2192), - [anon_sym_BANG] = ACTIONS(2192), - [anon_sym_0] = ACTIONS(2196), - [anon_sym__] = ACTIONS(2196), - }, - [681] = { - [sym_special_variable_name] = STATE(782), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2198), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [682] = { - [sym_command] = STATE(783), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [683] = { - [sym_command] = STATE(784), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [684] = { - [sym_for_statement] = STATE(785), - [sym_while_statement] = STATE(785), - [sym_if_statement] = STATE(785), - [sym_case_statement] = STATE(785), - [sym_function_definition] = STATE(785), - [sym_subshell] = STATE(785), - [sym_pipeline] = STATE(785), - [sym_list] = STATE(785), - [sym_bracket_command] = STATE(785), - [sym_command] = STATE(785), - [sym_environment_variable_assignment] = STATE(786), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [685] = { - [anon_sym_LPAREN] = ACTIONS(2200), - [sym_comment] = ACTIONS(115), - }, - [686] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(789), - [anon_sym_DQUOTE] = ACTIONS(2202), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [687] = { - [sym_file_descriptor] = ACTIONS(2204), - [anon_sym_RPAREN] = ACTIONS(2207), - [anon_sym_SEMI_SEMI] = ACTIONS(2207), - [anon_sym_PIPE] = ACTIONS(2207), - [anon_sym_PIPE_AMP] = ACTIONS(2207), - [anon_sym_AMP_AMP] = ACTIONS(2207), - [anon_sym_PIPE_PIPE] = ACTIONS(2207), - [anon_sym_COLON] = ACTIONS(2207), - [anon_sym_LT] = ACTIONS(2207), - [anon_sym_GT] = ACTIONS(2207), - [anon_sym_GT_GT] = ACTIONS(2207), - [anon_sym_AMP_GT] = ACTIONS(2207), - [anon_sym_AMP_GT_GT] = ACTIONS(2207), - [anon_sym_LT_AMP] = ACTIONS(2207), - [anon_sym_GT_AMP] = ACTIONS(2207), - [anon_sym_LT_LT] = ACTIONS(2207), - [anon_sym_LT_LT_DASH] = ACTIONS(2207), - [anon_sym_DQUOTE] = ACTIONS(2207), - [sym_raw_string] = ACTIONS(2207), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2207), - [anon_sym_BQUOTE] = ACTIONS(2207), - [sym_leading_word] = ACTIONS(2207), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2207), - [anon_sym_LF] = ACTIONS(2207), - [anon_sym_AMP] = ACTIONS(2207), - }, - [688] = { - [sym_special_variable_name] = STATE(792), - [anon_sym_DOLLAR] = ACTIONS(2210), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2212), - [anon_sym_STAR] = ACTIONS(2210), - [anon_sym_AT] = ACTIONS(2210), - [anon_sym_POUND] = ACTIONS(2214), - [anon_sym_QMARK] = ACTIONS(2210), - [anon_sym_DASH] = ACTIONS(2210), - [anon_sym_BANG] = ACTIONS(2210), - [anon_sym_0] = ACTIONS(2214), - [anon_sym__] = ACTIONS(2214), - }, - [689] = { - [sym_special_variable_name] = STATE(794), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2216), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, [690] = { - [sym_command] = STATE(795), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(794), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), [sym_comment] = ACTIONS(115), }, [691] = { - [sym_command] = STATE(796), - [sym_environment_variable_assignment] = STATE(21), + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(795), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), + [sym_comment] = ACTIONS(115), + }, + [692] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [aux_sym_command_repeat2] = STATE(801), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(165), + [anon_sym_SEMI_SEMI] = ACTIONS(165), + [anon_sym_PIPE] = ACTIONS(165), + [anon_sym_PIPE_AMP] = ACTIONS(165), + [anon_sym_AMP_AMP] = ACTIONS(165), + [anon_sym_PIPE_PIPE] = ACTIONS(165), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2238), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(165), + [anon_sym_LF] = ACTIONS(165), + [anon_sym_AMP] = ACTIONS(165), + }, + [693] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(803), + [anon_sym_DQUOTE] = ACTIONS(2244), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [694] = { + [sym_for_statement] = STATE(804), + [sym_while_statement] = STATE(804), + [sym_if_statement] = STATE(804), + [sym_case_statement] = STATE(804), + [sym_function_definition] = STATE(804), + [sym_subshell] = STATE(804), + [sym_pipeline] = STATE(804), + [sym_list] = STATE(804), + [sym_bracket_command] = STATE(804), + [sym_command] = STATE(804), + [sym_environment_variable_assignment] = STATE(805), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -23847,574 +25129,4230 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [692] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_in] = ACTIONS(377), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [anon_sym_RBRACE] = ACTIONS(377), - [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_RBRACK] = ACTIONS(377), - [anon_sym_RBRACK_RBRACK] = ACTIONS(377), - [anon_sym_COLON] = ACTIONS(377), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR] = ACTIONS(377), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_leading_word] = ACTIONS(377), - [sym_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), + [695] = { + [sym_for_statement] = STATE(806), + [sym_while_statement] = STATE(806), + [sym_if_statement] = STATE(806), + [sym_case_statement] = STATE(806), + [sym_function_definition] = STATE(806), + [sym_subshell] = STATE(806), + [sym_pipeline] = STATE(806), + [sym_list] = STATE(806), + [sym_bracket_command] = STATE(806), + [sym_command] = STATE(806), + [sym_environment_variable_assignment] = STATE(807), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), }, - [693] = { - [sym__heredoc_middle] = ACTIONS(525), - [sym__heredoc_end] = ACTIONS(525), - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_in] = ACTIONS(519), + [696] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [aux_sym_command_repeat2] = STATE(811), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(237), + [anon_sym_SEMI_SEMI] = ACTIONS(237), + [anon_sym_LPAREN] = ACTIONS(2246), + [anon_sym_PIPE] = ACTIONS(237), + [anon_sym_PIPE_AMP] = ACTIONS(237), + [anon_sym_AMP_AMP] = ACTIONS(237), + [anon_sym_PIPE_PIPE] = ACTIONS(237), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2248), + [anon_sym_EQ] = ACTIONS(2250), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(237), + [anon_sym_LF] = ACTIONS(237), + [anon_sym_AMP] = ACTIONS(237), + }, + [697] = { + [anon_sym_RPAREN] = ACTIONS(2252), + [anon_sym_SEMI_SEMI] = ACTIONS(253), + [anon_sym_PIPE] = ACTIONS(2254), + [anon_sym_PIPE_AMP] = ACTIONS(2254), + [anon_sym_AMP_AMP] = ACTIONS(2256), + [anon_sym_PIPE_PIPE] = ACTIONS(2256), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(253), + [anon_sym_LF] = ACTIONS(253), + [anon_sym_AMP] = ACTIONS(253), + }, + [698] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2252), + [anon_sym_SEMI_SEMI] = ACTIONS(253), + [anon_sym_PIPE] = ACTIONS(2254), + [anon_sym_PIPE_AMP] = ACTIONS(2254), + [anon_sym_AMP_AMP] = ACTIONS(2256), + [anon_sym_PIPE_PIPE] = ACTIONS(2256), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(253), + [anon_sym_LF] = ACTIONS(253), + [anon_sym_AMP] = ACTIONS(253), + }, + [699] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(2150), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [700] = { + [sym_environment_variable_assignment] = STATE(103), + [sym_file_redirect] = STATE(103), + [sym_string] = STATE(815), + [sym_command_substitution] = STATE(815), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_COLON] = ACTIONS(2258), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1686), + [sym_raw_string] = ACTIONS(2260), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), + [anon_sym_BQUOTE] = ACTIONS(1690), + [sym_leading_word] = ACTIONS(2262), + [sym_comment] = ACTIONS(115), + }, + [701] = { + [anon_sym_RPAREN] = ACTIONS(1349), + [anon_sym_SEMI_SEMI] = ACTIONS(1349), + [anon_sym_PIPE] = ACTIONS(1349), + [anon_sym_PIPE_AMP] = ACTIONS(1349), + [anon_sym_AMP_AMP] = ACTIONS(1349), + [anon_sym_PIPE_PIPE] = ACTIONS(1349), + [anon_sym_BQUOTE] = ACTIONS(1349), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1349), + [anon_sym_LF] = ACTIONS(1349), + [anon_sym_AMP] = ACTIONS(1349), + }, + [702] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(2152), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [703] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(699), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(2264), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [704] = { + [sym_string] = STATE(44), + [sym_array] = STATE(44), + [sym_simple_expansion] = STATE(44), + [sym_expansion] = STATE(44), + [sym_command_substitution] = STATE(44), + [sym_process_substitution] = STATE(44), + [aux_sym_bracket_command_repeat1] = STATE(818), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(151), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(161), + [sym_comment] = ACTIONS(115), + }, + [705] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [aux_sym_command_repeat2] = STATE(820), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(165), + [anon_sym_SEMI_SEMI] = ACTIONS(165), + [anon_sym_PIPE] = ACTIONS(165), + [anon_sym_PIPE_AMP] = ACTIONS(165), + [anon_sym_AMP_AMP] = ACTIONS(165), + [anon_sym_PIPE_PIPE] = ACTIONS(165), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2266), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(165), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(165), + [anon_sym_LF] = ACTIONS(165), + [anon_sym_AMP] = ACTIONS(165), + }, + [706] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(822), + [anon_sym_DQUOTE] = ACTIONS(2268), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [707] = { + [sym_for_statement] = STATE(823), + [sym_while_statement] = STATE(823), + [sym_if_statement] = STATE(823), + [sym_case_statement] = STATE(823), + [sym_function_definition] = STATE(823), + [sym_subshell] = STATE(823), + [sym_pipeline] = STATE(823), + [sym_list] = STATE(823), + [sym_bracket_command] = STATE(823), + [sym_command] = STATE(823), + [sym_environment_variable_assignment] = STATE(824), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [708] = { + [sym_for_statement] = STATE(825), + [sym_while_statement] = STATE(825), + [sym_if_statement] = STATE(825), + [sym_case_statement] = STATE(825), + [sym_function_definition] = STATE(825), + [sym_subshell] = STATE(825), + [sym_pipeline] = STATE(825), + [sym_list] = STATE(825), + [sym_bracket_command] = STATE(825), + [sym_command] = STATE(825), + [sym_environment_variable_assignment] = STATE(826), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [709] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [aux_sym_command_repeat2] = STATE(829), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(237), + [anon_sym_SEMI_SEMI] = ACTIONS(237), + [anon_sym_LPAREN] = ACTIONS(2270), + [anon_sym_PIPE] = ACTIONS(237), + [anon_sym_PIPE_AMP] = ACTIONS(237), + [anon_sym_AMP_AMP] = ACTIONS(237), + [anon_sym_PIPE_PIPE] = ACTIONS(237), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2272), + [anon_sym_EQ] = ACTIONS(2250), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(237), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(237), + [anon_sym_LF] = ACTIONS(237), + [anon_sym_AMP] = ACTIONS(237), + }, + [710] = { + [anon_sym_RPAREN] = ACTIONS(881), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(2274), + [anon_sym_PIPE_AMP] = ACTIONS(2274), + [anon_sym_AMP_AMP] = ACTIONS(2277), + [anon_sym_PIPE_PIPE] = ACTIONS(2277), + [anon_sym_BQUOTE] = ACTIONS(881), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [711] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(881), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(2274), + [anon_sym_PIPE_AMP] = ACTIONS(2274), + [anon_sym_AMP_AMP] = ACTIONS(2277), + [anon_sym_PIPE_PIPE] = ACTIONS(2277), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(2280), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [712] = { + [anon_sym_RPAREN] = ACTIONS(883), + [anon_sym_SEMI_SEMI] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(2283), + [anon_sym_PIPE_AMP] = ACTIONS(2283), + [anon_sym_AMP_AMP] = ACTIONS(2286), + [anon_sym_PIPE_PIPE] = ACTIONS(2286), + [anon_sym_BQUOTE] = ACTIONS(883), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(883), + [anon_sym_LF] = ACTIONS(883), + [anon_sym_AMP] = ACTIONS(883), + }, + [713] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(883), + [anon_sym_SEMI_SEMI] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(2283), + [anon_sym_PIPE_AMP] = ACTIONS(2283), + [anon_sym_AMP_AMP] = ACTIONS(2286), + [anon_sym_PIPE_PIPE] = ACTIONS(2286), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(2289), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(883), + [anon_sym_LF] = ACTIONS(883), + [anon_sym_AMP] = ACTIONS(883), + }, + [714] = { + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(2292), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), + [sym_comment] = ACTIONS(115), + }, + [715] = { + [anon_sym_LT] = ACTIONS(2294), + [anon_sym_GT] = ACTIONS(2294), + [anon_sym_GT_GT] = ACTIONS(2296), + [anon_sym_AMP_GT] = ACTIONS(2294), + [anon_sym_AMP_GT_GT] = ACTIONS(2296), + [anon_sym_LT_AMP] = ACTIONS(2296), + [anon_sym_GT_AMP] = ACTIONS(2296), + [sym_comment] = ACTIONS(115), + }, + [716] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(839), + [aux_sym_command_repeat2] = STATE(840), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2298), + [anon_sym_SEMI_SEMI] = ACTIONS(2298), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(2298), + [anon_sym_PIPE_AMP] = ACTIONS(2298), + [anon_sym_AMP_AMP] = ACTIONS(2298), + [anon_sym_PIPE_PIPE] = ACTIONS(2298), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2315), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2298), + [anon_sym_LF] = ACTIONS(2298), + [anon_sym_AMP] = ACTIONS(2298), + }, + [717] = { + [sym_string] = STATE(844), + [sym_array] = STATE(844), + [sym_simple_expansion] = STATE(844), + [sym_expansion] = STATE(844), + [sym_command_substitution] = STATE(844), + [sym_process_substitution] = STATE(844), + [anon_sym_LPAREN] = ACTIONS(2319), + [anon_sym_LT] = ACTIONS(2321), + [anon_sym_GT] = ACTIONS(2321), + [anon_sym_DQUOTE] = ACTIONS(2323), + [sym_raw_string] = ACTIONS(2325), + [anon_sym_DOLLAR] = ACTIONS(2327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), + [anon_sym_BQUOTE] = ACTIONS(2333), + [sym_word] = ACTIONS(2335), + [sym_comment] = ACTIONS(115), + }, + [718] = { + [sym_string] = STATE(844), + [sym_array] = STATE(844), + [sym_simple_expansion] = STATE(844), + [sym_expansion] = STATE(844), + [sym_command_substitution] = STATE(844), + [sym_process_substitution] = STATE(844), + [anon_sym_LPAREN] = ACTIONS(2337), + [anon_sym_LT] = ACTIONS(2321), + [anon_sym_GT] = ACTIONS(2321), + [anon_sym_DQUOTE] = ACTIONS(2323), + [sym_raw_string] = ACTIONS(2325), + [anon_sym_DOLLAR] = ACTIONS(2327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), + [anon_sym_BQUOTE] = ACTIONS(2333), + [sym_word] = ACTIONS(2335), + [sym_comment] = ACTIONS(115), + }, + [719] = { + [sym_heredoc] = STATE(655), + [sym__simple_heredoc] = ACTIONS(2339), + [sym__heredoc_beginning] = ACTIONS(2341), + [sym_comment] = ACTIONS(115), + }, + [720] = { + [anon_sym_RBRACE] = ACTIONS(2343), + [sym_comment] = ACTIONS(115), + }, + [721] = { + [sym_file_descriptor] = ACTIONS(387), + [anon_sym_RPAREN] = ACTIONS(389), + [anon_sym_SEMI_SEMI] = ACTIONS(389), + [anon_sym_PIPE] = ACTIONS(389), + [anon_sym_PIPE_AMP] = ACTIONS(389), + [anon_sym_AMP_AMP] = ACTIONS(389), + [anon_sym_PIPE_PIPE] = ACTIONS(389), + [anon_sym_LT] = ACTIONS(389), + [anon_sym_GT] = ACTIONS(389), + [anon_sym_GT_GT] = ACTIONS(389), + [anon_sym_AMP_GT] = ACTIONS(389), + [anon_sym_AMP_GT_GT] = ACTIONS(389), + [anon_sym_LT_AMP] = ACTIONS(389), + [anon_sym_GT_AMP] = ACTIONS(389), + [anon_sym_LT_LT] = ACTIONS(389), + [anon_sym_LT_LT_DASH] = ACTIONS(389), + [anon_sym_BQUOTE] = ACTIONS(389), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(389), + [anon_sym_LF] = ACTIONS(389), + [anon_sym_AMP] = ACTIONS(389), + }, + [722] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2345), + [anon_sym_SEMI_SEMI] = ACTIONS(2345), + [anon_sym_PIPE] = ACTIONS(2345), + [anon_sym_PIPE_AMP] = ACTIONS(2345), + [anon_sym_AMP_AMP] = ACTIONS(2345), + [anon_sym_PIPE_PIPE] = ACTIONS(2345), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(2345), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2345), + [anon_sym_LF] = ACTIONS(2345), + [anon_sym_AMP] = ACTIONS(2345), + }, + [723] = { + [aux_sym_array_repeat1] = STATE(851), + [anon_sym_RPAREN] = ACTIONS(2348), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [724] = { + [anon_sym_LPAREN] = ACTIONS(2350), + [sym_comment] = ACTIONS(115), + }, + [725] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(854), + [anon_sym_DQUOTE] = ACTIONS(2352), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [726] = { + [sym_file_descriptor] = ACTIONS(863), + [anon_sym_RPAREN] = ACTIONS(865), + [anon_sym_SEMI_SEMI] = ACTIONS(865), + [anon_sym_RBRACE] = ACTIONS(2037), + [anon_sym_PIPE] = ACTIONS(865), + [anon_sym_PIPE_AMP] = ACTIONS(865), + [anon_sym_AMP_AMP] = ACTIONS(865), + [anon_sym_PIPE_PIPE] = ACTIONS(865), + [anon_sym_COLON] = ACTIONS(865), + [anon_sym_LT] = ACTIONS(865), + [anon_sym_GT] = ACTIONS(865), + [anon_sym_GT_GT] = ACTIONS(865), + [anon_sym_AMP_GT] = ACTIONS(865), + [anon_sym_AMP_GT_GT] = ACTIONS(865), + [anon_sym_LT_AMP] = ACTIONS(865), + [anon_sym_GT_AMP] = ACTIONS(865), + [anon_sym_DQUOTE] = ACTIONS(865), + [sym_raw_string] = ACTIONS(865), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(865), + [anon_sym_BQUOTE] = ACTIONS(865), + [sym_leading_word] = ACTIONS(865), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(865), + [anon_sym_LF] = ACTIONS(865), + [anon_sym_AMP] = ACTIONS(865), + }, + [727] = { + [sym_special_variable_name] = STATE(857), + [anon_sym_DOLLAR] = ACTIONS(2354), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(2356), + [anon_sym_STAR] = ACTIONS(2354), + [anon_sym_AT] = ACTIONS(2354), + [anon_sym_POUND] = ACTIONS(2358), + [anon_sym_QMARK] = ACTIONS(2354), + [anon_sym_DASH] = ACTIONS(2354), + [anon_sym_BANG] = ACTIONS(2354), + [anon_sym_0] = ACTIONS(2358), + [anon_sym__] = ACTIONS(2358), + }, + [728] = { + [sym_special_variable_name] = STATE(859), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2360), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [729] = { + [sym_for_statement] = STATE(860), + [sym_while_statement] = STATE(860), + [sym_if_statement] = STATE(860), + [sym_case_statement] = STATE(860), + [sym_function_definition] = STATE(860), + [sym_subshell] = STATE(860), + [sym_pipeline] = STATE(860), + [sym_list] = STATE(860), + [sym_bracket_command] = STATE(860), + [sym_command] = STATE(860), + [sym_environment_variable_assignment] = STATE(861), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [730] = { + [sym_for_statement] = STATE(862), + [sym_while_statement] = STATE(862), + [sym_if_statement] = STATE(862), + [sym_case_statement] = STATE(862), + [sym_function_definition] = STATE(862), + [sym_subshell] = STATE(862), + [sym_pipeline] = STATE(862), + [sym_list] = STATE(862), + [sym_bracket_command] = STATE(862), + [sym_command] = STATE(862), + [sym_environment_variable_assignment] = STATE(863), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [731] = { + [sym_for_statement] = STATE(865), + [sym_while_statement] = STATE(865), + [sym_if_statement] = STATE(865), + [sym_case_statement] = STATE(865), + [sym_function_definition] = STATE(865), + [sym_subshell] = STATE(865), + [sym_pipeline] = STATE(865), + [sym_list] = STATE(865), + [sym_bracket_command] = STATE(865), + [sym_command] = STATE(865), + [sym_environment_variable_assignment] = STATE(866), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(867), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2362), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), + [sym_comment] = ACTIONS(115), + }, + [732] = { + [anon_sym_LPAREN] = ACTIONS(2364), + [sym_comment] = ACTIONS(115), + }, + [733] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(870), + [anon_sym_DQUOTE] = ACTIONS(2366), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [734] = { + [sym_file_descriptor] = ACTIONS(2368), + [anon_sym_RPAREN] = ACTIONS(2371), + [anon_sym_SEMI_SEMI] = ACTIONS(2371), + [anon_sym_PIPE] = ACTIONS(2371), + [anon_sym_PIPE_AMP] = ACTIONS(2371), + [anon_sym_AMP_AMP] = ACTIONS(2371), + [anon_sym_PIPE_PIPE] = ACTIONS(2371), + [anon_sym_COLON] = ACTIONS(2371), + [anon_sym_LT] = ACTIONS(2371), + [anon_sym_GT] = ACTIONS(2371), + [anon_sym_GT_GT] = ACTIONS(2371), + [anon_sym_AMP_GT] = ACTIONS(2371), + [anon_sym_AMP_GT_GT] = ACTIONS(2371), + [anon_sym_LT_AMP] = ACTIONS(2371), + [anon_sym_GT_AMP] = ACTIONS(2371), + [anon_sym_LT_LT] = ACTIONS(2371), + [anon_sym_LT_LT_DASH] = ACTIONS(2371), + [anon_sym_DQUOTE] = ACTIONS(2371), + [sym_raw_string] = ACTIONS(2371), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2371), + [anon_sym_BQUOTE] = ACTIONS(2371), + [sym_leading_word] = ACTIONS(2371), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2371), + [anon_sym_LF] = ACTIONS(2371), + [anon_sym_AMP] = ACTIONS(2371), + }, + [735] = { + [sym_special_variable_name] = STATE(873), + [anon_sym_DOLLAR] = ACTIONS(2374), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(2376), + [anon_sym_STAR] = ACTIONS(2374), + [anon_sym_AT] = ACTIONS(2374), + [anon_sym_POUND] = ACTIONS(2378), + [anon_sym_QMARK] = ACTIONS(2374), + [anon_sym_DASH] = ACTIONS(2374), + [anon_sym_BANG] = ACTIONS(2374), + [anon_sym_0] = ACTIONS(2378), + [anon_sym__] = ACTIONS(2378), + }, + [736] = { + [sym_special_variable_name] = STATE(875), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2380), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [737] = { + [sym_for_statement] = STATE(876), + [sym_while_statement] = STATE(876), + [sym_if_statement] = STATE(876), + [sym_case_statement] = STATE(876), + [sym_function_definition] = STATE(876), + [sym_subshell] = STATE(876), + [sym_pipeline] = STATE(876), + [sym_list] = STATE(876), + [sym_bracket_command] = STATE(876), + [sym_command] = STATE(876), + [sym_environment_variable_assignment] = STATE(877), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [738] = { + [sym_for_statement] = STATE(878), + [sym_while_statement] = STATE(878), + [sym_if_statement] = STATE(878), + [sym_case_statement] = STATE(878), + [sym_function_definition] = STATE(878), + [sym_subshell] = STATE(878), + [sym_pipeline] = STATE(878), + [sym_list] = STATE(878), + [sym_bracket_command] = STATE(878), + [sym_command] = STATE(878), + [sym_environment_variable_assignment] = STATE(879), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [739] = { + [aux_sym_array_repeat1] = STATE(867), + [anon_sym_RPAREN] = ACTIONS(2362), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [740] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_in] = ACTIONS(415), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_LPAREN] = ACTIONS(415), + [anon_sym_RBRACE] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_RBRACK] = ACTIONS(415), + [anon_sym_RBRACK_RBRACK] = ACTIONS(415), + [anon_sym_COLON] = ACTIONS(415), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR] = ACTIONS(415), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_leading_word] = ACTIONS(415), + [sym_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [741] = { + [sym__heredoc_middle] = ACTIONS(583), + [sym__heredoc_end] = ACTIONS(583), + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_in] = ACTIONS(577), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_LPAREN] = ACTIONS(577), + [anon_sym_RBRACE] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_RBRACK] = ACTIONS(577), + [anon_sym_RBRACK_RBRACK] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR] = ACTIONS(577), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [742] = { + [sym__heredoc_middle] = ACTIONS(615), + [sym__heredoc_end] = ACTIONS(615), + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_in] = ACTIONS(579), + [anon_sym_RPAREN] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_LPAREN] = ACTIONS(579), + [anon_sym_RBRACE] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_RBRACK] = ACTIONS(579), + [anon_sym_RBRACK_RBRACK] = ACTIONS(579), + [anon_sym_COLON] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_LT_LT] = ACTIONS(579), + [anon_sym_LT_LT_DASH] = ACTIONS(579), + [anon_sym_DQUOTE] = ACTIONS(579), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(579), + [sym_raw_string] = ACTIONS(579), + [anon_sym_DOLLAR] = ACTIONS(579), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(579), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_leading_word] = ACTIONS(579), + [sym_word] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [743] = { + [sym__heredoc_middle] = ACTIONS(619), + [sym__heredoc_end] = ACTIONS(619), + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_in] = ACTIONS(581), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_LPAREN] = ACTIONS(581), + [anon_sym_RBRACE] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_RBRACK] = ACTIONS(581), + [anon_sym_RBRACK_RBRACK] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR] = ACTIONS(581), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_leading_word] = ACTIONS(581), + [sym_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [744] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2382), + [sym_comment] = ACTIONS(115), + }, + [745] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2384), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [746] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2387), + [anon_sym_LF] = ACTIONS(2387), + [anon_sym_AMP] = ACTIONS(2387), + }, + [747] = { + [anon_sym_RPAREN] = ACTIONS(2389), + [anon_sym_SEMI_SEMI] = ACTIONS(2389), + [anon_sym_PIPE] = ACTIONS(2389), + [anon_sym_PIPE_AMP] = ACTIONS(2389), + [anon_sym_AMP_AMP] = ACTIONS(2389), + [anon_sym_PIPE_PIPE] = ACTIONS(2389), + [anon_sym_BQUOTE] = ACTIONS(2389), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2389), + [anon_sym_LF] = ACTIONS(2389), + [anon_sym_AMP] = ACTIONS(2389), + }, + [748] = { + [sym_file_descriptor] = ACTIONS(1007), + [anon_sym_RPAREN] = ACTIONS(1009), + [anon_sym_SEMI_SEMI] = ACTIONS(1009), + [anon_sym_PIPE] = ACTIONS(1009), + [anon_sym_PIPE_AMP] = ACTIONS(1009), + [anon_sym_AMP_AMP] = ACTIONS(1009), + [anon_sym_PIPE_PIPE] = ACTIONS(1009), + [anon_sym_LT] = ACTIONS(1009), + [anon_sym_GT] = ACTIONS(1009), + [anon_sym_GT_GT] = ACTIONS(1009), + [anon_sym_AMP_GT] = ACTIONS(1009), + [anon_sym_AMP_GT_GT] = ACTIONS(1009), + [anon_sym_LT_AMP] = ACTIONS(1009), + [anon_sym_GT_AMP] = ACTIONS(1009), + [anon_sym_LT_LT] = ACTIONS(1009), + [anon_sym_LT_LT_DASH] = ACTIONS(1009), + [anon_sym_BQUOTE] = ACTIONS(1009), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1009), + [anon_sym_LF] = ACTIONS(1009), + [anon_sym_AMP] = ACTIONS(1009), + }, + [749] = { + [sym_string] = STATE(881), + [sym_array] = STATE(881), + [sym_simple_expansion] = STATE(881), + [sym_expansion] = STATE(881), + [sym_command_substitution] = STATE(881), + [sym_process_substitution] = STATE(881), + [anon_sym_LPAREN] = ACTIONS(1808), + [anon_sym_LT] = ACTIONS(1792), + [anon_sym_GT] = ACTIONS(1792), + [anon_sym_DQUOTE] = ACTIONS(1794), + [sym_raw_string] = ACTIONS(2392), + [anon_sym_DOLLAR] = ACTIONS(1798), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1800), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1802), + [anon_sym_BQUOTE] = ACTIONS(1804), + [sym_word] = ACTIONS(2394), + [sym_comment] = ACTIONS(115), + }, + [750] = { + [sym_file_descriptor] = ACTIONS(2396), + [anon_sym_in] = ACTIONS(2399), + [anon_sym_RPAREN] = ACTIONS(2399), + [anon_sym_SEMI_SEMI] = ACTIONS(2399), + [anon_sym_LPAREN] = ACTIONS(2399), + [anon_sym_RBRACE] = ACTIONS(2399), + [anon_sym_PIPE] = ACTIONS(2399), + [anon_sym_PIPE_AMP] = ACTIONS(2399), + [anon_sym_AMP_AMP] = ACTIONS(2399), + [anon_sym_PIPE_PIPE] = ACTIONS(2399), + [anon_sym_RBRACK] = ACTIONS(2399), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2399), + [anon_sym_COLON] = ACTIONS(2399), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(2399), + [anon_sym_GT] = ACTIONS(2399), + [anon_sym_GT_GT] = ACTIONS(2399), + [anon_sym_AMP_GT] = ACTIONS(2399), + [anon_sym_AMP_GT_GT] = ACTIONS(2399), + [anon_sym_LT_AMP] = ACTIONS(2399), + [anon_sym_GT_AMP] = ACTIONS(2399), + [anon_sym_LT_LT] = ACTIONS(2399), + [anon_sym_LT_LT_DASH] = ACTIONS(2399), + [anon_sym_DQUOTE] = ACTIONS(2399), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), + [sym_raw_string] = ACTIONS(2399), + [anon_sym_DOLLAR] = ACTIONS(2399), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2399), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2399), + [anon_sym_BQUOTE] = ACTIONS(2399), + [sym_leading_word] = ACTIONS(2399), + [sym_word] = ACTIONS(2399), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2399), + [anon_sym_LF] = ACTIONS(2399), + [anon_sym_AMP] = ACTIONS(2399), + }, + [751] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_in] = ACTIONS(847), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_LPAREN] = ACTIONS(847), + [anon_sym_RBRACE] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_RBRACK] = ACTIONS(847), + [anon_sym_RBRACK_RBRACK] = ACTIONS(847), + [anon_sym_COLON] = ACTIONS(847), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR] = ACTIONS(847), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_leading_word] = ACTIONS(847), + [sym_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [752] = { + [anon_sym_RPAREN] = ACTIONS(2402), + [anon_sym_SEMI_SEMI] = ACTIONS(2402), + [anon_sym_PIPE] = ACTIONS(2402), + [anon_sym_PIPE_AMP] = ACTIONS(2402), + [anon_sym_AMP_AMP] = ACTIONS(2402), + [anon_sym_PIPE_PIPE] = ACTIONS(2402), + [anon_sym_BQUOTE] = ACTIONS(2402), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2402), + [anon_sym_LF] = ACTIONS(2402), + [anon_sym_AMP] = ACTIONS(2402), + }, + [753] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2406), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2406), + [anon_sym_LF] = ACTIONS(2406), + [anon_sym_AMP] = ACTIONS(2406), + }, + [754] = { + [anon_sym_in] = ACTIONS(2408), + [sym_comment] = ACTIONS(115), + }, + [755] = { + [sym__heredoc_middle] = ACTIONS(2410), + [sym__heredoc_end] = ACTIONS(2410), + [sym_file_descriptor] = ACTIONS(2410), + [anon_sym_in] = ACTIONS(2413), + [anon_sym_RPAREN] = ACTIONS(2413), + [anon_sym_SEMI_SEMI] = ACTIONS(2413), + [anon_sym_LPAREN] = ACTIONS(2413), + [anon_sym_RBRACE] = ACTIONS(2413), + [anon_sym_PIPE] = ACTIONS(2413), + [anon_sym_PIPE_AMP] = ACTIONS(2413), + [anon_sym_AMP_AMP] = ACTIONS(2413), + [anon_sym_PIPE_PIPE] = ACTIONS(2413), + [anon_sym_RBRACK] = ACTIONS(2413), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2413), + [anon_sym_COLON] = ACTIONS(2413), + [anon_sym_LT] = ACTIONS(2413), + [anon_sym_GT] = ACTIONS(2413), + [anon_sym_GT_GT] = ACTIONS(2413), + [anon_sym_AMP_GT] = ACTIONS(2413), + [anon_sym_AMP_GT_GT] = ACTIONS(2413), + [anon_sym_LT_AMP] = ACTIONS(2413), + [anon_sym_GT_AMP] = ACTIONS(2413), + [anon_sym_LT_LT] = ACTIONS(2413), + [anon_sym_LT_LT_DASH] = ACTIONS(2413), + [anon_sym_DQUOTE] = ACTIONS(2413), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2413), + [sym_raw_string] = ACTIONS(2413), + [anon_sym_DOLLAR] = ACTIONS(2413), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2413), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2413), + [anon_sym_BQUOTE] = ACTIONS(2413), + [sym_leading_word] = ACTIONS(2413), + [sym_word] = ACTIONS(2413), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2413), + [anon_sym_LF] = ACTIONS(2413), + [anon_sym_AMP] = ACTIONS(2413), + }, + [756] = { + [sym__heredoc_middle] = ACTIONS(953), + [sym__heredoc_end] = ACTIONS(953), + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_in] = ACTIONS(931), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_LPAREN] = ACTIONS(931), + [anon_sym_RBRACE] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_RBRACK] = ACTIONS(931), + [anon_sym_RBRACK_RBRACK] = ACTIONS(931), + [anon_sym_COLON] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR] = ACTIONS(931), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_leading_word] = ACTIONS(931), + [sym_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [757] = { + [sym_string] = STATE(883), + [sym_array] = STATE(883), + [sym_simple_expansion] = STATE(883), + [sym_expansion] = STATE(883), + [sym_command_substitution] = STATE(883), + [sym_process_substitution] = STATE(883), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2416), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2418), + [sym_comment] = ACTIONS(115), + }, + [758] = { + [anon_sym_RPAREN] = ACTIONS(1175), + [anon_sym_SEMI_SEMI] = ACTIONS(1175), + [anon_sym_PIPE] = ACTIONS(1175), + [anon_sym_PIPE_AMP] = ACTIONS(1175), + [anon_sym_AMP_AMP] = ACTIONS(1175), + [anon_sym_PIPE_PIPE] = ACTIONS(1175), + [anon_sym_BQUOTE] = ACTIONS(1175), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1175), + [anon_sym_LF] = ACTIONS(1175), + [anon_sym_AMP] = ACTIONS(1175), + }, + [759] = { + [anon_sym_RPAREN] = ACTIONS(1181), + [anon_sym_SEMI_SEMI] = ACTIONS(1181), + [anon_sym_PIPE] = ACTIONS(1181), + [anon_sym_PIPE_AMP] = ACTIONS(1181), + [anon_sym_AMP_AMP] = ACTIONS(1181), + [anon_sym_PIPE_PIPE] = ACTIONS(1181), + [anon_sym_BQUOTE] = ACTIONS(1181), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1181), + [anon_sym_LF] = ACTIONS(1181), + [anon_sym_AMP] = ACTIONS(1181), + }, + [760] = { + [anon_sym_RPAREN] = ACTIONS(603), + [anon_sym_SEMI_SEMI] = ACTIONS(603), + [anon_sym_PIPE] = ACTIONS(603), + [anon_sym_PIPE_AMP] = ACTIONS(603), + [anon_sym_AMP_AMP] = ACTIONS(603), + [anon_sym_PIPE_PIPE] = ACTIONS(603), + [anon_sym_BQUOTE] = ACTIONS(603), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(603), + [anon_sym_LF] = ACTIONS(603), + [anon_sym_AMP] = ACTIONS(603), + }, + [761] = { + [anon_sym_RPAREN] = ACTIONS(1473), + [anon_sym_SEMI_SEMI] = ACTIONS(1473), + [anon_sym_PIPE] = ACTIONS(1473), + [anon_sym_PIPE_AMP] = ACTIONS(1473), + [anon_sym_AMP_AMP] = ACTIONS(1473), + [anon_sym_PIPE_PIPE] = ACTIONS(1473), + [anon_sym_BQUOTE] = ACTIONS(1473), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1473), + [anon_sym_LF] = ACTIONS(1473), + [anon_sym_AMP] = ACTIONS(1473), + }, + [762] = { + [anon_sym_fi] = ACTIONS(2420), + [sym_comment] = ACTIONS(115), + }, + [763] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(885), + [anon_sym_fi] = ACTIONS(2420), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [764] = { + [anon_sym_RPAREN] = ACTIONS(2422), + [anon_sym_SEMI_SEMI] = ACTIONS(2422), + [anon_sym_PIPE] = ACTIONS(2422), + [anon_sym_PIPE_AMP] = ACTIONS(2422), + [anon_sym_AMP_AMP] = ACTIONS(2422), + [anon_sym_PIPE_PIPE] = ACTIONS(2422), + [anon_sym_BQUOTE] = ACTIONS(2422), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2422), + [anon_sym_LF] = ACTIONS(2422), + [anon_sym_AMP] = ACTIONS(2422), + }, + [765] = { + [anon_sym_fi] = ACTIONS(2425), + [sym_comment] = ACTIONS(115), + }, + [766] = { + [anon_sym_RPAREN] = ACTIONS(2427), + [anon_sym_SEMI_SEMI] = ACTIONS(2427), + [anon_sym_PIPE] = ACTIONS(2427), + [anon_sym_PIPE_AMP] = ACTIONS(2427), + [anon_sym_AMP_AMP] = ACTIONS(2427), + [anon_sym_PIPE_PIPE] = ACTIONS(2427), + [anon_sym_BQUOTE] = ACTIONS(2427), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2427), + [anon_sym_LF] = ACTIONS(2427), + [anon_sym_AMP] = ACTIONS(2427), + }, + [767] = { + [aux_sym_array_repeat1] = STATE(888), + [anon_sym_RPAREN] = ACTIONS(2430), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [768] = { + [sym_string] = STATE(844), + [sym_array] = STATE(844), + [sym_simple_expansion] = STATE(844), + [sym_expansion] = STATE(844), + [sym_command_substitution] = STATE(844), + [sym_process_substitution] = STATE(844), + [anon_sym_LPAREN] = ACTIONS(2432), + [anon_sym_LT] = ACTIONS(2321), + [anon_sym_GT] = ACTIONS(2321), + [anon_sym_DQUOTE] = ACTIONS(2323), + [sym_raw_string] = ACTIONS(2325), + [anon_sym_DOLLAR] = ACTIONS(2327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), + [anon_sym_BQUOTE] = ACTIONS(2333), + [sym_word] = ACTIONS(2335), + [sym_comment] = ACTIONS(115), + }, + [769] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(891), + [anon_sym_DQUOTE] = ACTIONS(2434), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [770] = { + [sym_file_descriptor] = ACTIONS(639), + [anon_sym_RPAREN] = ACTIONS(643), + [anon_sym_SEMI_SEMI] = ACTIONS(643), + [anon_sym_LPAREN] = ACTIONS(643), + [anon_sym_PIPE] = ACTIONS(643), + [anon_sym_PIPE_AMP] = ACTIONS(643), + [anon_sym_AMP_AMP] = ACTIONS(643), + [anon_sym_PIPE_PIPE] = ACTIONS(643), + [anon_sym_RBRACK] = ACTIONS(643), + [anon_sym_RBRACK_RBRACK] = ACTIONS(643), + [anon_sym_LT] = ACTIONS(643), + [anon_sym_GT] = ACTIONS(643), + [anon_sym_GT_GT] = ACTIONS(643), + [anon_sym_AMP_GT] = ACTIONS(643), + [anon_sym_AMP_GT_GT] = ACTIONS(643), + [anon_sym_LT_AMP] = ACTIONS(643), + [anon_sym_GT_AMP] = ACTIONS(643), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(643), + [anon_sym_DQUOTE] = ACTIONS(643), + [sym_raw_string] = ACTIONS(643), + [anon_sym_DOLLAR] = ACTIONS(643), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(643), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(643), + [anon_sym_BQUOTE] = ACTIONS(643), + [sym_word] = ACTIONS(643), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(643), + [anon_sym_LF] = ACTIONS(643), + [anon_sym_AMP] = ACTIONS(643), + }, + [771] = { + [sym_special_variable_name] = STATE(894), + [anon_sym_DOLLAR] = ACTIONS(2436), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(2438), + [anon_sym_STAR] = ACTIONS(2436), + [anon_sym_AT] = ACTIONS(2436), + [anon_sym_POUND] = ACTIONS(2440), + [anon_sym_QMARK] = ACTIONS(2436), + [anon_sym_DASH] = ACTIONS(2436), + [anon_sym_BANG] = ACTIONS(2436), + [anon_sym_0] = ACTIONS(2440), + [anon_sym__] = ACTIONS(2440), + }, + [772] = { + [sym_special_variable_name] = STATE(896), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2442), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [773] = { + [sym_for_statement] = STATE(897), + [sym_while_statement] = STATE(897), + [sym_if_statement] = STATE(897), + [sym_case_statement] = STATE(897), + [sym_function_definition] = STATE(897), + [sym_subshell] = STATE(897), + [sym_pipeline] = STATE(897), + [sym_list] = STATE(897), + [sym_bracket_command] = STATE(897), + [sym_command] = STATE(897), + [sym_environment_variable_assignment] = STATE(898), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [774] = { + [sym_for_statement] = STATE(899), + [sym_while_statement] = STATE(899), + [sym_if_statement] = STATE(899), + [sym_case_statement] = STATE(899), + [sym_function_definition] = STATE(899), + [sym_subshell] = STATE(899), + [sym_pipeline] = STATE(899), + [sym_list] = STATE(899), + [sym_bracket_command] = STATE(899), + [sym_command] = STATE(899), + [sym_environment_variable_assignment] = STATE(900), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [775] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2444), + [anon_sym_SEMI_SEMI] = ACTIONS(2444), + [anon_sym_PIPE] = ACTIONS(2444), + [anon_sym_PIPE_AMP] = ACTIONS(2444), + [anon_sym_AMP_AMP] = ACTIONS(2444), + [anon_sym_PIPE_PIPE] = ACTIONS(2444), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(2444), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2444), + [anon_sym_LF] = ACTIONS(2444), + [anon_sym_AMP] = ACTIONS(2444), + }, + [776] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [aux_sym_command_repeat2] = STATE(902), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(391), + [anon_sym_SEMI_SEMI] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2449), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(391), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(391), + [anon_sym_LF] = ACTIONS(391), + [anon_sym_AMP] = ACTIONS(391), + }, + [777] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [aux_sym_command_repeat2] = STATE(904), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(535), + [anon_sym_SEMI_SEMI] = ACTIONS(535), + [anon_sym_PIPE] = ACTIONS(535), + [anon_sym_PIPE_AMP] = ACTIONS(535), + [anon_sym_AMP_AMP] = ACTIONS(535), + [anon_sym_PIPE_PIPE] = ACTIONS(535), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2451), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(535), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(535), + [anon_sym_LF] = ACTIONS(535), + [anon_sym_AMP] = ACTIONS(535), + }, + [778] = { + [sym_file_descriptor] = ACTIONS(699), + [anon_sym_RPAREN] = ACTIONS(701), + [anon_sym_SEMI_SEMI] = ACTIONS(701), + [anon_sym_PIPE] = ACTIONS(701), + [anon_sym_PIPE_AMP] = ACTIONS(701), + [anon_sym_AMP_AMP] = ACTIONS(701), + [anon_sym_PIPE_PIPE] = ACTIONS(701), + [anon_sym_LT] = ACTIONS(701), + [anon_sym_GT] = ACTIONS(701), + [anon_sym_GT_GT] = ACTIONS(701), + [anon_sym_AMP_GT] = ACTIONS(701), + [anon_sym_AMP_GT_GT] = ACTIONS(701), + [anon_sym_LT_AMP] = ACTIONS(701), + [anon_sym_GT_AMP] = ACTIONS(701), + [anon_sym_LT_LT] = ACTIONS(701), + [anon_sym_LT_LT_DASH] = ACTIONS(701), + [anon_sym_BQUOTE] = ACTIONS(701), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(701), + [anon_sym_LF] = ACTIONS(701), + [anon_sym_AMP] = ACTIONS(701), + }, + [779] = { + [sym_file_descriptor] = ACTIONS(1253), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), + [anon_sym_BQUOTE] = ACTIONS(1255), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), + }, + [780] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_in] = ACTIONS(737), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_LPAREN] = ACTIONS(737), + [anon_sym_RBRACE] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_RBRACK] = ACTIONS(737), + [anon_sym_RBRACK_RBRACK] = ACTIONS(737), + [anon_sym_COLON] = ACTIONS(737), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR] = ACTIONS(737), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_leading_word] = ACTIONS(737), + [sym_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [781] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_in] = ACTIONS(907), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(907), + [anon_sym_RBRACE] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_RBRACK] = ACTIONS(907), + [anon_sym_RBRACK_RBRACK] = ACTIONS(907), + [anon_sym_COLON] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR] = ACTIONS(907), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_leading_word] = ACTIONS(907), + [sym_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [782] = { + [sym__terminated_statement] = STATE(672), + [sym_for_statement] = STATE(27), + [sym_while_statement] = STATE(27), + [sym_if_statement] = STATE(27), + [sym_case_statement] = STATE(27), + [sym_function_definition] = STATE(27), + [sym_subshell] = STATE(27), + [sym_pipeline] = STATE(27), + [sym_list] = STATE(27), + [sym_bracket_command] = STATE(27), + [sym_command] = STATE(27), + [sym_environment_variable_assignment] = STATE(28), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [783] = { + [anon_sym_RPAREN] = ACTIONS(1173), + [anon_sym_SEMI_SEMI] = ACTIONS(1173), + [anon_sym_PIPE] = ACTIONS(1173), + [anon_sym_PIPE_AMP] = ACTIONS(1173), + [anon_sym_AMP_AMP] = ACTIONS(1173), + [anon_sym_PIPE_PIPE] = ACTIONS(1173), + [anon_sym_BQUOTE] = ACTIONS(1173), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1173), + [anon_sym_LF] = ACTIONS(1173), + [anon_sym_AMP] = ACTIONS(1173), + }, + [784] = { + [anon_sym_RPAREN] = ACTIONS(553), + [anon_sym_SEMI_SEMI] = ACTIONS(553), + [anon_sym_PIPE] = ACTIONS(553), + [anon_sym_PIPE_AMP] = ACTIONS(553), + [anon_sym_AMP_AMP] = ACTIONS(553), + [anon_sym_PIPE_PIPE] = ACTIONS(553), + [anon_sym_BQUOTE] = ACTIONS(553), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(553), + [anon_sym_LF] = ACTIONS(553), + [anon_sym_AMP] = ACTIONS(553), + }, + [785] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(678), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(905), + [aux_sym_if_statement_repeat1] = STATE(680), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2453), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [786] = { + [anon_sym_RPAREN] = ACTIONS(2455), + [sym_comment] = ACTIONS(115), + }, + [787] = { + [anon_sym_in] = ACTIONS(2457), + [sym_comment] = ACTIONS(115), + }, + [788] = { + [sym_do_group] = STATE(909), + [anon_sym_do] = ACTIONS(2459), + [sym_comment] = ACTIONS(115), + }, + [789] = { + [anon_sym_then] = ACTIONS(2461), + [sym_comment] = ACTIONS(115), + }, + [790] = { + [anon_sym_in] = ACTIONS(2463), + [anon_sym_SEMI_SEMI] = ACTIONS(2465), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2465), + [anon_sym_LF] = ACTIONS(2465), + [anon_sym_AMP] = ACTIONS(2465), + }, + [791] = { + [anon_sym_LPAREN] = ACTIONS(2467), + [sym_comment] = ACTIONS(115), + }, + [792] = { + [anon_sym_RPAREN] = ACTIONS(313), + [anon_sym_SEMI_SEMI] = ACTIONS(313), + [anon_sym_PIPE] = ACTIONS(313), + [anon_sym_PIPE_AMP] = ACTIONS(313), + [anon_sym_AMP_AMP] = ACTIONS(313), + [anon_sym_PIPE_PIPE] = ACTIONS(313), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(313), + [anon_sym_LF] = ACTIONS(313), + [anon_sym_AMP] = ACTIONS(313), + }, + [793] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_RPAREN] = ACTIONS(2469), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [794] = { + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK] = ACTIONS(2471), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), + [sym_comment] = ACTIONS(115), + }, + [795] = { + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2471), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), + [sym_comment] = ACTIONS(115), + }, + [796] = { + [anon_sym_LT] = ACTIONS(2473), + [anon_sym_GT] = ACTIONS(2473), + [anon_sym_GT_GT] = ACTIONS(2475), + [anon_sym_AMP_GT] = ACTIONS(2473), + [anon_sym_AMP_GT_GT] = ACTIONS(2475), + [anon_sym_LT_AMP] = ACTIONS(2475), + [anon_sym_GT_AMP] = ACTIONS(2475), + [sym_comment] = ACTIONS(115), + }, + [797] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(918), + [aux_sym_command_repeat2] = STATE(919), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(347), + [anon_sym_SEMI_SEMI] = ACTIONS(347), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(347), + [anon_sym_PIPE_AMP] = ACTIONS(347), + [anon_sym_AMP_AMP] = ACTIONS(347), + [anon_sym_PIPE_PIPE] = ACTIONS(347), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(347), + [anon_sym_LF] = ACTIONS(347), + [anon_sym_AMP] = ACTIONS(347), + }, + [798] = { + [sym_string] = STATE(923), + [sym_array] = STATE(923), + [sym_simple_expansion] = STATE(923), + [sym_expansion] = STATE(923), + [sym_command_substitution] = STATE(923), + [sym_process_substitution] = STATE(923), + [anon_sym_LPAREN] = ACTIONS(2481), + [anon_sym_LT] = ACTIONS(2483), + [anon_sym_GT] = ACTIONS(2483), + [anon_sym_DQUOTE] = ACTIONS(2485), + [sym_raw_string] = ACTIONS(2487), + [anon_sym_DOLLAR] = ACTIONS(2489), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2491), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2493), + [anon_sym_BQUOTE] = ACTIONS(2495), + [sym_word] = ACTIONS(2497), + [sym_comment] = ACTIONS(115), + }, + [799] = { + [sym_heredoc] = STATE(930), + [sym__simple_heredoc] = ACTIONS(2499), + [sym__heredoc_beginning] = ACTIONS(2501), + [sym_comment] = ACTIONS(115), + }, + [800] = { + [sym_file_descriptor] = ACTIONS(387), + [anon_sym_RPAREN] = ACTIONS(389), + [anon_sym_SEMI_SEMI] = ACTIONS(389), + [anon_sym_PIPE] = ACTIONS(389), + [anon_sym_PIPE_AMP] = ACTIONS(389), + [anon_sym_AMP_AMP] = ACTIONS(389), + [anon_sym_PIPE_PIPE] = ACTIONS(389), + [anon_sym_LT] = ACTIONS(389), + [anon_sym_GT] = ACTIONS(389), + [anon_sym_GT_GT] = ACTIONS(389), + [anon_sym_AMP_GT] = ACTIONS(389), + [anon_sym_AMP_GT_GT] = ACTIONS(389), + [anon_sym_LT_AMP] = ACTIONS(389), + [anon_sym_GT_AMP] = ACTIONS(389), + [anon_sym_LT_LT] = ACTIONS(389), + [anon_sym_LT_LT_DASH] = ACTIONS(389), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(389), + [anon_sym_LF] = ACTIONS(389), + [anon_sym_AMP] = ACTIONS(389), + }, + [801] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(391), + [anon_sym_SEMI_SEMI] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(391), + [anon_sym_LF] = ACTIONS(391), + [anon_sym_AMP] = ACTIONS(391), + }, + [802] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [803] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2503), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [804] = { + [anon_sym_RPAREN] = ACTIONS(2505), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [805] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2505), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [806] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2505), + [sym_comment] = ACTIONS(115), + }, + [807] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2507), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [808] = { + [anon_sym_RPAREN] = ACTIONS(2510), + [sym_comment] = ACTIONS(115), + }, + [809] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(935), + [aux_sym_command_repeat2] = STATE(936), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(497), + [anon_sym_SEMI_SEMI] = ACTIONS(497), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(497), + [anon_sym_PIPE_AMP] = ACTIONS(497), + [anon_sym_AMP_AMP] = ACTIONS(497), + [anon_sym_PIPE_PIPE] = ACTIONS(497), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(497), + [anon_sym_LF] = ACTIONS(497), + [anon_sym_AMP] = ACTIONS(497), + }, + [810] = { + [sym_string] = STATE(644), + [sym_array] = STATE(644), + [sym_simple_expansion] = STATE(644), + [sym_expansion] = STATE(644), + [sym_command_substitution] = STATE(644), + [sym_process_substitution] = STATE(644), + [sym__empty_value] = ACTIONS(1770), + [anon_sym_LPAREN] = ACTIONS(2512), + [anon_sym_LT] = ACTIONS(2514), + [anon_sym_GT] = ACTIONS(2514), + [anon_sym_DQUOTE] = ACTIONS(2516), + [sym_raw_string] = ACTIONS(2518), + [anon_sym_DOLLAR] = ACTIONS(2520), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2522), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2524), + [anon_sym_BQUOTE] = ACTIONS(2526), + [sym_word] = ACTIONS(2528), + [sym_comment] = ACTIONS(115), + }, + [811] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), [anon_sym_RPAREN] = ACTIONS(519), [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_RBRACE] = ACTIONS(519), [anon_sym_PIPE] = ACTIONS(519), [anon_sym_PIPE_AMP] = ACTIONS(519), [anon_sym_AMP_AMP] = ACTIONS(519), [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_RBRACK] = ACTIONS(519), - [anon_sym_RBRACK_RBRACK] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(519), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_word] = ACTIONS(519), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(519), [anon_sym_LF] = ACTIONS(519), [anon_sym_AMP] = ACTIONS(519), }, - [694] = { - [sym__heredoc_middle] = ACTIONS(551), - [sym__heredoc_end] = ACTIONS(551), - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_in] = ACTIONS(521), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_RBRACE] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_RBRACK] = ACTIONS(521), - [anon_sym_RBRACK_RBRACK] = ACTIONS(521), - [anon_sym_COLON] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR] = ACTIONS(521), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_leading_word] = ACTIONS(521), - [sym_word] = ACTIONS(521), + [812] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_in] = ACTIONS(1187), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_LPAREN] = ACTIONS(1187), + [anon_sym_RBRACE] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_RBRACK] = ACTIONS(1187), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1187), + [anon_sym_COLON] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR] = ACTIONS(1187), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_leading_word] = ACTIONS(1187), + [sym_word] = ACTIONS(1187), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), }, - [695] = { - [sym__heredoc_middle] = ACTIONS(555), - [sym__heredoc_end] = ACTIONS(555), - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_in] = ACTIONS(523), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_RBRACE] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_RBRACK] = ACTIONS(523), - [anon_sym_RBRACK_RBRACK] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR] = ACTIONS(523), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_leading_word] = ACTIONS(523), - [sym_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [696] = { - [anon_sym_BQUOTE] = ACTIONS(2218), + [813] = { + [sym_for_statement] = STATE(944), + [sym_while_statement] = STATE(944), + [sym_if_statement] = STATE(944), + [sym_case_statement] = STATE(944), + [sym_function_definition] = STATE(944), + [sym_subshell] = STATE(944), + [sym_pipeline] = STATE(944), + [sym_list] = STATE(944), + [sym_bracket_command] = STATE(944), + [sym_command] = STATE(944), + [sym_environment_variable_assignment] = STATE(945), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(692), + [sym_command_substitution] = STATE(692), + [aux_sym_command_repeat1] = STATE(700), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1666), + [anon_sym_while] = ACTIONS(1668), + [anon_sym_if] = ACTIONS(1670), + [anon_sym_case] = ACTIONS(1672), + [anon_sym_function] = ACTIONS(1676), + [anon_sym_LPAREN] = ACTIONS(1678), + [anon_sym_LBRACK] = ACTIONS(1680), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1682), + [anon_sym_COLON] = ACTIONS(2530), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1686), + [sym_raw_string] = ACTIONS(1684), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), + [anon_sym_BQUOTE] = ACTIONS(1690), + [sym_leading_word] = ACTIONS(1692), [sym_comment] = ACTIONS(115), }, - [697] = { - [anon_sym_SEMI_SEMI] = ACTIONS(2220), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2220), - [anon_sym_LF] = ACTIONS(2220), - [anon_sym_AMP] = ACTIONS(2220), - }, - [698] = { - [anon_sym_RPAREN] = ACTIONS(2222), - [anon_sym_SEMI_SEMI] = ACTIONS(2222), - [anon_sym_PIPE] = ACTIONS(2222), - [anon_sym_PIPE_AMP] = ACTIONS(2222), - [anon_sym_AMP_AMP] = ACTIONS(2222), - [anon_sym_PIPE_PIPE] = ACTIONS(2222), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2222), - [anon_sym_LF] = ACTIONS(2222), - [anon_sym_AMP] = ACTIONS(2222), - }, - [699] = { - [sym_file_descriptor] = ACTIONS(909), - [anon_sym_RPAREN] = ACTIONS(911), - [anon_sym_SEMI_SEMI] = ACTIONS(911), - [anon_sym_PIPE] = ACTIONS(911), - [anon_sym_PIPE_AMP] = ACTIONS(911), - [anon_sym_AMP_AMP] = ACTIONS(911), - [anon_sym_PIPE_PIPE] = ACTIONS(911), - [anon_sym_LT] = ACTIONS(911), - [anon_sym_GT] = ACTIONS(911), - [anon_sym_GT_GT] = ACTIONS(911), - [anon_sym_AMP_GT] = ACTIONS(911), - [anon_sym_AMP_GT_GT] = ACTIONS(911), - [anon_sym_LT_AMP] = ACTIONS(911), - [anon_sym_GT_AMP] = ACTIONS(911), - [anon_sym_LT_LT] = ACTIONS(911), - [anon_sym_LT_LT_DASH] = ACTIONS(911), - [anon_sym_BQUOTE] = ACTIONS(911), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(911), - [anon_sym_LF] = ACTIONS(911), - [anon_sym_AMP] = ACTIONS(911), - }, - [700] = { - [sym_string] = STATE(798), - [sym_simple_expansion] = STATE(798), - [sym_expansion] = STATE(798), - [sym_command_substitution] = STATE(798), - [sym_process_substitution] = STATE(798), - [anon_sym_LT] = ACTIONS(1682), - [anon_sym_GT] = ACTIONS(1682), - [anon_sym_DQUOTE] = ACTIONS(1684), - [sym_raw_string] = ACTIONS(2225), - [anon_sym_DOLLAR] = ACTIONS(1688), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1690), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1692), - [anon_sym_BQUOTE] = ACTIONS(1694), - [sym_word] = ACTIONS(2227), + [814] = { + [sym_for_statement] = STATE(946), + [sym_while_statement] = STATE(946), + [sym_if_statement] = STATE(946), + [sym_case_statement] = STATE(946), + [sym_function_definition] = STATE(946), + [sym_subshell] = STATE(946), + [sym_pipeline] = STATE(946), + [sym_list] = STATE(946), + [sym_bracket_command] = STATE(946), + [sym_command] = STATE(946), + [sym_environment_variable_assignment] = STATE(947), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(692), + [sym_command_substitution] = STATE(692), + [aux_sym_command_repeat1] = STATE(700), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(1666), + [anon_sym_while] = ACTIONS(1668), + [anon_sym_if] = ACTIONS(1670), + [anon_sym_case] = ACTIONS(1672), + [anon_sym_function] = ACTIONS(1676), + [anon_sym_LPAREN] = ACTIONS(1678), + [anon_sym_LBRACK] = ACTIONS(1680), + [anon_sym_LBRACK_LBRACK] = ACTIONS(1682), + [anon_sym_COLON] = ACTIONS(2530), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(1686), + [sym_raw_string] = ACTIONS(1684), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1688), + [anon_sym_BQUOTE] = ACTIONS(1690), + [sym_leading_word] = ACTIONS(1692), [sym_comment] = ACTIONS(115), }, - [701] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_in] = ACTIONS(1079), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_RBRACE] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_RBRACK] = ACTIONS(1079), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1079), - [anon_sym_COLON] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR] = ACTIONS(1079), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_leading_word] = ACTIONS(1079), - [sym_word] = ACTIONS(1079), + [815] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [aux_sym_command_repeat2] = STATE(919), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(391), + [anon_sym_SEMI_SEMI] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2532), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), + [anon_sym_SEMI] = ACTIONS(391), + [anon_sym_LF] = ACTIONS(391), + [anon_sym_AMP] = ACTIONS(391), }, - [702] = { - [anon_sym_RPAREN] = ACTIONS(2229), - [anon_sym_SEMI_SEMI] = ACTIONS(2229), - [anon_sym_PIPE] = ACTIONS(2229), - [anon_sym_PIPE_AMP] = ACTIONS(2229), - [anon_sym_AMP_AMP] = ACTIONS(2229), - [anon_sym_PIPE_PIPE] = ACTIONS(2229), + [816] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [aux_sym_command_repeat2] = STATE(950), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(535), + [anon_sym_SEMI_SEMI] = ACTIONS(535), + [anon_sym_PIPE] = ACTIONS(535), + [anon_sym_PIPE_AMP] = ACTIONS(535), + [anon_sym_AMP_AMP] = ACTIONS(535), + [anon_sym_PIPE_PIPE] = ACTIONS(535), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2534), + [anon_sym_EQ] = ACTIONS(457), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2229), - [anon_sym_LF] = ACTIONS(2229), - [anon_sym_AMP] = ACTIONS(2229), + [anon_sym_SEMI] = ACTIONS(535), + [anon_sym_LF] = ACTIONS(535), + [anon_sym_AMP] = ACTIONS(535), }, - [703] = { - [sym_file_descriptor] = ACTIONS(2233), - [anon_sym_in] = ACTIONS(1544), - [anon_sym_RPAREN] = ACTIONS(1544), - [anon_sym_SEMI_SEMI] = ACTIONS(1544), - [anon_sym_RBRACE] = ACTIONS(1544), - [anon_sym_PIPE] = ACTIONS(1544), - [anon_sym_PIPE_AMP] = ACTIONS(1544), - [anon_sym_AMP_AMP] = ACTIONS(1544), - [anon_sym_PIPE_PIPE] = ACTIONS(1544), - [anon_sym_RBRACK] = ACTIONS(1544), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1544), - [anon_sym_COLON] = ACTIONS(1544), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(733), - [anon_sym_LT] = ACTIONS(1544), - [anon_sym_GT] = ACTIONS(1544), - [anon_sym_GT_GT] = ACTIONS(1544), - [anon_sym_AMP_GT] = ACTIONS(1544), - [anon_sym_AMP_GT_GT] = ACTIONS(1544), - [anon_sym_LT_AMP] = ACTIONS(1544), - [anon_sym_GT_AMP] = ACTIONS(1544), - [anon_sym_LT_LT] = ACTIONS(1544), - [anon_sym_LT_LT_DASH] = ACTIONS(1544), - [anon_sym_DQUOTE] = ACTIONS(1544), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(733), - [sym_raw_string] = ACTIONS(1544), - [anon_sym_DOLLAR] = ACTIONS(1544), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1544), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1544), - [anon_sym_BQUOTE] = ACTIONS(1544), - [sym_leading_word] = ACTIONS(1544), - [sym_word] = ACTIONS(1544), + [817] = { + [anon_sym_RPAREN] = ACTIONS(313), + [anon_sym_SEMI_SEMI] = ACTIONS(313), + [anon_sym_PIPE] = ACTIONS(313), + [anon_sym_PIPE_AMP] = ACTIONS(313), + [anon_sym_AMP_AMP] = ACTIONS(313), + [anon_sym_PIPE_PIPE] = ACTIONS(313), + [anon_sym_BQUOTE] = ACTIONS(313), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1544), - [anon_sym_LF] = ACTIONS(1544), - [anon_sym_AMP] = ACTIONS(1544), + [anon_sym_SEMI] = ACTIONS(313), + [anon_sym_LF] = ACTIONS(313), + [anon_sym_AMP] = ACTIONS(313), }, - [704] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_in] = ACTIONS(733), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_RBRACE] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_RBRACK] = ACTIONS(733), - [anon_sym_RBRACK_RBRACK] = ACTIONS(733), - [anon_sym_COLON] = ACTIONS(733), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_DQUOTE] = ACTIONS(733), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR] = ACTIONS(733), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_leading_word] = ACTIONS(733), - [sym_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [705] = { - [anon_sym_SEMI_SEMI] = ACTIONS(2236), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2236), - [anon_sym_LF] = ACTIONS(2236), - [anon_sym_AMP] = ACTIONS(2236), - }, - [706] = { - [anon_sym_in] = ACTIONS(2238), + [818] = { + [sym_string] = STATE(145), + [sym_array] = STATE(145), + [sym_simple_expansion] = STATE(145), + [sym_expansion] = STATE(145), + [sym_command_substitution] = STATE(145), + [sym_process_substitution] = STATE(145), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_RBRACK_RBRACK] = ACTIONS(2292), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(339), + [anon_sym_DOLLAR] = ACTIONS(153), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(341), [sym_comment] = ACTIONS(115), }, - [707] = { - [sym__heredoc_middle] = ACTIONS(2240), - [sym__heredoc_end] = ACTIONS(2240), - [sym_file_descriptor] = ACTIONS(2240), - [anon_sym_in] = ACTIONS(2243), - [anon_sym_RPAREN] = ACTIONS(2243), - [anon_sym_SEMI_SEMI] = ACTIONS(2243), - [anon_sym_RBRACE] = ACTIONS(2243), - [anon_sym_PIPE] = ACTIONS(2243), - [anon_sym_PIPE_AMP] = ACTIONS(2243), - [anon_sym_AMP_AMP] = ACTIONS(2243), - [anon_sym_PIPE_PIPE] = ACTIONS(2243), - [anon_sym_RBRACK] = ACTIONS(2243), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2243), - [anon_sym_COLON] = ACTIONS(2243), - [anon_sym_LT] = ACTIONS(2243), - [anon_sym_GT] = ACTIONS(2243), - [anon_sym_GT_GT] = ACTIONS(2243), - [anon_sym_AMP_GT] = ACTIONS(2243), - [anon_sym_AMP_GT_GT] = ACTIONS(2243), - [anon_sym_LT_AMP] = ACTIONS(2243), - [anon_sym_GT_AMP] = ACTIONS(2243), - [anon_sym_LT_LT] = ACTIONS(2243), - [anon_sym_LT_LT_DASH] = ACTIONS(2243), - [anon_sym_DQUOTE] = ACTIONS(2243), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(2243), - [sym_raw_string] = ACTIONS(2243), - [anon_sym_DOLLAR] = ACTIONS(2243), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2243), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2243), - [anon_sym_BQUOTE] = ACTIONS(2243), - [sym_leading_word] = ACTIONS(2243), - [sym_word] = ACTIONS(2243), + [819] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(951), + [aux_sym_command_repeat2] = STATE(902), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(347), + [anon_sym_SEMI_SEMI] = ACTIONS(347), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(347), + [anon_sym_PIPE_AMP] = ACTIONS(347), + [anon_sym_AMP_AMP] = ACTIONS(347), + [anon_sym_PIPE_PIPE] = ACTIONS(347), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2536), + [sym_word] = ACTIONS(2307), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2243), - [anon_sym_LF] = ACTIONS(2243), - [anon_sym_AMP] = ACTIONS(2243), + [anon_sym_SEMI] = ACTIONS(347), + [anon_sym_LF] = ACTIONS(347), + [anon_sym_AMP] = ACTIONS(347), }, - [708] = { - [sym__heredoc_middle] = ACTIONS(861), - [sym__heredoc_end] = ACTIONS(861), - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_in] = ACTIONS(843), - [anon_sym_RPAREN] = ACTIONS(843), - [anon_sym_SEMI_SEMI] = ACTIONS(843), - [anon_sym_RBRACE] = 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), - [anon_sym_RBRACK] = ACTIONS(843), - [anon_sym_RBRACK_RBRACK] = ACTIONS(843), - [anon_sym_COLON] = ACTIONS(843), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR] = ACTIONS(843), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_leading_word] = ACTIONS(843), - [sym_word] = ACTIONS(843), + [820] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(391), + [anon_sym_SEMI_SEMI] = ACTIONS(391), + [anon_sym_PIPE] = ACTIONS(391), + [anon_sym_PIPE_AMP] = ACTIONS(391), + [anon_sym_AMP_AMP] = ACTIONS(391), + [anon_sym_PIPE_PIPE] = ACTIONS(391), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(391), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), + [anon_sym_SEMI] = ACTIONS(391), + [anon_sym_LF] = ACTIONS(391), + [anon_sym_AMP] = ACTIONS(391), }, - [709] = { - [sym_string] = STATE(800), - [sym_simple_expansion] = STATE(800), - [sym_expansion] = STATE(800), - [sym_command_substitution] = STATE(800), - [sym_process_substitution] = STATE(800), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2246), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2248), + [821] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [822] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2539), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [823] = { + [anon_sym_RPAREN] = ACTIONS(2541), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, - [710] = { - [anon_sym_RPAREN] = ACTIONS(1015), - [anon_sym_SEMI_SEMI] = ACTIONS(1015), - [anon_sym_PIPE] = ACTIONS(1015), - [anon_sym_PIPE_AMP] = ACTIONS(1015), - [anon_sym_AMP_AMP] = ACTIONS(1015), - [anon_sym_PIPE_PIPE] = ACTIONS(1015), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1015), - [anon_sym_LF] = ACTIONS(1015), - [anon_sym_AMP] = ACTIONS(1015), - }, - [711] = { - [anon_sym_RPAREN] = ACTIONS(1021), - [anon_sym_SEMI_SEMI] = ACTIONS(1021), - [anon_sym_PIPE] = ACTIONS(1021), - [anon_sym_PIPE_AMP] = ACTIONS(1021), - [anon_sym_AMP_AMP] = ACTIONS(1021), - [anon_sym_PIPE_PIPE] = ACTIONS(1021), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1021), - [anon_sym_LF] = ACTIONS(1021), - [anon_sym_AMP] = ACTIONS(1021), - }, - [712] = { - [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), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(545), - [anon_sym_LF] = ACTIONS(545), - [anon_sym_AMP] = ACTIONS(545), - }, - [713] = { - [anon_sym_RPAREN] = ACTIONS(1327), - [anon_sym_SEMI_SEMI] = ACTIONS(1327), - [anon_sym_PIPE] = ACTIONS(1327), - [anon_sym_PIPE_AMP] = ACTIONS(1327), - [anon_sym_AMP_AMP] = ACTIONS(1327), - [anon_sym_PIPE_PIPE] = ACTIONS(1327), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1327), - [anon_sym_LF] = ACTIONS(1327), - [anon_sym_AMP] = ACTIONS(1327), - }, - [714] = { - [anon_sym_fi] = ACTIONS(2250), + [824] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2541), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [715] = { - [sym_elif_clause] = STATE(333), - [sym_else_clause] = STATE(802), - [anon_sym_fi] = ACTIONS(2250), - [anon_sym_elif] = ACTIONS(787), - [anon_sym_else] = ACTIONS(789), + [825] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2541), [sym_comment] = ACTIONS(115), }, - [716] = { - [anon_sym_RPAREN] = ACTIONS(2252), - [anon_sym_SEMI_SEMI] = ACTIONS(2252), - [anon_sym_PIPE] = ACTIONS(2252), - [anon_sym_PIPE_AMP] = ACTIONS(2252), - [anon_sym_AMP_AMP] = ACTIONS(2252), - [anon_sym_PIPE_PIPE] = ACTIONS(2252), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2252), - [anon_sym_LF] = ACTIONS(2252), - [anon_sym_AMP] = ACTIONS(2252), - }, - [717] = { - [anon_sym_fi] = ACTIONS(2255), + [826] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2543), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [718] = { - [anon_sym_RPAREN] = ACTIONS(2257), - [anon_sym_SEMI_SEMI] = ACTIONS(2257), - [anon_sym_PIPE] = ACTIONS(2257), - [anon_sym_PIPE_AMP] = ACTIONS(2257), - [anon_sym_AMP_AMP] = ACTIONS(2257), - [anon_sym_PIPE_PIPE] = ACTIONS(2257), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2257), - [anon_sym_LF] = ACTIONS(2257), - [anon_sym_AMP] = ACTIONS(2257), - }, - [719] = { - [sym_string] = STATE(770), - [sym_simple_expansion] = STATE(770), - [sym_expansion] = STATE(770), - [sym_command_substitution] = STATE(770), - [sym_process_substitution] = STATE(770), - [anon_sym_LPAREN] = ACTIONS(2260), - [anon_sym_LT] = ACTIONS(2163), - [anon_sym_GT] = ACTIONS(2163), - [anon_sym_DQUOTE] = ACTIONS(2165), - [sym_raw_string] = ACTIONS(2167), - [anon_sym_DOLLAR] = ACTIONS(2169), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2171), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2173), - [anon_sym_BQUOTE] = ACTIONS(2175), - [sym_word] = ACTIONS(2177), + [827] = { + [anon_sym_RPAREN] = ACTIONS(2546), [sym_comment] = ACTIONS(115), }, - [720] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(806), - [anon_sym_DQUOTE] = ACTIONS(2262), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), + [828] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(955), + [aux_sym_command_repeat2] = STATE(956), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(497), + [anon_sym_SEMI_SEMI] = ACTIONS(497), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(497), + [anon_sym_PIPE_AMP] = ACTIONS(497), + [anon_sym_AMP_AMP] = ACTIONS(497), + [anon_sym_PIPE_PIPE] = ACTIONS(497), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2548), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(497), + [anon_sym_LF] = ACTIONS(497), + [anon_sym_AMP] = ACTIONS(497), + }, + [829] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(519), + [anon_sym_SEMI_SEMI] = ACTIONS(519), + [anon_sym_PIPE] = ACTIONS(519), + [anon_sym_PIPE_AMP] = ACTIONS(519), + [anon_sym_AMP_AMP] = ACTIONS(519), + [anon_sym_PIPE_PIPE] = ACTIONS(519), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(519), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(519), + [anon_sym_LF] = ACTIONS(519), + [anon_sym_AMP] = ACTIONS(519), + }, + [830] = { + [sym_string] = STATE(957), + [sym_array] = STATE(957), + [sym_simple_expansion] = STATE(957), + [sym_expansion] = STATE(957), + [sym_command_substitution] = STATE(957), + [sym_process_substitution] = STATE(957), + [anon_sym_LPAREN] = ACTIONS(2337), + [anon_sym_LT] = ACTIONS(2321), + [anon_sym_GT] = ACTIONS(2321), + [anon_sym_DQUOTE] = ACTIONS(2323), + [sym_raw_string] = ACTIONS(2551), + [anon_sym_DOLLAR] = ACTIONS(2327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), + [anon_sym_BQUOTE] = ACTIONS(2333), + [sym_word] = ACTIONS(2553), + [sym_comment] = ACTIONS(115), + }, + [831] = { + [aux_sym_array_repeat1] = STATE(959), + [anon_sym_RPAREN] = ACTIONS(2555), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [832] = { + [sym_string] = STATE(844), + [sym_array] = STATE(844), + [sym_simple_expansion] = STATE(844), + [sym_expansion] = STATE(844), + [sym_command_substitution] = STATE(844), + [sym_process_substitution] = STATE(844), + [anon_sym_LPAREN] = ACTIONS(2557), + [anon_sym_LT] = ACTIONS(2321), + [anon_sym_GT] = ACTIONS(2321), + [anon_sym_DQUOTE] = ACTIONS(2323), + [sym_raw_string] = ACTIONS(2325), + [anon_sym_DOLLAR] = ACTIONS(2327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), + [anon_sym_BQUOTE] = ACTIONS(2333), + [sym_word] = ACTIONS(2335), + [sym_comment] = ACTIONS(115), + }, + [833] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(962), + [anon_sym_DQUOTE] = ACTIONS(2559), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), [sym_comment] = ACTIONS(73), }, - [721] = { - [sym_file_descriptor] = ACTIONS(577), + [834] = { + [sym_file_descriptor] = ACTIONS(323), + [anon_sym_RPAREN] = ACTIONS(327), + [anon_sym_SEMI_SEMI] = ACTIONS(327), + [anon_sym_LPAREN] = ACTIONS(327), + [anon_sym_PIPE] = ACTIONS(327), + [anon_sym_PIPE_AMP] = ACTIONS(327), + [anon_sym_AMP_AMP] = ACTIONS(327), + [anon_sym_PIPE_PIPE] = ACTIONS(327), + [anon_sym_LT] = ACTIONS(327), + [anon_sym_GT] = ACTIONS(327), + [anon_sym_GT_GT] = ACTIONS(327), + [anon_sym_AMP_GT] = ACTIONS(327), + [anon_sym_AMP_GT_GT] = ACTIONS(327), + [anon_sym_LT_AMP] = ACTIONS(327), + [anon_sym_GT_AMP] = ACTIONS(327), + [anon_sym_LT_LT] = ACTIONS(327), + [anon_sym_LT_LT_DASH] = ACTIONS(327), + [anon_sym_DQUOTE] = ACTIONS(327), + [sym_raw_string] = ACTIONS(327), + [anon_sym_DOLLAR] = ACTIONS(327), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(327), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(327), + [anon_sym_BQUOTE] = ACTIONS(327), + [sym_word] = ACTIONS(327), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(327), + [anon_sym_LF] = ACTIONS(327), + [anon_sym_AMP] = ACTIONS(327), + }, + [835] = { + [sym_special_variable_name] = STATE(965), + [anon_sym_DOLLAR] = ACTIONS(2561), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(2563), + [anon_sym_STAR] = ACTIONS(2561), + [anon_sym_AT] = ACTIONS(2561), + [anon_sym_POUND] = ACTIONS(2565), + [anon_sym_QMARK] = ACTIONS(2561), + [anon_sym_DASH] = ACTIONS(2561), + [anon_sym_BANG] = ACTIONS(2561), + [anon_sym_0] = ACTIONS(2565), + [anon_sym__] = ACTIONS(2565), + }, + [836] = { + [sym_special_variable_name] = STATE(967), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2567), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [837] = { + [sym_for_statement] = STATE(968), + [sym_while_statement] = STATE(968), + [sym_if_statement] = STATE(968), + [sym_case_statement] = STATE(968), + [sym_function_definition] = STATE(968), + [sym_subshell] = STATE(968), + [sym_pipeline] = STATE(968), + [sym_list] = STATE(968), + [sym_bracket_command] = STATE(968), + [sym_command] = STATE(968), + [sym_environment_variable_assignment] = STATE(969), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [838] = { + [sym_for_statement] = STATE(970), + [sym_while_statement] = STATE(970), + [sym_if_statement] = STATE(970), + [sym_case_statement] = STATE(970), + [sym_function_definition] = STATE(970), + [sym_subshell] = STATE(970), + [sym_pipeline] = STATE(970), + [sym_list] = STATE(970), + [sym_bracket_command] = STATE(970), + [sym_command] = STATE(970), + [sym_environment_variable_assignment] = STATE(971), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [839] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(973), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2569), + [anon_sym_SEMI_SEMI] = ACTIONS(2569), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(2569), + [anon_sym_PIPE_AMP] = ACTIONS(2569), + [anon_sym_AMP_AMP] = ACTIONS(2569), + [anon_sym_PIPE_PIPE] = ACTIONS(2569), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2574), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2569), + [anon_sym_LF] = ACTIONS(2569), + [anon_sym_AMP] = ACTIONS(2569), + }, + [840] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2578), + [anon_sym_SEMI_SEMI] = ACTIONS(2578), + [anon_sym_PIPE] = ACTIONS(2578), + [anon_sym_PIPE_AMP] = ACTIONS(2578), + [anon_sym_AMP_AMP] = ACTIONS(2578), + [anon_sym_PIPE_PIPE] = ACTIONS(2578), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(2578), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2578), + [anon_sym_LF] = ACTIONS(2578), + [anon_sym_AMP] = ACTIONS(2578), + }, + [841] = { + [sym_for_statement] = STATE(272), + [sym_while_statement] = STATE(272), + [sym_if_statement] = STATE(272), + [sym_case_statement] = STATE(272), + [sym_function_definition] = STATE(272), + [sym_subshell] = STATE(272), + [sym_pipeline] = STATE(272), + [sym_list] = STATE(272), + [sym_bracket_command] = STATE(272), + [sym_command] = STATE(272), + [sym_environment_variable_assignment] = STATE(273), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(975), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2581), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), + [sym_comment] = ACTIONS(115), + }, + [842] = { + [anon_sym_LPAREN] = ACTIONS(2583), + [sym_comment] = ACTIONS(115), + }, + [843] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(978), + [anon_sym_DQUOTE] = ACTIONS(2585), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [844] = { + [sym_file_descriptor] = ACTIONS(399), + [anon_sym_RPAREN] = ACTIONS(403), + [anon_sym_SEMI_SEMI] = ACTIONS(403), + [anon_sym_PIPE] = ACTIONS(403), + [anon_sym_PIPE_AMP] = ACTIONS(403), + [anon_sym_AMP_AMP] = ACTIONS(403), + [anon_sym_PIPE_PIPE] = ACTIONS(403), + [anon_sym_LT] = ACTIONS(403), + [anon_sym_GT] = ACTIONS(403), + [anon_sym_GT_GT] = ACTIONS(403), + [anon_sym_AMP_GT] = ACTIONS(403), + [anon_sym_AMP_GT_GT] = ACTIONS(403), + [anon_sym_LT_AMP] = ACTIONS(403), + [anon_sym_GT_AMP] = ACTIONS(403), + [anon_sym_LT_LT] = ACTIONS(403), + [anon_sym_LT_LT_DASH] = ACTIONS(403), + [anon_sym_BQUOTE] = ACTIONS(403), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(403), + [anon_sym_LF] = ACTIONS(403), + [anon_sym_AMP] = ACTIONS(403), + }, + [845] = { + [sym_special_variable_name] = STATE(981), + [anon_sym_DOLLAR] = ACTIONS(2587), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(2589), + [anon_sym_STAR] = ACTIONS(2587), + [anon_sym_AT] = ACTIONS(2587), + [anon_sym_POUND] = ACTIONS(2591), + [anon_sym_QMARK] = ACTIONS(2587), + [anon_sym_DASH] = ACTIONS(2587), + [anon_sym_BANG] = ACTIONS(2587), + [anon_sym_0] = ACTIONS(2591), + [anon_sym__] = ACTIONS(2591), + }, + [846] = { + [sym_special_variable_name] = STATE(983), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2593), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [847] = { + [sym_for_statement] = STATE(984), + [sym_while_statement] = STATE(984), + [sym_if_statement] = STATE(984), + [sym_case_statement] = STATE(984), + [sym_function_definition] = STATE(984), + [sym_subshell] = STATE(984), + [sym_pipeline] = STATE(984), + [sym_list] = STATE(984), + [sym_bracket_command] = STATE(984), + [sym_command] = STATE(984), + [sym_environment_variable_assignment] = STATE(985), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [848] = { + [sym_for_statement] = STATE(986), + [sym_while_statement] = STATE(986), + [sym_if_statement] = STATE(986), + [sym_case_statement] = STATE(986), + [sym_function_definition] = STATE(986), + [sym_subshell] = STATE(986), + [sym_pipeline] = STATE(986), + [sym_list] = STATE(986), + [sym_bracket_command] = STATE(986), + [sym_command] = STATE(986), + [sym_environment_variable_assignment] = STATE(987), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), + [sym_comment] = ACTIONS(115), + }, + [849] = { + [aux_sym_array_repeat1] = STATE(975), + [anon_sym_RPAREN] = ACTIONS(2581), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [850] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_RBRACE] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_COLON] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_leading_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [851] = { + [anon_sym_RPAREN] = ACTIONS(2595), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [852] = { + [sym_for_statement] = STATE(989), + [sym_while_statement] = STATE(989), + [sym_if_statement] = STATE(989), + [sym_case_statement] = STATE(989), + [sym_function_definition] = STATE(989), + [sym_subshell] = STATE(989), + [sym_pipeline] = STATE(989), + [sym_list] = STATE(989), + [sym_bracket_command] = STATE(989), + [sym_command] = STATE(989), + [sym_environment_variable_assignment] = STATE(990), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [853] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_RBRACE] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_COLON] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_leading_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [854] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2597), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [855] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_RBRACE] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [856] = { + [sym_file_descriptor] = ACTIONS(615), [anon_sym_RPAREN] = ACTIONS(579), [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_RBRACE] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_COLON] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_DQUOTE] = ACTIONS(579), + [sym_raw_string] = ACTIONS(579), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [857] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_RBRACE] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_leading_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [858] = { + [anon_sym_RBRACE] = ACTIONS(2599), + [anon_sym_COLON] = ACTIONS(2601), + [anon_sym_EQ] = ACTIONS(2603), + [anon_sym_COLON_QMARK] = ACTIONS(2603), + [anon_sym_COLON_DASH] = ACTIONS(2603), + [sym_comment] = ACTIONS(115), + }, + [859] = { + [anon_sym_RBRACE] = ACTIONS(2605), + [anon_sym_COLON] = ACTIONS(2607), + [anon_sym_EQ] = ACTIONS(2609), + [anon_sym_COLON_QMARK] = ACTIONS(2609), + [anon_sym_COLON_DASH] = ACTIONS(2609), + [sym_comment] = ACTIONS(115), + }, + [860] = { + [anon_sym_RPAREN] = ACTIONS(2611), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [861] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2611), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [862] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2611), + [sym_comment] = ACTIONS(115), + }, + [863] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2613), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [864] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_COLON] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_leading_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [865] = { + [anon_sym_RPAREN] = ACTIONS(2616), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [866] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2616), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [867] = { + [anon_sym_RPAREN] = ACTIONS(2618), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [868] = { + [sym_for_statement] = STATE(998), + [sym_while_statement] = STATE(998), + [sym_if_statement] = STATE(998), + [sym_case_statement] = STATE(998), + [sym_function_definition] = STATE(998), + [sym_subshell] = STATE(998), + [sym_pipeline] = STATE(998), + [sym_list] = STATE(998), + [sym_bracket_command] = STATE(998), + [sym_command] = STATE(998), + [sym_environment_variable_assignment] = STATE(999), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [869] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_COLON] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_leading_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [870] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2620), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [871] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [872] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_COLON] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_LT_LT] = ACTIONS(579), + [anon_sym_LT_LT_DASH] = ACTIONS(579), + [anon_sym_DQUOTE] = ACTIONS(579), + [sym_raw_string] = ACTIONS(579), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [873] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_leading_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [874] = { + [anon_sym_RBRACE] = ACTIONS(2622), + [anon_sym_COLON] = ACTIONS(2624), + [anon_sym_EQ] = ACTIONS(2626), + [anon_sym_COLON_QMARK] = ACTIONS(2626), + [anon_sym_COLON_DASH] = ACTIONS(2626), + [sym_comment] = ACTIONS(115), + }, + [875] = { + [anon_sym_RBRACE] = ACTIONS(2628), + [anon_sym_COLON] = ACTIONS(2630), + [anon_sym_EQ] = ACTIONS(2632), + [anon_sym_COLON_QMARK] = ACTIONS(2632), + [anon_sym_COLON_DASH] = ACTIONS(2632), + [sym_comment] = ACTIONS(115), + }, + [876] = { + [anon_sym_RPAREN] = ACTIONS(2634), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [877] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2634), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [878] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2634), + [sym_comment] = ACTIONS(115), + }, + [879] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2636), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [880] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(1007), + [anon_sym_esac] = ACTIONS(2639), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [881] = { + [sym_file_descriptor] = ACTIONS(545), + [anon_sym_RPAREN] = ACTIONS(549), + [anon_sym_SEMI_SEMI] = ACTIONS(549), + [anon_sym_PIPE] = ACTIONS(549), + [anon_sym_PIPE_AMP] = ACTIONS(549), + [anon_sym_AMP_AMP] = ACTIONS(549), + [anon_sym_PIPE_PIPE] = ACTIONS(549), + [anon_sym_COLON] = ACTIONS(549), + [anon_sym_LT] = ACTIONS(549), + [anon_sym_GT] = ACTIONS(549), + [anon_sym_GT_GT] = ACTIONS(549), + [anon_sym_AMP_GT] = ACTIONS(549), + [anon_sym_AMP_GT_GT] = ACTIONS(549), + [anon_sym_LT_AMP] = ACTIONS(549), + [anon_sym_GT_AMP] = ACTIONS(549), + [anon_sym_LT_LT] = ACTIONS(549), + [anon_sym_LT_LT_DASH] = ACTIONS(549), + [anon_sym_DQUOTE] = ACTIONS(549), + [sym_raw_string] = ACTIONS(549), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(549), + [anon_sym_BQUOTE] = ACTIONS(549), + [sym_leading_word] = ACTIONS(549), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(549), + [anon_sym_LF] = ACTIONS(549), + [anon_sym_AMP] = ACTIONS(549), + }, + [882] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(1009), + [anon_sym_esac] = ACTIONS(2641), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [883] = { + [anon_sym_RBRACE] = ACTIONS(2643), + [sym_comment] = ACTIONS(115), + }, + [884] = { + [anon_sym_RPAREN] = ACTIONS(1369), + [anon_sym_SEMI_SEMI] = ACTIONS(1369), + [anon_sym_PIPE] = ACTIONS(1369), + [anon_sym_PIPE_AMP] = ACTIONS(1369), + [anon_sym_AMP_AMP] = ACTIONS(1369), + [anon_sym_PIPE_PIPE] = ACTIONS(1369), + [anon_sym_BQUOTE] = ACTIONS(1369), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1369), + [anon_sym_LF] = ACTIONS(1369), + [anon_sym_AMP] = ACTIONS(1369), + }, + [885] = { + [anon_sym_fi] = ACTIONS(2645), + [sym_comment] = ACTIONS(115), + }, + [886] = { + [anon_sym_RPAREN] = ACTIONS(2647), + [anon_sym_SEMI_SEMI] = ACTIONS(2647), + [anon_sym_PIPE] = ACTIONS(2647), + [anon_sym_PIPE_AMP] = ACTIONS(2647), + [anon_sym_AMP_AMP] = ACTIONS(2647), + [anon_sym_PIPE_PIPE] = ACTIONS(2647), + [anon_sym_BQUOTE] = ACTIONS(2647), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2647), + [anon_sym_LF] = ACTIONS(2647), + [anon_sym_AMP] = ACTIONS(2647), + }, + [887] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_LPAREN] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_RBRACK] = ACTIONS(561), + [anon_sym_RBRACK_RBRACK] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR] = ACTIONS(561), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [888] = { + [anon_sym_RPAREN] = ACTIONS(2650), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [889] = { + [sym_for_statement] = STATE(1013), + [sym_while_statement] = STATE(1013), + [sym_if_statement] = STATE(1013), + [sym_case_statement] = STATE(1013), + [sym_function_definition] = STATE(1013), + [sym_subshell] = STATE(1013), + [sym_pipeline] = STATE(1013), + [sym_list] = STATE(1013), + [sym_bracket_command] = STATE(1013), + [sym_command] = STATE(1013), + [sym_environment_variable_assignment] = STATE(1014), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(975), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2581), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), + [sym_comment] = ACTIONS(115), + }, + [890] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_LPAREN] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_RBRACK] = ACTIONS(415), + [anon_sym_RBRACK_RBRACK] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR] = ACTIONS(415), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [891] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2652), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [892] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_LPAREN] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_RBRACK] = ACTIONS(577), + [anon_sym_RBRACK_RBRACK] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR] = ACTIONS(577), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [893] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_LPAREN] = ACTIONS(579), [anon_sym_PIPE] = ACTIONS(579), [anon_sym_PIPE_AMP] = ACTIONS(579), [anon_sym_AMP_AMP] = ACTIONS(579), @@ -24442,303 +29380,297 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LF] = ACTIONS(579), [anon_sym_AMP] = ACTIONS(579), }, - [722] = { - [sym_special_variable_name] = STATE(809), - [anon_sym_DOLLAR] = ACTIONS(2264), + [894] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_LPAREN] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_RBRACK] = ACTIONS(581), + [anon_sym_RBRACK_RBRACK] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR] = ACTIONS(581), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_word] = ACTIONS(581), [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2266), - [anon_sym_STAR] = ACTIONS(2264), - [anon_sym_AT] = ACTIONS(2264), - [anon_sym_POUND] = ACTIONS(2268), - [anon_sym_QMARK] = ACTIONS(2264), - [anon_sym_DASH] = ACTIONS(2264), - [anon_sym_BANG] = ACTIONS(2264), - [anon_sym_0] = ACTIONS(2268), - [anon_sym__] = ACTIONS(2268), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), }, - [723] = { - [sym_special_variable_name] = STATE(811), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2270), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [724] = { - [sym_command] = STATE(812), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), + [895] = { + [anon_sym_RBRACE] = ACTIONS(2654), + [anon_sym_COLON] = ACTIONS(2656), + [anon_sym_EQ] = ACTIONS(2658), + [anon_sym_COLON_QMARK] = ACTIONS(2658), + [anon_sym_COLON_DASH] = ACTIONS(2658), [sym_comment] = ACTIONS(115), }, - [725] = { - [sym_command] = STATE(813), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), + [896] = { + [anon_sym_RBRACE] = ACTIONS(2660), + [anon_sym_COLON] = ACTIONS(2662), + [anon_sym_EQ] = ACTIONS(2664), + [anon_sym_COLON_QMARK] = ACTIONS(2664), + [anon_sym_COLON_DASH] = ACTIONS(2664), [sym_comment] = ACTIONS(115), }, - [726] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2272), - [anon_sym_SEMI_SEMI] = ACTIONS(2272), - [anon_sym_PIPE] = ACTIONS(2272), - [anon_sym_PIPE_AMP] = ACTIONS(2272), - [anon_sym_AMP_AMP] = ACTIONS(2272), - [anon_sym_PIPE_PIPE] = ACTIONS(2272), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(2272), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2272), - [anon_sym_LF] = ACTIONS(2272), - [anon_sym_AMP] = ACTIONS(2272), - }, - [727] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [aux_sym_command_repeat2] = STATE(815), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(355), - [anon_sym_SEMI_SEMI] = ACTIONS(355), - [anon_sym_PIPE] = ACTIONS(355), - [anon_sym_PIPE_AMP] = ACTIONS(355), - [anon_sym_AMP_AMP] = ACTIONS(355), - [anon_sym_PIPE_PIPE] = ACTIONS(355), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2277), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(355), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(355), - [anon_sym_LF] = ACTIONS(355), - [anon_sym_AMP] = ACTIONS(355), - }, - [728] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(817), - [anon_sym_DQUOTE] = ACTIONS(2279), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [729] = { - [sym_command] = STATE(818), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [730] = { - [sym_command] = STATE(819), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [731] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [aux_sym_command_repeat2] = STATE(821), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(465), - [anon_sym_SEMI_SEMI] = ACTIONS(465), - [anon_sym_PIPE] = ACTIONS(465), - [anon_sym_PIPE_AMP] = ACTIONS(465), + [897] = { + [anon_sym_RPAREN] = ACTIONS(2666), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), [anon_sym_AMP_AMP] = ACTIONS(465), [anon_sym_PIPE_PIPE] = ACTIONS(465), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2281), - [anon_sym_EQ] = ACTIONS(407), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(465), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(465), - [anon_sym_LF] = ACTIONS(465), - [anon_sym_AMP] = ACTIONS(465), + [sym_comment] = ACTIONS(115), }, - [732] = { - [sym_file_descriptor] = ACTIONS(631), - [anon_sym_RPAREN] = ACTIONS(633), - [anon_sym_SEMI_SEMI] = ACTIONS(633), - [anon_sym_PIPE] = ACTIONS(633), - [anon_sym_PIPE_AMP] = ACTIONS(633), - [anon_sym_AMP_AMP] = ACTIONS(633), - [anon_sym_PIPE_PIPE] = ACTIONS(633), - [anon_sym_LT] = ACTIONS(633), - [anon_sym_GT] = ACTIONS(633), - [anon_sym_GT_GT] = ACTIONS(633), - [anon_sym_AMP_GT] = ACTIONS(633), - [anon_sym_AMP_GT_GT] = ACTIONS(633), - [anon_sym_LT_AMP] = ACTIONS(633), - [anon_sym_GT_AMP] = ACTIONS(633), - [anon_sym_LT_LT] = ACTIONS(633), - [anon_sym_LT_LT_DASH] = ACTIONS(633), - [anon_sym_BQUOTE] = ACTIONS(633), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(633), - [anon_sym_LF] = ACTIONS(633), - [anon_sym_AMP] = ACTIONS(633), + [898] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2666), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), }, - [733] = { - [sym_file_descriptor] = ACTIONS(1149), - [anon_sym_RPAREN] = ACTIONS(1151), - [anon_sym_SEMI_SEMI] = ACTIONS(1151), - [anon_sym_PIPE] = ACTIONS(1151), - [anon_sym_PIPE_AMP] = ACTIONS(1151), - [anon_sym_AMP_AMP] = ACTIONS(1151), - [anon_sym_PIPE_PIPE] = ACTIONS(1151), - [anon_sym_LT] = ACTIONS(1151), - [anon_sym_GT] = ACTIONS(1151), - [anon_sym_GT_GT] = ACTIONS(1151), - [anon_sym_AMP_GT] = ACTIONS(1151), - [anon_sym_AMP_GT_GT] = ACTIONS(1151), - [anon_sym_LT_AMP] = ACTIONS(1151), - [anon_sym_GT_AMP] = ACTIONS(1151), - [anon_sym_LT_LT] = ACTIONS(1151), - [anon_sym_LT_LT_DASH] = ACTIONS(1151), - [anon_sym_BQUOTE] = ACTIONS(1151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1151), - [anon_sym_LF] = ACTIONS(1151), - [anon_sym_AMP] = ACTIONS(1151), + [899] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2666), + [sym_comment] = ACTIONS(115), }, - [734] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_in] = ACTIONS(667), + [900] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2668), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [901] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(1021), + [aux_sym_command_repeat2] = STATE(1022), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(663), + [anon_sym_PIPE_AMP] = ACTIONS(663), + [anon_sym_AMP_AMP] = ACTIONS(663), + [anon_sym_PIPE_PIPE] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2671), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [902] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), [anon_sym_RPAREN] = ACTIONS(667), [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_RBRACE] = ACTIONS(667), [anon_sym_PIPE] = ACTIONS(667), [anon_sym_PIPE_AMP] = ACTIONS(667), [anon_sym_AMP_AMP] = ACTIONS(667), [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_RBRACK] = ACTIONS(667), - [anon_sym_RBRACK_RBRACK] = ACTIONS(667), - [anon_sym_COLON] = ACTIONS(667), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(667), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), [anon_sym_BQUOTE] = ACTIONS(667), - [sym_leading_word] = ACTIONS(667), - [sym_word] = ACTIONS(667), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(667), [anon_sym_LF] = ACTIONS(667), [anon_sym_AMP] = ACTIONS(667), }, - [735] = { - [sym__terminated_statement] = STATE(639), + [903] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(1023), + [aux_sym_command_repeat2] = STATE(1024), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(885), + [anon_sym_SEMI_SEMI] = ACTIONS(885), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(885), + [anon_sym_PIPE_AMP] = ACTIONS(885), + [anon_sym_AMP_AMP] = ACTIONS(885), + [anon_sym_PIPE_PIPE] = ACTIONS(885), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2674), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(885), + [anon_sym_LF] = ACTIONS(885), + [anon_sym_AMP] = ACTIONS(885), + }, + [904] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(887), + [anon_sym_SEMI_SEMI] = ACTIONS(887), + [anon_sym_PIPE] = ACTIONS(887), + [anon_sym_PIPE_AMP] = ACTIONS(887), + [anon_sym_AMP_AMP] = ACTIONS(887), + [anon_sym_PIPE_PIPE] = ACTIONS(887), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(887), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(887), + [anon_sym_LF] = ACTIONS(887), + [anon_sym_AMP] = ACTIONS(887), + }, + [905] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(762), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(763), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2677), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [906] = { + [sym_compound_statement] = STATE(1025), + [anon_sym_LBRACE] = ACTIONS(2679), + [sym_comment] = ACTIONS(115), + }, + [907] = { + [sym__terminated_statement] = STATE(1026), [sym_for_statement] = STATE(27), [sym_while_statement] = STATE(27), [sym_if_statement] = STATE(27), @@ -24778,37 +29710,11 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [736] = { - [anon_sym_RPAREN] = ACTIONS(1013), - [anon_sym_SEMI_SEMI] = ACTIONS(1013), - [anon_sym_PIPE] = ACTIONS(1013), - [anon_sym_PIPE_AMP] = ACTIONS(1013), - [anon_sym_AMP_AMP] = ACTIONS(1013), - [anon_sym_PIPE_PIPE] = ACTIONS(1013), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1013), - [anon_sym_LF] = ACTIONS(1013), - [anon_sym_AMP] = ACTIONS(1013), - }, - [737] = { - [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), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(483), - [anon_sym_LF] = ACTIONS(483), - [anon_sym_AMP] = ACTIONS(483), - }, - [738] = { + [908] = { [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(645), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -24820,16 +29726,13 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_program_repeat1] = STATE(822), - [aux_sym_if_statement_repeat1] = STATE(647), + [aux_sym_program_repeat1] = STATE(1028), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(2681), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2283), - [anon_sym_elif] = ACTIONS(487), - [anon_sym_else] = ACTIONS(489), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -24850,1543 +29753,25 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [739] = { - [anon_sym_RPAREN] = ACTIONS(2285), - [sym_comment] = ACTIONS(115), - }, - [740] = { - [anon_sym_RPAREN] = ACTIONS(283), - [anon_sym_SEMI_SEMI] = ACTIONS(283), - [anon_sym_PIPE] = ACTIONS(283), - [anon_sym_PIPE_AMP] = ACTIONS(283), - [anon_sym_AMP_AMP] = ACTIONS(283), - [anon_sym_PIPE_PIPE] = ACTIONS(283), + [909] = { + [anon_sym_RPAREN] = ACTIONS(553), + [anon_sym_SEMI_SEMI] = ACTIONS(553), + [anon_sym_PIPE] = ACTIONS(553), + [anon_sym_PIPE_AMP] = ACTIONS(553), + [anon_sym_AMP_AMP] = ACTIONS(553), + [anon_sym_PIPE_PIPE] = ACTIONS(553), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(283), - [anon_sym_LF] = ACTIONS(283), - [anon_sym_AMP] = ACTIONS(283), + [anon_sym_SEMI] = ACTIONS(553), + [anon_sym_LF] = ACTIONS(553), + [anon_sym_AMP] = ACTIONS(553), }, - [741] = { - [sym_string] = STATE(123), - [sym_simple_expansion] = STATE(123), - [sym_expansion] = STATE(123), - [sym_command_substitution] = STATE(123), - [sym_process_substitution] = STATE(123), - [anon_sym_RBRACK_RBRACK] = ACTIONS(2138), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(307), - [anon_sym_DOLLAR] = ACTIONS(149), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(309), - [sym_comment] = ACTIONS(115), - }, - [742] = { - [anon_sym_LT] = ACTIONS(2287), - [anon_sym_GT] = ACTIONS(2287), - [anon_sym_GT_GT] = ACTIONS(2289), - [anon_sym_AMP_GT] = ACTIONS(2287), - [anon_sym_AMP_GT_GT] = ACTIONS(2289), - [anon_sym_LT_AMP] = ACTIONS(2289), - [anon_sym_GT_AMP] = ACTIONS(2289), - [sym_comment] = ACTIONS(115), - }, - [743] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(826), - [aux_sym_command_repeat2] = STATE(827), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(315), - [anon_sym_SEMI_SEMI] = ACTIONS(315), - [anon_sym_PIPE] = ACTIONS(315), - [anon_sym_PIPE_AMP] = ACTIONS(315), - [anon_sym_AMP_AMP] = ACTIONS(315), - [anon_sym_PIPE_PIPE] = ACTIONS(315), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(315), - [anon_sym_LF] = ACTIONS(315), - [anon_sym_AMP] = ACTIONS(315), - }, - [744] = { - [sym_string] = STATE(830), - [sym_simple_expansion] = STATE(830), - [sym_expansion] = STATE(830), - [sym_command_substitution] = STATE(830), - [sym_process_substitution] = STATE(830), - [anon_sym_LT] = ACTIONS(2295), - [anon_sym_GT] = ACTIONS(2295), - [anon_sym_DQUOTE] = ACTIONS(2297), - [sym_raw_string] = ACTIONS(2299), - [anon_sym_DOLLAR] = ACTIONS(2301), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2303), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2305), - [anon_sym_BQUOTE] = ACTIONS(2307), - [sym_word] = ACTIONS(2309), - [sym_comment] = ACTIONS(115), - }, - [745] = { - [sym_heredoc] = STATE(837), - [sym__simple_heredoc] = ACTIONS(2311), - [sym__heredoc_beginning] = ACTIONS(2313), - [sym_comment] = ACTIONS(115), - }, - [746] = { - [sym_file_descriptor] = ACTIONS(351), - [anon_sym_RPAREN] = ACTIONS(353), - [anon_sym_SEMI_SEMI] = ACTIONS(353), - [anon_sym_PIPE] = ACTIONS(353), - [anon_sym_PIPE_AMP] = ACTIONS(353), - [anon_sym_AMP_AMP] = ACTIONS(353), - [anon_sym_PIPE_PIPE] = ACTIONS(353), - [anon_sym_LT] = ACTIONS(353), - [anon_sym_GT] = ACTIONS(353), - [anon_sym_GT_GT] = ACTIONS(353), - [anon_sym_AMP_GT] = ACTIONS(353), - [anon_sym_AMP_GT_GT] = ACTIONS(353), - [anon_sym_LT_AMP] = ACTIONS(353), - [anon_sym_GT_AMP] = ACTIONS(353), - [anon_sym_LT_LT] = ACTIONS(353), - [anon_sym_LT_LT_DASH] = ACTIONS(353), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(353), - [anon_sym_LF] = ACTIONS(353), - [anon_sym_AMP] = ACTIONS(353), - }, - [747] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(355), - [anon_sym_SEMI_SEMI] = ACTIONS(355), - [anon_sym_PIPE] = ACTIONS(355), - [anon_sym_PIPE_AMP] = ACTIONS(355), - [anon_sym_AMP_AMP] = ACTIONS(355), - [anon_sym_PIPE_PIPE] = ACTIONS(355), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(355), - [anon_sym_LF] = ACTIONS(355), - [anon_sym_AMP] = ACTIONS(355), - }, - [748] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [anon_sym_PIPE] = ACTIONS(377), - [anon_sym_PIPE_AMP] = ACTIONS(377), - [anon_sym_AMP_AMP] = ACTIONS(377), - [anon_sym_PIPE_PIPE] = ACTIONS(377), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [749] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2315), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [750] = { - [anon_sym_RPAREN] = ACTIONS(2317), - [sym_comment] = ACTIONS(115), - }, - [751] = { - [anon_sym_BQUOTE] = ACTIONS(2317), - [sym_comment] = ACTIONS(115), - }, - [752] = { - [anon_sym_RPAREN] = ACTIONS(2319), - [sym_comment] = ACTIONS(115), - }, - [753] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(842), - [aux_sym_command_repeat2] = STATE(843), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(429), - [anon_sym_SEMI_SEMI] = ACTIONS(429), - [anon_sym_PIPE] = ACTIONS(429), - [anon_sym_PIPE_AMP] = ACTIONS(429), - [anon_sym_AMP_AMP] = ACTIONS(429), - [anon_sym_PIPE_PIPE] = ACTIONS(429), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(429), - [anon_sym_LF] = ACTIONS(429), - [anon_sym_AMP] = ACTIONS(429), - }, - [754] = { - [sym_string] = STATE(611), - [sym_simple_expansion] = STATE(611), - [sym_expansion] = STATE(611), - [sym_command_substitution] = STATE(611), - [sym_process_substitution] = STATE(611), - [sym__empty_value] = ACTIONS(1662), - [anon_sym_LT] = ACTIONS(2321), - [anon_sym_GT] = ACTIONS(2321), - [anon_sym_DQUOTE] = ACTIONS(2323), - [sym_raw_string] = ACTIONS(2325), - [anon_sym_DOLLAR] = ACTIONS(2327), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2329), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2331), - [anon_sym_BQUOTE] = ACTIONS(2333), - [sym_word] = ACTIONS(2335), - [sym_comment] = ACTIONS(115), - }, - [755] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(449), - [anon_sym_SEMI_SEMI] = ACTIONS(449), - [anon_sym_PIPE] = ACTIONS(449), - [anon_sym_PIPE_AMP] = ACTIONS(449), - [anon_sym_AMP_AMP] = ACTIONS(449), - [anon_sym_PIPE_PIPE] = ACTIONS(449), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(449), - [anon_sym_LF] = ACTIONS(449), - [anon_sym_AMP] = ACTIONS(449), - }, - [756] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [aux_sym_command_repeat2] = STATE(827), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(355), - [anon_sym_SEMI_SEMI] = ACTIONS(355), - [anon_sym_PIPE] = ACTIONS(355), - [anon_sym_PIPE_AMP] = ACTIONS(355), - [anon_sym_AMP_AMP] = ACTIONS(355), - [anon_sym_PIPE_PIPE] = ACTIONS(355), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2337), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(355), - [anon_sym_LF] = ACTIONS(355), - [anon_sym_AMP] = ACTIONS(355), - }, - [757] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [aux_sym_command_repeat2] = STATE(852), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(465), - [anon_sym_SEMI_SEMI] = ACTIONS(465), - [anon_sym_PIPE] = ACTIONS(465), - [anon_sym_PIPE_AMP] = ACTIONS(465), - [anon_sym_AMP_AMP] = ACTIONS(465), - [anon_sym_PIPE_PIPE] = ACTIONS(465), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(2339), - [anon_sym_EQ] = ACTIONS(407), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(465), - [anon_sym_LF] = ACTIONS(465), - [anon_sym_AMP] = ACTIONS(465), - }, - [758] = { - [sym_string] = STATE(853), - [sym_simple_expansion] = STATE(853), - [sym_expansion] = STATE(853), - [sym_command_substitution] = STATE(853), - [sym_process_substitution] = STATE(853), - [anon_sym_LT] = ACTIONS(2163), - [anon_sym_GT] = ACTIONS(2163), - [anon_sym_DQUOTE] = ACTIONS(2165), - [sym_raw_string] = ACTIONS(2341), - [anon_sym_DOLLAR] = ACTIONS(2169), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2171), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2173), - [anon_sym_BQUOTE] = ACTIONS(2175), - [sym_word] = ACTIONS(2343), - [sym_comment] = ACTIONS(115), - }, - [759] = { - [sym_string] = STATE(770), - [sym_simple_expansion] = STATE(770), - [sym_expansion] = STATE(770), - [sym_command_substitution] = STATE(770), - [sym_process_substitution] = STATE(770), - [anon_sym_LPAREN] = ACTIONS(2345), - [anon_sym_LT] = ACTIONS(2163), - [anon_sym_GT] = ACTIONS(2163), - [anon_sym_DQUOTE] = ACTIONS(2165), - [sym_raw_string] = ACTIONS(2167), - [anon_sym_DOLLAR] = ACTIONS(2169), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2171), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2173), - [anon_sym_BQUOTE] = ACTIONS(2175), - [sym_word] = ACTIONS(2177), - [sym_comment] = ACTIONS(115), - }, - [760] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(856), - [anon_sym_DQUOTE] = ACTIONS(2347), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [761] = { - [sym_file_descriptor] = ACTIONS(293), - [anon_sym_RPAREN] = ACTIONS(295), - [anon_sym_SEMI_SEMI] = ACTIONS(295), - [anon_sym_PIPE] = ACTIONS(295), - [anon_sym_PIPE_AMP] = ACTIONS(295), - [anon_sym_AMP_AMP] = ACTIONS(295), - [anon_sym_PIPE_PIPE] = ACTIONS(295), - [anon_sym_LT] = ACTIONS(295), - [anon_sym_GT] = ACTIONS(295), - [anon_sym_GT_GT] = ACTIONS(295), - [anon_sym_AMP_GT] = ACTIONS(295), - [anon_sym_AMP_GT_GT] = ACTIONS(295), - [anon_sym_LT_AMP] = ACTIONS(295), - [anon_sym_GT_AMP] = ACTIONS(295), - [anon_sym_LT_LT] = ACTIONS(295), - [anon_sym_LT_LT_DASH] = ACTIONS(295), - [anon_sym_DQUOTE] = ACTIONS(295), - [sym_raw_string] = ACTIONS(295), - [anon_sym_DOLLAR] = ACTIONS(295), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(295), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(295), - [anon_sym_BQUOTE] = ACTIONS(295), - [sym_word] = ACTIONS(295), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(295), - [anon_sym_LF] = ACTIONS(295), - [anon_sym_AMP] = ACTIONS(295), - }, - [762] = { - [sym_special_variable_name] = STATE(859), - [anon_sym_DOLLAR] = ACTIONS(2349), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2351), - [anon_sym_STAR] = ACTIONS(2349), - [anon_sym_AT] = ACTIONS(2349), - [anon_sym_POUND] = ACTIONS(2353), - [anon_sym_QMARK] = ACTIONS(2349), - [anon_sym_DASH] = ACTIONS(2349), - [anon_sym_BANG] = ACTIONS(2349), - [anon_sym_0] = ACTIONS(2353), - [anon_sym__] = ACTIONS(2353), - }, - [763] = { - [sym_special_variable_name] = STATE(861), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2355), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [764] = { - [sym_command] = STATE(862), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [765] = { - [sym_command] = STATE(863), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [766] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(865), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2357), - [anon_sym_SEMI_SEMI] = ACTIONS(2357), - [anon_sym_PIPE] = ACTIONS(2357), - [anon_sym_PIPE_AMP] = ACTIONS(2357), - [anon_sym_AMP_AMP] = ACTIONS(2357), - [anon_sym_PIPE_PIPE] = ACTIONS(2357), - [anon_sym_LT] = ACTIONS(2147), - [anon_sym_GT] = ACTIONS(2147), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2362), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2357), - [anon_sym_LF] = ACTIONS(2357), - [anon_sym_AMP] = ACTIONS(2357), - }, - [767] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2366), - [anon_sym_SEMI_SEMI] = ACTIONS(2366), - [anon_sym_PIPE] = ACTIONS(2366), - [anon_sym_PIPE_AMP] = ACTIONS(2366), - [anon_sym_AMP_AMP] = ACTIONS(2366), - [anon_sym_PIPE_PIPE] = ACTIONS(2366), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(2366), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2366), - [anon_sym_LF] = ACTIONS(2366), - [anon_sym_AMP] = ACTIONS(2366), - }, - [768] = { - [anon_sym_LPAREN] = ACTIONS(2369), - [sym_comment] = ACTIONS(115), - }, - [769] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(868), - [anon_sym_DQUOTE] = ACTIONS(2371), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [770] = { - [sym_file_descriptor] = ACTIONS(361), - [anon_sym_RPAREN] = ACTIONS(365), - [anon_sym_SEMI_SEMI] = ACTIONS(365), - [anon_sym_PIPE] = ACTIONS(365), - [anon_sym_PIPE_AMP] = ACTIONS(365), - [anon_sym_AMP_AMP] = ACTIONS(365), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(365), - [anon_sym_LT_LT_DASH] = ACTIONS(365), - [anon_sym_BQUOTE] = ACTIONS(365), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(365), - [anon_sym_LF] = ACTIONS(365), - [anon_sym_AMP] = ACTIONS(365), - }, - [771] = { - [sym_special_variable_name] = STATE(871), - [anon_sym_DOLLAR] = ACTIONS(2373), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2375), - [anon_sym_STAR] = ACTIONS(2373), - [anon_sym_AT] = ACTIONS(2373), - [anon_sym_POUND] = ACTIONS(2377), - [anon_sym_QMARK] = ACTIONS(2373), - [anon_sym_DASH] = ACTIONS(2373), - [anon_sym_BANG] = ACTIONS(2373), - [anon_sym_0] = ACTIONS(2377), - [anon_sym__] = ACTIONS(2377), - }, - [772] = { - [sym_special_variable_name] = STATE(873), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2379), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [773] = { - [sym_command] = STATE(874), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [774] = { - [sym_command] = STATE(875), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [775] = { - [sym_for_statement] = STATE(876), - [sym_while_statement] = STATE(876), - [sym_if_statement] = STATE(876), - [sym_case_statement] = STATE(876), - [sym_function_definition] = STATE(876), - [sym_subshell] = STATE(876), - [sym_pipeline] = STATE(876), - [sym_list] = STATE(876), - [sym_bracket_command] = STATE(876), - [sym_command] = STATE(876), - [sym_environment_variable_assignment] = STATE(877), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [776] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [anon_sym_RBRACE] = ACTIONS(377), - [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_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_leading_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [777] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2381), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [778] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_RBRACE] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [779] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_RBRACE] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_COLON] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_leading_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [780] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_RBRACE] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_leading_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [781] = { - [anon_sym_RBRACE] = ACTIONS(2383), - [anon_sym_COLON] = ACTIONS(2385), - [anon_sym_EQ] = ACTIONS(2387), - [anon_sym_COLON_QMARK] = ACTIONS(2387), - [anon_sym_COLON_DASH] = ACTIONS(2387), - [sym_comment] = ACTIONS(115), - }, - [782] = { - [anon_sym_RBRACE] = ACTIONS(2389), - [anon_sym_COLON] = ACTIONS(2391), - [anon_sym_EQ] = ACTIONS(2393), - [anon_sym_COLON_QMARK] = ACTIONS(2393), - [anon_sym_COLON_DASH] = ACTIONS(2393), - [sym_comment] = ACTIONS(115), - }, - [783] = { - [anon_sym_RPAREN] = ACTIONS(2395), - [sym_comment] = ACTIONS(115), - }, - [784] = { - [anon_sym_BQUOTE] = ACTIONS(2395), - [sym_comment] = ACTIONS(115), - }, - [785] = { - [anon_sym_RPAREN] = ACTIONS(2397), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [786] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2397), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [787] = { - [sym_for_statement] = STATE(884), - [sym_while_statement] = STATE(884), - [sym_if_statement] = STATE(884), - [sym_case_statement] = STATE(884), - [sym_function_definition] = STATE(884), - [sym_subshell] = STATE(884), - [sym_pipeline] = STATE(884), - [sym_list] = STATE(884), - [sym_bracket_command] = STATE(884), - [sym_command] = STATE(884), - [sym_environment_variable_assignment] = STATE(885), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [788] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_COLON] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_leading_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [789] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2399), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [790] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [791] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_COLON] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_leading_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [792] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_leading_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [793] = { - [anon_sym_RBRACE] = ACTIONS(2401), - [anon_sym_COLON] = ACTIONS(2403), - [anon_sym_EQ] = ACTIONS(2405), - [anon_sym_COLON_QMARK] = ACTIONS(2405), - [anon_sym_COLON_DASH] = ACTIONS(2405), - [sym_comment] = ACTIONS(115), - }, - [794] = { - [anon_sym_RBRACE] = ACTIONS(2407), - [anon_sym_COLON] = ACTIONS(2409), - [anon_sym_EQ] = ACTIONS(2411), - [anon_sym_COLON_QMARK] = ACTIONS(2411), - [anon_sym_COLON_DASH] = ACTIONS(2411), - [sym_comment] = ACTIONS(115), - }, - [795] = { - [anon_sym_RPAREN] = ACTIONS(2413), - [sym_comment] = ACTIONS(115), - }, - [796] = { - [anon_sym_BQUOTE] = ACTIONS(2413), - [sym_comment] = ACTIONS(115), - }, - [797] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(893), - [anon_sym_esac] = ACTIONS(2415), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [798] = { - [sym_file_descriptor] = ACTIONS(475), - [anon_sym_RPAREN] = ACTIONS(479), - [anon_sym_SEMI_SEMI] = ACTIONS(479), - [anon_sym_PIPE] = ACTIONS(479), - [anon_sym_PIPE_AMP] = ACTIONS(479), - [anon_sym_AMP_AMP] = ACTIONS(479), - [anon_sym_PIPE_PIPE] = ACTIONS(479), - [anon_sym_COLON] = ACTIONS(479), - [anon_sym_LT] = ACTIONS(479), - [anon_sym_GT] = ACTIONS(479), - [anon_sym_GT_GT] = ACTIONS(479), - [anon_sym_AMP_GT] = ACTIONS(479), - [anon_sym_AMP_GT_GT] = ACTIONS(479), - [anon_sym_LT_AMP] = ACTIONS(479), - [anon_sym_GT_AMP] = ACTIONS(479), - [anon_sym_LT_LT] = ACTIONS(479), - [anon_sym_LT_LT_DASH] = ACTIONS(479), - [anon_sym_DQUOTE] = ACTIONS(479), - [sym_raw_string] = ACTIONS(479), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(479), - [anon_sym_BQUOTE] = ACTIONS(479), - [sym_leading_word] = ACTIONS(479), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(479), - [anon_sym_LF] = ACTIONS(479), - [anon_sym_AMP] = ACTIONS(479), - }, - [799] = { - [sym_case_item] = STATE(358), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [aux_sym_case_statement_repeat1] = STATE(895), - [anon_sym_esac] = ACTIONS(2417), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [800] = { - [anon_sym_RBRACE] = ACTIONS(2419), - [sym_comment] = ACTIONS(115), - }, - [801] = { - [anon_sym_RPAREN] = ACTIONS(1211), - [anon_sym_SEMI_SEMI] = ACTIONS(1211), - [anon_sym_PIPE] = ACTIONS(1211), - [anon_sym_PIPE_AMP] = ACTIONS(1211), - [anon_sym_AMP_AMP] = ACTIONS(1211), - [anon_sym_PIPE_PIPE] = ACTIONS(1211), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1211), - [anon_sym_LF] = ACTIONS(1211), - [anon_sym_AMP] = ACTIONS(1211), - }, - [802] = { - [anon_sym_fi] = ACTIONS(2421), - [sym_comment] = ACTIONS(115), - }, - [803] = { - [anon_sym_RPAREN] = ACTIONS(2423), - [anon_sym_SEMI_SEMI] = ACTIONS(2423), - [anon_sym_PIPE] = ACTIONS(2423), - [anon_sym_PIPE_AMP] = ACTIONS(2423), - [anon_sym_AMP_AMP] = ACTIONS(2423), - [anon_sym_PIPE_PIPE] = ACTIONS(2423), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2423), - [anon_sym_LF] = ACTIONS(2423), - [anon_sym_AMP] = ACTIONS(2423), - }, - [804] = { - [sym_for_statement] = STATE(898), - [sym_while_statement] = STATE(898), - [sym_if_statement] = STATE(898), - [sym_case_statement] = STATE(898), - [sym_function_definition] = STATE(898), - [sym_subshell] = STATE(898), - [sym_pipeline] = STATE(898), - [sym_list] = STATE(898), - [sym_bracket_command] = STATE(898), - [sym_command] = STATE(898), - [sym_environment_variable_assignment] = STATE(899), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [805] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_RBRACK] = ACTIONS(377), - [anon_sym_RBRACK_RBRACK] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR] = ACTIONS(377), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [806] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2426), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [807] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_RBRACK] = ACTIONS(519), - [anon_sym_RBRACK_RBRACK] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(519), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [808] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_RBRACK] = ACTIONS(521), - [anon_sym_RBRACK_RBRACK] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR] = ACTIONS(521), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [809] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_RBRACK] = ACTIONS(523), - [anon_sym_RBRACK_RBRACK] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR] = ACTIONS(523), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [810] = { - [anon_sym_RBRACE] = ACTIONS(2428), - [anon_sym_COLON] = ACTIONS(2430), - [anon_sym_EQ] = ACTIONS(2432), - [anon_sym_COLON_QMARK] = ACTIONS(2432), - [anon_sym_COLON_DASH] = ACTIONS(2432), - [sym_comment] = ACTIONS(115), - }, - [811] = { - [anon_sym_RBRACE] = ACTIONS(2434), - [anon_sym_COLON] = ACTIONS(2436), - [anon_sym_EQ] = ACTIONS(2438), - [anon_sym_COLON_QMARK] = ACTIONS(2438), - [anon_sym_COLON_DASH] = ACTIONS(2438), - [sym_comment] = ACTIONS(115), - }, - [812] = { - [anon_sym_RPAREN] = ACTIONS(2440), - [sym_comment] = ACTIONS(115), - }, - [813] = { - [anon_sym_BQUOTE] = ACTIONS(2440), - [sym_comment] = ACTIONS(115), - }, - [814] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(906), - [aux_sym_command_repeat2] = STATE(907), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(597), - [anon_sym_SEMI_SEMI] = ACTIONS(597), - [anon_sym_PIPE] = ACTIONS(597), - [anon_sym_PIPE_AMP] = ACTIONS(597), - [anon_sym_AMP_AMP] = ACTIONS(597), - [anon_sym_PIPE_PIPE] = ACTIONS(597), - [anon_sym_LT] = ACTIONS(2147), - [anon_sym_GT] = ACTIONS(2147), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2442), - [sym_word] = ACTIONS(2151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(597), - [anon_sym_LF] = ACTIONS(597), - [anon_sym_AMP] = ACTIONS(597), - }, - [815] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(601), - [anon_sym_SEMI_SEMI] = ACTIONS(601), - [anon_sym_PIPE] = ACTIONS(601), - [anon_sym_PIPE_AMP] = ACTIONS(601), - [anon_sym_AMP_AMP] = ACTIONS(601), - [anon_sym_PIPE_PIPE] = ACTIONS(601), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(601), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(601), - [anon_sym_LF] = ACTIONS(601), - [anon_sym_AMP] = ACTIONS(601), - }, - [816] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [anon_sym_PIPE] = ACTIONS(377), - [anon_sym_PIPE_AMP] = ACTIONS(377), - [anon_sym_AMP_AMP] = ACTIONS(377), - [anon_sym_PIPE_PIPE] = ACTIONS(377), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [817] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2445), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [818] = { - [anon_sym_RPAREN] = ACTIONS(2447), - [sym_comment] = ACTIONS(115), - }, - [819] = { - [anon_sym_BQUOTE] = ACTIONS(2447), - [sym_comment] = ACTIONS(115), - }, - [820] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(910), - [aux_sym_command_repeat2] = STATE(911), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(769), - [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), - [anon_sym_LT] = ACTIONS(2147), - [anon_sym_GT] = ACTIONS(2147), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2449), - [sym_word] = ACTIONS(2151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(769), - [anon_sym_LF] = ACTIONS(769), - [anon_sym_AMP] = ACTIONS(769), - }, - [821] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(771), - [anon_sym_SEMI_SEMI] = ACTIONS(771), - [anon_sym_PIPE] = ACTIONS(771), - [anon_sym_PIPE_AMP] = ACTIONS(771), - [anon_sym_AMP_AMP] = ACTIONS(771), - [anon_sym_PIPE_PIPE] = ACTIONS(771), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(771), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(771), - [anon_sym_LF] = ACTIONS(771), - [anon_sym_AMP] = ACTIONS(771), - }, - [822] = { - [sym__terminated_statement] = STATE(87), + [910] = { + [sym__terminated_statement] = STATE(18), [sym_for_statement] = STATE(19), [sym_while_statement] = STATE(19), [sym_if_statement] = STATE(19), - [sym_elif_clause] = STATE(207), - [sym_else_clause] = STATE(714), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(1030), [sym_case_statement] = STATE(19), [sym_function_definition] = STATE(19), [sym_subshell] = STATE(19), @@ -26398,15 +29783,16 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_file_redirect] = STATE(21), [sym_string] = STATE(11), [sym_command_substitution] = STATE(11), - [aux_sym_if_statement_repeat1] = STATE(715), + [aux_sym_program_repeat1] = STATE(1031), + [aux_sym_if_statement_repeat1] = STATE(1032), [aux_sym_command_repeat1] = STATE(23), [sym_file_descriptor] = ACTIONS(81), [anon_sym_for] = ACTIONS(85), [anon_sym_while] = ACTIONS(87), [anon_sym_if] = ACTIONS(89), - [anon_sym_fi] = ACTIONS(2452), - [anon_sym_elif] = ACTIONS(487), - [anon_sym_else] = ACTIONS(489), + [anon_sym_fi] = ACTIONS(2683), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), [anon_sym_case] = ACTIONS(91), [anon_sym_function] = ACTIONS(93), [anon_sym_LPAREN] = ACTIONS(95), @@ -26427,462 +29813,245 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [823] = { - [sym_compound_statement] = STATE(912), - [anon_sym_LBRACE] = ACTIONS(2454), + [911] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2685), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2685), + [anon_sym_LF] = ACTIONS(2685), + [anon_sym_AMP] = ACTIONS(2685), + }, + [912] = { + [anon_sym_in] = ACTIONS(2687), [sym_comment] = ACTIONS(115), }, - [824] = { - [sym_string] = STATE(913), - [sym_simple_expansion] = STATE(913), - [sym_expansion] = STATE(913), - [sym_command_substitution] = STATE(913), - [sym_process_substitution] = STATE(913), - [anon_sym_LT] = ACTIONS(2295), - [anon_sym_GT] = ACTIONS(2295), - [anon_sym_DQUOTE] = ACTIONS(2297), - [sym_raw_string] = ACTIONS(2456), - [anon_sym_DOLLAR] = ACTIONS(2301), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2303), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2305), - [anon_sym_BQUOTE] = ACTIONS(2307), - [sym_word] = ACTIONS(2458), + [913] = { + [anon_sym_RPAREN] = ACTIONS(2689), [sym_comment] = ACTIONS(115), }, - [825] = { - [sym_string] = STATE(830), - [sym_simple_expansion] = STATE(830), - [sym_expansion] = STATE(830), - [sym_command_substitution] = STATE(830), - [sym_process_substitution] = STATE(830), - [anon_sym_LPAREN] = ACTIONS(2345), - [anon_sym_LT] = ACTIONS(2295), - [anon_sym_GT] = ACTIONS(2295), - [anon_sym_DQUOTE] = ACTIONS(2297), - [sym_raw_string] = ACTIONS(2299), - [anon_sym_DOLLAR] = ACTIONS(2301), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2303), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2305), - [anon_sym_BQUOTE] = ACTIONS(2307), - [sym_word] = ACTIONS(2309), + [914] = { + [anon_sym_RPAREN] = ACTIONS(603), + [anon_sym_SEMI_SEMI] = ACTIONS(603), + [anon_sym_PIPE] = ACTIONS(603), + [anon_sym_PIPE_AMP] = ACTIONS(603), + [anon_sym_AMP_AMP] = ACTIONS(603), + [anon_sym_PIPE_PIPE] = ACTIONS(603), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(603), + [anon_sym_LF] = ACTIONS(603), + [anon_sym_AMP] = ACTIONS(603), + }, + [915] = { + [anon_sym_RPAREN] = ACTIONS(637), + [anon_sym_SEMI_SEMI] = ACTIONS(637), + [anon_sym_PIPE] = ACTIONS(637), + [anon_sym_PIPE_AMP] = ACTIONS(637), + [anon_sym_AMP_AMP] = ACTIONS(637), + [anon_sym_PIPE_PIPE] = ACTIONS(637), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(637), + [anon_sym_LF] = ACTIONS(637), + [anon_sym_AMP] = ACTIONS(637), + }, + [916] = { + [sym_string] = STATE(1036), + [sym_array] = STATE(1036), + [sym_simple_expansion] = STATE(1036), + [sym_expansion] = STATE(1036), + [sym_command_substitution] = STATE(1036), + [sym_process_substitution] = STATE(1036), + [anon_sym_LPAREN] = ACTIONS(2481), + [anon_sym_LT] = ACTIONS(2483), + [anon_sym_GT] = ACTIONS(2483), + [anon_sym_DQUOTE] = ACTIONS(2485), + [sym_raw_string] = ACTIONS(2691), + [anon_sym_DOLLAR] = ACTIONS(2489), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2491), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2493), + [anon_sym_BQUOTE] = ACTIONS(2495), + [sym_word] = ACTIONS(2693), [sym_comment] = ACTIONS(115), }, - [826] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(914), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(597), - [anon_sym_SEMI_SEMI] = ACTIONS(597), - [anon_sym_PIPE] = ACTIONS(597), - [anon_sym_PIPE_AMP] = ACTIONS(597), - [anon_sym_AMP_AMP] = ACTIONS(597), - [anon_sym_PIPE_PIPE] = ACTIONS(597), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(597), - [anon_sym_LF] = ACTIONS(597), - [anon_sym_AMP] = ACTIONS(597), - }, - [827] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(601), - [anon_sym_SEMI_SEMI] = ACTIONS(601), - [anon_sym_PIPE] = ACTIONS(601), - [anon_sym_PIPE_AMP] = ACTIONS(601), - [anon_sym_AMP_AMP] = ACTIONS(601), - [anon_sym_PIPE_PIPE] = ACTIONS(601), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(601), - [anon_sym_LF] = ACTIONS(601), - [anon_sym_AMP] = ACTIONS(601), - }, - [828] = { - [anon_sym_LPAREN] = ACTIONS(2460), + [917] = { + [sym_string] = STATE(923), + [sym_array] = STATE(923), + [sym_simple_expansion] = STATE(923), + [sym_expansion] = STATE(923), + [sym_command_substitution] = STATE(923), + [sym_process_substitution] = STATE(923), + [anon_sym_LPAREN] = ACTIONS(2695), + [anon_sym_LT] = ACTIONS(2483), + [anon_sym_GT] = ACTIONS(2483), + [anon_sym_DQUOTE] = ACTIONS(2485), + [sym_raw_string] = ACTIONS(2487), + [anon_sym_DOLLAR] = ACTIONS(2489), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2491), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2493), + [anon_sym_BQUOTE] = ACTIONS(2495), + [sym_word] = ACTIONS(2497), [sym_comment] = ACTIONS(115), }, - [829] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(917), - [anon_sym_DQUOTE] = ACTIONS(2462), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), + [918] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1038), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(663), + [anon_sym_PIPE_AMP] = ACTIONS(663), + [anon_sym_AMP_AMP] = ACTIONS(663), + [anon_sym_PIPE_PIPE] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2572), [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), }, - [830] = { - [sym_file_descriptor] = ACTIONS(361), - [anon_sym_RPAREN] = ACTIONS(365), - [anon_sym_SEMI_SEMI] = ACTIONS(365), - [anon_sym_PIPE] = ACTIONS(365), - [anon_sym_PIPE_AMP] = ACTIONS(365), - [anon_sym_AMP_AMP] = ACTIONS(365), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(365), - [anon_sym_LT_LT_DASH] = ACTIONS(365), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(365), - [anon_sym_LF] = ACTIONS(365), - [anon_sym_AMP] = ACTIONS(365), - }, - [831] = { - [sym_special_variable_name] = STATE(920), - [anon_sym_DOLLAR] = ACTIONS(2464), - [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2466), - [anon_sym_STAR] = ACTIONS(2464), - [anon_sym_AT] = ACTIONS(2464), - [anon_sym_POUND] = ACTIONS(2468), - [anon_sym_QMARK] = ACTIONS(2464), - [anon_sym_DASH] = ACTIONS(2464), - [anon_sym_BANG] = ACTIONS(2464), - [anon_sym_0] = ACTIONS(2468), - [anon_sym__] = ACTIONS(2468), - }, - [832] = { - [sym_special_variable_name] = STATE(922), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2470), - [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), - }, - [833] = { - [sym_command] = STATE(923), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), - [sym_comment] = ACTIONS(115), - }, - [834] = { - [sym_command] = STATE(924), - [sym_environment_variable_assignment] = STATE(21), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), - [sym_comment] = ACTIONS(115), - }, - [835] = { - [sym_file_descriptor] = ACTIONS(615), - [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(73), - [anon_sym_SEMI] = ACTIONS(617), - [anon_sym_LF] = ACTIONS(617), - [anon_sym_AMP] = ACTIONS(617), - }, - [836] = { - [sym_simple_expansion] = STATE(264), - [sym_expansion] = STATE(264), - [aux_sym_heredoc_repeat1] = STATE(926), - [sym__heredoc_middle] = ACTIONS(619), - [sym__heredoc_end] = ACTIONS(2472), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [837] = { - [sym_file_descriptor] = ACTIONS(627), - [anon_sym_RPAREN] = ACTIONS(629), - [anon_sym_SEMI_SEMI] = ACTIONS(629), - [anon_sym_PIPE] = ACTIONS(629), - [anon_sym_PIPE_AMP] = ACTIONS(629), - [anon_sym_AMP_AMP] = ACTIONS(629), - [anon_sym_PIPE_PIPE] = ACTIONS(629), - [anon_sym_LT] = ACTIONS(629), - [anon_sym_GT] = ACTIONS(629), - [anon_sym_GT_GT] = ACTIONS(629), - [anon_sym_AMP_GT] = ACTIONS(629), - [anon_sym_AMP_GT_GT] = ACTIONS(629), - [anon_sym_LT_AMP] = ACTIONS(629), - [anon_sym_GT_AMP] = ACTIONS(629), - [anon_sym_LT_LT] = ACTIONS(629), - [anon_sym_LT_LT_DASH] = ACTIONS(629), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(629), - [anon_sym_LF] = ACTIONS(629), - [anon_sym_AMP] = ACTIONS(629), - }, - [838] = { - [sym_file_descriptor] = ACTIONS(631), - [anon_sym_RPAREN] = ACTIONS(633), - [anon_sym_SEMI_SEMI] = ACTIONS(633), - [anon_sym_PIPE] = ACTIONS(633), - [anon_sym_PIPE_AMP] = ACTIONS(633), - [anon_sym_AMP_AMP] = ACTIONS(633), - [anon_sym_PIPE_PIPE] = ACTIONS(633), - [anon_sym_LT] = ACTIONS(633), - [anon_sym_GT] = ACTIONS(633), - [anon_sym_GT_GT] = ACTIONS(633), - [anon_sym_AMP_GT] = ACTIONS(633), - [anon_sym_AMP_GT_GT] = ACTIONS(633), - [anon_sym_LT_AMP] = ACTIONS(633), - [anon_sym_GT_AMP] = ACTIONS(633), - [anon_sym_LT_LT] = ACTIONS(633), - [anon_sym_LT_LT_DASH] = ACTIONS(633), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(633), - [anon_sym_LF] = ACTIONS(633), - [anon_sym_AMP] = ACTIONS(633), - }, - [839] = { - [sym_file_descriptor] = ACTIONS(665), + [919] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), [anon_sym_RPAREN] = ACTIONS(667), [anon_sym_SEMI_SEMI] = ACTIONS(667), [anon_sym_PIPE] = ACTIONS(667), [anon_sym_PIPE_AMP] = ACTIONS(667), [anon_sym_AMP_AMP] = ACTIONS(667), [anon_sym_PIPE_PIPE] = ACTIONS(667), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(667), [anon_sym_LF] = ACTIONS(667), [anon_sym_AMP] = ACTIONS(667), }, - [840] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [841] = { - [sym_compound_statement] = STATE(927), - [anon_sym_LBRACE] = ACTIONS(2454), + [920] = { + [aux_sym_array_repeat1] = STATE(1040), + [anon_sym_RPAREN] = ACTIONS(2697), + [sym_word] = ACTIONS(291), [sym_comment] = ACTIONS(115), }, - [842] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(928), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(745), - [anon_sym_SEMI_SEMI] = ACTIONS(745), - [anon_sym_PIPE] = ACTIONS(745), - [anon_sym_PIPE_AMP] = ACTIONS(745), - [anon_sym_AMP_AMP] = ACTIONS(745), - [anon_sym_PIPE_PIPE] = ACTIONS(745), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(745), - [anon_sym_LF] = ACTIONS(745), - [anon_sym_AMP] = ACTIONS(745), - }, - [843] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(747), - [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), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(747), - [anon_sym_LF] = ACTIONS(747), - [anon_sym_AMP] = ACTIONS(747), - }, - [844] = { - [anon_sym_LPAREN] = ACTIONS(2474), + [921] = { + [anon_sym_LPAREN] = ACTIONS(2699), [sym_comment] = ACTIONS(115), }, - [845] = { - [sym_simple_expansion] = STATE(63), - [sym_expansion] = STATE(63), - [sym_command_substitution] = STATE(63), - [aux_sym_string_repeat1] = STATE(931), - [anon_sym_DQUOTE] = ACTIONS(2476), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(187), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), + [922] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(1043), + [anon_sym_DQUOTE] = ACTIONS(2701), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), [sym_comment] = ACTIONS(73), }, - [846] = { - [sym_special_variable_name] = STATE(934), - [anon_sym_DOLLAR] = ACTIONS(2478), + [923] = { + [sym_file_descriptor] = ACTIONS(399), + [anon_sym_RPAREN] = ACTIONS(403), + [anon_sym_SEMI_SEMI] = ACTIONS(403), + [anon_sym_PIPE] = ACTIONS(403), + [anon_sym_PIPE_AMP] = ACTIONS(403), + [anon_sym_AMP_AMP] = ACTIONS(403), + [anon_sym_PIPE_PIPE] = ACTIONS(403), + [anon_sym_LT] = ACTIONS(403), + [anon_sym_GT] = ACTIONS(403), + [anon_sym_GT_GT] = ACTIONS(403), + [anon_sym_AMP_GT] = ACTIONS(403), + [anon_sym_AMP_GT_GT] = ACTIONS(403), + [anon_sym_LT_AMP] = ACTIONS(403), + [anon_sym_GT_AMP] = ACTIONS(403), + [anon_sym_LT_LT] = ACTIONS(403), + [anon_sym_LT_LT_DASH] = ACTIONS(403), [sym_comment] = ACTIONS(73), - [sym_simple_variable_name] = ACTIONS(2480), - [anon_sym_STAR] = ACTIONS(2478), - [anon_sym_AT] = ACTIONS(2478), - [anon_sym_POUND] = ACTIONS(2482), - [anon_sym_QMARK] = ACTIONS(2478), - [anon_sym_DASH] = ACTIONS(2478), - [anon_sym_BANG] = ACTIONS(2478), - [anon_sym_0] = ACTIONS(2482), - [anon_sym__] = ACTIONS(2482), + [anon_sym_SEMI] = ACTIONS(403), + [anon_sym_LF] = ACTIONS(403), + [anon_sym_AMP] = ACTIONS(403), }, - [847] = { - [sym_special_variable_name] = STATE(936), - [anon_sym_DOLLAR] = ACTIONS(277), - [sym_leading_word] = ACTIONS(2484), + [924] = { + [sym_special_variable_name] = STATE(1046), + [anon_sym_DOLLAR] = ACTIONS(2703), [sym_comment] = ACTIONS(73), - [anon_sym_STAR] = ACTIONS(277), - [anon_sym_AT] = ACTIONS(277), - [anon_sym_POUND] = ACTIONS(277), - [anon_sym_QMARK] = ACTIONS(277), - [anon_sym_DASH] = ACTIONS(277), - [anon_sym_BANG] = ACTIONS(277), - [anon_sym_0] = ACTIONS(277), - [anon_sym__] = ACTIONS(277), + [sym_simple_variable_name] = ACTIONS(2705), + [anon_sym_STAR] = ACTIONS(2703), + [anon_sym_AT] = ACTIONS(2703), + [anon_sym_POUND] = ACTIONS(2707), + [anon_sym_QMARK] = ACTIONS(2703), + [anon_sym_DASH] = ACTIONS(2703), + [anon_sym_BANG] = ACTIONS(2703), + [anon_sym_0] = ACTIONS(2707), + [anon_sym__] = ACTIONS(2707), }, - [848] = { - [sym_command] = STATE(937), - [sym_environment_variable_assignment] = STATE(21), + [925] = { + [sym_special_variable_name] = STATE(1048), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2709), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [926] = { + [sym_for_statement] = STATE(1049), + [sym_while_statement] = STATE(1049), + [sym_if_statement] = STATE(1049), + [sym_case_statement] = STATE(1049), + [sym_function_definition] = STATE(1049), + [sym_subshell] = STATE(1049), + [sym_pipeline] = STATE(1049), + [sym_list] = STATE(1049), + [sym_bracket_command] = STATE(1049), + [sym_command] = STATE(1049), + [sym_environment_variable_assignment] = STATE(1050), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(69), - [sym_command_substitution] = STATE(69), - [aux_sym_command_repeat1] = STATE(75), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(197), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -26890,22 +30059,39 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(201), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(207), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [849] = { - [sym_command] = STATE(938), - [sym_environment_variable_assignment] = STATE(21), + [927] = { + [sym_for_statement] = STATE(1051), + [sym_while_statement] = STATE(1051), + [sym_if_statement] = STATE(1051), + [sym_case_statement] = STATE(1051), + [sym_function_definition] = STATE(1051), + [sym_subshell] = STATE(1051), + [sym_pipeline] = STATE(1051), + [sym_list] = STATE(1051), + [sym_bracket_command] = STATE(1051), + [sym_command] = STATE(1051), + [sym_environment_variable_assignment] = STATE(1052), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(76), - [sym_command_substitution] = STATE(76), - [aux_sym_command_repeat1] = STATE(79), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_COLON] = ACTIONS(209), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -26913,162 +30099,280 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(211), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(213), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [850] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(939), - [aux_sym_command_repeat2] = STATE(914), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(597), - [anon_sym_SEMI_SEMI] = ACTIONS(597), - [anon_sym_PIPE] = ACTIONS(597), - [anon_sym_PIPE_AMP] = ACTIONS(597), - [anon_sym_AMP_AMP] = ACTIONS(597), - [anon_sym_PIPE_PIPE] = ACTIONS(597), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2151), + [928] = { + [sym_file_descriptor] = ACTIONS(683), + [anon_sym_RPAREN] = ACTIONS(685), + [anon_sym_SEMI_SEMI] = ACTIONS(685), + [anon_sym_PIPE] = ACTIONS(685), + [anon_sym_PIPE_AMP] = ACTIONS(685), + [anon_sym_AMP_AMP] = ACTIONS(685), + [anon_sym_PIPE_PIPE] = ACTIONS(685), + [anon_sym_LT] = ACTIONS(685), + [anon_sym_GT] = ACTIONS(685), + [anon_sym_GT_GT] = ACTIONS(685), + [anon_sym_AMP_GT] = ACTIONS(685), + [anon_sym_AMP_GT_GT] = ACTIONS(685), + [anon_sym_LT_AMP] = ACTIONS(685), + [anon_sym_GT_AMP] = ACTIONS(685), + [anon_sym_LT_LT] = ACTIONS(685), + [anon_sym_LT_LT_DASH] = ACTIONS(685), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(597), - [anon_sym_LF] = ACTIONS(597), - [anon_sym_AMP] = ACTIONS(597), + [anon_sym_SEMI] = ACTIONS(685), + [anon_sym_LF] = ACTIONS(685), + [anon_sym_AMP] = ACTIONS(685), }, - [851] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(761), - [sym_simple_expansion] = STATE(761), - [sym_expansion] = STATE(761), - [sym_command_substitution] = STATE(761), - [sym_process_substitution] = STATE(761), - [aux_sym_bracket_command_repeat1] = STATE(940), - [aux_sym_command_repeat2] = STATE(941), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(769), - [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), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2151), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2151), + [929] = { + [sym_simple_expansion] = STATE(311), + [sym_expansion] = STATE(311), + [aux_sym_heredoc_repeat1] = STATE(1054), + [sym__heredoc_middle] = ACTIONS(687), + [sym__heredoc_end] = ACTIONS(2711), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [sym_comment] = ACTIONS(115), + }, + [930] = { + [sym_file_descriptor] = ACTIONS(695), + [anon_sym_RPAREN] = ACTIONS(697), + [anon_sym_SEMI_SEMI] = ACTIONS(697), + [anon_sym_PIPE] = ACTIONS(697), + [anon_sym_PIPE_AMP] = ACTIONS(697), + [anon_sym_AMP_AMP] = ACTIONS(697), + [anon_sym_PIPE_PIPE] = ACTIONS(697), + [anon_sym_LT] = ACTIONS(697), + [anon_sym_GT] = ACTIONS(697), + [anon_sym_GT_GT] = ACTIONS(697), + [anon_sym_AMP_GT] = ACTIONS(697), + [anon_sym_AMP_GT_GT] = ACTIONS(697), + [anon_sym_LT_AMP] = ACTIONS(697), + [anon_sym_GT_AMP] = ACTIONS(697), + [anon_sym_LT_LT] = ACTIONS(697), + [anon_sym_LT_LT_DASH] = ACTIONS(697), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(769), - [anon_sym_LF] = ACTIONS(769), - [anon_sym_AMP] = ACTIONS(769), + [anon_sym_SEMI] = ACTIONS(697), + [anon_sym_LF] = ACTIONS(697), + [anon_sym_AMP] = ACTIONS(697), }, - [852] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(771), - [anon_sym_SEMI_SEMI] = ACTIONS(771), - [anon_sym_PIPE] = ACTIONS(771), - [anon_sym_PIPE_AMP] = ACTIONS(771), - [anon_sym_AMP_AMP] = ACTIONS(771), - [anon_sym_PIPE_PIPE] = ACTIONS(771), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), + [931] = { + [sym_file_descriptor] = ACTIONS(699), + [anon_sym_RPAREN] = ACTIONS(701), + [anon_sym_SEMI_SEMI] = ACTIONS(701), + [anon_sym_PIPE] = ACTIONS(701), + [anon_sym_PIPE_AMP] = ACTIONS(701), + [anon_sym_AMP_AMP] = ACTIONS(701), + [anon_sym_PIPE_PIPE] = ACTIONS(701), + [anon_sym_LT] = ACTIONS(701), + [anon_sym_GT] = ACTIONS(701), + [anon_sym_GT_GT] = ACTIONS(701), + [anon_sym_AMP_GT] = ACTIONS(701), + [anon_sym_AMP_GT_GT] = ACTIONS(701), + [anon_sym_LT_AMP] = ACTIONS(701), + [anon_sym_GT_AMP] = ACTIONS(701), + [anon_sym_LT_LT] = ACTIONS(701), + [anon_sym_LT_LT_DASH] = ACTIONS(701), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(771), - [anon_sym_LF] = ACTIONS(771), - [anon_sym_AMP] = ACTIONS(771), + [anon_sym_SEMI] = ACTIONS(701), + [anon_sym_LF] = ACTIONS(701), + [anon_sym_AMP] = ACTIONS(701), }, - [853] = { - [sym_file_descriptor] = ACTIONS(475), - [anon_sym_RPAREN] = ACTIONS(479), - [anon_sym_SEMI_SEMI] = ACTIONS(479), - [anon_sym_PIPE] = ACTIONS(479), - [anon_sym_PIPE_AMP] = ACTIONS(479), - [anon_sym_AMP_AMP] = ACTIONS(479), - [anon_sym_PIPE_PIPE] = ACTIONS(479), - [anon_sym_LT] = ACTIONS(479), - [anon_sym_GT] = ACTIONS(479), - [anon_sym_GT_GT] = ACTIONS(479), - [anon_sym_AMP_GT] = ACTIONS(479), - [anon_sym_AMP_GT_GT] = ACTIONS(479), - [anon_sym_LT_AMP] = ACTIONS(479), - [anon_sym_GT_AMP] = ACTIONS(479), - [anon_sym_LT_LT] = ACTIONS(479), - [anon_sym_LT_LT_DASH] = ACTIONS(479), - [anon_sym_BQUOTE] = ACTIONS(479), + [932] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(479), - [anon_sym_LF] = ACTIONS(479), - [anon_sym_AMP] = ACTIONS(479), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), }, - [854] = { - [sym_for_statement] = STATE(942), - [sym_while_statement] = STATE(942), - [sym_if_statement] = STATE(942), - [sym_case_statement] = STATE(942), - [sym_function_definition] = STATE(942), - [sym_subshell] = STATE(942), - [sym_pipeline] = STATE(942), - [sym_list] = STATE(942), - [sym_bracket_command] = STATE(942), - [sym_command] = STATE(942), - [sym_environment_variable_assignment] = STATE(943), + [933] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [934] = { + [sym_compound_statement] = STATE(1056), + [anon_sym_LBRACE] = ACTIONS(2713), + [sym_comment] = ACTIONS(115), + }, + [935] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1057), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(859), + [anon_sym_SEMI_SEMI] = ACTIONS(859), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(859), + [anon_sym_PIPE_AMP] = ACTIONS(859), + [anon_sym_AMP_AMP] = ACTIONS(859), + [anon_sym_PIPE_PIPE] = ACTIONS(859), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(859), + [anon_sym_LF] = ACTIONS(859), + [anon_sym_AMP] = ACTIONS(859), + }, + [936] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(861), + [anon_sym_SEMI_SEMI] = ACTIONS(861), + [anon_sym_PIPE] = ACTIONS(861), + [anon_sym_PIPE_AMP] = ACTIONS(861), + [anon_sym_AMP_AMP] = ACTIONS(861), + [anon_sym_PIPE_PIPE] = ACTIONS(861), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(861), + [anon_sym_LF] = ACTIONS(861), + [anon_sym_AMP] = ACTIONS(861), + }, + [937] = { + [aux_sym_array_repeat1] = STATE(1059), + [anon_sym_RPAREN] = ACTIONS(2715), + [sym_word] = ACTIONS(291), + [sym_comment] = ACTIONS(115), + }, + [938] = { + [anon_sym_LPAREN] = ACTIONS(2717), + [sym_comment] = ACTIONS(115), + }, + [939] = { + [sym_simple_expansion] = STATE(66), + [sym_expansion] = STATE(66), + [sym_command_substitution] = STATE(66), + [aux_sym_string_repeat1] = STATE(1062), + [anon_sym_DQUOTE] = ACTIONS(2719), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(193), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [940] = { + [sym_special_variable_name] = STATE(1065), + [anon_sym_DOLLAR] = ACTIONS(2721), + [sym_comment] = ACTIONS(73), + [sym_simple_variable_name] = ACTIONS(2723), + [anon_sym_STAR] = ACTIONS(2721), + [anon_sym_AT] = ACTIONS(2721), + [anon_sym_POUND] = ACTIONS(2725), + [anon_sym_QMARK] = ACTIONS(2721), + [anon_sym_DASH] = ACTIONS(2721), + [anon_sym_BANG] = ACTIONS(2721), + [anon_sym_0] = ACTIONS(2725), + [anon_sym__] = ACTIONS(2725), + }, + [941] = { + [sym_special_variable_name] = STATE(1067), + [anon_sym_DOLLAR] = ACTIONS(307), + [sym_leading_word] = ACTIONS(2727), + [sym_comment] = ACTIONS(73), + [anon_sym_STAR] = ACTIONS(307), + [anon_sym_AT] = ACTIONS(307), + [anon_sym_POUND] = ACTIONS(307), + [anon_sym_QMARK] = ACTIONS(307), + [anon_sym_DASH] = ACTIONS(307), + [anon_sym_BANG] = ACTIONS(307), + [anon_sym_0] = ACTIONS(307), + [anon_sym__] = ACTIONS(307), + }, + [942] = { + [sym_for_statement] = STATE(1068), + [sym_while_statement] = STATE(1068), + [sym_if_statement] = STATE(1068), + [sym_case_statement] = STATE(1068), + [sym_function_definition] = STATE(1068), + [sym_subshell] = STATE(1068), + [sym_pipeline] = STATE(1068), + [sym_list] = STATE(1068), + [sym_bracket_command] = STATE(1068), + [sym_command] = STATE(1068), + [sym_environment_variable_assignment] = STATE(1069), [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), [anon_sym_LT] = ACTIONS(103), [anon_sym_GT] = ACTIONS(103), [anon_sym_GT_GT] = ACTIONS(103), @@ -27076,169 +30380,567 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_AMP_GT_GT] = ACTIONS(103), [anon_sym_LT_AMP] = ACTIONS(103), [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), [sym_comment] = ACTIONS(115), }, - [855] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR] = ACTIONS(377), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [856] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2486), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [857] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR] = ACTIONS(519), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [858] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR] = ACTIONS(521), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [859] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR] = ACTIONS(523), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [860] = { - [anon_sym_RBRACE] = ACTIONS(2488), - [anon_sym_COLON] = ACTIONS(2490), - [anon_sym_EQ] = ACTIONS(2492), - [anon_sym_COLON_QMARK] = ACTIONS(2492), - [anon_sym_COLON_DASH] = ACTIONS(2492), + [943] = { + [sym_for_statement] = STATE(1070), + [sym_while_statement] = STATE(1070), + [sym_if_statement] = STATE(1070), + [sym_case_statement] = STATE(1070), + [sym_function_definition] = STATE(1070), + [sym_subshell] = STATE(1070), + [sym_pipeline] = STATE(1070), + [sym_list] = STATE(1070), + [sym_bracket_command] = STATE(1070), + [sym_command] = STATE(1070), + [sym_environment_variable_assignment] = STATE(1071), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(88), + [sym_command_substitution] = STATE(88), + [aux_sym_command_repeat1] = STATE(92), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(231), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(233), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(235), [sym_comment] = ACTIONS(115), }, - [861] = { - [anon_sym_RBRACE] = ACTIONS(2494), - [anon_sym_COLON] = ACTIONS(2496), - [anon_sym_EQ] = ACTIONS(2498), - [anon_sym_COLON_QMARK] = ACTIONS(2498), - [anon_sym_COLON_DASH] = ACTIONS(2498), + [944] = { + [anon_sym_RPAREN] = ACTIONS(881), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(2729), + [anon_sym_PIPE_AMP] = ACTIONS(2729), + [anon_sym_AMP_AMP] = ACTIONS(2732), + [anon_sym_PIPE_PIPE] = ACTIONS(2732), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [945] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(881), + [anon_sym_SEMI_SEMI] = ACTIONS(881), + [anon_sym_PIPE] = ACTIONS(2729), + [anon_sym_PIPE_AMP] = ACTIONS(2729), + [anon_sym_AMP_AMP] = ACTIONS(2732), + [anon_sym_PIPE_PIPE] = ACTIONS(2732), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(881), + [anon_sym_LF] = ACTIONS(881), + [anon_sym_AMP] = ACTIONS(881), + }, + [946] = { + [anon_sym_RPAREN] = ACTIONS(883), + [anon_sym_SEMI_SEMI] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(2735), + [anon_sym_PIPE_AMP] = ACTIONS(2735), + [anon_sym_AMP_AMP] = ACTIONS(2738), + [anon_sym_PIPE_PIPE] = ACTIONS(2738), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(883), + [anon_sym_LF] = ACTIONS(883), + [anon_sym_AMP] = ACTIONS(883), + }, + [947] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(883), + [anon_sym_SEMI_SEMI] = ACTIONS(883), + [anon_sym_PIPE] = ACTIONS(2735), + [anon_sym_PIPE_AMP] = ACTIONS(2735), + [anon_sym_AMP_AMP] = ACTIONS(2738), + [anon_sym_PIPE_PIPE] = ACTIONS(2738), + [anon_sym_COLON] = ACTIONS(261), + [anon_sym_LT] = ACTIONS(261), + [anon_sym_GT] = ACTIONS(261), + [anon_sym_GT_GT] = ACTIONS(261), + [anon_sym_AMP_GT] = ACTIONS(261), + [anon_sym_AMP_GT_GT] = ACTIONS(261), + [anon_sym_LT_AMP] = ACTIONS(261), + [anon_sym_GT_AMP] = ACTIONS(261), + [anon_sym_DQUOTE] = ACTIONS(261), + [sym_raw_string] = ACTIONS(261), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(261), + [anon_sym_BQUOTE] = ACTIONS(261), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(883), + [anon_sym_LF] = ACTIONS(883), + [anon_sym_AMP] = ACTIONS(883), + }, + [948] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(1072), + [aux_sym_command_repeat2] = STATE(1038), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(663), + [anon_sym_PIPE_AMP] = ACTIONS(663), + [anon_sym_AMP_AMP] = ACTIONS(663), + [anon_sym_PIPE_PIPE] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [949] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(834), + [sym_array] = STATE(834), + [sym_simple_expansion] = STATE(834), + [sym_expansion] = STATE(834), + [sym_command_substitution] = STATE(834), + [sym_process_substitution] = STATE(834), + [aux_sym_bracket_command_repeat1] = STATE(1073), + [aux_sym_command_repeat2] = STATE(1074), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(885), + [anon_sym_SEMI_SEMI] = ACTIONS(885), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(885), + [anon_sym_PIPE_AMP] = ACTIONS(885), + [anon_sym_AMP_AMP] = ACTIONS(885), + [anon_sym_PIPE_PIPE] = ACTIONS(885), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2307), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2307), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(885), + [anon_sym_LF] = ACTIONS(885), + [anon_sym_AMP] = ACTIONS(885), + }, + [950] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(887), + [anon_sym_SEMI_SEMI] = ACTIONS(887), + [anon_sym_PIPE] = ACTIONS(887), + [anon_sym_PIPE_AMP] = ACTIONS(887), + [anon_sym_AMP_AMP] = ACTIONS(887), + [anon_sym_PIPE_PIPE] = ACTIONS(887), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(887), + [anon_sym_LF] = ACTIONS(887), + [anon_sym_AMP] = ACTIONS(887), + }, + [951] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1022), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(663), + [anon_sym_SEMI_SEMI] = ACTIONS(663), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(663), + [anon_sym_PIPE_AMP] = ACTIONS(663), + [anon_sym_AMP_AMP] = ACTIONS(663), + [anon_sym_PIPE_PIPE] = ACTIONS(663), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2671), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(663), + [anon_sym_LF] = ACTIONS(663), + [anon_sym_AMP] = ACTIONS(663), + }, + [952] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [953] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [954] = { + [sym_compound_statement] = STATE(1075), + [anon_sym_LBRACE] = ACTIONS(2679), [sym_comment] = ACTIONS(115), }, - [862] = { - [anon_sym_RPAREN] = ACTIONS(2500), + [955] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1076), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(859), + [anon_sym_SEMI_SEMI] = ACTIONS(859), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(859), + [anon_sym_PIPE_AMP] = ACTIONS(859), + [anon_sym_AMP_AMP] = ACTIONS(859), + [anon_sym_PIPE_PIPE] = ACTIONS(859), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2741), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(859), + [anon_sym_LF] = ACTIONS(859), + [anon_sym_AMP] = ACTIONS(859), + }, + [956] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(861), + [anon_sym_SEMI_SEMI] = ACTIONS(861), + [anon_sym_PIPE] = ACTIONS(861), + [anon_sym_PIPE_AMP] = ACTIONS(861), + [anon_sym_AMP_AMP] = ACTIONS(861), + [anon_sym_PIPE_PIPE] = ACTIONS(861), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(861), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(861), + [anon_sym_LF] = ACTIONS(861), + [anon_sym_AMP] = ACTIONS(861), + }, + [957] = { + [sym_file_descriptor] = ACTIONS(545), + [anon_sym_RPAREN] = ACTIONS(549), + [anon_sym_SEMI_SEMI] = ACTIONS(549), + [anon_sym_PIPE] = ACTIONS(549), + [anon_sym_PIPE_AMP] = ACTIONS(549), + [anon_sym_AMP_AMP] = ACTIONS(549), + [anon_sym_PIPE_PIPE] = ACTIONS(549), + [anon_sym_LT] = ACTIONS(549), + [anon_sym_GT] = ACTIONS(549), + [anon_sym_GT_GT] = ACTIONS(549), + [anon_sym_AMP_GT] = ACTIONS(549), + [anon_sym_AMP_GT_GT] = ACTIONS(549), + [anon_sym_LT_AMP] = ACTIONS(549), + [anon_sym_GT_AMP] = ACTIONS(549), + [anon_sym_LT_LT] = ACTIONS(549), + [anon_sym_LT_LT_DASH] = ACTIONS(549), + [anon_sym_BQUOTE] = ACTIONS(549), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(549), + [anon_sym_LF] = ACTIONS(549), + [anon_sym_AMP] = ACTIONS(549), + }, + [958] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_LPAREN] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR] = ACTIONS(561), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [959] = { + [anon_sym_RPAREN] = ACTIONS(2744), + [sym_word] = ACTIONS(569), [sym_comment] = ACTIONS(115), }, - [863] = { - [anon_sym_BQUOTE] = ACTIONS(2500), + [960] = { + [sym_for_statement] = STATE(1078), + [sym_while_statement] = STATE(1078), + [sym_if_statement] = STATE(1078), + [sym_case_statement] = STATE(1078), + [sym_function_definition] = STATE(1078), + [sym_subshell] = STATE(1078), + [sym_pipeline] = STATE(1078), + [sym_list] = STATE(1078), + [sym_bracket_command] = STATE(1078), + [sym_command] = STATE(1078), + [sym_environment_variable_assignment] = STATE(1079), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(975), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2581), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), [sym_comment] = ACTIONS(115), }, - [864] = { - [sym_file_descriptor] = ACTIONS(577), + [961] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_LPAREN] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR] = ACTIONS(415), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [962] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2746), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [963] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_LPAREN] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR] = ACTIONS(577), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [964] = { + [sym_file_descriptor] = ACTIONS(615), [anon_sym_RPAREN] = ACTIONS(579), [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_LPAREN] = ACTIONS(579), [anon_sym_PIPE] = ACTIONS(579), [anon_sym_PIPE_AMP] = ACTIONS(579), [anon_sym_AMP_AMP] = ACTIONS(579), @@ -27264,3032 +30966,4148 @@ static uint16_t ts_parse_table[STATE_COUNT][SYMBOL_COUNT] = { [anon_sym_LF] = ACTIONS(579), [anon_sym_AMP] = ACTIONS(579), }, - [865] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(2502), - [anon_sym_SEMI_SEMI] = ACTIONS(2502), - [anon_sym_PIPE] = ACTIONS(2502), - [anon_sym_PIPE_AMP] = ACTIONS(2502), - [anon_sym_AMP_AMP] = ACTIONS(2502), - [anon_sym_PIPE_PIPE] = ACTIONS(2502), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(2502), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(2502), - [anon_sym_LF] = ACTIONS(2502), - [anon_sym_AMP] = ACTIONS(2502), - }, - [866] = { - [sym_for_statement] = STATE(950), - [sym_while_statement] = STATE(950), - [sym_if_statement] = STATE(950), - [sym_case_statement] = STATE(950), - [sym_function_definition] = STATE(950), - [sym_subshell] = STATE(950), - [sym_pipeline] = STATE(950), - [sym_list] = STATE(950), - [sym_bracket_command] = STATE(950), - [sym_command] = STATE(950), - [sym_environment_variable_assignment] = STATE(951), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [867] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [868] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2505), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [869] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [870] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [871] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [872] = { - [anon_sym_RBRACE] = ACTIONS(2507), - [anon_sym_COLON] = ACTIONS(2509), - [anon_sym_EQ] = ACTIONS(2511), - [anon_sym_COLON_QMARK] = ACTIONS(2511), - [anon_sym_COLON_DASH] = ACTIONS(2511), - [sym_comment] = ACTIONS(115), - }, - [873] = { - [anon_sym_RBRACE] = ACTIONS(2513), - [anon_sym_COLON] = ACTIONS(2515), - [anon_sym_EQ] = ACTIONS(2517), - [anon_sym_COLON_QMARK] = ACTIONS(2517), - [anon_sym_COLON_DASH] = ACTIONS(2517), - [sym_comment] = ACTIONS(115), - }, - [874] = { - [anon_sym_RPAREN] = ACTIONS(2519), - [sym_comment] = ACTIONS(115), - }, - [875] = { - [anon_sym_BQUOTE] = ACTIONS(2519), - [sym_comment] = ACTIONS(115), - }, - [876] = { - [anon_sym_RPAREN] = ACTIONS(2521), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [877] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2521), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [878] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_RBRACE] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_leading_word] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [879] = { - [sym_file_descriptor] = ACTIONS(853), - [anon_sym_RPAREN] = ACTIONS(837), - [anon_sym_SEMI_SEMI] = ACTIONS(837), - [anon_sym_RBRACE] = 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_COLON] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_leading_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [880] = { - [sym_string] = STATE(959), - [sym_simple_expansion] = STATE(959), - [sym_expansion] = STATE(959), - [sym_command_substitution] = STATE(959), - [sym_process_substitution] = STATE(959), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2523), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2525), - [sym_comment] = ACTIONS(115), - }, - [881] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [anon_sym_SEMI_SEMI] = ACTIONS(843), - [anon_sym_RBRACE] = 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), - [anon_sym_COLON] = ACTIONS(843), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_leading_word] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [882] = { - [sym_string] = STATE(960), - [sym_simple_expansion] = STATE(960), - [sym_expansion] = STATE(960), - [sym_command_substitution] = STATE(960), - [sym_process_substitution] = STATE(960), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2527), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2529), - [sym_comment] = ACTIONS(115), - }, - [883] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_RBRACE] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_leading_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [884] = { - [anon_sym_RPAREN] = ACTIONS(2531), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [885] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2531), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [886] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_COLON] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_leading_word] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [887] = { - [sym_file_descriptor] = ACTIONS(853), - [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_COLON] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_leading_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [888] = { - [sym_string] = STATE(962), - [sym_simple_expansion] = STATE(962), - [sym_expansion] = STATE(962), - [sym_command_substitution] = STATE(962), - [sym_process_substitution] = STATE(962), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2533), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2535), - [sym_comment] = ACTIONS(115), - }, - [889] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [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), - [anon_sym_COLON] = ACTIONS(843), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_leading_word] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [890] = { - [sym_string] = STATE(963), - [sym_simple_expansion] = STATE(963), - [sym_expansion] = STATE(963), - [sym_command_substitution] = STATE(963), - [sym_process_substitution] = STATE(963), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2537), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2539), - [sym_comment] = ACTIONS(115), - }, - [891] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_COLON] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_leading_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [892] = { - [anon_sym_RPAREN] = ACTIONS(1273), - [anon_sym_SEMI_SEMI] = ACTIONS(1273), - [anon_sym_PIPE] = ACTIONS(1273), - [anon_sym_PIPE_AMP] = ACTIONS(1273), - [anon_sym_AMP_AMP] = ACTIONS(1273), - [anon_sym_PIPE_PIPE] = ACTIONS(1273), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1273), - [anon_sym_LF] = ACTIONS(1273), - [anon_sym_AMP] = ACTIONS(1273), - }, - [893] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(2541), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [894] = { - [anon_sym_RPAREN] = ACTIONS(1085), - [anon_sym_SEMI_SEMI] = ACTIONS(1085), - [anon_sym_PIPE] = ACTIONS(1085), - [anon_sym_PIPE_AMP] = ACTIONS(1085), - [anon_sym_AMP_AMP] = ACTIONS(1085), - [anon_sym_PIPE_PIPE] = ACTIONS(1085), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1085), - [anon_sym_LF] = ACTIONS(1085), - [anon_sym_AMP] = ACTIONS(1085), - }, - [895] = { - [sym_case_item] = STATE(462), - [sym_string] = STATE(356), - [sym_simple_expansion] = STATE(356), - [sym_expansion] = STATE(356), - [sym_command_substitution] = STATE(356), - [sym_process_substitution] = STATE(356), - [anon_sym_esac] = ACTIONS(2415), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(829), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(833), - [sym_comment] = ACTIONS(115), - }, - [896] = { - [sym__heredoc_middle] = ACTIONS(1291), - [sym__heredoc_end] = ACTIONS(1291), - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_in] = ACTIONS(1285), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_RBRACE] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [anon_sym_RBRACK] = ACTIONS(1285), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1285), - [anon_sym_COLON] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [anon_sym_DQUOTE] = ACTIONS(1285), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR] = ACTIONS(1285), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_leading_word] = ACTIONS(1285), - [sym_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), - }, - [897] = { - [anon_sym_RPAREN] = ACTIONS(1335), - [anon_sym_SEMI_SEMI] = ACTIONS(1335), - [anon_sym_PIPE] = ACTIONS(1335), - [anon_sym_PIPE_AMP] = ACTIONS(1335), - [anon_sym_AMP_AMP] = ACTIONS(1335), - [anon_sym_PIPE_PIPE] = ACTIONS(1335), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1335), - [anon_sym_LF] = ACTIONS(1335), - [anon_sym_AMP] = ACTIONS(1335), - }, - [898] = { - [anon_sym_RPAREN] = ACTIONS(2543), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [899] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2543), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [900] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_RBRACK] = ACTIONS(667), - [anon_sym_RBRACK_RBRACK] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(667), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_word] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [901] = { - [sym_file_descriptor] = ACTIONS(853), - [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_RBRACK] = ACTIONS(837), - [anon_sym_RBRACK_RBRACK] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR] = ACTIONS(837), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [902] = { - [sym_string] = STATE(966), - [sym_simple_expansion] = STATE(966), - [sym_expansion] = STATE(966), - [sym_command_substitution] = STATE(966), - [sym_process_substitution] = STATE(966), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2545), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2547), - [sym_comment] = ACTIONS(115), - }, - [903] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [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), - [anon_sym_RBRACK] = ACTIONS(843), - [anon_sym_RBRACK_RBRACK] = ACTIONS(843), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR] = ACTIONS(843), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_word] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [904] = { - [sym_string] = STATE(967), - [sym_simple_expansion] = STATE(967), - [sym_expansion] = STATE(967), - [sym_command_substitution] = STATE(967), - [sym_process_substitution] = STATE(967), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2549), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2551), - [sym_comment] = ACTIONS(115), - }, - [905] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_RBRACK] = ACTIONS(733), - [anon_sym_RBRACK_RBRACK] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR] = ACTIONS(733), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [906] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(968), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(1007), - [anon_sym_SEMI_SEMI] = ACTIONS(1007), - [anon_sym_PIPE] = ACTIONS(1007), - [anon_sym_PIPE_AMP] = ACTIONS(1007), - [anon_sym_AMP_AMP] = ACTIONS(1007), - [anon_sym_PIPE_PIPE] = ACTIONS(1007), - [anon_sym_LT] = ACTIONS(2147), - [anon_sym_GT] = ACTIONS(2147), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2553), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1007), - [anon_sym_LF] = ACTIONS(1007), - [anon_sym_AMP] = ACTIONS(1007), - }, - [907] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(887), - [anon_sym_SEMI_SEMI] = ACTIONS(887), - [anon_sym_PIPE] = ACTIONS(887), - [anon_sym_PIPE_AMP] = ACTIONS(887), - [anon_sym_AMP_AMP] = ACTIONS(887), - [anon_sym_PIPE_PIPE] = ACTIONS(887), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(887), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(887), - [anon_sym_LF] = ACTIONS(887), - [anon_sym_AMP] = ACTIONS(887), - }, - [908] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [909] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [aux_sym_SLASH_BSLASHs_PLUS_SLASH] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [910] = { - [sym_file_redirect] = STATE(675), - [sym_heredoc_redirect] = STATE(675), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(969), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(1009), - [anon_sym_SEMI_SEMI] = ACTIONS(1009), - [anon_sym_PIPE] = ACTIONS(1009), - [anon_sym_PIPE_AMP] = ACTIONS(1009), - [anon_sym_AMP_AMP] = ACTIONS(1009), - [anon_sym_PIPE_PIPE] = ACTIONS(1009), - [anon_sym_LT] = ACTIONS(2147), - [anon_sym_GT] = ACTIONS(2147), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2556), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1009), - [anon_sym_LF] = ACTIONS(1009), - [anon_sym_AMP] = ACTIONS(1009), - }, - [911] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(1011), - [anon_sym_SEMI_SEMI] = ACTIONS(1011), - [anon_sym_PIPE] = ACTIONS(1011), - [anon_sym_PIPE_AMP] = ACTIONS(1011), - [anon_sym_AMP_AMP] = ACTIONS(1011), - [anon_sym_PIPE_PIPE] = ACTIONS(1011), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(1011), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1011), - [anon_sym_LF] = ACTIONS(1011), - [anon_sym_AMP] = ACTIONS(1011), - }, - [912] = { - [anon_sym_RPAREN] = ACTIONS(1103), - [anon_sym_SEMI_SEMI] = ACTIONS(1103), - [anon_sym_PIPE] = ACTIONS(1103), - [anon_sym_PIPE_AMP] = ACTIONS(1103), - [anon_sym_AMP_AMP] = ACTIONS(1103), - [anon_sym_PIPE_PIPE] = ACTIONS(1103), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1103), - [anon_sym_LF] = ACTIONS(1103), - [anon_sym_AMP] = ACTIONS(1103), - }, - [913] = { - [sym_file_descriptor] = ACTIONS(475), - [anon_sym_RPAREN] = ACTIONS(479), - [anon_sym_SEMI_SEMI] = ACTIONS(479), - [anon_sym_PIPE] = ACTIONS(479), - [anon_sym_PIPE_AMP] = ACTIONS(479), - [anon_sym_AMP_AMP] = ACTIONS(479), - [anon_sym_PIPE_PIPE] = ACTIONS(479), - [anon_sym_LT] = ACTIONS(479), - [anon_sym_GT] = ACTIONS(479), - [anon_sym_GT_GT] = ACTIONS(479), - [anon_sym_AMP_GT] = ACTIONS(479), - [anon_sym_AMP_GT_GT] = ACTIONS(479), - [anon_sym_LT_AMP] = ACTIONS(479), - [anon_sym_GT_AMP] = ACTIONS(479), - [anon_sym_LT_LT] = ACTIONS(479), - [anon_sym_LT_LT_DASH] = ACTIONS(479), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(479), - [anon_sym_LF] = ACTIONS(479), - [anon_sym_AMP] = ACTIONS(479), - }, - [914] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(887), - [anon_sym_SEMI_SEMI] = ACTIONS(887), - [anon_sym_PIPE] = ACTIONS(887), - [anon_sym_PIPE_AMP] = ACTIONS(887), - [anon_sym_AMP_AMP] = ACTIONS(887), - [anon_sym_PIPE_PIPE] = ACTIONS(887), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(887), - [anon_sym_LF] = ACTIONS(887), - [anon_sym_AMP] = ACTIONS(887), - }, - [915] = { - [sym_for_statement] = STATE(970), - [sym_while_statement] = STATE(970), - [sym_if_statement] = STATE(970), - [sym_case_statement] = STATE(970), - [sym_function_definition] = STATE(970), - [sym_subshell] = STATE(970), - [sym_pipeline] = STATE(970), - [sym_list] = STATE(970), - [sym_bracket_command] = STATE(970), - [sym_command] = STATE(970), - [sym_environment_variable_assignment] = STATE(971), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [916] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_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), - [anon_sym_LT_LT] = ACTIONS(377), - [anon_sym_LT_LT_DASH] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [917] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2559), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [918] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_LT_LT] = ACTIONS(519), - [anon_sym_LT_LT_DASH] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [919] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_LT_LT] = ACTIONS(521), - [anon_sym_LT_LT_DASH] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [920] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_LT_LT] = ACTIONS(523), - [anon_sym_LT_LT_DASH] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [921] = { - [anon_sym_RBRACE] = ACTIONS(2561), - [anon_sym_COLON] = ACTIONS(2563), - [anon_sym_EQ] = ACTIONS(2565), - [anon_sym_COLON_QMARK] = ACTIONS(2565), - [anon_sym_COLON_DASH] = ACTIONS(2565), - [sym_comment] = ACTIONS(115), - }, - [922] = { - [anon_sym_RBRACE] = ACTIONS(2567), - [anon_sym_COLON] = ACTIONS(2569), - [anon_sym_EQ] = ACTIONS(2571), - [anon_sym_COLON_QMARK] = ACTIONS(2571), - [anon_sym_COLON_DASH] = ACTIONS(2571), - [sym_comment] = ACTIONS(115), - }, - [923] = { - [anon_sym_RPAREN] = ACTIONS(2573), - [sym_comment] = ACTIONS(115), - }, - [924] = { - [anon_sym_BQUOTE] = ACTIONS(2573), - [sym_comment] = ACTIONS(115), - }, - [925] = { - [sym_file_descriptor] = ACTIONS(909), - [anon_sym_RPAREN] = ACTIONS(911), - [anon_sym_SEMI_SEMI] = ACTIONS(911), - [anon_sym_PIPE] = ACTIONS(911), - [anon_sym_PIPE_AMP] = ACTIONS(911), - [anon_sym_AMP_AMP] = ACTIONS(911), - [anon_sym_PIPE_PIPE] = ACTIONS(911), - [anon_sym_LT] = ACTIONS(911), - [anon_sym_GT] = ACTIONS(911), - [anon_sym_GT_GT] = ACTIONS(911), - [anon_sym_AMP_GT] = ACTIONS(911), - [anon_sym_AMP_GT_GT] = ACTIONS(911), - [anon_sym_LT_AMP] = ACTIONS(911), - [anon_sym_GT_AMP] = ACTIONS(911), - [anon_sym_LT_LT] = ACTIONS(911), - [anon_sym_LT_LT_DASH] = ACTIONS(911), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(911), - [anon_sym_LF] = ACTIONS(911), - [anon_sym_AMP] = ACTIONS(911), - }, - [926] = { - [sym_simple_expansion] = STATE(388), - [sym_expansion] = STATE(388), - [sym__heredoc_middle] = ACTIONS(921), - [sym__heredoc_end] = ACTIONS(2575), - [anon_sym_DOLLAR] = ACTIONS(623), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(625), - [sym_comment] = ACTIONS(115), - }, - [927] = { - [anon_sym_RPAREN] = ACTIONS(987), - [anon_sym_SEMI_SEMI] = ACTIONS(987), - [anon_sym_PIPE] = ACTIONS(987), - [anon_sym_PIPE_AMP] = ACTIONS(987), - [anon_sym_AMP_AMP] = ACTIONS(987), - [anon_sym_PIPE_PIPE] = ACTIONS(987), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(987), - [anon_sym_LF] = ACTIONS(987), - [anon_sym_AMP] = ACTIONS(987), - }, - [928] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(989), - [anon_sym_SEMI_SEMI] = ACTIONS(989), - [anon_sym_PIPE] = ACTIONS(989), - [anon_sym_PIPE_AMP] = ACTIONS(989), - [anon_sym_AMP_AMP] = ACTIONS(989), - [anon_sym_PIPE_PIPE] = ACTIONS(989), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(989), - [anon_sym_LF] = ACTIONS(989), - [anon_sym_AMP] = ACTIONS(989), - }, - [929] = { - [sym_for_statement] = STATE(979), - [sym_while_statement] = STATE(979), - [sym_if_statement] = STATE(979), - [sym_case_statement] = STATE(979), - [sym_function_definition] = STATE(979), - [sym_subshell] = STATE(979), - [sym_pipeline] = STATE(979), - [sym_list] = STATE(979), - [sym_bracket_command] = STATE(979), - [sym_command] = STATE(979), - [sym_environment_variable_assignment] = STATE(980), - [sym_file_redirect] = STATE(21), - [sym_string] = STATE(219), - [sym_command_substitution] = STATE(219), - [aux_sym_command_repeat1] = STATE(223), - [sym_file_descriptor] = ACTIONS(81), - [anon_sym_for] = ACTIONS(491), - [anon_sym_while] = ACTIONS(493), - [anon_sym_if] = ACTIONS(495), - [anon_sym_case] = ACTIONS(497), - [anon_sym_function] = ACTIONS(499), - [anon_sym_LPAREN] = ACTIONS(501), - [anon_sym_LBRACK] = ACTIONS(503), - [anon_sym_LBRACK_LBRACK] = ACTIONS(505), - [anon_sym_COLON] = ACTIONS(507), - [anon_sym_LT] = ACTIONS(103), - [anon_sym_GT] = ACTIONS(103), - [anon_sym_GT_GT] = ACTIONS(103), - [anon_sym_AMP_GT] = ACTIONS(103), - [anon_sym_AMP_GT_GT] = ACTIONS(103), - [anon_sym_LT_AMP] = ACTIONS(103), - [anon_sym_GT_AMP] = ACTIONS(103), - [anon_sym_DQUOTE] = ACTIONS(199), - [sym_raw_string] = ACTIONS(509), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(203), - [anon_sym_BQUOTE] = ACTIONS(205), - [sym_leading_word] = ACTIONS(511), - [sym_comment] = ACTIONS(115), - }, - [930] = { - [sym_file_descriptor] = ACTIONS(375), - [anon_sym_RPAREN] = ACTIONS(377), - [anon_sym_SEMI_SEMI] = ACTIONS(377), - [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_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(377), - [sym_raw_string] = ACTIONS(377), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(377), - [anon_sym_BQUOTE] = ACTIONS(377), - [sym_leading_word] = ACTIONS(377), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(377), - [anon_sym_LF] = ACTIONS(377), - [anon_sym_AMP] = ACTIONS(377), - }, - [931] = { - [sym_simple_expansion] = STATE(163), - [sym_expansion] = STATE(163), - [sym_command_substitution] = STATE(163), - [anon_sym_DQUOTE] = ACTIONS(2577), - [aux_sym_SLASH_LBRACK_CARET_DQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(393), - [anon_sym_DOLLAR] = ACTIONS(189), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(191), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(193), - [anon_sym_BQUOTE] = ACTIONS(195), - [sym_comment] = ACTIONS(73), - }, - [932] = { - [sym_file_descriptor] = ACTIONS(525), - [anon_sym_RPAREN] = ACTIONS(519), - [anon_sym_SEMI_SEMI] = ACTIONS(519), - [anon_sym_PIPE] = ACTIONS(519), - [anon_sym_PIPE_AMP] = ACTIONS(519), - [anon_sym_AMP_AMP] = ACTIONS(519), - [anon_sym_PIPE_PIPE] = ACTIONS(519), - [anon_sym_COLON] = ACTIONS(519), - [anon_sym_LT] = ACTIONS(519), - [anon_sym_GT] = ACTIONS(519), - [anon_sym_GT_GT] = ACTIONS(519), - [anon_sym_AMP_GT] = ACTIONS(519), - [anon_sym_AMP_GT_GT] = ACTIONS(519), - [anon_sym_LT_AMP] = ACTIONS(519), - [anon_sym_GT_AMP] = ACTIONS(519), - [anon_sym_DQUOTE] = ACTIONS(519), - [sym_raw_string] = ACTIONS(519), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(519), - [anon_sym_BQUOTE] = ACTIONS(519), - [sym_leading_word] = ACTIONS(519), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(519), - [anon_sym_LF] = ACTIONS(519), - [anon_sym_AMP] = ACTIONS(519), - }, - [933] = { - [sym_file_descriptor] = ACTIONS(551), - [anon_sym_RPAREN] = ACTIONS(521), - [anon_sym_SEMI_SEMI] = ACTIONS(521), - [anon_sym_PIPE] = ACTIONS(521), - [anon_sym_PIPE_AMP] = ACTIONS(521), - [anon_sym_AMP_AMP] = ACTIONS(521), - [anon_sym_PIPE_PIPE] = ACTIONS(521), - [anon_sym_COLON] = ACTIONS(521), - [anon_sym_LT] = ACTIONS(521), - [anon_sym_GT] = ACTIONS(521), - [anon_sym_GT_GT] = ACTIONS(521), - [anon_sym_AMP_GT] = ACTIONS(521), - [anon_sym_AMP_GT_GT] = ACTIONS(521), - [anon_sym_LT_AMP] = ACTIONS(521), - [anon_sym_GT_AMP] = ACTIONS(521), - [anon_sym_DQUOTE] = ACTIONS(521), - [sym_raw_string] = ACTIONS(521), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(521), - [anon_sym_BQUOTE] = ACTIONS(521), - [sym_leading_word] = ACTIONS(521), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(521), - [anon_sym_LF] = ACTIONS(521), - [anon_sym_AMP] = ACTIONS(521), - }, - [934] = { - [sym_file_descriptor] = ACTIONS(555), - [anon_sym_RPAREN] = ACTIONS(523), - [anon_sym_SEMI_SEMI] = ACTIONS(523), - [anon_sym_PIPE] = ACTIONS(523), - [anon_sym_PIPE_AMP] = ACTIONS(523), - [anon_sym_AMP_AMP] = ACTIONS(523), - [anon_sym_PIPE_PIPE] = ACTIONS(523), - [anon_sym_COLON] = ACTIONS(523), - [anon_sym_LT] = ACTIONS(523), - [anon_sym_GT] = ACTIONS(523), - [anon_sym_GT_GT] = ACTIONS(523), - [anon_sym_AMP_GT] = ACTIONS(523), - [anon_sym_AMP_GT_GT] = ACTIONS(523), - [anon_sym_LT_AMP] = ACTIONS(523), - [anon_sym_GT_AMP] = ACTIONS(523), - [anon_sym_DQUOTE] = ACTIONS(523), - [sym_raw_string] = ACTIONS(523), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(523), - [anon_sym_BQUOTE] = ACTIONS(523), - [sym_leading_word] = ACTIONS(523), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(523), - [anon_sym_LF] = ACTIONS(523), - [anon_sym_AMP] = ACTIONS(523), - }, - [935] = { - [anon_sym_RBRACE] = ACTIONS(2579), - [anon_sym_COLON] = ACTIONS(2581), - [anon_sym_EQ] = ACTIONS(2583), - [anon_sym_COLON_QMARK] = ACTIONS(2583), - [anon_sym_COLON_DASH] = ACTIONS(2583), - [sym_comment] = ACTIONS(115), - }, - [936] = { - [anon_sym_RBRACE] = ACTIONS(2585), - [anon_sym_COLON] = ACTIONS(2587), - [anon_sym_EQ] = ACTIONS(2589), - [anon_sym_COLON_QMARK] = ACTIONS(2589), - [anon_sym_COLON_DASH] = ACTIONS(2589), - [sym_comment] = ACTIONS(115), - }, - [937] = { - [anon_sym_RPAREN] = ACTIONS(2591), - [sym_comment] = ACTIONS(115), - }, - [938] = { - [anon_sym_BQUOTE] = ACTIONS(2591), - [sym_comment] = ACTIONS(115), - }, - [939] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(987), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(1007), - [anon_sym_SEMI_SEMI] = ACTIONS(1007), - [anon_sym_PIPE] = ACTIONS(1007), - [anon_sym_PIPE_AMP] = ACTIONS(1007), - [anon_sym_AMP_AMP] = ACTIONS(1007), - [anon_sym_PIPE_PIPE] = ACTIONS(1007), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1007), - [anon_sym_LF] = ACTIONS(1007), - [anon_sym_AMP] = ACTIONS(1007), - }, - [940] = { - [sym_file_redirect] = STATE(746), - [sym_heredoc_redirect] = STATE(746), - [sym_string] = STATE(864), - [sym_simple_expansion] = STATE(864), - [sym_expansion] = STATE(864), - [sym_command_substitution] = STATE(864), - [sym_process_substitution] = STATE(864), - [aux_sym_command_repeat2] = STATE(988), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(1009), - [anon_sym_SEMI_SEMI] = ACTIONS(1009), - [anon_sym_PIPE] = ACTIONS(1009), - [anon_sym_PIPE_AMP] = ACTIONS(1009), - [anon_sym_AMP_AMP] = ACTIONS(1009), - [anon_sym_PIPE_PIPE] = ACTIONS(1009), - [anon_sym_LT] = ACTIONS(2291), - [anon_sym_GT] = ACTIONS(2291), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [anon_sym_DQUOTE] = ACTIONS(2149), - [sym_raw_string] = ACTIONS(2360), - [anon_sym_DOLLAR] = ACTIONS(2153), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(2155), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(2157), - [anon_sym_BQUOTE] = ACTIONS(2293), - [sym_word] = ACTIONS(2360), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1009), - [anon_sym_LF] = ACTIONS(1009), - [anon_sym_AMP] = ACTIONS(1009), - }, - [941] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(1011), - [anon_sym_SEMI_SEMI] = ACTIONS(1011), - [anon_sym_PIPE] = ACTIONS(1011), - [anon_sym_PIPE_AMP] = ACTIONS(1011), - [anon_sym_AMP_AMP] = ACTIONS(1011), - [anon_sym_PIPE_PIPE] = ACTIONS(1011), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1011), - [anon_sym_LF] = ACTIONS(1011), - [anon_sym_AMP] = ACTIONS(1011), - }, - [942] = { - [anon_sym_RPAREN] = ACTIONS(2593), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [943] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2593), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [944] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR] = ACTIONS(667), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_word] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [945] = { - [sym_file_descriptor] = ACTIONS(853), - [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(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR] = ACTIONS(837), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [946] = { - [sym_string] = STATE(990), - [sym_simple_expansion] = STATE(990), - [sym_expansion] = STATE(990), - [sym_command_substitution] = STATE(990), - [sym_process_substitution] = STATE(990), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2595), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2597), - [sym_comment] = ACTIONS(115), - }, - [947] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [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), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR] = ACTIONS(843), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_word] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [948] = { - [sym_string] = STATE(991), - [sym_simple_expansion] = STATE(991), - [sym_expansion] = STATE(991), - [sym_command_substitution] = STATE(991), - [sym_process_substitution] = STATE(991), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2599), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2601), - [sym_comment] = ACTIONS(115), - }, - [949] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR] = ACTIONS(733), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_word] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [950] = { - [anon_sym_RPAREN] = ACTIONS(2603), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [sym_comment] = ACTIONS(115), - }, - [951] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2603), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), - [sym_comment] = ACTIONS(115), - }, - [952] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), - }, - [953] = { - [sym_file_descriptor] = ACTIONS(853), - [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(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [954] = { - [sym_string] = STATE(993), - [sym_simple_expansion] = STATE(993), - [sym_expansion] = STATE(993), - [sym_command_substitution] = STATE(993), - [sym_process_substitution] = STATE(993), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2605), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2607), - [sym_comment] = ACTIONS(115), - }, - [955] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [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), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [956] = { - [sym_string] = STATE(994), - [sym_simple_expansion] = STATE(994), - [sym_expansion] = STATE(994), - [sym_command_substitution] = STATE(994), - [sym_process_substitution] = STATE(994), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2609), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2611), - [sym_comment] = ACTIONS(115), - }, - [957] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [958] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_RBRACE] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_COLON] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_leading_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [959] = { - [anon_sym_RBRACE] = ACTIONS(2613), - [sym_comment] = ACTIONS(115), - }, - [960] = { - [anon_sym_RBRACE] = ACTIONS(2615), - [sym_comment] = ACTIONS(115), - }, - [961] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_COLON] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_leading_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [962] = { - [anon_sym_RBRACE] = ACTIONS(2617), - [sym_comment] = ACTIONS(115), - }, - [963] = { - [anon_sym_RBRACE] = ACTIONS(2619), - [sym_comment] = ACTIONS(115), - }, - [964] = { - [anon_sym_RPAREN] = ACTIONS(1395), - [anon_sym_SEMI_SEMI] = ACTIONS(1395), - [anon_sym_PIPE] = ACTIONS(1395), - [anon_sym_PIPE_AMP] = ACTIONS(1395), - [anon_sym_AMP_AMP] = ACTIONS(1395), - [anon_sym_PIPE_PIPE] = ACTIONS(1395), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1395), - [anon_sym_LF] = ACTIONS(1395), - [anon_sym_AMP] = ACTIONS(1395), - }, [965] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_RBRACK] = ACTIONS(1079), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR] = ACTIONS(1079), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_word] = ACTIONS(1079), + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_LPAREN] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR] = ACTIONS(581), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_word] = ACTIONS(581), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), }, [966] = { - [anon_sym_RBRACE] = ACTIONS(2621), + [anon_sym_RBRACE] = ACTIONS(2748), + [anon_sym_COLON] = ACTIONS(2750), + [anon_sym_EQ] = ACTIONS(2752), + [anon_sym_COLON_QMARK] = ACTIONS(2752), + [anon_sym_COLON_DASH] = ACTIONS(2752), [sym_comment] = ACTIONS(115), }, [967] = { - [anon_sym_RBRACE] = ACTIONS(2623), + [anon_sym_RBRACE] = ACTIONS(2754), + [anon_sym_COLON] = ACTIONS(2756), + [anon_sym_EQ] = ACTIONS(2758), + [anon_sym_COLON_QMARK] = ACTIONS(2758), + [anon_sym_COLON_DASH] = ACTIONS(2758), [sym_comment] = ACTIONS(115), }, [968] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), - [anon_sym_RPAREN] = ACTIONS(1205), - [anon_sym_SEMI_SEMI] = ACTIONS(1205), - [anon_sym_PIPE] = ACTIONS(1205), - [anon_sym_PIPE_AMP] = ACTIONS(1205), - [anon_sym_AMP_AMP] = ACTIONS(1205), - [anon_sym_PIPE_PIPE] = ACTIONS(1205), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), - [anon_sym_BQUOTE] = ACTIONS(1205), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1205), - [anon_sym_LF] = ACTIONS(1205), - [anon_sym_AMP] = ACTIONS(1205), + [anon_sym_RPAREN] = ACTIONS(2760), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), }, [969] = { - [sym_file_redirect] = STATE(732), - [sym_heredoc_redirect] = STATE(732), - [sym_file_descriptor] = ACTIONS(1635), + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2760), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [970] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2760), + [sym_comment] = ACTIONS(115), + }, + [971] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2762), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [972] = { + [sym_file_descriptor] = ACTIONS(639), + [anon_sym_RPAREN] = ACTIONS(643), + [anon_sym_SEMI_SEMI] = ACTIONS(643), + [anon_sym_LPAREN] = ACTIONS(643), + [anon_sym_PIPE] = ACTIONS(643), + [anon_sym_PIPE_AMP] = ACTIONS(643), + [anon_sym_AMP_AMP] = ACTIONS(643), + [anon_sym_PIPE_PIPE] = ACTIONS(643), + [anon_sym_LT] = ACTIONS(643), + [anon_sym_GT] = ACTIONS(643), + [anon_sym_GT_GT] = ACTIONS(643), + [anon_sym_AMP_GT] = ACTIONS(643), + [anon_sym_AMP_GT_GT] = ACTIONS(643), + [anon_sym_LT_AMP] = ACTIONS(643), + [anon_sym_GT_AMP] = ACTIONS(643), + [anon_sym_LT_LT] = ACTIONS(643), + [anon_sym_LT_LT_DASH] = ACTIONS(643), + [anon_sym_DQUOTE] = ACTIONS(643), + [sym_raw_string] = ACTIONS(643), + [anon_sym_DOLLAR] = ACTIONS(643), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(643), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(643), + [anon_sym_BQUOTE] = ACTIONS(643), + [sym_word] = ACTIONS(643), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(643), + [anon_sym_LF] = ACTIONS(643), + [anon_sym_AMP] = ACTIONS(643), + }, + [973] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(2765), + [anon_sym_SEMI_SEMI] = ACTIONS(2765), + [anon_sym_PIPE] = ACTIONS(2765), + [anon_sym_PIPE_AMP] = ACTIONS(2765), + [anon_sym_AMP_AMP] = ACTIONS(2765), + [anon_sym_PIPE_PIPE] = ACTIONS(2765), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(2765), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(2765), + [anon_sym_LF] = ACTIONS(2765), + [anon_sym_AMP] = ACTIONS(2765), + }, + [974] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [975] = { + [anon_sym_RPAREN] = ACTIONS(2768), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [976] = { + [sym_for_statement] = STATE(1087), + [sym_while_statement] = STATE(1087), + [sym_if_statement] = STATE(1087), + [sym_case_statement] = STATE(1087), + [sym_function_definition] = STATE(1087), + [sym_subshell] = STATE(1087), + [sym_pipeline] = STATE(1087), + [sym_list] = STATE(1087), + [sym_bracket_command] = STATE(1087), + [sym_command] = STATE(1087), + [sym_environment_variable_assignment] = STATE(1088), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [977] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [978] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2770), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [979] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [980] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_LT_LT] = ACTIONS(579), + [anon_sym_LT_LT_DASH] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [981] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [982] = { + [anon_sym_RBRACE] = ACTIONS(2772), + [anon_sym_COLON] = ACTIONS(2774), + [anon_sym_EQ] = ACTIONS(2776), + [anon_sym_COLON_QMARK] = ACTIONS(2776), + [anon_sym_COLON_DASH] = ACTIONS(2776), + [sym_comment] = ACTIONS(115), + }, + [983] = { + [anon_sym_RBRACE] = ACTIONS(2778), + [anon_sym_COLON] = ACTIONS(2780), + [anon_sym_EQ] = ACTIONS(2782), + [anon_sym_COLON_QMARK] = ACTIONS(2782), + [anon_sym_COLON_DASH] = ACTIONS(2782), + [sym_comment] = ACTIONS(115), + }, + [984] = { + [anon_sym_RPAREN] = ACTIONS(2784), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [985] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2784), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [986] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2784), + [sym_comment] = ACTIONS(115), + }, + [987] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2786), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [988] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_RBRACE] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_COLON] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_leading_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [989] = { + [anon_sym_RPAREN] = ACTIONS(2789), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [990] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2789), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [991] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_RBRACE] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_COLON] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_leading_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [992] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_RBRACE] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_COLON] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_leading_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [993] = { + [sym_string] = STATE(1096), + [sym_array] = STATE(1096), + [sym_simple_expansion] = STATE(1096), + [sym_expansion] = STATE(1096), + [sym_command_substitution] = STATE(1096), + [sym_process_substitution] = STATE(1096), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2791), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2793), + [sym_comment] = ACTIONS(115), + }, + [994] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_RBRACE] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_COLON] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_leading_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [995] = { + [sym_string] = STATE(1097), + [sym_array] = STATE(1097), + [sym_simple_expansion] = STATE(1097), + [sym_expansion] = STATE(1097), + [sym_command_substitution] = STATE(1097), + [sym_process_substitution] = STATE(1097), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2795), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2797), + [sym_comment] = ACTIONS(115), + }, + [996] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_RBRACE] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_COLON] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_leading_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [997] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_COLON] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_leading_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [998] = { + [anon_sym_RPAREN] = ACTIONS(2799), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [999] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2799), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1000] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_COLON] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_leading_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [1001] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_COLON] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_leading_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [1002] = { + [sym_string] = STATE(1099), + [sym_array] = STATE(1099), + [sym_simple_expansion] = STATE(1099), + [sym_expansion] = STATE(1099), + [sym_command_substitution] = STATE(1099), + [sym_process_substitution] = STATE(1099), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2801), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2803), + [sym_comment] = ACTIONS(115), + }, + [1003] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_COLON] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_leading_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [1004] = { + [sym_string] = STATE(1100), + [sym_array] = STATE(1100), + [sym_simple_expansion] = STATE(1100), + [sym_expansion] = STATE(1100), + [sym_command_substitution] = STATE(1100), + [sym_process_substitution] = STATE(1100), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2805), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2807), + [sym_comment] = ACTIONS(115), + }, + [1005] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_COLON] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_leading_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [1006] = { + [anon_sym_RPAREN] = ACTIONS(1375), + [anon_sym_SEMI_SEMI] = ACTIONS(1375), + [anon_sym_PIPE] = ACTIONS(1375), + [anon_sym_PIPE_AMP] = ACTIONS(1375), + [anon_sym_AMP_AMP] = ACTIONS(1375), + [anon_sym_PIPE_PIPE] = ACTIONS(1375), + [anon_sym_BQUOTE] = ACTIONS(1375), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1375), + [anon_sym_LF] = ACTIONS(1375), + [anon_sym_AMP] = ACTIONS(1375), + }, + [1007] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(2809), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [1008] = { + [anon_sym_RPAREN] = ACTIONS(1189), + [anon_sym_SEMI_SEMI] = ACTIONS(1189), + [anon_sym_PIPE] = ACTIONS(1189), + [anon_sym_PIPE_AMP] = ACTIONS(1189), + [anon_sym_AMP_AMP] = ACTIONS(1189), + [anon_sym_PIPE_PIPE] = ACTIONS(1189), + [anon_sym_BQUOTE] = ACTIONS(1189), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1189), + [anon_sym_LF] = ACTIONS(1189), + [anon_sym_AMP] = ACTIONS(1189), + }, + [1009] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(2639), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [1010] = { + [sym__heredoc_middle] = ACTIONS(1393), + [sym__heredoc_end] = ACTIONS(1393), + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_in] = ACTIONS(1387), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_LPAREN] = ACTIONS(1387), + [anon_sym_RBRACE] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_RBRACK] = ACTIONS(1387), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1387), + [anon_sym_COLON] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR] = ACTIONS(1387), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_leading_word] = ACTIONS(1387), + [sym_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1011] = { + [anon_sym_RPAREN] = ACTIONS(1481), + [anon_sym_SEMI_SEMI] = ACTIONS(1481), + [anon_sym_PIPE] = ACTIONS(1481), + [anon_sym_PIPE_AMP] = ACTIONS(1481), + [anon_sym_AMP_AMP] = ACTIONS(1481), + [anon_sym_PIPE_PIPE] = ACTIONS(1481), + [anon_sym_BQUOTE] = ACTIONS(1481), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1481), + [anon_sym_LF] = ACTIONS(1481), + [anon_sym_AMP] = ACTIONS(1481), + }, + [1012] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_RBRACK] = ACTIONS(907), + [anon_sym_RBRACK_RBRACK] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR] = ACTIONS(907), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [1013] = { + [anon_sym_RPAREN] = ACTIONS(2811), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [1014] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2811), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1015] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_LPAREN] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_RBRACK] = ACTIONS(737), + [anon_sym_RBRACK_RBRACK] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR] = ACTIONS(737), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [1016] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_LPAREN] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_RBRACK] = ACTIONS(925), + [anon_sym_RBRACK_RBRACK] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR] = ACTIONS(925), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [1017] = { + [sym_string] = STATE(1103), + [sym_array] = STATE(1103), + [sym_simple_expansion] = STATE(1103), + [sym_expansion] = STATE(1103), + [sym_command_substitution] = STATE(1103), + [sym_process_substitution] = STATE(1103), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2813), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2815), + [sym_comment] = ACTIONS(115), + }, + [1018] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_LPAREN] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_RBRACK] = ACTIONS(931), + [anon_sym_RBRACK_RBRACK] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR] = ACTIONS(931), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [1019] = { + [sym_string] = STATE(1104), + [sym_array] = STATE(1104), + [sym_simple_expansion] = STATE(1104), + [sym_expansion] = STATE(1104), + [sym_command_substitution] = STATE(1104), + [sym_process_substitution] = STATE(1104), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2817), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2819), + [sym_comment] = ACTIONS(115), + }, + [1020] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_LPAREN] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_RBRACK] = ACTIONS(847), + [anon_sym_RBRACK_RBRACK] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR] = ACTIONS(847), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [1021] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1105), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1167), + [anon_sym_SEMI_SEMI] = ACTIONS(1167), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(1167), + [anon_sym_PIPE_AMP] = ACTIONS(1167), + [anon_sym_AMP_AMP] = ACTIONS(1167), + [anon_sym_PIPE_PIPE] = ACTIONS(1167), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2821), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1167), + [anon_sym_LF] = ACTIONS(1167), + [anon_sym_AMP] = ACTIONS(1167), + }, + [1022] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(983), + [anon_sym_SEMI_SEMI] = ACTIONS(983), + [anon_sym_PIPE] = ACTIONS(983), + [anon_sym_PIPE_AMP] = ACTIONS(983), + [anon_sym_AMP_AMP] = ACTIONS(983), + [anon_sym_PIPE_PIPE] = ACTIONS(983), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(983), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(983), + [anon_sym_LF] = ACTIONS(983), + [anon_sym_AMP] = ACTIONS(983), + }, + [1023] = { + [sym_file_redirect] = STATE(721), + [sym_heredoc_redirect] = STATE(721), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1106), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1169), + [anon_sym_SEMI_SEMI] = ACTIONS(1169), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(1169), + [anon_sym_PIPE_AMP] = ACTIONS(1169), + [anon_sym_AMP_AMP] = ACTIONS(1169), + [anon_sym_PIPE_PIPE] = ACTIONS(1169), + [anon_sym_LT] = ACTIONS(2303), + [anon_sym_GT] = ACTIONS(2303), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2824), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1169), + [anon_sym_LF] = ACTIONS(1169), + [anon_sym_AMP] = ACTIONS(1169), + }, + [1024] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1171), + [anon_sym_SEMI_SEMI] = ACTIONS(1171), + [anon_sym_PIPE] = ACTIONS(1171), + [anon_sym_PIPE_AMP] = ACTIONS(1171), + [anon_sym_AMP_AMP] = ACTIONS(1171), + [anon_sym_PIPE_PIPE] = ACTIONS(1171), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(1171), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1171), + [anon_sym_LF] = ACTIONS(1171), + [anon_sym_AMP] = ACTIONS(1171), + }, + [1025] = { [anon_sym_RPAREN] = ACTIONS(1207), [anon_sym_SEMI_SEMI] = ACTIONS(1207), [anon_sym_PIPE] = ACTIONS(1207), [anon_sym_PIPE_AMP] = ACTIONS(1207), [anon_sym_AMP_AMP] = ACTIONS(1207), [anon_sym_PIPE_PIPE] = ACTIONS(1207), - [anon_sym_LT] = ACTIONS(1644), - [anon_sym_GT] = ACTIONS(1644), - [anon_sym_GT_GT] = ACTIONS(1644), - [anon_sym_AMP_GT] = ACTIONS(1644), - [anon_sym_AMP_GT_GT] = ACTIONS(1644), - [anon_sym_LT_AMP] = ACTIONS(1644), - [anon_sym_GT_AMP] = ACTIONS(1644), - [anon_sym_LT_LT] = ACTIONS(1646), - [anon_sym_LT_LT_DASH] = ACTIONS(1646), [anon_sym_BQUOTE] = ACTIONS(1207), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(1207), [anon_sym_LF] = ACTIONS(1207), [anon_sym_AMP] = ACTIONS(1207), }, - [970] = { - [anon_sym_RPAREN] = ACTIONS(2625), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), + [1026] = { + [sym_do_group] = STATE(1107), + [anon_sym_do] = ACTIONS(2459), [sym_comment] = ACTIONS(115), }, - [971] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2625), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), + [1027] = { + [anon_sym_RPAREN] = ACTIONS(889), + [anon_sym_SEMI_SEMI] = ACTIONS(889), + [anon_sym_PIPE] = ACTIONS(889), + [anon_sym_PIPE_AMP] = ACTIONS(889), + [anon_sym_AMP_AMP] = ACTIONS(889), + [anon_sym_PIPE_PIPE] = ACTIONS(889), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(889), + [anon_sym_LF] = ACTIONS(889), + [anon_sym_AMP] = ACTIONS(889), + }, + [1028] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_done] = ACTIONS(2827), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [972] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_LT] = ACTIONS(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), - [anon_sym_LT_LT] = ACTIONS(667), - [anon_sym_LT_LT_DASH] = ACTIONS(667), + [1029] = { + [anon_sym_RPAREN] = ACTIONS(893), + [anon_sym_SEMI_SEMI] = ACTIONS(893), + [anon_sym_PIPE] = ACTIONS(893), + [anon_sym_PIPE_AMP] = ACTIONS(893), + [anon_sym_AMP_AMP] = ACTIONS(893), + [anon_sym_PIPE_PIPE] = ACTIONS(893), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), + [anon_sym_SEMI] = ACTIONS(893), + [anon_sym_LF] = ACTIONS(893), + [anon_sym_AMP] = ACTIONS(893), }, - [973] = { - [sym_file_descriptor] = ACTIONS(853), - [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(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_LT_LT] = ACTIONS(837), - [anon_sym_LT_LT_DASH] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [974] = { - [sym_string] = STATE(1002), - [sym_simple_expansion] = STATE(1002), - [sym_expansion] = STATE(1002), - [sym_command_substitution] = STATE(1002), - [sym_process_substitution] = STATE(1002), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2627), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2629), + [1030] = { + [anon_sym_fi] = ACTIONS(2829), [sym_comment] = ACTIONS(115), }, - [975] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [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), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_LT_LT] = ACTIONS(843), - [anon_sym_LT_LT_DASH] = ACTIONS(843), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), - }, - [976] = { - [sym_string] = STATE(1003), - [sym_simple_expansion] = STATE(1003), - [sym_expansion] = STATE(1003), - [sym_command_substitution] = STATE(1003), - [sym_process_substitution] = STATE(1003), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2631), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2633), + [1031] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_elif_clause] = STATE(254), + [sym_else_clause] = STATE(1110), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_if_statement_repeat1] = STATE(1111), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_fi] = ACTIONS(2831), + [anon_sym_elif] = ACTIONS(557), + [anon_sym_else] = ACTIONS(559), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [977] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = 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), - [anon_sym_LT_LT] = ACTIONS(733), - [anon_sym_LT_LT_DASH] = ACTIONS(733), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), - }, - [978] = { - [sym_file_descriptor] = ACTIONS(1149), - [anon_sym_RPAREN] = ACTIONS(1151), - [anon_sym_SEMI_SEMI] = ACTIONS(1151), - [anon_sym_PIPE] = ACTIONS(1151), - [anon_sym_PIPE_AMP] = ACTIONS(1151), - [anon_sym_AMP_AMP] = ACTIONS(1151), - [anon_sym_PIPE_PIPE] = ACTIONS(1151), - [anon_sym_LT] = ACTIONS(1151), - [anon_sym_GT] = ACTIONS(1151), - [anon_sym_GT_GT] = ACTIONS(1151), - [anon_sym_AMP_GT] = ACTIONS(1151), - [anon_sym_AMP_GT_GT] = ACTIONS(1151), - [anon_sym_LT_AMP] = ACTIONS(1151), - [anon_sym_GT_AMP] = ACTIONS(1151), - [anon_sym_LT_LT] = ACTIONS(1151), - [anon_sym_LT_LT_DASH] = ACTIONS(1151), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1151), - [anon_sym_LF] = ACTIONS(1151), - [anon_sym_AMP] = ACTIONS(1151), - }, - [979] = { - [anon_sym_RPAREN] = ACTIONS(2635), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(817), - [anon_sym_PIPE_PIPE] = ACTIONS(817), + [1032] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(1110), + [anon_sym_fi] = ACTIONS(2829), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), [sym_comment] = ACTIONS(115), }, - [980] = { - [sym_file_descriptor] = ACTIONS(237), - [anon_sym_RPAREN] = ACTIONS(2635), - [anon_sym_PIPE] = ACTIONS(813), - [anon_sym_PIPE_AMP] = ACTIONS(815), - [anon_sym_AMP_AMP] = ACTIONS(819), - [anon_sym_PIPE_PIPE] = ACTIONS(817), - [anon_sym_COLON] = ACTIONS(237), - [anon_sym_LT] = ACTIONS(241), - [anon_sym_GT] = ACTIONS(241), - [anon_sym_GT_GT] = ACTIONS(241), - [anon_sym_AMP_GT] = ACTIONS(241), - [anon_sym_AMP_GT_GT] = ACTIONS(241), - [anon_sym_LT_AMP] = ACTIONS(241), - [anon_sym_GT_AMP] = ACTIONS(241), - [anon_sym_DQUOTE] = ACTIONS(237), - [sym_raw_string] = ACTIONS(241), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(237), - [anon_sym_BQUOTE] = ACTIONS(237), - [sym_leading_word] = ACTIONS(239), + [1033] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(1113), + [anon_sym_esac] = ACTIONS(2833), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), [sym_comment] = ACTIONS(115), }, - [981] = { - [sym_file_descriptor] = ACTIONS(665), - [anon_sym_RPAREN] = ACTIONS(667), - [anon_sym_SEMI_SEMI] = ACTIONS(667), - [anon_sym_PIPE] = ACTIONS(667), - [anon_sym_PIPE_AMP] = ACTIONS(667), - [anon_sym_AMP_AMP] = ACTIONS(667), - [anon_sym_PIPE_PIPE] = ACTIONS(667), - [anon_sym_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(667), - [sym_raw_string] = ACTIONS(667), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(667), - [anon_sym_BQUOTE] = ACTIONS(667), - [sym_leading_word] = ACTIONS(667), + [1034] = { + [anon_sym_SEMI_SEMI] = ACTIONS(2835), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(667), - [anon_sym_LF] = ACTIONS(667), - [anon_sym_AMP] = ACTIONS(667), + [anon_sym_SEMI] = ACTIONS(2835), + [anon_sym_LF] = ACTIONS(2835), + [anon_sym_AMP] = ACTIONS(2835), }, - [982] = { - [sym_file_descriptor] = ACTIONS(853), - [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_COLON] = ACTIONS(837), - [anon_sym_LT] = ACTIONS(837), - [anon_sym_GT] = ACTIONS(837), - [anon_sym_GT_GT] = ACTIONS(837), - [anon_sym_AMP_GT] = ACTIONS(837), - [anon_sym_AMP_GT_GT] = ACTIONS(837), - [anon_sym_LT_AMP] = ACTIONS(837), - [anon_sym_GT_AMP] = ACTIONS(837), - [anon_sym_DQUOTE] = ACTIONS(837), - [sym_raw_string] = ACTIONS(837), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(837), - [anon_sym_BQUOTE] = ACTIONS(837), - [sym_leading_word] = ACTIONS(837), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(837), - [anon_sym_LF] = ACTIONS(837), - [anon_sym_AMP] = ACTIONS(837), - }, - [983] = { - [sym_string] = STATE(1005), - [sym_simple_expansion] = STATE(1005), - [sym_expansion] = STATE(1005), - [sym_command_substitution] = STATE(1005), - [sym_process_substitution] = STATE(1005), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2637), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2639), + [1035] = { + [sym_compound_statement] = STATE(1115), + [anon_sym_LBRACE] = ACTIONS(2713), [sym_comment] = ACTIONS(115), }, - [984] = { - [sym_file_descriptor] = ACTIONS(861), - [anon_sym_RPAREN] = ACTIONS(843), - [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), - [anon_sym_COLON] = ACTIONS(843), - [anon_sym_LT] = ACTIONS(843), - [anon_sym_GT] = ACTIONS(843), - [anon_sym_GT_GT] = ACTIONS(843), - [anon_sym_AMP_GT] = ACTIONS(843), - [anon_sym_AMP_GT_GT] = ACTIONS(843), - [anon_sym_LT_AMP] = ACTIONS(843), - [anon_sym_GT_AMP] = ACTIONS(843), - [anon_sym_DQUOTE] = ACTIONS(843), - [sym_raw_string] = ACTIONS(843), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(843), - [anon_sym_BQUOTE] = ACTIONS(843), - [sym_leading_word] = ACTIONS(843), + [1036] = { + [sym_file_descriptor] = ACTIONS(545), + [anon_sym_RPAREN] = ACTIONS(549), + [anon_sym_SEMI_SEMI] = ACTIONS(549), + [anon_sym_PIPE] = ACTIONS(549), + [anon_sym_PIPE_AMP] = ACTIONS(549), + [anon_sym_AMP_AMP] = ACTIONS(549), + [anon_sym_PIPE_PIPE] = ACTIONS(549), + [anon_sym_LT] = ACTIONS(549), + [anon_sym_GT] = ACTIONS(549), + [anon_sym_GT_GT] = ACTIONS(549), + [anon_sym_AMP_GT] = ACTIONS(549), + [anon_sym_AMP_GT_GT] = ACTIONS(549), + [anon_sym_LT_AMP] = ACTIONS(549), + [anon_sym_GT_AMP] = ACTIONS(549), + [anon_sym_LT_LT] = ACTIONS(549), + [anon_sym_LT_LT_DASH] = ACTIONS(549), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(843), - [anon_sym_LF] = ACTIONS(843), - [anon_sym_AMP] = ACTIONS(843), + [anon_sym_SEMI] = ACTIONS(549), + [anon_sym_LF] = ACTIONS(549), + [anon_sym_AMP] = ACTIONS(549), }, - [985] = { - [sym_string] = STATE(1006), - [sym_simple_expansion] = STATE(1006), - [sym_expansion] = STATE(1006), - [sym_command_substitution] = STATE(1006), - [sym_process_substitution] = STATE(1006), - [anon_sym_LT] = ACTIONS(143), - [anon_sym_GT] = ACTIONS(143), - [anon_sym_DQUOTE] = ACTIONS(145), - [sym_raw_string] = ACTIONS(2641), - [anon_sym_DOLLAR] = ACTIONS(831), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(151), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(153), - [anon_sym_BQUOTE] = ACTIONS(155), - [sym_word] = ACTIONS(2643), + [1037] = { + [sym_for_statement] = STATE(1078), + [sym_while_statement] = STATE(1078), + [sym_if_statement] = STATE(1078), + [sym_case_statement] = STATE(1078), + [sym_function_definition] = STATE(1078), + [sym_subshell] = STATE(1078), + [sym_pipeline] = STATE(1078), + [sym_list] = STATE(1078), + [sym_bracket_command] = STATE(1078), + [sym_command] = STATE(1078), + [sym_environment_variable_assignment] = STATE(1079), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [aux_sym_array_repeat1] = STATE(1040), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_RPAREN] = ACTIONS(2697), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(223), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_word] = ACTIONS(965), [sym_comment] = ACTIONS(115), }, - [986] = { - [sym_file_descriptor] = ACTIONS(731), - [anon_sym_RPAREN] = ACTIONS(733), - [anon_sym_SEMI_SEMI] = ACTIONS(733), - [anon_sym_PIPE] = ACTIONS(733), - [anon_sym_PIPE_AMP] = ACTIONS(733), - [anon_sym_AMP_AMP] = ACTIONS(733), - [anon_sym_PIPE_PIPE] = ACTIONS(733), - [anon_sym_COLON] = 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), - [anon_sym_DQUOTE] = ACTIONS(733), - [sym_raw_string] = ACTIONS(733), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(733), - [anon_sym_BQUOTE] = ACTIONS(733), - [sym_leading_word] = ACTIONS(733), + [1038] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(983), + [anon_sym_SEMI_SEMI] = ACTIONS(983), + [anon_sym_PIPE] = ACTIONS(983), + [anon_sym_PIPE_AMP] = ACTIONS(983), + [anon_sym_AMP_AMP] = ACTIONS(983), + [anon_sym_PIPE_PIPE] = ACTIONS(983), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(733), - [anon_sym_LF] = ACTIONS(733), - [anon_sym_AMP] = ACTIONS(733), + [anon_sym_SEMI] = ACTIONS(983), + [anon_sym_LF] = ACTIONS(983), + [anon_sym_AMP] = ACTIONS(983), }, - [987] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), - [anon_sym_RPAREN] = ACTIONS(1205), - [anon_sym_SEMI_SEMI] = ACTIONS(1205), - [anon_sym_PIPE] = ACTIONS(1205), - [anon_sym_PIPE_AMP] = ACTIONS(1205), - [anon_sym_AMP_AMP] = ACTIONS(1205), - [anon_sym_PIPE_PIPE] = ACTIONS(1205), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), + [1039] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_LT_LT] = ACTIONS(561), + [anon_sym_LT_LT_DASH] = ACTIONS(561), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1205), - [anon_sym_LF] = ACTIONS(1205), - [anon_sym_AMP] = ACTIONS(1205), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), }, - [988] = { - [sym_file_redirect] = STATE(838), - [sym_heredoc_redirect] = STATE(838), - [sym_file_descriptor] = ACTIONS(2098), + [1040] = { + [anon_sym_RPAREN] = ACTIONS(2837), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [1041] = { + [sym_for_statement] = STATE(1117), + [sym_while_statement] = STATE(1117), + [sym_if_statement] = STATE(1117), + [sym_case_statement] = STATE(1117), + [sym_function_definition] = STATE(1117), + [sym_subshell] = STATE(1117), + [sym_pipeline] = STATE(1117), + [sym_list] = STATE(1117), + [sym_bracket_command] = STATE(1117), + [sym_command] = STATE(1117), + [sym_environment_variable_assignment] = STATE(1118), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [1042] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_LT_LT] = ACTIONS(415), + [anon_sym_LT_LT_DASH] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [1043] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2839), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [1044] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_LT_LT] = ACTIONS(577), + [anon_sym_LT_LT_DASH] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [1045] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_LT_LT] = ACTIONS(579), + [anon_sym_LT_LT_DASH] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [1046] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_LT_LT] = ACTIONS(581), + [anon_sym_LT_LT_DASH] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [1047] = { + [anon_sym_RBRACE] = ACTIONS(2841), + [anon_sym_COLON] = ACTIONS(2843), + [anon_sym_EQ] = ACTIONS(2845), + [anon_sym_COLON_QMARK] = ACTIONS(2845), + [anon_sym_COLON_DASH] = ACTIONS(2845), + [sym_comment] = ACTIONS(115), + }, + [1048] = { + [anon_sym_RBRACE] = ACTIONS(2847), + [anon_sym_COLON] = ACTIONS(2849), + [anon_sym_EQ] = ACTIONS(2851), + [anon_sym_COLON_QMARK] = ACTIONS(2851), + [anon_sym_COLON_DASH] = ACTIONS(2851), + [sym_comment] = ACTIONS(115), + }, + [1049] = { + [anon_sym_RPAREN] = ACTIONS(2853), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [1050] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2853), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1051] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2853), + [sym_comment] = ACTIONS(115), + }, + [1052] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2855), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1053] = { + [sym_file_descriptor] = ACTIONS(1007), + [anon_sym_RPAREN] = ACTIONS(1009), + [anon_sym_SEMI_SEMI] = ACTIONS(1009), + [anon_sym_PIPE] = ACTIONS(1009), + [anon_sym_PIPE_AMP] = ACTIONS(1009), + [anon_sym_AMP_AMP] = ACTIONS(1009), + [anon_sym_PIPE_PIPE] = ACTIONS(1009), + [anon_sym_LT] = ACTIONS(1009), + [anon_sym_GT] = ACTIONS(1009), + [anon_sym_GT_GT] = ACTIONS(1009), + [anon_sym_AMP_GT] = ACTIONS(1009), + [anon_sym_AMP_GT_GT] = ACTIONS(1009), + [anon_sym_LT_AMP] = ACTIONS(1009), + [anon_sym_GT_AMP] = ACTIONS(1009), + [anon_sym_LT_LT] = ACTIONS(1009), + [anon_sym_LT_LT_DASH] = ACTIONS(1009), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1009), + [anon_sym_LF] = ACTIONS(1009), + [anon_sym_AMP] = ACTIONS(1009), + }, + [1054] = { + [sym_simple_expansion] = STATE(446), + [sym_expansion] = STATE(446), + [sym__heredoc_middle] = ACTIONS(1019), + [sym__heredoc_end] = ACTIONS(2858), + [anon_sym_DOLLAR] = ACTIONS(691), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(693), + [sym_comment] = ACTIONS(115), + }, + [1055] = { + [sym__terminated_statement] = STATE(18), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_program_repeat1] = STATE(1127), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(2860), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), + [sym_comment] = ACTIONS(115), + }, + [1056] = { + [anon_sym_RPAREN] = ACTIONS(1145), + [anon_sym_SEMI_SEMI] = ACTIONS(1145), + [anon_sym_PIPE] = ACTIONS(1145), + [anon_sym_PIPE_AMP] = ACTIONS(1145), + [anon_sym_AMP_AMP] = ACTIONS(1145), + [anon_sym_PIPE_PIPE] = ACTIONS(1145), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1145), + [anon_sym_LF] = ACTIONS(1145), + [anon_sym_AMP] = ACTIONS(1145), + }, + [1057] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(1147), + [anon_sym_SEMI_SEMI] = ACTIONS(1147), + [anon_sym_PIPE] = ACTIONS(1147), + [anon_sym_PIPE_AMP] = ACTIONS(1147), + [anon_sym_AMP_AMP] = ACTIONS(1147), + [anon_sym_PIPE_PIPE] = ACTIONS(1147), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1147), + [anon_sym_LF] = ACTIONS(1147), + [anon_sym_AMP] = ACTIONS(1147), + }, + [1058] = { + [sym_file_descriptor] = ACTIONS(605), + [anon_sym_RPAREN] = ACTIONS(561), + [anon_sym_SEMI_SEMI] = ACTIONS(561), + [anon_sym_PIPE] = ACTIONS(561), + [anon_sym_PIPE_AMP] = ACTIONS(561), + [anon_sym_AMP_AMP] = ACTIONS(561), + [anon_sym_PIPE_PIPE] = ACTIONS(561), + [anon_sym_COLON] = ACTIONS(561), + [anon_sym_LT] = ACTIONS(561), + [anon_sym_GT] = ACTIONS(561), + [anon_sym_GT_GT] = ACTIONS(561), + [anon_sym_AMP_GT] = ACTIONS(561), + [anon_sym_AMP_GT_GT] = ACTIONS(561), + [anon_sym_LT_AMP] = ACTIONS(561), + [anon_sym_GT_AMP] = ACTIONS(561), + [anon_sym_DQUOTE] = ACTIONS(561), + [sym_raw_string] = ACTIONS(561), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(561), + [anon_sym_BQUOTE] = ACTIONS(561), + [sym_leading_word] = ACTIONS(561), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(561), + [anon_sym_LF] = ACTIONS(561), + [anon_sym_AMP] = ACTIONS(561), + }, + [1059] = { + [anon_sym_RPAREN] = ACTIONS(2862), + [sym_word] = ACTIONS(569), + [sym_comment] = ACTIONS(115), + }, + [1060] = { + [sym_for_statement] = STATE(1129), + [sym_while_statement] = STATE(1129), + [sym_if_statement] = STATE(1129), + [sym_case_statement] = STATE(1129), + [sym_function_definition] = STATE(1129), + [sym_subshell] = STATE(1129), + [sym_pipeline] = STATE(1129), + [sym_list] = STATE(1129), + [sym_bracket_command] = STATE(1129), + [sym_command] = STATE(1129), + [sym_environment_variable_assignment] = STATE(1130), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(80), + [sym_command_substitution] = STATE(80), + [aux_sym_command_repeat1] = STATE(87), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(203), + [anon_sym_while] = ACTIONS(205), + [anon_sym_if] = ACTIONS(207), + [anon_sym_case] = ACTIONS(209), + [anon_sym_function] = ACTIONS(211), + [anon_sym_LPAREN] = ACTIONS(213), + [anon_sym_LBRACK] = ACTIONS(215), + [anon_sym_LBRACK_LBRACK] = ACTIONS(217), + [anon_sym_COLON] = ACTIONS(219), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(221), + [sym_raw_string] = ACTIONS(223), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(225), + [anon_sym_BQUOTE] = ACTIONS(227), + [sym_leading_word] = ACTIONS(229), + [sym_comment] = ACTIONS(115), + }, + [1061] = { + [sym_file_descriptor] = ACTIONS(413), + [anon_sym_RPAREN] = ACTIONS(415), + [anon_sym_SEMI_SEMI] = ACTIONS(415), + [anon_sym_PIPE] = ACTIONS(415), + [anon_sym_PIPE_AMP] = ACTIONS(415), + [anon_sym_AMP_AMP] = ACTIONS(415), + [anon_sym_PIPE_PIPE] = ACTIONS(415), + [anon_sym_COLON] = ACTIONS(415), + [anon_sym_LT] = ACTIONS(415), + [anon_sym_GT] = ACTIONS(415), + [anon_sym_GT_GT] = ACTIONS(415), + [anon_sym_AMP_GT] = ACTIONS(415), + [anon_sym_AMP_GT_GT] = ACTIONS(415), + [anon_sym_LT_AMP] = ACTIONS(415), + [anon_sym_GT_AMP] = ACTIONS(415), + [anon_sym_DQUOTE] = ACTIONS(415), + [sym_raw_string] = ACTIONS(415), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(415), + [anon_sym_BQUOTE] = ACTIONS(415), + [sym_leading_word] = ACTIONS(415), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(415), + [anon_sym_LF] = ACTIONS(415), + [anon_sym_AMP] = ACTIONS(415), + }, + [1062] = { + [sym_simple_expansion] = STATE(193), + [sym_expansion] = STATE(193), + [sym_command_substitution] = STATE(193), + [anon_sym_DQUOTE] = ACTIONS(2864), + [aux_sym_SLASH_LBRACK_CARET_DQUOTE_BQUOTE_DOLLAR_RBRACK_PLUS_SLASH] = ACTIONS(431), + [anon_sym_DOLLAR] = ACTIONS(195), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(197), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(199), + [anon_sym_BQUOTE] = ACTIONS(201), + [sym_comment] = ACTIONS(73), + }, + [1063] = { + [sym_file_descriptor] = ACTIONS(583), + [anon_sym_RPAREN] = ACTIONS(577), + [anon_sym_SEMI_SEMI] = ACTIONS(577), + [anon_sym_PIPE] = ACTIONS(577), + [anon_sym_PIPE_AMP] = ACTIONS(577), + [anon_sym_AMP_AMP] = ACTIONS(577), + [anon_sym_PIPE_PIPE] = ACTIONS(577), + [anon_sym_COLON] = ACTIONS(577), + [anon_sym_LT] = ACTIONS(577), + [anon_sym_GT] = ACTIONS(577), + [anon_sym_GT_GT] = ACTIONS(577), + [anon_sym_AMP_GT] = ACTIONS(577), + [anon_sym_AMP_GT_GT] = ACTIONS(577), + [anon_sym_LT_AMP] = ACTIONS(577), + [anon_sym_GT_AMP] = ACTIONS(577), + [anon_sym_DQUOTE] = ACTIONS(577), + [sym_raw_string] = ACTIONS(577), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(577), + [anon_sym_BQUOTE] = ACTIONS(577), + [sym_leading_word] = ACTIONS(577), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(577), + [anon_sym_LF] = ACTIONS(577), + [anon_sym_AMP] = ACTIONS(577), + }, + [1064] = { + [sym_file_descriptor] = ACTIONS(615), + [anon_sym_RPAREN] = ACTIONS(579), + [anon_sym_SEMI_SEMI] = ACTIONS(579), + [anon_sym_PIPE] = ACTIONS(579), + [anon_sym_PIPE_AMP] = ACTIONS(579), + [anon_sym_AMP_AMP] = ACTIONS(579), + [anon_sym_PIPE_PIPE] = ACTIONS(579), + [anon_sym_COLON] = ACTIONS(579), + [anon_sym_LT] = ACTIONS(579), + [anon_sym_GT] = ACTIONS(579), + [anon_sym_GT_GT] = ACTIONS(579), + [anon_sym_AMP_GT] = ACTIONS(579), + [anon_sym_AMP_GT_GT] = ACTIONS(579), + [anon_sym_LT_AMP] = ACTIONS(579), + [anon_sym_GT_AMP] = ACTIONS(579), + [anon_sym_DQUOTE] = ACTIONS(579), + [sym_raw_string] = ACTIONS(579), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(579), + [anon_sym_BQUOTE] = ACTIONS(579), + [sym_leading_word] = ACTIONS(579), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(579), + [anon_sym_LF] = ACTIONS(579), + [anon_sym_AMP] = ACTIONS(579), + }, + [1065] = { + [sym_file_descriptor] = ACTIONS(619), + [anon_sym_RPAREN] = ACTIONS(581), + [anon_sym_SEMI_SEMI] = ACTIONS(581), + [anon_sym_PIPE] = ACTIONS(581), + [anon_sym_PIPE_AMP] = ACTIONS(581), + [anon_sym_AMP_AMP] = ACTIONS(581), + [anon_sym_PIPE_PIPE] = ACTIONS(581), + [anon_sym_COLON] = ACTIONS(581), + [anon_sym_LT] = ACTIONS(581), + [anon_sym_GT] = ACTIONS(581), + [anon_sym_GT_GT] = ACTIONS(581), + [anon_sym_AMP_GT] = ACTIONS(581), + [anon_sym_AMP_GT_GT] = ACTIONS(581), + [anon_sym_LT_AMP] = ACTIONS(581), + [anon_sym_GT_AMP] = ACTIONS(581), + [anon_sym_DQUOTE] = ACTIONS(581), + [sym_raw_string] = ACTIONS(581), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(581), + [anon_sym_BQUOTE] = ACTIONS(581), + [sym_leading_word] = ACTIONS(581), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(581), + [anon_sym_LF] = ACTIONS(581), + [anon_sym_AMP] = ACTIONS(581), + }, + [1066] = { + [anon_sym_RBRACE] = ACTIONS(2866), + [anon_sym_COLON] = ACTIONS(2868), + [anon_sym_EQ] = ACTIONS(2870), + [anon_sym_COLON_QMARK] = ACTIONS(2870), + [anon_sym_COLON_DASH] = ACTIONS(2870), + [sym_comment] = ACTIONS(115), + }, + [1067] = { + [anon_sym_RBRACE] = ACTIONS(2872), + [anon_sym_COLON] = ACTIONS(2874), + [anon_sym_EQ] = ACTIONS(2876), + [anon_sym_COLON_QMARK] = ACTIONS(2876), + [anon_sym_COLON_DASH] = ACTIONS(2876), + [sym_comment] = ACTIONS(115), + }, + [1068] = { + [anon_sym_RPAREN] = ACTIONS(2878), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [1069] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2878), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1070] = { + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(485), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_BQUOTE] = ACTIONS(2878), + [sym_comment] = ACTIONS(115), + }, + [1071] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_PIPE] = ACTIONS(481), + [anon_sym_PIPE_AMP] = ACTIONS(483), + [anon_sym_AMP_AMP] = ACTIONS(487), + [anon_sym_PIPE_PIPE] = ACTIONS(485), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(2880), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1072] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1137), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(1167), + [anon_sym_SEMI_SEMI] = ACTIONS(1167), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(1167), + [anon_sym_PIPE_AMP] = ACTIONS(1167), + [anon_sym_AMP_AMP] = ACTIONS(1167), + [anon_sym_PIPE_PIPE] = ACTIONS(1167), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1167), + [anon_sym_LF] = ACTIONS(1167), + [anon_sym_AMP] = ACTIONS(1167), + }, + [1073] = { + [sym_file_redirect] = STATE(800), + [sym_heredoc_redirect] = STATE(800), + [sym_string] = STATE(972), + [sym_array] = STATE(972), + [sym_simple_expansion] = STATE(972), + [sym_expansion] = STATE(972), + [sym_command_substitution] = STATE(972), + [sym_process_substitution] = STATE(972), + [aux_sym_command_repeat2] = STATE(1138), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(1169), + [anon_sym_SEMI_SEMI] = ACTIONS(1169), + [anon_sym_LPAREN] = ACTIONS(2301), + [anon_sym_PIPE] = ACTIONS(1169), + [anon_sym_PIPE_AMP] = ACTIONS(1169), + [anon_sym_AMP_AMP] = ACTIONS(1169), + [anon_sym_PIPE_PIPE] = ACTIONS(1169), + [anon_sym_LT] = ACTIONS(2477), + [anon_sym_GT] = ACTIONS(2477), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [anon_sym_DQUOTE] = ACTIONS(2305), + [sym_raw_string] = ACTIONS(2572), + [anon_sym_DOLLAR] = ACTIONS(2309), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(2311), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(2313), + [anon_sym_BQUOTE] = ACTIONS(2479), + [sym_word] = ACTIONS(2572), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1169), + [anon_sym_LF] = ACTIONS(1169), + [anon_sym_AMP] = ACTIONS(1169), + }, + [1074] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(1171), + [anon_sym_SEMI_SEMI] = ACTIONS(1171), + [anon_sym_PIPE] = ACTIONS(1171), + [anon_sym_PIPE_AMP] = ACTIONS(1171), + [anon_sym_AMP_AMP] = ACTIONS(1171), + [anon_sym_PIPE_PIPE] = ACTIONS(1171), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1171), + [anon_sym_LF] = ACTIONS(1171), + [anon_sym_AMP] = ACTIONS(1171), + }, + [1075] = { + [anon_sym_RPAREN] = ACTIONS(1145), + [anon_sym_SEMI_SEMI] = ACTIONS(1145), + [anon_sym_PIPE] = ACTIONS(1145), + [anon_sym_PIPE_AMP] = ACTIONS(1145), + [anon_sym_AMP_AMP] = ACTIONS(1145), + [anon_sym_PIPE_PIPE] = ACTIONS(1145), + [anon_sym_BQUOTE] = ACTIONS(1145), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1145), + [anon_sym_LF] = ACTIONS(1145), + [anon_sym_AMP] = ACTIONS(1145), + }, + [1076] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1147), + [anon_sym_SEMI_SEMI] = ACTIONS(1147), + [anon_sym_PIPE] = ACTIONS(1147), + [anon_sym_PIPE_AMP] = ACTIONS(1147), + [anon_sym_AMP_AMP] = ACTIONS(1147), + [anon_sym_PIPE_PIPE] = ACTIONS(1147), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(1147), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1147), + [anon_sym_LF] = ACTIONS(1147), + [anon_sym_AMP] = ACTIONS(1147), + }, + [1077] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_LPAREN] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR] = ACTIONS(907), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [1078] = { + [anon_sym_RPAREN] = ACTIONS(2883), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [1079] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2883), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1080] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_LPAREN] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR] = ACTIONS(737), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [1081] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_LPAREN] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR] = ACTIONS(925), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [1082] = { + [sym_string] = STATE(1140), + [sym_array] = STATE(1140), + [sym_simple_expansion] = STATE(1140), + [sym_expansion] = STATE(1140), + [sym_command_substitution] = STATE(1140), + [sym_process_substitution] = STATE(1140), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2885), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2887), + [sym_comment] = ACTIONS(115), + }, + [1083] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_LPAREN] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR] = ACTIONS(931), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_word] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [1084] = { + [sym_string] = STATE(1141), + [sym_array] = STATE(1141), + [sym_simple_expansion] = STATE(1141), + [sym_expansion] = STATE(1141), + [sym_command_substitution] = STATE(1141), + [sym_process_substitution] = STATE(1141), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2889), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2891), + [sym_comment] = ACTIONS(115), + }, + [1085] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_LPAREN] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR] = ACTIONS(847), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_word] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [1086] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [1087] = { + [anon_sym_RPAREN] = ACTIONS(2893), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [sym_comment] = ACTIONS(115), + }, + [1088] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2893), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), + [sym_comment] = ACTIONS(115), + }, + [1089] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [1090] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [1091] = { + [sym_string] = STATE(1143), + [sym_array] = STATE(1143), + [sym_simple_expansion] = STATE(1143), + [sym_expansion] = STATE(1143), + [sym_command_substitution] = STATE(1143), + [sym_process_substitution] = STATE(1143), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2895), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2897), + [sym_comment] = ACTIONS(115), + }, + [1092] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [1093] = { + [sym_string] = STATE(1144), + [sym_array] = STATE(1144), + [sym_simple_expansion] = STATE(1144), + [sym_expansion] = STATE(1144), + [sym_command_substitution] = STATE(1144), + [sym_process_substitution] = STATE(1144), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2899), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2901), + [sym_comment] = ACTIONS(115), + }, + [1094] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), + }, + [1095] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_RBRACE] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_COLON] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_leading_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [1096] = { + [anon_sym_RBRACE] = ACTIONS(2903), + [sym_comment] = ACTIONS(115), + }, + [1097] = { + [anon_sym_RBRACE] = ACTIONS(2905), + [sym_comment] = ACTIONS(115), + }, + [1098] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_COLON] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_leading_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [1099] = { + [anon_sym_RBRACE] = ACTIONS(2907), + [sym_comment] = ACTIONS(115), + }, + [1100] = { + [anon_sym_RBRACE] = ACTIONS(2909), + [sym_comment] = ACTIONS(115), + }, + [1101] = { + [anon_sym_RPAREN] = ACTIONS(1491), + [anon_sym_SEMI_SEMI] = ACTIONS(1491), + [anon_sym_PIPE] = ACTIONS(1491), + [anon_sym_PIPE_AMP] = ACTIONS(1491), + [anon_sym_AMP_AMP] = ACTIONS(1491), + [anon_sym_PIPE_PIPE] = ACTIONS(1491), + [anon_sym_BQUOTE] = ACTIONS(1491), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1491), + [anon_sym_LF] = ACTIONS(1491), + [anon_sym_AMP] = ACTIONS(1491), + }, + [1102] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_LPAREN] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_RBRACK] = ACTIONS(1187), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR] = ACTIONS(1187), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [1103] = { + [anon_sym_RBRACE] = ACTIONS(2911), + [sym_comment] = ACTIONS(115), + }, + [1104] = { + [anon_sym_RBRACE] = ACTIONS(2913), + [sym_comment] = ACTIONS(115), + }, + [1105] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1363), + [anon_sym_SEMI_SEMI] = ACTIONS(1363), + [anon_sym_PIPE] = ACTIONS(1363), + [anon_sym_PIPE_AMP] = ACTIONS(1363), + [anon_sym_AMP_AMP] = ACTIONS(1363), + [anon_sym_PIPE_PIPE] = ACTIONS(1363), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(1363), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1363), + [anon_sym_LF] = ACTIONS(1363), + [anon_sym_AMP] = ACTIONS(1363), + }, + [1106] = { + [sym_file_redirect] = STATE(778), + [sym_heredoc_redirect] = STATE(778), + [sym_file_descriptor] = ACTIONS(1741), + [anon_sym_RPAREN] = ACTIONS(1365), + [anon_sym_SEMI_SEMI] = ACTIONS(1365), + [anon_sym_PIPE] = ACTIONS(1365), + [anon_sym_PIPE_AMP] = ACTIONS(1365), + [anon_sym_AMP_AMP] = ACTIONS(1365), + [anon_sym_PIPE_PIPE] = ACTIONS(1365), + [anon_sym_LT] = ACTIONS(1752), + [anon_sym_GT] = ACTIONS(1752), + [anon_sym_GT_GT] = ACTIONS(1752), + [anon_sym_AMP_GT] = ACTIONS(1752), + [anon_sym_AMP_GT_GT] = ACTIONS(1752), + [anon_sym_LT_AMP] = ACTIONS(1752), + [anon_sym_GT_AMP] = ACTIONS(1752), + [anon_sym_LT_LT] = ACTIONS(1754), + [anon_sym_LT_LT_DASH] = ACTIONS(1754), + [anon_sym_BQUOTE] = ACTIONS(1365), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1365), + [anon_sym_LF] = ACTIONS(1365), + [anon_sym_AMP] = ACTIONS(1365), + }, + [1107] = { + [anon_sym_RPAREN] = ACTIONS(1173), + [anon_sym_SEMI_SEMI] = ACTIONS(1173), + [anon_sym_PIPE] = ACTIONS(1173), + [anon_sym_PIPE_AMP] = ACTIONS(1173), + [anon_sym_AMP_AMP] = ACTIONS(1173), + [anon_sym_PIPE_PIPE] = ACTIONS(1173), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1173), + [anon_sym_LF] = ACTIONS(1173), + [anon_sym_AMP] = ACTIONS(1173), + }, + [1108] = { + [anon_sym_RPAREN] = ACTIONS(1175), + [anon_sym_SEMI_SEMI] = ACTIONS(1175), + [anon_sym_PIPE] = ACTIONS(1175), + [anon_sym_PIPE_AMP] = ACTIONS(1175), + [anon_sym_AMP_AMP] = ACTIONS(1175), + [anon_sym_PIPE_PIPE] = ACTIONS(1175), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1175), + [anon_sym_LF] = ACTIONS(1175), + [anon_sym_AMP] = ACTIONS(1175), + }, + [1109] = { + [anon_sym_RPAREN] = ACTIONS(1181), + [anon_sym_SEMI_SEMI] = ACTIONS(1181), + [anon_sym_PIPE] = ACTIONS(1181), + [anon_sym_PIPE_AMP] = ACTIONS(1181), + [anon_sym_AMP_AMP] = ACTIONS(1181), + [anon_sym_PIPE_PIPE] = ACTIONS(1181), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1181), + [anon_sym_LF] = ACTIONS(1181), + [anon_sym_AMP] = ACTIONS(1181), + }, + [1110] = { + [anon_sym_fi] = ACTIONS(2915), + [sym_comment] = ACTIONS(115), + }, + [1111] = { + [sym_elif_clause] = STATE(409), + [sym_else_clause] = STATE(1152), + [anon_sym_fi] = ACTIONS(2915), + [anon_sym_elif] = ACTIONS(903), + [anon_sym_else] = ACTIONS(905), + [sym_comment] = ACTIONS(115), + }, + [1112] = { + [anon_sym_RPAREN] = ACTIONS(1189), + [anon_sym_SEMI_SEMI] = ACTIONS(1189), + [anon_sym_PIPE] = ACTIONS(1189), + [anon_sym_PIPE_AMP] = ACTIONS(1189), + [anon_sym_AMP_AMP] = ACTIONS(1189), + [anon_sym_PIPE_PIPE] = ACTIONS(1189), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1189), + [anon_sym_LF] = ACTIONS(1189), + [anon_sym_AMP] = ACTIONS(1189), + }, + [1113] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(2917), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [1114] = { + [sym_case_item] = STATE(414), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [aux_sym_case_statement_repeat1] = STATE(1154), + [anon_sym_esac] = ACTIONS(2917), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [1115] = { [anon_sym_RPAREN] = ACTIONS(1207), [anon_sym_SEMI_SEMI] = ACTIONS(1207), [anon_sym_PIPE] = ACTIONS(1207), [anon_sym_PIPE_AMP] = ACTIONS(1207), [anon_sym_AMP_AMP] = ACTIONS(1207), [anon_sym_PIPE_PIPE] = ACTIONS(1207), - [anon_sym_LT] = ACTIONS(2102), - [anon_sym_GT] = ACTIONS(2102), - [anon_sym_GT_GT] = ACTIONS(2102), - [anon_sym_AMP_GT] = ACTIONS(2102), - [anon_sym_AMP_GT_GT] = ACTIONS(2102), - [anon_sym_LT_AMP] = ACTIONS(2102), - [anon_sym_GT_AMP] = ACTIONS(2102), - [anon_sym_LT_LT] = ACTIONS(2104), - [anon_sym_LT_LT_DASH] = ACTIONS(2104), [sym_comment] = ACTIONS(73), [anon_sym_SEMI] = ACTIONS(1207), [anon_sym_LF] = ACTIONS(1207), [anon_sym_AMP] = ACTIONS(1207), }, - [989] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR] = ACTIONS(1079), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_word] = ACTIONS(1079), + [1116] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_LT_LT] = ACTIONS(907), + [anon_sym_LT_LT_DASH] = ACTIONS(907), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), }, - [990] = { - [anon_sym_RBRACE] = ACTIONS(2645), + [1117] = { + [anon_sym_RPAREN] = ACTIONS(2919), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, - [991] = { - [anon_sym_RBRACE] = ACTIONS(2647), + [1118] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2919), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [992] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), + [1119] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_LT_LT] = ACTIONS(737), + [anon_sym_LT_LT_DASH] = ACTIONS(737), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), }, - [993] = { - [anon_sym_RBRACE] = ACTIONS(2649), + [1120] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_LT_LT] = ACTIONS(925), + [anon_sym_LT_LT_DASH] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [1121] = { + [sym_string] = STATE(1156), + [sym_array] = STATE(1156), + [sym_simple_expansion] = STATE(1156), + [sym_expansion] = STATE(1156), + [sym_command_substitution] = STATE(1156), + [sym_process_substitution] = STATE(1156), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2921), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2923), [sym_comment] = ACTIONS(115), }, - [994] = { - [anon_sym_RBRACE] = ACTIONS(2651), + [1122] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_LT_LT] = ACTIONS(931), + [anon_sym_LT_LT_DASH] = ACTIONS(931), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), + }, + [1123] = { + [sym_string] = STATE(1157), + [sym_array] = STATE(1157), + [sym_simple_expansion] = STATE(1157), + [sym_expansion] = STATE(1157), + [sym_command_substitution] = STATE(1157), + [sym_process_substitution] = STATE(1157), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2925), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2927), [sym_comment] = ACTIONS(115), }, - [995] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_RBRACE] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_COLON] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_leading_word] = ACTIONS(1283), + [1124] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_LT_LT] = ACTIONS(847), + [anon_sym_LT_LT_DASH] = ACTIONS(847), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), }, - [996] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_RBRACE] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [anon_sym_COLON] = ACTIONS(1285), - [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_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_leading_word] = ACTIONS(1285), + [1125] = { + [sym_file_descriptor] = ACTIONS(1253), + [anon_sym_RPAREN] = ACTIONS(1255), + [anon_sym_SEMI_SEMI] = ACTIONS(1255), + [anon_sym_PIPE] = ACTIONS(1255), + [anon_sym_PIPE_AMP] = ACTIONS(1255), + [anon_sym_AMP_AMP] = ACTIONS(1255), + [anon_sym_PIPE_PIPE] = ACTIONS(1255), + [anon_sym_LT] = ACTIONS(1255), + [anon_sym_GT] = ACTIONS(1255), + [anon_sym_GT_GT] = ACTIONS(1255), + [anon_sym_AMP_GT] = ACTIONS(1255), + [anon_sym_AMP_GT_GT] = ACTIONS(1255), + [anon_sym_LT_AMP] = ACTIONS(1255), + [anon_sym_GT_AMP] = ACTIONS(1255), + [anon_sym_LT_LT] = ACTIONS(1255), + [anon_sym_LT_LT_DASH] = ACTIONS(1255), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), + [anon_sym_SEMI] = ACTIONS(1255), + [anon_sym_LF] = ACTIONS(1255), + [anon_sym_AMP] = ACTIONS(1255), }, - [997] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_COLON] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_leading_word] = ACTIONS(1283), + [1126] = { + [anon_sym_RPAREN] = ACTIONS(1349), + [anon_sym_SEMI_SEMI] = ACTIONS(1349), + [anon_sym_PIPE] = ACTIONS(1349), + [anon_sym_PIPE_AMP] = ACTIONS(1349), + [anon_sym_AMP_AMP] = ACTIONS(1349), + [anon_sym_PIPE_PIPE] = ACTIONS(1349), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [anon_sym_SEMI] = ACTIONS(1349), + [anon_sym_LF] = ACTIONS(1349), + [anon_sym_AMP] = ACTIONS(1349), }, - [998] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [anon_sym_COLON] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [anon_sym_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_leading_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), - }, - [999] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_RBRACK] = ACTIONS(1283), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR] = ACTIONS(1283), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_word] = ACTIONS(1283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), - }, - [1000] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [anon_sym_RBRACK] = ACTIONS(1285), - [anon_sym_RBRACK_RBRACK] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [anon_sym_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR] = ACTIONS(1285), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), - }, - [1001] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_LT_LT] = ACTIONS(1079), - [anon_sym_LT_LT_DASH] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [1002] = { - [anon_sym_RBRACE] = ACTIONS(2653), + [1127] = { + [sym__terminated_statement] = STATE(100), + [sym_for_statement] = STATE(19), + [sym_while_statement] = STATE(19), + [sym_if_statement] = STATE(19), + [sym_case_statement] = STATE(19), + [sym_function_definition] = STATE(19), + [sym_subshell] = STATE(19), + [sym_pipeline] = STATE(19), + [sym_list] = STATE(19), + [sym_bracket_command] = STATE(19), + [sym_command] = STATE(19), + [sym_environment_variable_assignment] = STATE(20), + [sym_file_redirect] = STATE(21), + [sym_string] = STATE(11), + [sym_command_substitution] = STATE(11), + [aux_sym_command_repeat1] = STATE(23), + [sym_file_descriptor] = ACTIONS(81), + [anon_sym_for] = ACTIONS(85), + [anon_sym_while] = ACTIONS(87), + [anon_sym_if] = ACTIONS(89), + [anon_sym_case] = ACTIONS(91), + [anon_sym_function] = ACTIONS(93), + [anon_sym_LPAREN] = ACTIONS(95), + [anon_sym_RBRACE] = ACTIONS(2929), + [anon_sym_LBRACK] = ACTIONS(97), + [anon_sym_LBRACK_LBRACK] = ACTIONS(99), + [anon_sym_COLON] = ACTIONS(101), + [anon_sym_LT] = ACTIONS(103), + [anon_sym_GT] = ACTIONS(103), + [anon_sym_GT_GT] = ACTIONS(103), + [anon_sym_AMP_GT] = ACTIONS(103), + [anon_sym_AMP_GT_GT] = ACTIONS(103), + [anon_sym_LT_AMP] = ACTIONS(103), + [anon_sym_GT_AMP] = ACTIONS(103), + [anon_sym_DQUOTE] = ACTIONS(105), + [sym_raw_string] = ACTIONS(107), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(109), + [anon_sym_BQUOTE] = ACTIONS(111), + [sym_leading_word] = ACTIONS(113), [sym_comment] = ACTIONS(115), }, - [1003] = { - [anon_sym_RBRACE] = ACTIONS(2655), + [1128] = { + [sym_file_descriptor] = ACTIONS(937), + [anon_sym_RPAREN] = ACTIONS(907), + [anon_sym_SEMI_SEMI] = ACTIONS(907), + [anon_sym_PIPE] = ACTIONS(907), + [anon_sym_PIPE_AMP] = ACTIONS(907), + [anon_sym_AMP_AMP] = ACTIONS(907), + [anon_sym_PIPE_PIPE] = ACTIONS(907), + [anon_sym_COLON] = ACTIONS(907), + [anon_sym_LT] = ACTIONS(907), + [anon_sym_GT] = ACTIONS(907), + [anon_sym_GT_GT] = ACTIONS(907), + [anon_sym_AMP_GT] = ACTIONS(907), + [anon_sym_AMP_GT_GT] = ACTIONS(907), + [anon_sym_LT_AMP] = ACTIONS(907), + [anon_sym_GT_AMP] = ACTIONS(907), + [anon_sym_DQUOTE] = ACTIONS(907), + [sym_raw_string] = ACTIONS(907), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(907), + [anon_sym_BQUOTE] = ACTIONS(907), + [sym_leading_word] = ACTIONS(907), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(907), + [anon_sym_LF] = ACTIONS(907), + [anon_sym_AMP] = ACTIONS(907), + }, + [1129] = { + [anon_sym_RPAREN] = ACTIONS(2931), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(465), + [anon_sym_PIPE_PIPE] = ACTIONS(465), [sym_comment] = ACTIONS(115), }, - [1004] = { - [sym_file_descriptor] = ACTIONS(1105), - [anon_sym_RPAREN] = ACTIONS(1079), - [anon_sym_SEMI_SEMI] = ACTIONS(1079), - [anon_sym_PIPE] = ACTIONS(1079), - [anon_sym_PIPE_AMP] = ACTIONS(1079), - [anon_sym_AMP_AMP] = ACTIONS(1079), - [anon_sym_PIPE_PIPE] = ACTIONS(1079), - [anon_sym_COLON] = ACTIONS(1079), - [anon_sym_LT] = ACTIONS(1079), - [anon_sym_GT] = ACTIONS(1079), - [anon_sym_GT_GT] = ACTIONS(1079), - [anon_sym_AMP_GT] = ACTIONS(1079), - [anon_sym_AMP_GT_GT] = ACTIONS(1079), - [anon_sym_LT_AMP] = ACTIONS(1079), - [anon_sym_GT_AMP] = ACTIONS(1079), - [anon_sym_DQUOTE] = ACTIONS(1079), - [sym_raw_string] = ACTIONS(1079), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1079), - [anon_sym_BQUOTE] = ACTIONS(1079), - [sym_leading_word] = ACTIONS(1079), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1079), - [anon_sym_LF] = ACTIONS(1079), - [anon_sym_AMP] = ACTIONS(1079), - }, - [1005] = { - [anon_sym_RBRACE] = ACTIONS(2657), + [1130] = { + [sym_file_descriptor] = ACTIONS(259), + [anon_sym_RPAREN] = ACTIONS(2931), + [anon_sym_PIPE] = ACTIONS(461), + [anon_sym_PIPE_AMP] = ACTIONS(463), + [anon_sym_AMP_AMP] = ACTIONS(467), + [anon_sym_PIPE_PIPE] = ACTIONS(465), + [anon_sym_COLON] = ACTIONS(259), + [anon_sym_LT] = ACTIONS(469), + [anon_sym_GT] = ACTIONS(469), + [anon_sym_GT_GT] = ACTIONS(469), + [anon_sym_AMP_GT] = ACTIONS(469), + [anon_sym_AMP_GT_GT] = ACTIONS(469), + [anon_sym_LT_AMP] = ACTIONS(469), + [anon_sym_GT_AMP] = ACTIONS(469), + [anon_sym_DQUOTE] = ACTIONS(259), + [sym_raw_string] = ACTIONS(469), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(259), + [anon_sym_BQUOTE] = ACTIONS(259), + [sym_leading_word] = ACTIONS(261), [sym_comment] = ACTIONS(115), }, - [1006] = { - [anon_sym_RBRACE] = ACTIONS(2659), + [1131] = { + [sym_file_descriptor] = ACTIONS(735), + [anon_sym_RPAREN] = ACTIONS(737), + [anon_sym_SEMI_SEMI] = ACTIONS(737), + [anon_sym_PIPE] = ACTIONS(737), + [anon_sym_PIPE_AMP] = ACTIONS(737), + [anon_sym_AMP_AMP] = ACTIONS(737), + [anon_sym_PIPE_PIPE] = ACTIONS(737), + [anon_sym_COLON] = ACTIONS(737), + [anon_sym_LT] = ACTIONS(737), + [anon_sym_GT] = ACTIONS(737), + [anon_sym_GT_GT] = ACTIONS(737), + [anon_sym_AMP_GT] = ACTIONS(737), + [anon_sym_AMP_GT_GT] = ACTIONS(737), + [anon_sym_LT_AMP] = ACTIONS(737), + [anon_sym_GT_AMP] = ACTIONS(737), + [anon_sym_DQUOTE] = ACTIONS(737), + [sym_raw_string] = ACTIONS(737), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(737), + [anon_sym_BQUOTE] = ACTIONS(737), + [sym_leading_word] = ACTIONS(737), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(737), + [anon_sym_LF] = ACTIONS(737), + [anon_sym_AMP] = ACTIONS(737), + }, + [1132] = { + [sym_file_descriptor] = ACTIONS(945), + [anon_sym_RPAREN] = ACTIONS(925), + [anon_sym_SEMI_SEMI] = ACTIONS(925), + [anon_sym_PIPE] = ACTIONS(925), + [anon_sym_PIPE_AMP] = ACTIONS(925), + [anon_sym_AMP_AMP] = ACTIONS(925), + [anon_sym_PIPE_PIPE] = ACTIONS(925), + [anon_sym_COLON] = ACTIONS(925), + [anon_sym_LT] = ACTIONS(925), + [anon_sym_GT] = ACTIONS(925), + [anon_sym_GT_GT] = ACTIONS(925), + [anon_sym_AMP_GT] = ACTIONS(925), + [anon_sym_AMP_GT_GT] = ACTIONS(925), + [anon_sym_LT_AMP] = ACTIONS(925), + [anon_sym_GT_AMP] = ACTIONS(925), + [anon_sym_DQUOTE] = ACTIONS(925), + [sym_raw_string] = ACTIONS(925), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(925), + [anon_sym_BQUOTE] = ACTIONS(925), + [sym_leading_word] = ACTIONS(925), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(925), + [anon_sym_LF] = ACTIONS(925), + [anon_sym_AMP] = ACTIONS(925), + }, + [1133] = { + [sym_string] = STATE(1160), + [sym_array] = STATE(1160), + [sym_simple_expansion] = STATE(1160), + [sym_expansion] = STATE(1160), + [sym_command_substitution] = STATE(1160), + [sym_process_substitution] = STATE(1160), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2933), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2935), [sym_comment] = ACTIONS(115), }, - [1007] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR] = ACTIONS(1283), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_word] = ACTIONS(1283), + [1134] = { + [sym_file_descriptor] = ACTIONS(953), + [anon_sym_RPAREN] = ACTIONS(931), + [anon_sym_SEMI_SEMI] = ACTIONS(931), + [anon_sym_PIPE] = ACTIONS(931), + [anon_sym_PIPE_AMP] = ACTIONS(931), + [anon_sym_AMP_AMP] = ACTIONS(931), + [anon_sym_PIPE_PIPE] = ACTIONS(931), + [anon_sym_COLON] = ACTIONS(931), + [anon_sym_LT] = ACTIONS(931), + [anon_sym_GT] = ACTIONS(931), + [anon_sym_GT_GT] = ACTIONS(931), + [anon_sym_AMP_GT] = ACTIONS(931), + [anon_sym_AMP_GT_GT] = ACTIONS(931), + [anon_sym_LT_AMP] = ACTIONS(931), + [anon_sym_GT_AMP] = ACTIONS(931), + [anon_sym_DQUOTE] = ACTIONS(931), + [sym_raw_string] = ACTIONS(931), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(931), + [anon_sym_BQUOTE] = ACTIONS(931), + [sym_leading_word] = ACTIONS(931), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [anon_sym_SEMI] = ACTIONS(931), + [anon_sym_LF] = ACTIONS(931), + [anon_sym_AMP] = ACTIONS(931), }, - [1008] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [anon_sym_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR] = ACTIONS(1285), - [anon_sym_DOLLAR_LBRACE] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_word] = ACTIONS(1285), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), + [1135] = { + [sym_string] = STATE(1161), + [sym_array] = STATE(1161), + [sym_simple_expansion] = STATE(1161), + [sym_expansion] = STATE(1161), + [sym_command_substitution] = STATE(1161), + [sym_process_substitution] = STATE(1161), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(2937), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(2939), + [sym_comment] = ACTIONS(115), }, - [1009] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), + [1136] = { + [sym_file_descriptor] = ACTIONS(845), + [anon_sym_RPAREN] = ACTIONS(847), + [anon_sym_SEMI_SEMI] = ACTIONS(847), + [anon_sym_PIPE] = ACTIONS(847), + [anon_sym_PIPE_AMP] = ACTIONS(847), + [anon_sym_AMP_AMP] = ACTIONS(847), + [anon_sym_PIPE_PIPE] = ACTIONS(847), + [anon_sym_COLON] = ACTIONS(847), + [anon_sym_LT] = ACTIONS(847), + [anon_sym_GT] = ACTIONS(847), + [anon_sym_GT_GT] = ACTIONS(847), + [anon_sym_AMP_GT] = ACTIONS(847), + [anon_sym_AMP_GT_GT] = ACTIONS(847), + [anon_sym_LT_AMP] = ACTIONS(847), + [anon_sym_GT_AMP] = ACTIONS(847), + [anon_sym_DQUOTE] = ACTIONS(847), + [sym_raw_string] = ACTIONS(847), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(847), + [anon_sym_BQUOTE] = ACTIONS(847), + [sym_leading_word] = ACTIONS(847), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [anon_sym_SEMI] = ACTIONS(847), + [anon_sym_LF] = ACTIONS(847), + [anon_sym_AMP] = ACTIONS(847), }, - [1010] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), + [1137] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(1363), + [anon_sym_SEMI_SEMI] = ACTIONS(1363), + [anon_sym_PIPE] = ACTIONS(1363), + [anon_sym_PIPE_AMP] = ACTIONS(1363), + [anon_sym_AMP_AMP] = ACTIONS(1363), + [anon_sym_PIPE_PIPE] = ACTIONS(1363), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), + [anon_sym_SEMI] = ACTIONS(1363), + [anon_sym_LF] = ACTIONS(1363), + [anon_sym_AMP] = ACTIONS(1363), }, - [1011] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_LT_LT] = ACTIONS(1283), - [anon_sym_LT_LT_DASH] = ACTIONS(1283), + [1138] = { + [sym_file_redirect] = STATE(931), + [sym_heredoc_redirect] = STATE(931), + [sym_file_descriptor] = ACTIONS(2236), + [anon_sym_RPAREN] = ACTIONS(1365), + [anon_sym_SEMI_SEMI] = ACTIONS(1365), + [anon_sym_PIPE] = ACTIONS(1365), + [anon_sym_PIPE_AMP] = ACTIONS(1365), + [anon_sym_AMP_AMP] = ACTIONS(1365), + [anon_sym_PIPE_PIPE] = ACTIONS(1365), + [anon_sym_LT] = ACTIONS(2240), + [anon_sym_GT] = ACTIONS(2240), + [anon_sym_GT_GT] = ACTIONS(2240), + [anon_sym_AMP_GT] = ACTIONS(2240), + [anon_sym_AMP_GT_GT] = ACTIONS(2240), + [anon_sym_LT_AMP] = ACTIONS(2240), + [anon_sym_GT_AMP] = ACTIONS(2240), + [anon_sym_LT_LT] = ACTIONS(2242), + [anon_sym_LT_LT_DASH] = ACTIONS(2242), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [anon_sym_SEMI] = ACTIONS(1365), + [anon_sym_LF] = ACTIONS(1365), + [anon_sym_AMP] = ACTIONS(1365), }, - [1012] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [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(1285), - [anon_sym_LT_LT_DASH] = ACTIONS(1285), + [1139] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_LPAREN] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR] = ACTIONS(1187), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_word] = ACTIONS(1187), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), }, - [1013] = { - [sym_file_descriptor] = ACTIONS(1287), - [anon_sym_RPAREN] = ACTIONS(1283), - [anon_sym_SEMI_SEMI] = ACTIONS(1283), - [anon_sym_PIPE] = ACTIONS(1283), - [anon_sym_PIPE_AMP] = ACTIONS(1283), - [anon_sym_AMP_AMP] = ACTIONS(1283), - [anon_sym_PIPE_PIPE] = ACTIONS(1283), - [anon_sym_COLON] = ACTIONS(1283), - [anon_sym_LT] = ACTIONS(1283), - [anon_sym_GT] = ACTIONS(1283), - [anon_sym_GT_GT] = ACTIONS(1283), - [anon_sym_AMP_GT] = ACTIONS(1283), - [anon_sym_AMP_GT_GT] = ACTIONS(1283), - [anon_sym_LT_AMP] = ACTIONS(1283), - [anon_sym_GT_AMP] = ACTIONS(1283), - [anon_sym_DQUOTE] = ACTIONS(1283), - [sym_raw_string] = ACTIONS(1283), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1283), - [anon_sym_BQUOTE] = ACTIONS(1283), - [sym_leading_word] = ACTIONS(1283), - [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1283), - [anon_sym_LF] = ACTIONS(1283), - [anon_sym_AMP] = ACTIONS(1283), + [1140] = { + [anon_sym_RBRACE] = ACTIONS(2941), + [sym_comment] = ACTIONS(115), }, - [1014] = { - [sym_file_descriptor] = ACTIONS(1291), - [anon_sym_RPAREN] = ACTIONS(1285), - [anon_sym_SEMI_SEMI] = ACTIONS(1285), - [anon_sym_PIPE] = ACTIONS(1285), - [anon_sym_PIPE_AMP] = ACTIONS(1285), - [anon_sym_AMP_AMP] = ACTIONS(1285), - [anon_sym_PIPE_PIPE] = ACTIONS(1285), - [anon_sym_COLON] = ACTIONS(1285), - [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_DQUOTE] = ACTIONS(1285), - [sym_raw_string] = ACTIONS(1285), - [anon_sym_DOLLAR_LPAREN] = ACTIONS(1285), - [anon_sym_BQUOTE] = ACTIONS(1285), - [sym_leading_word] = ACTIONS(1285), + [1141] = { + [anon_sym_RBRACE] = ACTIONS(2943), + [sym_comment] = ACTIONS(115), + }, + [1142] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), [sym_comment] = ACTIONS(73), - [anon_sym_SEMI] = ACTIONS(1285), - [anon_sym_LF] = ACTIONS(1285), - [anon_sym_AMP] = ACTIONS(1285), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [1143] = { + [anon_sym_RBRACE] = ACTIONS(2945), + [sym_comment] = ACTIONS(115), + }, + [1144] = { + [anon_sym_RBRACE] = ACTIONS(2947), + [sym_comment] = ACTIONS(115), + }, + [1145] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_RBRACE] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_COLON] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_leading_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1146] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_RBRACE] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_COLON] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_leading_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1147] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_COLON] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_leading_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1148] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_COLON] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_leading_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1149] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_LPAREN] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_RBRACK] = ACTIONS(1385), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR] = ACTIONS(1385), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1150] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_LPAREN] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_RBRACK] = ACTIONS(1387), + [anon_sym_RBRACK_RBRACK] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR] = ACTIONS(1387), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1151] = { + [anon_sym_RPAREN] = ACTIONS(1369), + [anon_sym_SEMI_SEMI] = ACTIONS(1369), + [anon_sym_PIPE] = ACTIONS(1369), + [anon_sym_PIPE_AMP] = ACTIONS(1369), + [anon_sym_AMP_AMP] = ACTIONS(1369), + [anon_sym_PIPE_PIPE] = ACTIONS(1369), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1369), + [anon_sym_LF] = ACTIONS(1369), + [anon_sym_AMP] = ACTIONS(1369), + }, + [1152] = { + [anon_sym_fi] = ACTIONS(2949), + [sym_comment] = ACTIONS(115), + }, + [1153] = { + [anon_sym_RPAREN] = ACTIONS(1375), + [anon_sym_SEMI_SEMI] = ACTIONS(1375), + [anon_sym_PIPE] = ACTIONS(1375), + [anon_sym_PIPE_AMP] = ACTIONS(1375), + [anon_sym_AMP_AMP] = ACTIONS(1375), + [anon_sym_PIPE_PIPE] = ACTIONS(1375), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1375), + [anon_sym_LF] = ACTIONS(1375), + [anon_sym_AMP] = ACTIONS(1375), + }, + [1154] = { + [sym_case_item] = STATE(522), + [sym_string] = STATE(412), + [sym_array] = STATE(412), + [sym_simple_expansion] = STATE(412), + [sym_expansion] = STATE(412), + [sym_command_substitution] = STATE(412), + [sym_process_substitution] = STATE(412), + [anon_sym_esac] = ACTIONS(2951), + [anon_sym_LPAREN] = ACTIONS(145), + [anon_sym_LT] = ACTIONS(147), + [anon_sym_GT] = ACTIONS(147), + [anon_sym_DQUOTE] = ACTIONS(149), + [sym_raw_string] = ACTIONS(917), + [anon_sym_DOLLAR] = ACTIONS(919), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(155), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(157), + [anon_sym_BQUOTE] = ACTIONS(159), + [sym_word] = ACTIONS(921), + [sym_comment] = ACTIONS(115), + }, + [1155] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_LT_LT] = ACTIONS(1187), + [anon_sym_LT_LT_DASH] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [1156] = { + [anon_sym_RBRACE] = ACTIONS(2953), + [sym_comment] = ACTIONS(115), + }, + [1157] = { + [anon_sym_RBRACE] = ACTIONS(2955), + [sym_comment] = ACTIONS(115), + }, + [1158] = { + [anon_sym_RPAREN] = ACTIONS(1473), + [anon_sym_SEMI_SEMI] = ACTIONS(1473), + [anon_sym_PIPE] = ACTIONS(1473), + [anon_sym_PIPE_AMP] = ACTIONS(1473), + [anon_sym_AMP_AMP] = ACTIONS(1473), + [anon_sym_PIPE_PIPE] = ACTIONS(1473), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1473), + [anon_sym_LF] = ACTIONS(1473), + [anon_sym_AMP] = ACTIONS(1473), + }, + [1159] = { + [sym_file_descriptor] = ACTIONS(1209), + [anon_sym_RPAREN] = ACTIONS(1187), + [anon_sym_SEMI_SEMI] = ACTIONS(1187), + [anon_sym_PIPE] = ACTIONS(1187), + [anon_sym_PIPE_AMP] = ACTIONS(1187), + [anon_sym_AMP_AMP] = ACTIONS(1187), + [anon_sym_PIPE_PIPE] = ACTIONS(1187), + [anon_sym_COLON] = ACTIONS(1187), + [anon_sym_LT] = ACTIONS(1187), + [anon_sym_GT] = ACTIONS(1187), + [anon_sym_GT_GT] = ACTIONS(1187), + [anon_sym_AMP_GT] = ACTIONS(1187), + [anon_sym_AMP_GT_GT] = ACTIONS(1187), + [anon_sym_LT_AMP] = ACTIONS(1187), + [anon_sym_GT_AMP] = ACTIONS(1187), + [anon_sym_DQUOTE] = ACTIONS(1187), + [sym_raw_string] = ACTIONS(1187), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1187), + [anon_sym_BQUOTE] = ACTIONS(1187), + [sym_leading_word] = ACTIONS(1187), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1187), + [anon_sym_LF] = ACTIONS(1187), + [anon_sym_AMP] = ACTIONS(1187), + }, + [1160] = { + [anon_sym_RBRACE] = ACTIONS(2957), + [sym_comment] = ACTIONS(115), + }, + [1161] = { + [anon_sym_RBRACE] = ACTIONS(2959), + [sym_comment] = ACTIONS(115), + }, + [1162] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_LPAREN] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR] = ACTIONS(1385), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1163] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_LPAREN] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR] = ACTIONS(1387), + [anon_sym_DOLLAR_LBRACE] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1164] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1165] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1166] = { + [anon_sym_RPAREN] = ACTIONS(1481), + [anon_sym_SEMI_SEMI] = ACTIONS(1481), + [anon_sym_PIPE] = ACTIONS(1481), + [anon_sym_PIPE_AMP] = ACTIONS(1481), + [anon_sym_AMP_AMP] = ACTIONS(1481), + [anon_sym_PIPE_PIPE] = ACTIONS(1481), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1481), + [anon_sym_LF] = ACTIONS(1481), + [anon_sym_AMP] = ACTIONS(1481), + }, + [1167] = { + [anon_sym_RPAREN] = ACTIONS(1491), + [anon_sym_SEMI_SEMI] = ACTIONS(1491), + [anon_sym_PIPE] = ACTIONS(1491), + [anon_sym_PIPE_AMP] = ACTIONS(1491), + [anon_sym_AMP_AMP] = ACTIONS(1491), + [anon_sym_PIPE_PIPE] = ACTIONS(1491), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1491), + [anon_sym_LF] = ACTIONS(1491), + [anon_sym_AMP] = ACTIONS(1491), + }, + [1168] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_LT_LT] = ACTIONS(1385), + [anon_sym_LT_LT_DASH] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1169] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_LT_LT] = ACTIONS(1387), + [anon_sym_LT_LT_DASH] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), + }, + [1170] = { + [sym_file_descriptor] = ACTIONS(1389), + [anon_sym_RPAREN] = ACTIONS(1385), + [anon_sym_SEMI_SEMI] = ACTIONS(1385), + [anon_sym_PIPE] = ACTIONS(1385), + [anon_sym_PIPE_AMP] = ACTIONS(1385), + [anon_sym_AMP_AMP] = ACTIONS(1385), + [anon_sym_PIPE_PIPE] = ACTIONS(1385), + [anon_sym_COLON] = ACTIONS(1385), + [anon_sym_LT] = ACTIONS(1385), + [anon_sym_GT] = ACTIONS(1385), + [anon_sym_GT_GT] = ACTIONS(1385), + [anon_sym_AMP_GT] = ACTIONS(1385), + [anon_sym_AMP_GT_GT] = ACTIONS(1385), + [anon_sym_LT_AMP] = ACTIONS(1385), + [anon_sym_GT_AMP] = ACTIONS(1385), + [anon_sym_DQUOTE] = ACTIONS(1385), + [sym_raw_string] = ACTIONS(1385), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1385), + [anon_sym_BQUOTE] = ACTIONS(1385), + [sym_leading_word] = ACTIONS(1385), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1385), + [anon_sym_LF] = ACTIONS(1385), + [anon_sym_AMP] = ACTIONS(1385), + }, + [1171] = { + [sym_file_descriptor] = ACTIONS(1393), + [anon_sym_RPAREN] = ACTIONS(1387), + [anon_sym_SEMI_SEMI] = ACTIONS(1387), + [anon_sym_PIPE] = ACTIONS(1387), + [anon_sym_PIPE_AMP] = ACTIONS(1387), + [anon_sym_AMP_AMP] = ACTIONS(1387), + [anon_sym_PIPE_PIPE] = ACTIONS(1387), + [anon_sym_COLON] = ACTIONS(1387), + [anon_sym_LT] = ACTIONS(1387), + [anon_sym_GT] = ACTIONS(1387), + [anon_sym_GT_GT] = ACTIONS(1387), + [anon_sym_AMP_GT] = ACTIONS(1387), + [anon_sym_AMP_GT_GT] = ACTIONS(1387), + [anon_sym_LT_AMP] = ACTIONS(1387), + [anon_sym_GT_AMP] = ACTIONS(1387), + [anon_sym_DQUOTE] = ACTIONS(1387), + [sym_raw_string] = ACTIONS(1387), + [anon_sym_DOLLAR_LPAREN] = ACTIONS(1387), + [anon_sym_BQUOTE] = ACTIONS(1387), + [sym_leading_word] = ACTIONS(1387), + [sym_comment] = ACTIONS(73), + [anon_sym_SEMI] = ACTIONS(1387), + [anon_sym_LF] = ACTIONS(1387), + [anon_sym_AMP] = ACTIONS(1387), }, }; static TSParseActionEntry ts_parse_actions[] = { [0] = {.count = 0, .reusable = false, .depends_on_lookahead = false}, - [1] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(606), - [3] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(607), - [5] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(608), - [7] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(609), - [9] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(610), - [11] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(611), + [1] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(639), + [3] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(640), + [5] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(641), + [7] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(642), + [9] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(643), + [11] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(644), [13] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(0), - [15] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(578), - [17] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(579), - [19] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(580), - [21] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(581), - [23] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(582), - [25] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(583), - [27] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(584), - [29] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(585), - [31] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(205), - [33] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(206), - [35] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(586), - [37] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(587), - [39] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(588), - [41] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(589), - [43] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(590), - [45] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(591), - [47] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(592), - [49] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(593), - [51] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(594), - [53] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(595), - [55] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(596), - [57] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(596), - [59] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(597), - [61] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(598), - [63] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(599), - [65] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(600), - [67] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(601), - [69] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(602), - [71] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(603), + [15] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(611), + [17] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(612), + [19] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(613), + [21] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(614), + [23] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(615), + [25] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(616), + [27] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(617), + [29] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(618), + [31] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(252), + [33] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(253), + [35] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(619), + [37] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(620), + [39] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(621), + [41] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(622), + [43] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(623), + [45] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(624), + [47] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(625), + [49] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(626), + [51] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(627), + [53] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(628), + [55] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(629), + [57] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(629), + [59] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(630), + [61] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(631), + [63] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(632), + [65] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(633), + [67] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(634), + [69] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(635), + [71] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(636), [73] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT_EXTRA(), - [75] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(604), - [77] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(604), - [79] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(605), + [75] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(637), + [77] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, RECOVER(637), + [79] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, RECOVER(638), [81] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(2), [83] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 0), [85] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(3), @@ -30313,1151 +35131,1277 @@ static TSParseActionEntry ts_parse_actions[] = { [121] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(25), [123] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(30), [125] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(31), - [127] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(32), + [127] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(32), [129] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(33), - [131] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(34), + [131] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(34), [133] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(35), [135] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(36), - [137] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(32), - [139] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(37), - [141] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(38), - [143] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(40), + [137] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(37), + [139] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(33), + [141] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(38), + [143] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(39), [145] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(41), - [147] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(42), - [149] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(43), - [151] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(44), - [153] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(45), + [147] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(42), + [149] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(43), + [151] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(44), + [153] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(45), [155] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(46), - [157] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(42), - [159] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(49), - [161] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), - [163] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(50), - [165] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(51), + [157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(47), + [159] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(48), + [161] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(44), + [163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(51), + [165] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), [167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(52), - [169] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(55), - [171] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(56), - [173] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(57), - [175] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(58), + [169] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(53), + [171] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(54), + [173] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(57), + [175] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(58), [177] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(59), - [179] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(60), - [181] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(61), - [183] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(57), - [185] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(62), - [187] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(63), - [189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(64), + [179] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(60), + [181] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(61), + [183] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(62), + [185] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(63), + [187] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(64), + [189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(60), [191] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(65), - [193] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(66), - [195] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(67), - [197] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(69), - [199] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(70), - [201] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(69), - [203] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(71), - [205] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(72), - [207] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(73), - [209] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(76), + [193] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(66), + [195] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(67), + [197] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(68), + [199] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(69), + [201] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(70), + [203] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(72), + [205] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(73), + [207] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(74), + [209] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(75), [211] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(76), - [213] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(77), - [215] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1, .rename_sequence_id = 1), - [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 = false, .depends_on_lookahead = false}, SHIFT(82), - [223] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, ACCEPT_INPUT(), - [225] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), - [227] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), - [229] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), - [231] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(84), - [233] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(85), - [235] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(86), - [237] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), - [239] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), - [241] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1), - [243] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 1), - [245] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(88), - [247] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(88), - [249] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(89), - [251] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(91), - [253] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(91), - [255] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(92), - [257] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(93), - [259] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(95), - [261] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(96), - [263] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(97), - [265] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(98), - [267] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(100), - [269] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(101), - [271] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(102), - [273] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(103), - [275] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(102), - [277] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(105), - [279] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(106), - [281] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(110), - [283] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), - [285] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(111), - [287] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(112), - [289] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(113), - [291] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [293] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [295] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), - [297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(115), - [299] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(116), - [301] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(115), - [303] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(118), - [305] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(122), - [307] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(123), - [309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(123), - [311] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(124), - [313] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(124), - [315] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), - [317] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(125), - [319] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(126), - [321] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(127), - [323] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(128), - [325] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(129), - [327] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(130), - [329] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(131), - [331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(134), - [333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(135), - [335] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(136), - [337] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(137), - [339] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(138), - [341] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(139), - [343] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(140), - [345] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(136), - [347] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(141), - [349] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(142), - [351] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), - [353] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), - [355] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), - [357] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(145), - [359] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(146), - [361] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), - [363] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2), - [365] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), - [367] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(148), - [369] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(149), - [371] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(148), - [373] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(151), - [375] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), - [377] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), - [379] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), - [381] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 1), - [383] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(155), - [385] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(156), - [387] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(155), - [389] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(158), - [391] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(162), - [393] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(163), - [395] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(164), - [397] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(165), - [399] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(166), - [401] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(167), - [403] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(170), - [405] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(174), + [213] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(77), + [215] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(78), + [217] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(79), + [219] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(80), + [221] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(81), + [223] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(80), + [225] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(82), + [227] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(83), + [229] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(84), + [231] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(88), + [233] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(88), + [235] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(89), + [237] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1, .rename_sequence_id = 1), + [239] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(93), + [241] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(94), + [243] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(95), + [245] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, ACCEPT_INPUT(), + [247] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), + [249] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), + [251] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), + [253] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(97), + [255] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(98), + [257] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(99), + [259] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), + [261] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), + [263] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), + [265] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1), + [267] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), + [269] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_program, 1), + [271] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(101), + [273] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(101), + [275] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(102), + [277] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(104), + [279] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(104), + [281] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(105), + [283] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(106), + [285] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(108), + [287] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(109), + [289] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(110), + [291] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(111), + [293] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(113), + [295] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(114), + [297] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(116), + [299] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(117), + [301] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(118), + [303] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(119), + [305] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(118), + [307] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(121), + [309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(122), + [311] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(128), + [313] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), + [315] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(129), + [317] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(130), + [319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(132), + [321] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(133), + [323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [325] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [327] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), + [329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(135), + [331] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(136), + [333] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(135), + [335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(138), + [337] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(144), + [339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(145), + [341] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(145), + [343] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(146), + [345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(146), + [347] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), + [349] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(147), + [351] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(148), + [353] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(149), + [355] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(150), + [357] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(151), + [359] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(152), + [361] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(153), + [363] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(154), + [365] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(157), + [367] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(158), + [369] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(159), + [371] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(160), + [373] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(161), + [375] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(162), + [377] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(163), + [379] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(164), + [381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(160), + [383] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(165), + [385] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(166), + [387] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), + [389] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), + [391] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), + [393] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(169), + [395] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(171), + [397] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(172), + [399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), + [401] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 2), + [403] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), + [405] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(174), [407] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(175), - [409] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(177), - [411] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(178), - [413] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(178), - [415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(179), - [417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(180), - [419] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(181), - [421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(182), - [423] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(182), - [425] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(183), - [427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(184), - [429] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), - [431] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(187), - [433] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(188), - [435] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(189), - [437] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(187), - [439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(190), - [441] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(191), - [443] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(192), - [445] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(193), - [447] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(187), - [449] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), - [451] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), - [453] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), - [455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), - [457] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), - [459] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 2), - [461] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), - [463] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(198), - [465] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 3), - [467] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(199), - [469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), - [471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 2), - [473] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), - [475] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), - [477] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3), - [479] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), - [481] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(202), - [483] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), - [485] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(204), - [487] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(205), - [489] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(206), - [491] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(211), - [493] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(212), - [495] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(213), - [497] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(214), - [499] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(215), - [501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(216), - [503] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(217), - [505] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(218), - [507] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(219), - [509] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(219), - [511] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(220), - [513] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(224), - [515] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(225), - [517] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(226), - [519] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), - [521] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), - [523] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), - [525] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), - [527] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_special_variable_name, 1), - [529] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(227), - [531] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(228), - [533] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(228), - [535] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(229), - [537] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(230), - [539] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(230), - [541] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(231), - [543] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(232), - [545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), - [547] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 2), - [549] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(235), - [551] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), - [553] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), - [555] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), - [557] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2), - [559] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(236), - [561] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(237), - [563] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(237), - [565] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(238), - [567] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(239), - [569] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(239), - [571] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(240), - [573] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), - [575] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [577] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [579] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), - [581] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(241), - [583] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(241), - [585] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(242), - [587] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(243), - [589] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(245), - [591] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(246), - [593] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(245), - [595] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(248), - [597] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), - [599] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(252), - [601] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), - [603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(254), - [605] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(255), - [607] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(257), - [609] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(258), - [611] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(257), - [613] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(260), - [615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), - [617] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), - [619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(264), - [621] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(265), - [623] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(266), - [625] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(267), - [627] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), - [629] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), - [631] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), - [633] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), - [635] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(271), - [637] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(272), - [639] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(273), - [641] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(273), - [643] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(274), - [645] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(275), - [647] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(275), - [649] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(276), - [651] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(277), - [653] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(278), - [655] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(278), - [657] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(279), - [659] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(280), - [661] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(280), - [663] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(281), - [665] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 3), - [667] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 3), - [669] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 2), - [671] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 2), - [673] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(282), - [675] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(282), - [677] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), - [679] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(283), - [681] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(166), - [683] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(166), - [685] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(167), - [687] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(167), - [689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(284), - [691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(285), - [693] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(286), - [695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(287), - [697] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(288), - [699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(289), - [701] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(285), - [703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(292), - [705] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(293), - [707] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(293), - [709] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(294), - [711] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(295), - [713] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 1), - [715] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2), - [717] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(298), - [719] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(299), - [721] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), - [723] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(302), - [725] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(302), - [727] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(302), - [729] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), - [731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), - [733] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), - [735] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(303), - [737] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(304), - [739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(308), - [741] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(309), - [743] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(310), - [745] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), - [747] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), - [749] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), - [751] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), - [753] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(313), - [755] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(314), - [757] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(316), - [759] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(317), - [761] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(316), - [763] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(319), - [765] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), - [767] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), - [769] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), - [771] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), - [773] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), - [775] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(327), - [777] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), - [779] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 1), - [781] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), - [783] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(330), - [785] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(330), - [787] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(205), - [789] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(206), - [791] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(334), - [793] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(337), - [795] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(337), - [797] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(338), - [799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(339), - [801] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(343), - [803] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(344), - [805] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(345), - [807] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(347), - [809] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(348), - [811] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(350), - [813] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(351), - [815] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(351), - [817] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(352), - [819] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(352), - [821] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(353), - [823] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(353), - [825] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(354), - [827] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(355), - [829] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(356), - [831] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(357), - [833] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(356), - [835] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(360), - [837] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), - [839] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(361), - [841] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(361), - [843] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), - [845] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(362), - [847] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(362), - [849] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(364), - [851] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 3), - [853] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), - [855] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), - [857] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(365), - [859] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(365), - [861] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), - [863] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3), - [865] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(366), - [867] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(366), - [869] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command_substitution, 3), - [871] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(369), - [873] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(370), - [875] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(371), - [877] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(371), - [879] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(372), - [881] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(373), - [883] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(373), - [885] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(374), - [887] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), - [889] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(377), - [891] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(378), - [893] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(379), - [895] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(379), - [897] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(380), - [899] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(381), - [901] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(381), - [903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(382), - [905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), - [907] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), - [909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), - [911] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), - [913] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(383), - [915] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(384), - [917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(383), - [919] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(386), - [921] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(388), - [923] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(389), - [925] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(390), - [927] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(391), - [929] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(391), - [931] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(392), - [933] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(392), - [935] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(393), - [937] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(393), - [939] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(394), - [941] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(394), - [943] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(395), - [945] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(395), - [947] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(396), - [949] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(397), - [951] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(399), - [953] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(400), - [955] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(399), - [957] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(402), - [959] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), - [961] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(406), - [963] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(406), - [965] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3), - [967] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 1), - [969] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(408), - [971] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc_redirect, 2), - [973] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 2), - [975] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), - [977] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), - [979] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), - [981] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), - [983] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), - [985] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(416), - [987] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), - [989] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), - [991] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(420), - [993] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(421), - [995] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(422), - [997] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(422), - [999] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(423), - [1001] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(424), - [1003] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(424), - [1005] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(425), - [1007] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), - [1009] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [1011] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), - [1013] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), - [1015] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), - [1017] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(428), - [1019] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), - [1021] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), - [1023] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(429), - [1025] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 2), - [1027] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(431), - [1029] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(432), - [1031] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(434), - [1033] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(435), - [1035] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(436), - [1037] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(437), - [1039] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), - [1041] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 2), - [1043] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(438), - [1045] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(439), - [1047] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(440), - [1049] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(440), - [1051] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true), - [1053] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(441), - [1055] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(345), - [1057] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(345), - [1059] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(444), - [1061] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(445), - [1063] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(446), - [1065] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(447), - [1067] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(448), - [1069] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(449), - [1071] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2), - [1073] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(450), - [1075] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), - [1077] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .rename_sequence_id = 2), - [1079] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), - [1081] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(457), - [1083] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(458), - [1085] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), - [1087] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(460), - [1089] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(105), - [1091] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), - [1093] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), - [1095] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), - [1097] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(461), - [1099] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(464), - [1101] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(465), - [1103] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1105] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), - [1107] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_process_substitution, 4), - [1109] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(466), - [1111] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(467), - [1113] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(468), - [1115] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(469), - [1117] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(469), - [1119] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(470), - [1121] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(470), - [1123] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(471), - [1125] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(472), - [1127] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(472), - [1129] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(473), - [1131] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(473), - [1133] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(474), - [1135] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(475), - [1137] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(475), - [1139] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(476), - [1141] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(477), - [1143] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(477), - [1145] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 2), - [1147] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 2), - [1149] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), - [1151] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), - [1153] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(478), - [1155] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(479), - [1157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(480), - [1159] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(481), - [1161] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(484), - [1163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(485), - [1165] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(486), - [1167] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(486), - [1169] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(487), - [1171] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(488), - [1173] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(488), - [1175] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(489), - [1177] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4), - [1179] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 2), - [1181] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(490), - [1183] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), - [1185] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), - [1187] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [1189] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), - [1191] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), - [1193] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(493), - [1195] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(494), - [1197] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(495), - [1199] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(495), - [1201] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(496), - [1203] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(496), - [1205] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5), - [1207] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 11), - [1209] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), - [1211] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), - [1213] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(498), - [1215] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(500), - [1217] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), - [1219] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_while_statement, 3), - [1221] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(502), - [1223] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(506), - [1225] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(507), - [1227] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(508), - [1229] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), - [1231] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 3), - [1233] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), - [1235] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_bracket_command, 3), - [1237] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true), - [1239] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3), - [1241] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(510), - [1243] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(511), - [1245] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(513), - [1247] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(514), - [1249] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(513), - [1251] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(516), - [1253] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(520), - [1255] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), - [1257] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 5), - [1259] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), - [1261] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_pipeline, 3, .fragile = true), - [1263] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), - [1265] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_list, 3, .fragile = true), - [1267] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), - [1269] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 7), - [1271] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(526), - [1273] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), - [1275] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 2), - [1277] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), - [1279] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), - [1281] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(528), - [1283] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1285] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), - [1287] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1289] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1291] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), - [1293] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5), - [1295] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(529), - [1297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(530), - [1299] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(531), - [1301] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(532), - [1303] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(533), - [1305] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(533), - [1307] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(534), - [1309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(534), - [1311] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(535), - [1313] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(536), - [1315] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(536), - [1317] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(537), - [1319] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(537), - [1321] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 3), - [1323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5), - [1325] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 11), - [1327] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), - [1329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(538), - [1331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(539), - [1333] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), - [1335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), - [1337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), - [1339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 2), - [1341] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(541), - [1343] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), - [1345] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 4), - [1347] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(542), - [1349] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(542), - [1351] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(545), - [1353] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(547), - [1355] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4), - [1357] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(551), - [1359] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(552), - [1361] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(553), - [1363] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(553), - [1365] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(554), - [1367] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(555), - [1369] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(555), - [1371] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(556), - [1373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(557), - [1375] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), - [1377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), - [1379] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 9), - [1381] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true), - [1383] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [1385] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 10), - [1387] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), - [1389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), - [1391] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), - [1393] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(561), - [1395] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), - [1397] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(562), - [1399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(563), - [1401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(564), - [1403] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(565), - [1405] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), - [1407] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_for_statement, 5), - [1409] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), - [1411] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 3), - [1413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), - [1415] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 5), - [1417] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(566), - [1419] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), - [1421] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 5), - [1423] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(568), - [1425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1427] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1429] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(570), - [1431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(571), - [1433] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(571), - [1435] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(572), - [1437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(572), - [1439] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), - [1441] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 2), - [1443] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(573), - [1445] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5), - [1447] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5, .rename_sequence_id = 11), - [1449] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), - [1451] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), - [1453] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), - [1455] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), - [1457] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 6), - [1459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(574), - [1461] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), - [1463] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 6), - [1465] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(575), - [1467] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(576), - [1469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(577), - [1471] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), - [1473] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 3), - [1475] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), - [1477] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 7), - [1479] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), - [1481] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 7), - [1483] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(637), - [1485] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(3), - [1487] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(4), - [1489] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(5), - [1491] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(6), - [1493] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(638), - [1495] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(7), - [1497] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(8), - [1499] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(9), - [1501] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(10), - [1503] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(11), - [1505] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(12), - [1507] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(13), - [1509] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(14), - [1511] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(15), - [1513] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(641), - [1515] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), REDUCE(sym_do_group, 3), - [1518] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(644), - [1521] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(205), - [1524] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(206), - [1527] = {.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), - [1532] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(648), - [1534] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(648), - [1536] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), - [1540] = {.count = 3, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(2), - [1544] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [1547] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_subshell, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [1552] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_subshell, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(526), - [1558] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(591), - [1560] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(11), - [1564] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(12), - [1568] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(13), - [1572] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(14), - [1576] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(15), - [1580] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(16), - [1584] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(649), - [1586] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(578), - [1588] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(580), - [1590] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(583), - [1592] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(586), - [1594] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(650), - [1596] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(589), - [1598] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(651), - [1600] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(595), - [1602] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(652), - [1604] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(653), - [1606] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(654), - [1608] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(653), - [1610] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(655), - [1612] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(656), - [1614] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(657), - [1616] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(662), - [1618] = {.count = 4, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1623] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1628] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), REDUCE(sym_compound_statement, 3), REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [1635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(669), - [1637] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), - [1640] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(670), - [1642] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(671), - [1644] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(672), - [1646] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(673), - [1648] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(41), - [1650] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(674), - [1652] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(357), - [1654] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(44), - [1656] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(45), - [1658] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), SHIFT(46), - [1662] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(611), - [1664] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(677), - [1666] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(678), - [1668] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(679), - [1670] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(680), - [1672] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(681), - [1674] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(682), - [1676] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(683), - [1678] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(679), - [1680] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(684), - [1682] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(685), - [1684] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(686), - [1686] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(687), - [1688] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(688), - [1690] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(689), - [1692] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(690), - [1694] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(691), - [1696] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(687), - [1698] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), - [1701] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), - [1704] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(692), - [1708] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(64), - [1712] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(65), - [1716] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(66), - [1720] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(67), - [1724] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), SHIFT(693), - [1727] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(694), - [1729] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(693), - [1731] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(2), - [1734] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(76), - [1737] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(12), - [1740] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(70), - [1743] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(71), - [1746] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(72), - [1749] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(77), - [1752] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(697), - [1754] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(698), - [1756] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(40), - [1759] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(41), - [1762] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(356), - [1765] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(45), - [1768] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(46), - [1771] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(699), - [1773] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), - [1776] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), - [1779] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), - [1782] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), - [1785] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(700), - [1787] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(700), - [1789] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1792] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1795] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(581), - [1797] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(584), - [1799] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), - [1802] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(701), - [1806] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(84), - [1810] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(593), - [1814] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(594), - [1818] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), REDUCE(sym_for_statement, 5), - [1821] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), REDUCE(aux_sym_if_statement_repeat1, 2), - [1824] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(702), - [1826] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1829] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1832] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), - [1835] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), - [1838] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(703), - [1842] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(84), - [1846] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(593), - [1850] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3), REDUCE(sym_list, 3), SHIFT(594), - [1854] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(704), - [1856] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), - [1859] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), - [1862] = {.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), - [1867] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), - [1870] = {.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), - [1875] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), - [1878] = {.count = 6, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(669), - [1885] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(705), - [1887] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(460), - [1896] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(706), - [1905] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(707), - [1907] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [1915] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), - [1918] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [1922] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(672), - [1929] = {.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(673), - [1935] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [1941] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [1947] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(460), - [1954] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(706), - [1961] = {.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), - [1966] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [1974] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_string_repeat1, 2), - [1977] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_heredoc_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), - [1984] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), - [1989] = {.count = 9, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), - [1999] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(708), - [2002] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(709), - [2005] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(709), - [2007] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(709), - [2009] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(710), - [2011] = {.count = 3, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), REDUCE(sym_elif_clause, 4), SHIFT(711), - [2015] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(205), - [2018] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(206), - [2021] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(712), - [2023] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(713), - [2025] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(716), - [2027] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(718), - [2029] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), - [2034] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(596), - [2036] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(719), - [2038] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(720), - [2040] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(721), - [2042] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(722), - [2044] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(723), - [2046] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(724), - [2048] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(725), - [2054] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(727), - [2056] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(728), - [2058] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(727), - [2060] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(729), - [2062] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(730), - [2064] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(731), - [2066] = {.count = 10, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 2, .rename_sequence_id = 2), REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 7), REDUCE(sym_command, 3, .rename_sequence_id = 5), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 10), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 11), - [2077] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(733), - [2079] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(734), - [2081] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(735), - [2083] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(581), - [2085] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(738), - [2087] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(711), - [2089] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(711), - [2092] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(706), - [2094] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(739), - [2096] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(740), - [2098] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(742), - [2100] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(743), - [2102] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(744), - [2104] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(745), - [2106] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(748), - [2108] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(752), - [2110] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(753), - [2112] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(754), - [2114] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(701), - [2116] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(593), - [2118] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(594), - [2120] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(756), - [2122] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(756), - [2124] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(757), - [2126] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(593), - [2129] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(594), - [2132] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(593), - [2135] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(594), - [2138] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(596), - [2140] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(758), - [2142] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(758), - [2144] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), - [2147] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(759), - [2149] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(760), - [2151] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(761), - [2153] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(762), - [2155] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(763), - [2157] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(764), - [2159] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), SHIFT(765), - [2163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(768), - [2165] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(769), - [2167] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(770), - [2169] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(771), - [2171] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(772), - [2173] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(773), - [2175] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(774), - [2177] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(770), - [2179] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(606), - [2181] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(607), - [2183] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(707), - [2185] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 3), - [2188] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(775), - [2190] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(776), - [2192] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(778), - [2194] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(779), - [2196] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(778), - [2198] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(781), - [2200] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(787), - [2202] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(788), - [2204] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), - [2207] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), - [2210] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(790), - [2212] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(791), - [2214] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(790), - [2216] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(793), - [2218] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(704), - [2220] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(797), - [2222] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), - [2225] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(798), - [2227] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(798), - [2229] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [2233] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), - [2236] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(799), - [2238] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(697), - [2240] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [2243] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), - [2246] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(800), - [2248] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(800), - [2250] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(801), - [2252] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), - [2255] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(803), - [2257] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), - [2260] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(804), - [2262] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(805), - [2264] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(807), - [2266] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(808), - [2268] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(807), - [2270] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(810), - [2272] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 11), - [2277] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(814), - [2279] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(816), - [2281] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(820), - [2283] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(644), - [2285] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(823), - [2287] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(824), - [2289] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(824), - [2291] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(825), - [2293] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(765), - [2295] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(828), - [2297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(829), - [2299] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(830), - [2301] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(831), - [2303] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(832), - [2305] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(833), - [2307] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(834), - [2309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(830), - [2311] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(835), - [2313] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(836), - [2315] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(839), - [2317] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(840), + [409] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(174), + [411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(177), + [413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), + [415] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), + [417] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), + [419] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 1), + [421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(183), + [423] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(184), + [425] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(183), + [427] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(186), + [429] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(192), + [431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(193), + [433] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(194), + [435] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(197), + [437] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(197), + [439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(198), + [441] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(199), + [443] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(203), + [445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(204), + [447] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(205), + [449] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(206), + [451] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(209), + [453] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(215), + [455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(216), + [457] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(217), + [459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(219), + [461] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(220), + [463] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(220), + [465] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(221), + [467] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(221), + [469] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), + [471] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(222), + [473] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(222), + [475] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(223), + [477] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(224), + [479] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(225), + [481] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(226), + [483] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(226), + [485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(227), + [487] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(227), + [489] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(228), + [491] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(228), + [493] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(229), + [495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(230), + [497] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), + [499] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(233), + [501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(234), + [503] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(235), + [505] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(236), + [507] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(233), + [509] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(237), + [511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(238), + [513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(239), + [515] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(240), + [517] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(233), + [519] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), + [521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), + [523] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), + [525] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), + [527] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [529] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 2), + [531] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 2), + [533] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(245), + [535] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 3), + [537] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(246), + [539] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), + [541] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat1, 2), + [543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 2), + [545] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), + [547] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_file_redirect, 3), + [549] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 3), + [551] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(249), + [553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), + [555] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(251), + [557] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(252), + [559] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(253), + [561] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), + [563] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_array_repeat1, 1), + [565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_array_repeat1, 1), + [567] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(258), + [569] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(259), + [571] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(262), + [573] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(263), + [575] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(264), + [577] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), + [579] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), + [581] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), + [583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), + [585] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_special_variable_name, 1), + [587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(265), + [589] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(266), + [591] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(266), + [593] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(267), + [595] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(268), + [597] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(268), + [599] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(269), + [601] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(270), + [603] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), + [605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 2), + [607] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_array, 2), + [609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(271), + [611] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 2), + [613] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(274), + [615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), + [617] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2, .rename_sequence_id = 4), + [619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), + [621] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_simple_expansion, 2), + [623] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(275), + [625] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(276), + [627] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(276), + [629] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(277), + [631] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(278), + [633] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(278), + [635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(279), + [637] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), + [639] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [641] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [643] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 2), + [645] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(280), + [647] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(280), + [649] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(281), + [651] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(283), + [653] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(284), + [655] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(286), + [657] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(287), + [659] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(286), + [661] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(289), + [663] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), + [665] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(295), + [667] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), + [669] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(297), + [671] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(299), + [673] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(300), + [675] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(302), + [677] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(303), + [679] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(302), + [681] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(305), + [683] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), + [685] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 1), + [687] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(311), + [689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(312), + [691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(313), + [693] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(314), + [695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), + [697] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc_redirect, 2), + [699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), + [701] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 2), + [703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(316), + [705] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(319), + [707] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(320), + [709] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(321), + [711] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(321), + [713] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(322), + [715] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(323), + [717] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(323), + [719] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(324), + [721] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(325), + [723] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(326), + [725] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(326), + [727] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(327), + [729] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(328), + [731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(328), + [733] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(329), + [735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 3), + [737] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 3), + [739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 2), + [741] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_string_repeat1, 2), + [743] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(330), + [745] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(331), + [747] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(333), + [749] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(334), + [751] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(335), + [753] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(336), + [755] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), + [757] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 2), + [759] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(337), + [761] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(338), + [763] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(339), + [765] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(339), + [767] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), + [769] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(340), + [771] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true), + [773] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(341), + [775] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(205), + [777] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(205), + [779] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(206), + [781] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(206), + [783] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(342), + [785] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(343), + [787] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(344), + [789] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(345), + [791] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(346), + [793] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(347), + [795] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(343), + [797] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(350), + [799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(351), + [801] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(352), + [803] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(353), + [805] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(354), + [807] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(355), + [809] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(356), + [811] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(357), + [813] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(353), + [815] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(358), + [817] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(359), + [819] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 1), + [821] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2), + [823] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2), + [825] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(362), + [827] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(363), + [829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(364), + [831] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), + [833] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), + [835] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(367), + [837] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(367), + [839] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(367), + [841] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .rename_sequence_id = 2), + [843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 2, .rename_sequence_id = 2), + [845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), + [847] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), + [849] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(372), + [851] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(373), + [853] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(380), + [855] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(381), + [857] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(382), + [859] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), + [861] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), + [863] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), + [865] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), + [867] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(385), + [869] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(387), + [871] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(388), + [873] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(390), + [875] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(391), + [877] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(390), + [879] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(393), + [881] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), + [883] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), + [885] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), + [887] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), + [889] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), + [891] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(403), + [893] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), + [895] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 1), + [897] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), + [899] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(406), + [901] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(406), + [903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(252), + [905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(253), + [907] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 3), + [909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_array_repeat1, 2), + [911] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_array_repeat1, 2), + [913] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(410), + [915] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(411), + [917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(412), + [919] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(413), + [921] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(412), + [923] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(416), + [925] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), + [927] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(417), + [929] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(417), + [931] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), + [933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(418), + [935] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(418), + [937] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 3), + [939] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_array, 3), + [941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(420), + [943] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_string, 3), + [945] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), + [947] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3, .rename_sequence_id = 8), + [949] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(421), + [951] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(421), + [953] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), + [955] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 3), + [957] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(422), + [959] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(422), + [961] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command_substitution, 3), + [963] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(423), + [965] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(111), + [967] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(426), + [969] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(427), + [971] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(428), + [973] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(428), + [975] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(429), + [977] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(430), + [979] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(430), + [981] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(431), + [983] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), + [985] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(432), + [987] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(435), + [989] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(436), + [991] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(437), + [993] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(437), + [995] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(438), + [997] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(439), + [999] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(439), + [1001] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(440), + [1003] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), + [1005] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), + [1007] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), + [1009] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), + [1011] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(441), + [1013] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(442), + [1015] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(441), + [1017] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(444), + [1019] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(446), + [1021] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(447), + [1023] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(448), + [1025] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(449), + [1027] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(449), + [1029] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(450), + [1031] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(450), + [1033] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(451), + [1035] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(451), + [1037] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(452), + [1039] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(452), + [1041] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(454), + [1043] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), + [1045] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_while_statement, 3), + [1047] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(456), + [1049] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(460), + [1051] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(461), + [1053] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(462), + [1055] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_subshell, 3), + [1057] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_subshell, 3), + [1059] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_bracket_command, 3), + [1061] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_bracket_command, 3), + [1063] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(463), + [1065] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(463), + [1067] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(464), + [1069] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(466), + [1071] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(467), + [1073] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(469), + [1075] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(470), + [1077] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(469), + [1079] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(472), + [1081] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), + [1083] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true), + [1085] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(478), + [1087] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(478), + [1089] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3), + [1091] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3), + [1093] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(480), + [1095] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(482), + [1097] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(483), + [1099] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(485), + [1101] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(486), + [1103] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(485), + [1105] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(488), + [1107] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 1), + [1109] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(494), + [1111] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc_redirect, 2), + [1113] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_command_repeat2, 2), + [1115] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(496), + [1117] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), + [1119] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), + [1121] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 5), + [1123] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 5), + [1125] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), + [1127] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), + [1129] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_pipeline, 3, .fragile = true), + [1131] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), + [1133] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_list, 3, .fragile = true), + [1135] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), + [1137] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), + [1139] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .rename_sequence_id = 7), + [1141] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 3, .rename_sequence_id = 7), + [1143] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(504), + [1145] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), + [1147] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), + [1149] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(506), + [1151] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(509), + [1153] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(510), + [1155] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(511), + [1157] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(511), + [1159] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(512), + [1161] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(513), + [1163] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(513), + [1165] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(514), + [1167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), + [1169] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [1171] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), + [1173] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), + [1175] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), + [1177] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(517), + [1179] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), + [1181] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), + [1183] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(518), + [1185] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 2), + [1187] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), + [1189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), + [1191] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(520), + [1193] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(121), + [1195] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), + [1197] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), + [1199] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), + [1201] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(521), + [1203] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(524), + [1205] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(525), + [1207] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), + [1209] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_process_substitution, 4), + [1211] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_process_substitution, 4), + [1213] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(526), + [1215] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(527), + [1217] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(528), + [1219] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(529), + [1221] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(529), + [1223] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(530), + [1225] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(530), + [1227] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(531), + [1229] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(532), + [1231] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(532), + [1233] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(533), + [1235] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(533), + [1237] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(534), + [1239] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(535), + [1241] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(535), + [1243] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(536), + [1245] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(537), + [1247] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(537), + [1249] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 2), + [1251] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 2), + [1253] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), + [1255] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 3), + [1257] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(538), + [1259] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(539), + [1261] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(540), + [1263] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(541), + [1265] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), + [1267] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 2), + [1269] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(543), + [1271] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), + [1273] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 4), + [1275] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(544), + [1277] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(544), + [1279] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(547), + [1281] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(549), + [1283] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(551), + [1285] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(554), + [1287] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(555), + [1289] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(556), + [1291] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(556), + [1293] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(557), + [1295] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(558), + [1297] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(558), + [1299] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(559), + [1301] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4), + [1303] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4), + [1305] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(560), + [1307] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(563), + [1309] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(564), + [1311] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(565), + [1313] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(565), + [1315] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(566), + [1317] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(567), + [1319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(567), + [1321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(568), + [1323] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 2), + [1325] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(569), + [1327] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(570), + [1329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), + [1331] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), + [1333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 9), + [1335] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 9), + [1337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), + [1339] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true), + [1341] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [1343] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [1345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .rename_sequence_id = 10), + [1347] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 4, .rename_sequence_id = 10), + [1349] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), + [1351] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(574), + [1353] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(575), + [1355] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(576), + [1357] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(576), + [1359] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(577), + [1361] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(577), + [1363] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5), + [1365] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 11), + [1367] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), + [1369] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), + [1371] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(579), + [1373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(580), + [1375] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), + [1377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 2), + [1379] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), + [1381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 2), + [1383] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(582), + [1385] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [1387] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), + [1389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [1391] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [1393] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), + [1395] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_expansion, 5), + [1397] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(583), + [1399] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(584), + [1401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(585), + [1403] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(586), + [1405] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(587), + [1407] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(587), + [1409] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(588), + [1411] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(588), + [1413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_for_statement, 5), + [1415] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_for_statement, 5), + [1417] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_do_group, 3), + [1419] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_do_group, 3), + [1421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), + [1423] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 5), + [1425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(589), + [1427] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), + [1429] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 5), + [1431] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(591), + [1433] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), + [1435] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), + [1437] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(593), + [1439] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(594), + [1441] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(594), + [1443] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(595), + [1445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(595), + [1447] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(596), + [1449] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(597), + [1451] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(597), + [1453] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(598), + [1455] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(598), + [1457] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_heredoc, 3), + [1459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), + [1461] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 2), + [1463] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(599), + [1465] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5), + [1467] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5), + [1469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command, 5, .rename_sequence_id = 11), + [1471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_command, 5, .rename_sequence_id = 11), + [1473] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), + [1475] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(600), + [1477] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(601), + [1479] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), + [1481] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), + [1483] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 3), + [1485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), + [1487] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 3), + [1489] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(602), + [1491] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), + [1493] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(603), + [1495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(604), + [1497] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), + [1499] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 6), + [1501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(605), + [1503] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), + [1505] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 6), + [1507] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(606), + [1509] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(607), + [1511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(608), + [1513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(609), + [1515] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(610), + [1517] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 3), + [1519] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_compound_statement, 3), + [1521] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_item, 4), + [1523] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), + [1525] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_item, 4), + [1527] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 7), + [1529] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_if_statement, 7), + [1531] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 7), + [1533] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_case_statement, 7), + [1535] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(670), + [1537] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(3), + [1539] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(4), + [1541] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(5), + [1543] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(6), + [1545] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(671), + [1547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(7), + [1549] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(8), + [1551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(9), + [1553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(10), + [1555] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(11), + [1557] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(12), + [1559] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(13), + [1561] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(14), + [1563] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(15), + [1565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(674), + [1567] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_do_group, 2), REDUCE(sym_do_group, 3), + [1570] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(677), + [1573] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(252), + [1576] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 3), SHIFT(253), + [1579] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 4), REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [1584] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(681), + [1586] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(681), + [1588] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), + [1592] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(2), + [1598] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [1603] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [1610] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(580), + [1618] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(8), + [1624] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(624), + [1626] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(11), + [1632] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(12), + [1638] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(13), + [1644] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(14), + [1650] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), REDUCE(sym_subshell, 3), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(15), + [1658] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_array, 2), REDUCE(sym_array, 3), REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), SHIFT(16), + [1664] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(682), + [1666] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(683), + [1668] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(684), + [1670] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(685), + [1672] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(686), + [1674] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(687), + [1676] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(688), + [1678] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(689), + [1680] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(690), + [1682] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(691), + [1684] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(692), + [1686] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(693), + [1688] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(694), + [1690] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(695), + [1692] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(696), + [1694] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(701), + [1696] = {.count = 4, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [1701] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [1706] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_compound_statement, 2), REDUCE(sym_compound_statement, 3), REDUCE(sym_expansion, 3), REDUCE(sym_expansion, 3, .rename_sequence_id = 8), REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [1713] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(611), + [1715] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(613), + [1717] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(616), + [1719] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(619), + [1721] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(622), + [1723] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(703), + [1725] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(628), + [1727] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(704), + [1729] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(705), + [1731] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(706), + [1733] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(705), + [1735] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(707), + [1737] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(708), + [1739] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(709), + [1741] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(715), + [1743] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), + [1746] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(41), + [1748] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(716), + [1750] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(717), + [1752] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(718), + [1754] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(719), + [1756] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(43), + [1758] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(720), + [1760] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(413), + [1762] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(46), + [1764] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(47), + [1766] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(sym_command, 2), SHIFT(48), + [1770] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(644), + [1772] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(723), + [1774] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(724), + [1776] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(725), + [1778] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(726), + [1780] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(727), + [1782] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(728), + [1784] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(729), + [1786] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(730), + [1788] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(726), + [1790] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(731), + [1792] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(732), + [1794] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(733), + [1796] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(734), + [1798] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(735), + [1800] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(736), + [1802] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(737), + [1804] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(738), + [1806] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(734), + [1808] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(739), + [1810] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), + [1813] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), + [1816] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(740), + [1820] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(66), + [1822] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(67), + [1826] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(68), + [1830] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(69), + [1834] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_string, 2), REDUCE(sym_string, 3), SHIFT(70), + [1838] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_special_variable_name, 1), SHIFT(741), + [1841] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(742), + [1843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(741), + [1845] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(2), + [1848] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(72), + [1850] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(73), + [1852] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(74), + [1854] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(75), + [1856] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(76), + [1858] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(77), + [1861] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(78), + [1863] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(79), + [1865] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(88), + [1868] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(12), + [1871] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(81), + [1874] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(82), + [1877] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(83), + [1880] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), SHIFT(89), + [1883] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(746), + [1885] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(747), + [1887] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(41), + [1890] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(42), + [1893] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(43), + [1896] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym__terminated_statement, 2), SHIFT(412), + [1899] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(47), + [1902] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym__terminated_statement, 2), SHIFT(48), + [1905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(748), + [1907] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), + [1910] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 2), + [1913] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), + [1916] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_heredoc, 2), REDUCE(sym_heredoc, 3), + [1919] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(749), + [1921] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(749), + [1923] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [1926] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [1929] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(614), + [1931] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(617), + [1933] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_program_repeat1, 1), REDUCE(aux_sym_program_repeat1, 2), + [1936] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(750), + [1940] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(97), + [1944] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(626), + [1948] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(627), + [1952] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(751), + [1956] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_while_statement, 3), REDUCE(sym_for_statement, 5), + [1959] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_if_statement_repeat1, 1), REDUCE(aux_sym_if_statement_repeat1, 2), + [1962] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(752), + [1964] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [1967] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [1970] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_case_statement_repeat1, 1), REDUCE(aux_sym_case_statement_repeat1, 2), + [1973] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_function_definition, 4, .rename_sequence_id = 9), REDUCE(sym_function_definition, 5, .rename_sequence_id = 11), + [1976] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), + [1979] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), + [1982] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(aux_sym_command_repeat1, 2), REDUCE(sym_pipeline, 3, .fragile = true), REDUCE(sym_list, 3, .fragile = true), SHIFT(751), + [1988] = {.count = 4, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat1, 2), REDUCE(aux_sym_command_repeat2, 2), + [1993] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), + [1996] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat1, 2), + [1999] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1), REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat1, 2), REDUCE(aux_sym_command_repeat2, 2), + [2004] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat2, 1), REDUCE(aux_sym_command_repeat2, 2), + [2007] = {.count = 6, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(715), + [2014] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(753), + [2016] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(520), + [2025] = {.count = 8, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(754), + [2034] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), + [2037] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(755), + [2039] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2047] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2051] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(718), + [2058] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_file_redirect, 3), SHIFT(719), + [2064] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2070] = {.count = 5, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2076] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(520), + [2083] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), SHIFT(754), + [2090] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(sym_file_redirect, 3), + [2095] = {.count = 7, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2103] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_string_repeat1, 2), + [2106] = {.count = 6, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_heredoc_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_heredoc_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), + [2113] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), + [2118] = {.count = 9, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 1), REDUCE(aux_sym_bracket_command_repeat1, 1), REDUCE(aux_sym_string_repeat1, 1), REDUCE(sym_command, 2), REDUCE(sym_file_redirect, 2), REDUCE(aux_sym_bracket_command_repeat1, 2), REDUCE(aux_sym_string_repeat1, 2), REDUCE(sym_environment_variable_assignment, 3, .rename_sequence_id = 6), REDUCE(sym_file_redirect, 3), + [2128] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(756), + [2131] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_simple_expansion, 2), SHIFT(757), + [2134] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(757), + [2136] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(757), + [2138] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(758), + [2140] = {.count = 3, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_else_clause, 2), REDUCE(sym_elif_clause, 4), SHIFT(759), + [2144] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(252), + [2147] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(253), + [2150] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(760), + [2152] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(761), + [2154] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(764), + [2156] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(766), + [2158] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), + [2163] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(767), + [2165] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(629), + [2167] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(768), + [2169] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(769), + [2171] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(770), + [2173] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(771), + [2175] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(772), + [2177] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(773), + [2179] = {.count = 5, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), REDUCE(sym_command, 4, .fragile = true), REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(774), + [2185] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(776), + [2187] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(776), + [2189] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(777), + [2191] = {.count = 10, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 2, .rename_sequence_id = 2), REDUCE(sym_command, 3), REDUCE(sym_command, 3, .rename_sequence_id = 7), REDUCE(sym_command, 3, .rename_sequence_id = 5), REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 10), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 11), + [2202] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(779), + [2204] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(780), + [2206] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(781), + [2208] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(782), + [2210] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(614), + [2212] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(785), + [2214] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(759), + [2216] = {.count = 2, .reusable = true, .depends_on_lookahead = true}, REDUCE(sym_elif_clause, 4), SHIFT(759), + [2219] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(754), + [2221] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(786), + [2223] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(787), + [2225] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(790), + [2227] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(790), + [2229] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_subshell, 2), REDUCE(sym_array, 2), + [2232] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(791), + [2234] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(792), + [2236] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(796), + [2238] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(797), + [2240] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(798), + [2242] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(799), + [2244] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(802), + [2246] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(808), + [2248] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(809), + [2250] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(810), + [2252] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(812), + [2254] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(813), + [2256] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(814), + [2258] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(815), + [2260] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(815), + [2262] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(816), + [2264] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(817), + [2266] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(819), + [2268] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(821), + [2270] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(827), + [2272] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(828), + [2274] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(626), + [2277] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(627), + [2280] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(sym_pipeline, 3, .fragile = true), + [2283] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(626), + [2286] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(627), + [2289] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), REDUCE(sym_list, 3, .fragile = true), + [2292] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(629), + [2294] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(830), + [2296] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(830), + [2298] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), + [2301] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(831), + [2303] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(832), + [2305] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(833), + [2307] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(834), + [2309] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(835), + [2311] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(836), + [2313] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(837), + [2315] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), REDUCE(sym_command, 3, .fragile = true), SHIFT(838), [2319] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(841), - [2321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(844), - [2323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(845), - [2325] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(611), - [2327] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(846), - [2329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(847), - [2331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(848), - [2333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(849), - [2335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(611), - [2337] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(850), - [2339] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(851), - [2341] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(853), - [2343] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(853), - [2345] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(854), - [2347] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(855), - [2349] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(857), - [2351] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(858), - [2353] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(857), - [2355] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(860), - [2357] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), - [2360] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(864), - [2362] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), SHIFT(765), - [2366] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 4), - [2369] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(866), - [2371] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(867), - [2373] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(869), - [2375] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(870), - [2377] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(869), - [2379] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(872), - [2381] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(878), - [2383] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(879), - [2385] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(880), - [2387] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(880), - [2389] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(881), - [2391] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(882), - [2393] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(882), - [2395] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(883), - [2397] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(701), - [2399] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(886), - [2401] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(887), - [2403] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(888), - [2405] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(888), - [2407] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(889), - [2409] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(890), - [2411] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(890), - [2413] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(891), - [2415] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(892), - [2417] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(894), - [2419] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(896), - [2421] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(897), - [2423] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), - [2426] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(900), - [2428] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(901), - [2430] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(902), - [2432] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(902), - [2434] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(903), - [2436] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(904), - [2438] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(904), - [2440] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(905), - [2442] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), SHIFT(765), - [2445] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(908), - [2447] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(909), - [2449] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), SHIFT(765), - [2452] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(711), - [2454] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(591), - [2456] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(913), - [2458] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(913), - [2460] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(915), - [2462] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(916), - [2464] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(918), - [2466] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(919), - [2468] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(918), - [2470] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(921), - [2472] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(925), - [2474] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(929), - [2476] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(930), - [2478] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(932), - [2480] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(933), - [2482] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(932), - [2484] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(935), - [2486] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(944), - [2488] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(945), - [2490] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(946), - [2492] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(946), - [2494] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(947), - [2496] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(948), - [2498] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(948), - [2500] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(949), - [2502] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 5), - [2505] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(952), - [2507] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(953), - [2509] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(954), - [2511] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(954), - [2513] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(955), - [2515] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(956), - [2517] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(956), - [2519] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(957), - [2521] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(958), - [2523] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(959), - [2525] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(959), - [2527] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(960), - [2529] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(960), - [2531] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(961), - [2533] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(962), - [2535] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(962), - [2537] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(963), - [2539] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(963), - [2541] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(964), - [2543] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(965), - [2545] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(966), - [2547] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(966), - [2549] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(967), - [2551] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(967), - [2553] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), SHIFT(765), - [2556] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(765), - [2559] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(972), - [2561] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(973), - [2563] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(974), - [2565] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(974), - [2567] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(975), - [2569] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(976), - [2571] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(976), - [2573] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(977), - [2575] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(978), - [2577] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(981), - [2579] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(982), - [2581] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(983), - [2583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(983), - [2585] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(984), - [2587] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(985), - [2589] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(985), - [2591] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(986), - [2593] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(989), - [2595] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(990), - [2597] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(990), - [2599] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(991), - [2601] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(991), - [2603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(992), - [2605] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(993), - [2607] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(993), - [2609] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(994), - [2611] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(994), - [2613] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(995), - [2615] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(996), - [2617] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(997), - [2619] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(998), - [2621] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(999), - [2623] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1000), - [2625] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1001), - [2627] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1002), - [2629] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1002), - [2631] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1003), - [2633] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1003), - [2635] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1004), - [2637] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1005), - [2639] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1005), - [2641] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1006), - [2643] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1006), - [2645] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1007), - [2647] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1008), - [2649] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1009), - [2651] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1010), - [2653] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1011), - [2655] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1012), - [2657] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1013), - [2659] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1014), + [2321] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(842), + [2323] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(843), + [2325] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(844), + [2327] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(845), + [2329] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(846), + [2331] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(847), + [2333] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(848), + [2335] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(844), + [2337] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(849), + [2339] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(639), + [2341] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(640), + [2343] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(755), + [2345] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2), REDUCE(sym_command, 3), + [2348] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(850), + [2350] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(852), + [2352] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(853), + [2354] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(855), + [2356] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(856), + [2358] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(855), + [2360] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(858), + [2362] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(864), + [2364] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(868), + [2366] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(869), + [2368] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), + [2371] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_file_redirect, 2), REDUCE(sym_file_redirect, 3), + [2374] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(871), + [2376] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(872), + [2378] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(871), + [2380] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(874), + [2382] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(751), + [2384] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(751), + [2387] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(880), + [2389] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 5), REDUCE(sym_case_statement, 6), + [2392] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(881), + [2394] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(881), + [2396] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [2399] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command_substitution, 3), REDUCE(sym_process_substitution, 4), + [2402] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [2406] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(882), + [2408] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(746), + [2410] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [2413] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_expansion, 5), REDUCE(sym_expansion, 5, .rename_sequence_id = 12), + [2416] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(883), + [2418] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(883), + [2420] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(884), + [2422] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 5), REDUCE(sym_if_statement, 6), + [2425] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(886), + [2427] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_case_statement, 6), REDUCE(sym_case_statement, 7), + [2430] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(887), + [2432] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(889), + [2434] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(890), + [2436] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(892), + [2438] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(893), + [2440] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(892), + [2442] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(895), + [2444] = {.count = 4, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 4, .rename_sequence_id = 9), REDUCE(sym_command, 5), REDUCE(sym_command, 5, .rename_sequence_id = 11), + [2449] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(901), + [2451] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(903), + [2453] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(677), + [2455] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(906), + [2457] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(907), + [2459] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(908), + [2461] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(910), + [2463] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(911), + [2465] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(912), + [2467] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(913), + [2469] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(914), + [2471] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(915), + [2473] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(916), + [2475] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(916), + [2477] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(917), + [2479] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(838), + [2481] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(920), + [2483] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(921), + [2485] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(922), + [2487] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(923), + [2489] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(924), + [2491] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(925), + [2493] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(926), + [2495] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(927), + [2497] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(923), + [2499] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(928), + [2501] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(929), + [2503] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(932), + [2505] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(933), + [2507] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(933), + [2510] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(934), + [2512] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(937), + [2514] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(938), + [2516] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(939), + [2518] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(644), + [2520] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(940), + [2522] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(941), + [2524] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(942), + [2526] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(943), + [2528] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(644), + [2530] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(692), + [2532] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(948), + [2534] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(949), + [2536] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true), SHIFT(838), + [2539] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(952), + [2541] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(953), + [2543] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(953), + [2546] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(954), + [2548] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 2, .fragile = true, .rename_sequence_id = 2), SHIFT(838), + [2551] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(957), + [2553] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(957), + [2555] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(958), + [2557] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(960), + [2559] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(961), + [2561] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(963), + [2563] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(964), + [2565] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(963), + [2567] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(966), + [2569] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), + [2572] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(972), + [2574] = {.count = 3, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), REDUCE(sym_command, 4, .fragile = true), SHIFT(838), + [2578] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3), REDUCE(sym_command, 4), + [2581] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(974), + [2583] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(976), + [2585] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(977), + [2587] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(979), + [2589] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(980), + [2591] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(979), + [2593] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(982), + [2595] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(988), + [2597] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(991), + [2599] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(992), + [2601] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(993), + [2603] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(993), + [2605] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(994), + [2607] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(995), + [2609] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(995), + [2611] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(996), + [2613] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(996), + [2616] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(812), + [2618] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(997), + [2620] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1000), + [2622] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1001), + [2624] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1002), + [2626] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1002), + [2628] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1003), + [2630] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1004), + [2632] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1004), + [2634] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1005), + [2636] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1005), + [2639] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1006), + [2641] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1008), + [2643] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1010), + [2645] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1011), + [2647] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_if_statement, 6), REDUCE(sym_if_statement, 7), + [2650] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1012), + [2652] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1015), + [2654] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1016), + [2656] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1017), + [2658] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1017), + [2660] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1018), + [2662] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1019), + [2664] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1019), + [2666] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1020), + [2668] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1020), + [2671] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true), SHIFT(838), + [2674] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 7), SHIFT(838), + [2677] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(759), + [2679] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(624), + [2681] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1027), + [2683] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1029), + [2685] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1033), + [2687] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1034), + [2689] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1035), + [2691] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1036), + [2693] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1036), + [2695] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1037), + [2697] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1039), + [2699] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1041), + [2701] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1042), + [2703] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1044), + [2705] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1045), + [2707] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1044), + [2709] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1047), + [2711] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1053), + [2713] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1055), + [2715] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1058), + [2717] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1060), + [2719] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1061), + [2721] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1063), + [2723] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1064), + [2725] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1063), + [2727] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1066), + [2729] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(813), + [2732] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_pipeline, 3, .fragile = true), SHIFT(814), + [2735] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(813), + [2738] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_list, 3, .fragile = true), SHIFT(814), + [2741] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 3, .fragile = true, .rename_sequence_id = 5), SHIFT(838), + [2744] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1077), + [2746] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1080), + [2748] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1081), + [2750] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1082), + [2752] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1082), + [2754] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1083), + [2756] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1084), + [2758] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1084), + [2760] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1085), + [2762] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1085), + [2765] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4), REDUCE(sym_command, 5), + [2768] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1086), + [2770] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1089), + [2772] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1090), + [2774] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1091), + [2776] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1091), + [2778] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1092), + [2780] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1093), + [2782] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1093), + [2784] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1094), + [2786] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1094), + [2789] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1095), + [2791] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1096), + [2793] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1096), + [2795] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1097), + [2797] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1097), + [2799] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1098), + [2801] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1099), + [2803] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1099), + [2805] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1100), + [2807] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1100), + [2809] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1101), + [2811] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1102), + [2813] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1103), + [2815] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1103), + [2817] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1104), + [2819] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1104), + [2821] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true), SHIFT(838), + [2824] = {.count = 2, .reusable = false, .depends_on_lookahead = false}, REDUCE(sym_command, 4, .fragile = true, .rename_sequence_id = 10), SHIFT(838), + [2827] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1108), + [2829] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1109), + [2831] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1109), + [2833] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1112), + [2835] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1114), + [2837] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1116), + [2839] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1119), + [2841] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1120), + [2843] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1121), + [2845] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1121), + [2847] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1122), + [2849] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1123), + [2851] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1123), + [2853] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1124), + [2855] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1124), + [2858] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1125), + [2860] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1126), + [2862] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1128), + [2864] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1131), + [2866] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1132), + [2868] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1133), + [2870] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1133), + [2872] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1134), + [2874] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1135), + [2876] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1135), + [2878] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1136), + [2880] = {.count = 2, .reusable = true, .depends_on_lookahead = false}, REDUCE(aux_sym_command_repeat1, 1, .fragile = true), SHIFT(1136), + [2883] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1139), + [2885] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1140), + [2887] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1140), + [2889] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1141), + [2891] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1141), + [2893] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1142), + [2895] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1143), + [2897] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1143), + [2899] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1144), + [2901] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1144), + [2903] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1145), + [2905] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1146), + [2907] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1147), + [2909] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1148), + [2911] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1149), + [2913] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1150), + [2915] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1151), + [2917] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1153), + [2919] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1155), + [2921] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1156), + [2923] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1156), + [2925] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1157), + [2927] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1157), + [2929] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1158), + [2931] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1159), + [2933] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1160), + [2935] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1160), + [2937] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1161), + [2939] = {.count = 1, .reusable = false, .depends_on_lookahead = false}, SHIFT(1161), + [2941] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1162), + [2943] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1163), + [2945] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1164), + [2947] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1165), + [2949] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1166), + [2951] = {.count = 1, .reusable = true, .depends_on_lookahead = true}, SHIFT(1167), + [2953] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1168), + [2955] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1169), + [2957] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1170), + [2959] = {.count = 1, .reusable = true, .depends_on_lookahead = false}, SHIFT(1171), }; void *tree_sitter_bash_external_scanner_create();