Updated grammar to remove input fd for redirection
This commit is contained in:
parent
27875d8466
commit
18bf872c44
1005 changed files with 77750 additions and 102351 deletions
|
|
@ -78,122 +78,120 @@ enum e_symbols {
|
|||
anon_sym_DASH_DASH = 62,
|
||||
anon_sym_DASH2 = 63,
|
||||
anon_sym_PLUS2 = 64,
|
||||
anon_sym_TILDE = 65,
|
||||
anon_sym_PLUS_PLUS2 = 66,
|
||||
anon_sym_DASH_DASH2 = 67,
|
||||
aux_sym_concatenation_token1 = 68,
|
||||
anon_sym_DOLLAR = 69,
|
||||
anon_sym_DQUOTE = 70,
|
||||
sym_string_content = 71,
|
||||
sym_raw_string = 72,
|
||||
sym_number = 73,
|
||||
anon_sym_POUND = 74,
|
||||
anon_sym_DOLLAR_LBRACE = 75,
|
||||
anon_sym_COLON_DASH = 76,
|
||||
anon_sym_DASH3 = 77,
|
||||
anon_sym_COLON_EQ = 78,
|
||||
anon_sym_EQ2 = 79,
|
||||
anon_sym_COLON_QMARK = 80,
|
||||
anon_sym_QMARK2 = 81,
|
||||
anon_sym_COLON_PLUS = 82,
|
||||
anon_sym_PLUS3 = 83,
|
||||
anon_sym_PERCENT_PERCENT = 84,
|
||||
aux_sym__expansion_regex_token1 = 85,
|
||||
anon_sym_DOLLAR_LPAREN = 86,
|
||||
anon_sym_BQUOTE = 87,
|
||||
sym_comment = 88,
|
||||
sym__comment_word = 89,
|
||||
aux_sym__simple_variable_name_token1 = 90,
|
||||
aux_sym__multiline_variable_name_token1 = 91,
|
||||
anon_sym_AT = 92,
|
||||
anon_sym_0 = 93,
|
||||
aux_sym__word_no_brace_token1 = 94,
|
||||
anon_sym_SEMI = 95,
|
||||
sym_heredoc_start = 96,
|
||||
sym_simple_heredoc_body = 97,
|
||||
sym__heredoc_body_beginning = 98,
|
||||
sym_heredoc_content = 99,
|
||||
sym_heredoc_end = 100,
|
||||
sym_file_descriptor = 101,
|
||||
sym__empty_value = 102,
|
||||
sym__concat = 103,
|
||||
sym_variable_name = 104,
|
||||
sym_regex = 105,
|
||||
sym__expansion_word = 106,
|
||||
sym_extglob_pattern = 107,
|
||||
sym__bare_dollar = 108,
|
||||
sym__immediate_double_hash = 109,
|
||||
sym___error_recovery = 110,
|
||||
sym_program = 111,
|
||||
sym__statements = 112,
|
||||
aux_sym__terminated_statement = 113,
|
||||
sym__statement_not_pipeline = 114,
|
||||
sym_redirected_statement = 115,
|
||||
sym_for_statement = 116,
|
||||
sym_while_statement = 117,
|
||||
sym_do_group = 118,
|
||||
sym_if_statement = 119,
|
||||
sym_elif_clause = 120,
|
||||
sym_else_clause = 121,
|
||||
sym_case_statement = 122,
|
||||
sym__case_item_last = 123,
|
||||
sym_case_item = 124,
|
||||
sym_function_definition = 125,
|
||||
sym_compound_statement = 126,
|
||||
sym_subshell = 127,
|
||||
sym_pipeline = 128,
|
||||
sym_list = 129,
|
||||
sym_negated_command = 130,
|
||||
sym_command = 131,
|
||||
sym_command_name = 132,
|
||||
sym_variable_assignment = 133,
|
||||
sym__variable_assignments = 134,
|
||||
sym_file_redirect = 135,
|
||||
sym_heredoc_redirect = 136,
|
||||
sym__heredoc_pipeline = 137,
|
||||
sym__heredoc_expression = 138,
|
||||
aux_sym__heredoc_command = 139,
|
||||
sym__heredoc_body = 140,
|
||||
sym_heredoc_body = 141,
|
||||
sym__simple_heredoc_body = 142,
|
||||
sym_arithmetic_expansion = 143,
|
||||
sym__arithmetic_expression = 144,
|
||||
sym_arithmetic_literal = 145,
|
||||
sym_arithmetic_binary_expression = 146,
|
||||
sym_arithmetic_ternary_expression = 147,
|
||||
sym_arithmetic_unary_expression = 148,
|
||||
sym_arithmetic_postfix_expression = 149,
|
||||
sym_arithmetic_parenthesized_expression = 150,
|
||||
sym_concatenation = 151,
|
||||
sym_string = 152,
|
||||
sym_simple_expansion = 153,
|
||||
sym_expansion = 154,
|
||||
sym__expansion_body = 155,
|
||||
sym__expansion_expression = 156,
|
||||
sym__expansion_regex = 157,
|
||||
sym__concatenation_in_expansion = 158,
|
||||
sym_command_substitution = 159,
|
||||
sym__extglob_blob = 160,
|
||||
sym__word_no_brace = 161,
|
||||
sym_terminator = 162,
|
||||
aux_sym__statements_repeat1 = 163,
|
||||
aux_sym_redirected_statement_repeat1 = 164,
|
||||
aux_sym_redirected_statement_repeat2 = 165,
|
||||
aux_sym_for_statement_repeat1 = 166,
|
||||
aux_sym_if_statement_repeat1 = 167,
|
||||
aux_sym_case_statement_repeat1 = 168,
|
||||
aux_sym__case_item_last_repeat1 = 169,
|
||||
aux_sym__case_item_last_repeat2 = 170,
|
||||
aux_sym_pipeline_repeat1 = 171,
|
||||
aux_sym_command_repeat1 = 172,
|
||||
aux_sym_command_repeat2 = 173,
|
||||
aux_sym__variable_assignments_repeat1 = 174,
|
||||
aux_sym_heredoc_body_repeat1 = 175,
|
||||
aux_sym_concatenation_repeat1 = 176,
|
||||
aux_sym_string_repeat1 = 177,
|
||||
aux_sym__expansion_regex_repeat1 = 178,
|
||||
aux_sym__concatenation_in_expansion_repeat1 = 179,
|
||||
alias_sym_statements = 180,
|
||||
anon_sym_PLUS_PLUS2 = 65,
|
||||
anon_sym_DASH_DASH2 = 66,
|
||||
aux_sym_concatenation_token1 = 67,
|
||||
anon_sym_DOLLAR = 68,
|
||||
anon_sym_DQUOTE = 69,
|
||||
sym_string_content = 70,
|
||||
sym_raw_string = 71,
|
||||
sym_number = 72,
|
||||
anon_sym_POUND = 73,
|
||||
anon_sym_DOLLAR_LBRACE = 74,
|
||||
anon_sym_COLON_DASH = 75,
|
||||
anon_sym_DASH3 = 76,
|
||||
anon_sym_COLON_EQ = 77,
|
||||
anon_sym_EQ2 = 78,
|
||||
anon_sym_COLON_QMARK = 79,
|
||||
anon_sym_QMARK2 = 80,
|
||||
anon_sym_COLON_PLUS = 81,
|
||||
anon_sym_PLUS3 = 82,
|
||||
anon_sym_PERCENT_PERCENT = 83,
|
||||
aux_sym__expansion_regex_token1 = 84,
|
||||
anon_sym_DOLLAR_LPAREN = 85,
|
||||
anon_sym_BQUOTE = 86,
|
||||
sym_comment = 87,
|
||||
sym__comment_word = 88,
|
||||
aux_sym__simple_variable_name_token1 = 89,
|
||||
aux_sym__multiline_variable_name_token1 = 90,
|
||||
anon_sym_AT = 91,
|
||||
anon_sym_0 = 92,
|
||||
aux_sym__word_no_brace_token1 = 93,
|
||||
anon_sym_SEMI = 94,
|
||||
sym_heredoc_start = 95,
|
||||
sym_simple_heredoc_body = 96,
|
||||
sym__heredoc_body_beginning = 97,
|
||||
sym_heredoc_content = 98,
|
||||
sym_heredoc_end = 99,
|
||||
sym_file_descriptor = 100,
|
||||
sym__empty_value = 101,
|
||||
sym__concat = 102,
|
||||
sym_variable_name = 103,
|
||||
sym_regex = 104,
|
||||
sym__expansion_word = 105,
|
||||
sym_extglob_pattern = 106,
|
||||
sym__bare_dollar = 107,
|
||||
sym__immediate_double_hash = 108,
|
||||
sym___error_recovery = 109,
|
||||
sym_program = 110,
|
||||
sym__statements = 111,
|
||||
aux_sym__terminated_statement = 112,
|
||||
sym__statement_not_pipeline = 113,
|
||||
sym_redirected_statement = 114,
|
||||
sym_for_statement = 115,
|
||||
sym_while_statement = 116,
|
||||
sym_do_group = 117,
|
||||
sym_if_statement = 118,
|
||||
sym_elif_clause = 119,
|
||||
sym_else_clause = 120,
|
||||
sym_case_statement = 121,
|
||||
sym__case_item_last = 122,
|
||||
sym_case_item = 123,
|
||||
sym_function_definition = 124,
|
||||
sym_compound_statement = 125,
|
||||
sym_subshell = 126,
|
||||
sym_pipeline = 127,
|
||||
sym_list = 128,
|
||||
sym_negated_command = 129,
|
||||
sym_command = 130,
|
||||
sym_command_name = 131,
|
||||
sym_variable_assignment = 132,
|
||||
sym__variable_assignments = 133,
|
||||
sym_file_redirect = 134,
|
||||
sym_heredoc_redirect = 135,
|
||||
sym__heredoc_pipeline = 136,
|
||||
sym__heredoc_expression = 137,
|
||||
aux_sym__heredoc_command = 138,
|
||||
sym__heredoc_body = 139,
|
||||
sym_heredoc_body = 140,
|
||||
sym__simple_heredoc_body = 141,
|
||||
sym_arithmetic_expansion = 142,
|
||||
sym__arithmetic_expression = 143,
|
||||
sym_arithmetic_literal = 144,
|
||||
sym_arithmetic_binary_expression = 145,
|
||||
sym_arithmetic_ternary_expression = 146,
|
||||
sym_arithmetic_unary_expression = 147,
|
||||
sym_arithmetic_postfix_expression = 148,
|
||||
sym_arithmetic_parenthesized_expression = 149,
|
||||
sym_concatenation = 150,
|
||||
sym_string = 151,
|
||||
sym_simple_expansion = 152,
|
||||
sym_expansion = 153,
|
||||
sym__expansion_body = 154,
|
||||
sym__expansion_expression = 155,
|
||||
sym__expansion_regex = 156,
|
||||
sym__concatenation_in_expansion = 157,
|
||||
sym_command_substitution = 158,
|
||||
sym__extglob_blob = 159,
|
||||
sym__word_no_brace = 160,
|
||||
sym_terminator = 161,
|
||||
aux_sym__statements_repeat1 = 162,
|
||||
aux_sym_redirected_statement_repeat1 = 163,
|
||||
aux_sym_redirected_statement_repeat2 = 164,
|
||||
aux_sym_for_statement_repeat1 = 165,
|
||||
aux_sym_if_statement_repeat1 = 166,
|
||||
aux_sym_case_statement_repeat1 = 167,
|
||||
aux_sym__case_item_last_repeat1 = 168,
|
||||
aux_sym__case_item_last_repeat2 = 169,
|
||||
aux_sym_pipeline_repeat1 = 170,
|
||||
aux_sym_command_repeat1 = 171,
|
||||
aux_sym_command_repeat2 = 172,
|
||||
aux_sym__variable_assignments_repeat1 = 173,
|
||||
aux_sym_heredoc_body_repeat1 = 174,
|
||||
aux_sym_concatenation_repeat1 = 175,
|
||||
aux_sym_string_repeat1 = 176,
|
||||
aux_sym__expansion_regex_repeat1 = 177,
|
||||
aux_sym__concatenation_in_expansion_repeat1 = 178,
|
||||
};
|
||||
|
||||
#endif // SYMBOLS_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue