Updated Grammar

This commit is contained in:
Maieul BOYER 2024-07-01 12:57:51 +02:00
parent 74d642f297
commit 175efe0f2f
No known key found for this signature in database
1246 changed files with 109558 additions and 114993 deletions

View file

@ -14,34 +14,36 @@
bool lex_normal_s385(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_DASH2, lexer, s);
if (s->lookahead == '-')
return (lex_advance(383, lexer, s));
lex_accept_token(anon_sym_DOLLAR_LBRACE, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s386(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PLUS2, lexer, s);
lex_accept_token(anon_sym_COLON_DASH, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s387(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PLUS2, lexer, s);
if (s->lookahead == '+')
return (lex_advance(382, lexer, s));
lex_accept_token(anon_sym_DASH3, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s388(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_TILDE, lexer, s);
lex_accept_token(anon_sym_COLON_EQ, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s389(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PLUS_PLUS2, lexer, s);
lex_accept_token(anon_sym_COLON_EQ, lexer, s);
if (s->lookahead == '\\')
return (lex_advance(218, lexer, s));
if ((!s->eof && \
set_contains(sym__comment_word_character_set_1(), 10, \
s->lookahead)))
return (lex_advance(497, lexer, s));
return (lex_end_state(lexer, s));
}