Updated grammar

This commit is contained in:
Maix0 2024-07-02 21:01:18 +02:00
parent dcdefc2ac3
commit 63e1d5d05f
1136 changed files with 81301 additions and 91678 deletions

View file

@ -98,7 +98,7 @@ enum e_symbols {
anon_sym_COLON_PLUS = 82,
anon_sym_PLUS3 = 83,
anon_sym_PERCENT_PERCENT = 84,
aux_sym_expansion_regex_token1 = 85,
aux_sym__expansion_regex_token1 = 85,
anon_sym_DOLLAR_LPAREN = 86,
anon_sym_BQUOTE = 87,
sym_comment = 88,
@ -108,91 +108,93 @@ enum e_symbols {
anon_sym_AT = 92,
anon_sym_0 = 93,
anon_sym__ = 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_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,
alias_sym_statements = 179,
aux_sym__word_no_brace_token1 = 95,
anon_sym_SEMI = 96,
sym_heredoc_start = 97,
sym_simple_heredoc_body = 98,
sym__heredoc_body_beginning = 99,
sym_heredoc_content = 100,
sym_heredoc_end = 101,
sym_file_descriptor = 102,
sym__empty_value = 103,
sym__concat = 104,
sym_variable_name = 105,
sym_regex = 106,
sym__expansion_word = 107,
sym_extglob_pattern = 108,
sym__bare_dollar = 109,
sym__immediate_double_hash = 110,
sym___error_recovery = 111,
sym_program = 112,
sym__statements = 113,
aux_sym__terminated_statement = 114,
sym__statement_not_pipeline = 115,
sym_redirected_statement = 116,
sym_for_statement = 117,
sym_while_statement = 118,
sym_do_group = 119,
sym_if_statement = 120,
sym_elif_clause = 121,
sym_else_clause = 122,
sym_case_statement = 123,
sym__case_item_last = 124,
sym_case_item = 125,
sym_function_definition = 126,
sym_compound_statement = 127,
sym_subshell = 128,
sym_pipeline = 129,
sym_list = 130,
sym_negated_command = 131,
sym_command = 132,
sym_command_name = 133,
sym_variable_assignment = 134,
sym__variable_assignments = 135,
sym_file_redirect = 136,
sym_heredoc_redirect = 137,
sym__heredoc_pipeline = 138,
sym__heredoc_expression = 139,
aux_sym__heredoc_command = 140,
sym__heredoc_body = 141,
sym_heredoc_body = 142,
sym__simple_heredoc_body = 143,
sym_arithmetic_expansion = 144,
sym__arithmetic_expression = 145,
sym_arithmetic_literal = 146,
sym_arithmetic_binary_expression = 147,
sym_arithmetic_ternary_expression = 148,
sym_arithmetic_unary_expression = 149,
sym_arithmetic_postfix_expression = 150,
sym_arithmetic_parenthesized_expression = 151,
sym_concatenation = 152,
sym_string = 153,
sym_simple_expansion = 154,
sym_expansion = 155,
sym__expansion_body = 156,
sym__expansion_expression = 157,
sym__expansion_regex = 158,
sym__concatenation_in_expansion = 159,
sym_command_substitution = 160,
sym__extglob_blob = 161,
sym__word_no_brace = 162,
sym_terminator = 163,
aux_sym__statements_repeat1 = 164,
aux_sym_redirected_statement_repeat1 = 165,
aux_sym_redirected_statement_repeat2 = 166,
aux_sym_for_statement_repeat1 = 167,
aux_sym_if_statement_repeat1 = 168,
aux_sym_case_statement_repeat1 = 169,
aux_sym__case_item_last_repeat1 = 170,
aux_sym__case_item_last_repeat2 = 171,
aux_sym_pipeline_repeat1 = 172,
aux_sym_command_repeat1 = 173,
aux_sym_command_repeat2 = 174,
aux_sym__variable_assignments_repeat1 = 175,
aux_sym_heredoc_body_repeat1 = 176,
aux_sym_concatenation_repeat1 = 177,
aux_sym_string_repeat1 = 178,
aux_sym__expansion_regex_repeat1 = 179,
aux_sym__concatenation_in_expansion_repeat1 = 180,
alias_sym_statements = 181,
};
#endif // SYMBOLS_H