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,25 +14,40 @@
bool lex_normal_s285(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_LT_LT, lexer, s);
if (s->lookahead == '-')
return (lex_advance(287, lexer, s));
if (s->lookahead == '=')
return (lex_advance(322, lexer, s));
lex_accept_token(aux_sym_heredoc_redirect_token1, lexer, \
s);
if (s->lookahead == '\n')
return (lex_advance(285, lexer, s));
if (s->lookahead == '\\')
return (lex_advance(19, lexer, s));
if ((s->lookahead >= 0x0b && s->lookahead <= '\r'))
return (lex_advance(445, lexer, s));
return (lex_end_state(lexer, s));
}
bool lex_normal_s286(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_LT_LT, lexer, s);
if (s->lookahead == '=')
return (lex_advance(322, lexer, s));
lex_accept_token(aux_sym_heredoc_redirect_token1, lexer, \
s);
if (s->lookahead == '\n')
return (lex_advance(286, lexer, s));
if (s->lookahead == '\\')
return (lex_advance(134, lexer, s));
if ((s->lookahead >= 0x0b && s->lookahead <= '\r'))
return (lex_advance(446, lexer, s));
return (lex_end_state(lexer, s));
}
bool lex_normal_s287(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_LT_LT_DASH, lexer, s);
lex_accept_token(aux_sym_heredoc_redirect_token1, lexer, \
s);
if (s->lookahead == '\n')
return (lex_advance(287, lexer, s));
if (s->lookahead == '\\')
return (lex_advance(136, lexer, s));
if ((s->lookahead >= 0x0b && s->lookahead <= '\r'))
return (lex_advance(447, lexer, s));
return (lex_end_state(lexer, s));
}
@ -43,9 +58,9 @@ bool lex_normal_s288(t_lexer *lexer, t_lexer_state *s)
if (s->lookahead == '\n')
return (lex_advance(288, lexer, s));
if (s->lookahead == '\\')
return (lex_advance(13, lexer, s));
return (lex_advance(25, lexer, s));
if ((s->lookahead >= 0x0b && s->lookahead <= '\r'))
return (lex_advance(453, lexer, s));
return (lex_advance(448, lexer, s));
return (lex_end_state(lexer, s));
}
@ -56,6 +71,6 @@ bool lex_normal_s289(t_lexer *lexer, t_lexer_state *s)
if (s->lookahead == '\n')
return (lex_advance(289, lexer, s));
if (s->lookahead == '\\')
return (lex_advance(50, lexer, s));
return (lex_advance(52, lexer, s));
return (lex_end_state(lexer, s));
}