Updated Grammar

This commit is contained in:
Maieul BOYER 2024-07-22 13:09:51 +02:00
parent f4ccb91db4
commit 9a6a1885e4
No known key found for this signature in database
974 changed files with 83363 additions and 84138 deletions

View file

@ -73,7 +73,7 @@ void symbols_names_2(t_symbols_names_array *v)
v->a[anon_sym_CARET_EQ] = "operator";
v->a[anon_sym_PIPE_EQ] = "operator";
v->a[anon_sym_CARET] = "operator";
v->a[anon_sym_AMP] = "&";
v->a[anon_sym_AMP] = "operator";
v->a[anon_sym_EQ_EQ] = "operator";
v->a[anon_sym_BANG_EQ] = "operator";
v->a[anon_sym_LT_EQ] = "operator";
@ -128,12 +128,12 @@ void symbols_names_4(t_symbols_names_array *v)
v->a[aux_sym__multiline_variable_name_token1] = "variable_name";
v->a[anon_sym_AT] = "special_variable_name";
v->a[anon_sym_0] = "special_variable_name";
v->a[anon_sym__] = "special_variable_name";
v->a[aux_sym__word_no_brace_token1] = "_word_no_brace_token1";
v->a[anon_sym_SEMI] = ";";
v->a[sym_heredoc_start] = "heredoc_start";
v->a[sym_simple_heredoc_body] = "heredoc_body";
v->a[sym__heredoc_body_beginning] = "_heredoc_body_beginning";
v->a[sym_heredoc_content] = "heredoc_content";
symbols_names_5(v);
}

View file

@ -14,7 +14,6 @@
void symbols_names_5(t_symbols_names_array *v)
{
v->a[sym_heredoc_content] = "heredoc_content";
v->a[sym_heredoc_end] = "heredoc_end";
v->a[sym_file_descriptor] = "file_descriptor";
v->a[sym__empty_value] = "_empty_value";
@ -34,12 +33,12 @@ void symbols_names_5(t_symbols_names_array *v)
v->a[sym_for_statement] = "for_statement";
v->a[sym_while_statement] = "while_statement";
v->a[sym_do_group] = "do_group";
v->a[sym_if_statement] = "if_statement";
symbols_names_6(v);
}
void symbols_names_6(t_symbols_names_array *v)
{
v->a[sym_if_statement] = "if_statement";
v->a[sym_elif_clause] = "elif_clause";
v->a[sym_else_clause] = "else_clause";
v->a[sym_case_statement] = "case_statement";
@ -59,12 +58,12 @@ void symbols_names_6(t_symbols_names_array *v)
v->a[sym_heredoc_redirect] = "heredoc_redirect";
v->a[sym__heredoc_pipeline] = "pipeline";
v->a[sym__heredoc_expression] = "_heredoc_expression";
v->a[aux_sym__heredoc_command] = "_heredoc_command";
symbols_names_7(v);
}
void symbols_names_7(t_symbols_names_array *v)
{
v->a[aux_sym__heredoc_command] = "_heredoc_command";
v->a[sym__heredoc_body] = "_heredoc_body";
v->a[sym_heredoc_body] = "heredoc_body";
v->a[sym__simple_heredoc_body] = "_simple_heredoc_body";
@ -85,12 +84,12 @@ void symbols_names_7(t_symbols_names_array *v)
v->a[sym__expansion_expression] = "_expansion_expression";
v->a[sym__expansion_regex] = "_expansion_regex";
v->a[sym__concatenation_in_expansion] = "concatenation";
v->a[sym_command_substitution] = "command_substitution";
symbols_names_8(v);
}
void symbols_names_8(t_symbols_names_array *v)
{
v->a[sym_command_substitution] = "command_substitution";
v->a[sym__extglob_blob] = "_extglob_blob";
v->a[sym__word_no_brace] = "word2";
v->a[sym_terminator] = "terminator";
@ -113,13 +112,13 @@ void symbols_names_8(t_symbols_names_array *v)
v->a[aux_sym_concatenation_repeat1] = "concatenation_repeat1";
v->a[aux_sym_string_repeat1] = "string_repeat1";
v->a[aux_sym__expansion_regex_repeat1] = "_expansion_regex_repeat1";
v->a[aux_sym__concatenation_in_expansion_repeat1] \
= "_concatenation_in_expansion_repeat1";
symbols_names_9(v);
}
void symbols_names_9(t_symbols_names_array *v)
{
v->a[aux_sym__concatenation_in_expansion_repeat1] \
= "_concatenation_in_expansion_repeat1";
v->a[alias_sym_statements] = "statements";
}