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

@ -15,49 +15,49 @@
void parse_actions_entries_30(t_parse_actions_entries_array *v)
{
v->a[600] = entry(2, false);
v->a[601] = reduce(aux_sym_command_repeat2, 2, 0, 30);
v->a[602] = shift_repeat(1571);
v->a[601] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[602] = shift_repeat(1703);
v->a[603] = entry(2, false);
v->a[604] = reduce(aux_sym_command_repeat2, 2, 0, 30);
v->a[605] = shift_repeat(57);
v->a[604] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[605] = shift_repeat(1699);
v->a[606] = entry(2, false);
v->a[607] = reduce(aux_sym_command_repeat2, 2, 0, 30);
v->a[608] = shift_repeat(59);
v->a[609] = entry(2, true);
v->a[610] = reduce(aux_sym_command_repeat2, 2, 0, 30);
v->a[611] = shift_repeat(629);
v->a[612] = entry(1, false);
v->a[613] = shift(825);
v->a[614] = entry(1, false);
v->a[615] = shift(823);
v->a[616] = entry(1, true);
v->a[617] = shift(823);
v->a[607] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[608] = shift_repeat(1583);
v->a[609] = entry(2, false);
v->a[610] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[611] = shift_repeat(52);
v->a[612] = entry(2, false);
v->a[613] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[614] = shift_repeat(56);
v->a[615] = entry(2, false);
v->a[616] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[617] = shift_repeat(420);
v->a[618] = entry(2, false);
v->a[619] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[619] = reduce(aux_sym_command_repeat2, 2, 0, 32);
parse_actions_entries_31(v);
}
void parse_actions_entries_31(t_parse_actions_entries_array *v)
{
v->a[620] = shift_repeat(384);
v->a[620] = shift_repeat(753);
v->a[621] = entry(2, false);
v->a[622] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[623] = shift_repeat(711);
v->a[622] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[623] = shift_repeat(1690);
v->a[624] = entry(2, false);
v->a[625] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[626] = shift_repeat(1633);
v->a[625] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[626] = shift_repeat(1676);
v->a[627] = entry(2, false);
v->a[628] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[629] = shift_repeat(1632);
v->a[628] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[629] = shift_repeat(1595);
v->a[630] = entry(2, false);
v->a[631] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[632] = shift_repeat(1560);
v->a[631] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[632] = shift_repeat(109);
v->a[633] = entry(2, false);
v->a[634] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[635] = shift_repeat(55);
v->a[636] = entry(2, false);
v->a[637] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[638] = shift_repeat(56);
v->a[634] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[635] = shift_repeat(105);
v->a[636] = entry(2, true);
v->a[637] = reduce(aux_sym_command_repeat2, 2, 0, 32);
v->a[638] = shift_repeat(667);
v->a[639] = entry(2, false);
parse_actions_entries_32(v);
}
@ -65,75 +65,75 @@ void parse_actions_entries_31(t_parse_actions_entries_array *v)
void parse_actions_entries_32(t_parse_actions_entries_array *v)
{
v->a[640] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[641] = shift_repeat(407);
v->a[641] = shift_repeat(394);
v->a[642] = entry(2, false);
v->a[643] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[644] = shift_repeat(710);
v->a[644] = shift_repeat(734);
v->a[645] = entry(2, false);
v->a[646] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[647] = shift_repeat(1624);
v->a[647] = shift_repeat(1664);
v->a[648] = entry(2, false);
v->a[649] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[650] = shift_repeat(1677);
v->a[650] = shift_repeat(1648);
v->a[651] = entry(2, false);
v->a[652] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[653] = shift_repeat(1558);
v->a[653] = shift_repeat(1553);
v->a[654] = entry(2, false);
v->a[655] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[656] = shift_repeat(71);
v->a[656] = shift_repeat(67);
v->a[657] = entry(2, false);
v->a[658] = reduce(aux_sym_for_statement_repeat1, 2, 0, 0);
v->a[659] = shift_repeat(68);
v->a[659] = shift_repeat(65);
parse_actions_entries_33(v);
}
void parse_actions_entries_33(t_parse_actions_entries_array *v)
{
v->a[660] = entry(1, false);
v->a[661] = reduce(sym_command_substitution, 3, 0, 20);
v->a[661] = reduce(sym_arithmetic_binary_expression, 3, 0, 39);
v->a[662] = entry(1, true);
v->a[663] = reduce(sym_command_substitution, 3, 0, 20);
v->a[664] = entry(1, true);
v->a[665] = shift_extra();
v->a[663] = reduce(sym_arithmetic_binary_expression, 3, 0, 39);
v->a[664] = entry(1, false);
v->a[665] = shift(817);
v->a[666] = entry(1, false);
v->a[667] = shift(463);
v->a[667] = shift(816);
v->a[668] = entry(1, false);
v->a[669] = shift(769);
v->a[670] = entry(1, false);
v->a[671] = shift(1665);
v->a[672] = entry(1, false);
v->a[673] = shift(1654);
v->a[669] = shift(813);
v->a[670] = entry(1, true);
v->a[671] = shift(808);
v->a[672] = entry(1, true);
v->a[673] = shift(817);
v->a[674] = entry(1, false);
v->a[675] = shift(1563);
v->a[675] = shift(806);
v->a[676] = entry(1, false);
v->a[677] = shift(41);
v->a[678] = entry(1, false);
v->a[679] = shift(78);
v->a[677] = shift(798);
v->a[678] = entry(1, true);
v->a[679] = shift(258);
parse_actions_entries_34(v);
}
void parse_actions_entries_34(t_parse_actions_entries_array *v)
{
v->a[680] = entry(1, false);
v->a[681] = reduce(sym_arithmetic_unary_expression, 2, 0, 21);
v->a[682] = entry(1, true);
v->a[680] = entry(1, true);
v->a[681] = shift_extra();
v->a[682] = entry(1, false);
v->a[683] = reduce(sym_arithmetic_unary_expression, 2, 0, 21);
v->a[684] = entry(1, false);
v->a[685] = shift(809);
v->a[684] = entry(1, true);
v->a[685] = reduce(sym_arithmetic_unary_expression, 2, 0, 21);
v->a[686] = entry(1, false);
v->a[687] = shift(848);
v->a[688] = entry(1, false);
v->a[689] = shift(846);
v->a[690] = entry(1, true);
v->a[691] = shift(239);
v->a[687] = reduce(sym_string, 4, 0, 40);
v->a[688] = entry(1, true);
v->a[689] = reduce(sym_string, 4, 0, 40);
v->a[690] = entry(1, false);
v->a[691] = reduce(aux_sym_command_repeat1, 1, 0, 0);
v->a[692] = entry(1, false);
v->a[693] = reduce(sym_arithmetic_parenthesized_expression, 3, 0, 0);
v->a[694] = entry(1, true);
v->a[695] = reduce(sym_arithmetic_parenthesized_expression, 3, 0, 0);
v->a[693] = reduce(sym__statement_not_pipeline, 1, 0, 0);
v->a[694] = entry(1, false);
v->a[695] = reduce(sym__statements, 1, 0, 2);
v->a[696] = entry(1, false);
v->a[697] = reduce(sym_arithmetic_binary_expression, 3, 0, 37);
v->a[698] = entry(1, true);
v->a[699] = reduce(sym_arithmetic_binary_expression, 3, 0, 37);
v->a[697] = shift(513);
v->a[698] = entry(1, false);
v->a[699] = shift(136);
parse_actions_entries_35(v);
}