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,46 +14,34 @@
bool lex_normal_s325(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_CARET_EQ, lexer, s);
lex_accept_token(anon_sym_EQ_EQ, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s326(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_CARET_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));
lex_accept_token(anon_sym_BANG_EQ, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s327(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_PIPE_EQ, lexer, s);
lex_accept_token(anon_sym_LT_EQ, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s328(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_CARET, lexer, s);
if (s->lookahead == '=')
return (lex_advance(326, 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));
lex_accept_token(anon_sym_GT_EQ, lexer, s);
return (lex_end_state(lexer, s));
}
bool lex_normal_s329(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_CARET, lexer, s);
lex_accept_token(anon_sym_PLUS, lexer, s);
if (s->lookahead == '+')
return (lex_advance(354, lexer, s));
if (s->lookahead == '=')
return (lex_advance(325, lexer, s));
return (lex_advance(306, lexer, s));
return (lex_end_state(lexer, s));
}