changed grammar

This commit is contained in:
Maieul BOYER 2024-07-01 18:36:14 +02:00
parent 0b5b5e4d7e
commit e5b22489e1
No known key found for this signature in database
1219 changed files with 96283 additions and 113028 deletions

View file

@ -14,32 +14,38 @@
bool lex_normal_s355(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PLUS_PLUS, lexer, s);
lex_accept_token(anon_sym_DASH_DASH2, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s356(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_DASH_DASH, lexer, s);
lex_accept_token(aux_sym_concatenation_token1, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s357(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_DASH2, lexer, s);
lex_accept_token(anon_sym_DOLLAR, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s358(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_DASH2, lexer, s);
if (s->lookahead == '-')
return (lex_advance(356, lexer, s));
lex_accept_token(anon_sym_DOLLAR, lexer, s);
if (s->lookahead == '(')
return (lex_advance(394, lexer, s));
if (s->lookahead == '{')
return (lex_advance(377, lexer, s));
return (lex_end_state(lexer, s));
}
bool lex_normal_s359(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PLUS2, lexer, s);
lex_accept_token(anon_sym_DOLLAR, lexer, s);
if (s->lookahead == '(')
return (lex_advance(393, lexer, s));
if (s->lookahead == '{')
return (lex_advance(377, lexer, s));
return (lex_end_state(lexer, s));
}