Started working on ast
This commit is contained in:
parent
9aee1f2272
commit
1d4dc219db
1344 changed files with 118659 additions and 107610 deletions
|
|
@ -14,34 +14,34 @@
|
|||
|
||||
bool lex_normal_s385(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_PLUS_PLUS2, lexer, s);
|
||||
lex_accept_token(anon_sym_DASH2, lexer, s);
|
||||
if (s->lookahead == '-')
|
||||
return (lex_advance(383, lexer, s));
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s386(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_DASH_DASH2, lexer, s);
|
||||
lex_accept_token(anon_sym_PLUS2, lexer, s);
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s387(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(aux_sym_concatenation_token1, lexer, s);
|
||||
lex_accept_token(anon_sym_PLUS2, lexer, s);
|
||||
if (s->lookahead == '+')
|
||||
return (lex_advance(382, lexer, s));
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s388(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_DOLLAR, lexer, s);
|
||||
lex_accept_token(anon_sym_TILDE, lexer, s);
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s389(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_DOLLAR, lexer, s);
|
||||
if (s->lookahead == '(')
|
||||
return (lex_advance(431, lexer, s));
|
||||
if (s->lookahead == '{')
|
||||
return (lex_advance(414, lexer, s));
|
||||
lex_accept_token(anon_sym_PLUS_PLUS2, lexer, s);
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue