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,36 +14,52 @@
bool lex_normal_s340(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PLUS_EQ, lexer, s);
lex_accept_token(anon_sym_DASH, 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));
}
bool lex_normal_s341(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_DASH_EQ, lexer, s);
lex_accept_token(anon_sym_STAR, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s342(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_STAR_EQ, lexer, s);
lex_accept_token(anon_sym_STAR, lexer, s);
if (s->lookahead == '=')
return (lex_advance(317, 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));
}
bool lex_normal_s343(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_STAR_EQ, lexer, s);
if (s->lookahead == '\\')
return (lex_advance(238, lexer, s));
if ((!s->eof && \
set_contains(sym__comment_word_character_set_1(), 10, \
s->lookahead)))
return (lex_advance(528, lexer, s));
lex_accept_token(anon_sym_STAR, lexer, s);
if (s->lookahead == '=')
return (lex_advance(316, lexer, s));
return (lex_end_state(lexer, s));
}
bool lex_normal_s344(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_SLASH_EQ, lexer, s);
lex_accept_token(anon_sym_STAR, 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));
}