changed grammar
This commit is contained in:
parent
0b5b5e4d7e
commit
e5b22489e1
1219 changed files with 96283 additions and 113028 deletions
|
|
@ -14,32 +14,62 @@
|
|||
|
||||
bool lex_normal_s360(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_PLUS2, lexer, s);
|
||||
if (s->lookahead == '+')
|
||||
return (lex_advance(355, lexer, s));
|
||||
lex_accept_token(anon_sym_DQUOTE, lexer, s);
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s361(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_TILDE, lexer, s);
|
||||
lex_accept_token(sym_string_content, lexer, s);
|
||||
if (s->lookahead == '\n')
|
||||
return (lex_advance(365, lexer, s));
|
||||
if (s->lookahead == '\\')
|
||||
return (lex_advance(117, lexer, s));
|
||||
if ((s->lookahead != 0 && s->lookahead != '\r' && \
|
||||
s->lookahead != '"' && s->lookahead != '$' && s->lookahead \
|
||||
!= '`'))
|
||||
return (lex_advance(368, lexer, s));
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s362(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_PLUS_PLUS2, lexer, s);
|
||||
lex_accept_token(sym_string_content, lexer, s);
|
||||
if (s->lookahead == '\n')
|
||||
return (lex_advance(368, lexer, s));
|
||||
if (s->lookahead == '\\')
|
||||
return (lex_advance(397, lexer, s));
|
||||
if ((s->lookahead != 0 && s->lookahead != '\r' && \
|
||||
s->lookahead != '"' && s->lookahead != '$' && s->lookahead \
|
||||
!= '`'))
|
||||
return (lex_advance(370, lexer, s));
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s363(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(anon_sym_DASH_DASH2, lexer, s);
|
||||
lex_accept_token(sym_string_content, lexer, s);
|
||||
if (s->lookahead == '\n')
|
||||
return (lex_advance(366, lexer, s));
|
||||
if (s->lookahead == '\\')
|
||||
return (lex_advance(117, lexer, s));
|
||||
if ((s->lookahead != 0 && s->lookahead != '\r' && \
|
||||
s->lookahead != '"' && s->lookahead != '$' && s->lookahead \
|
||||
!= '`'))
|
||||
return (lex_advance(368, lexer, s));
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
||||
bool lex_normal_s364(t_lexer *lexer, t_lexer_state *s)
|
||||
{
|
||||
lex_accept_token(aux_sym_concatenation_token1, lexer, s);
|
||||
lex_accept_token(sym_string_content, lexer, s);
|
||||
if (s->lookahead == '\n')
|
||||
return (lex_advance(367, lexer, s));
|
||||
if (s->lookahead == '\\')
|
||||
return (lex_advance(117, lexer, s));
|
||||
if ((s->lookahead != 0 && s->lookahead != '\r' && \
|
||||
s->lookahead != '"' && s->lookahead != '$' && s->lookahead \
|
||||
!= '`'))
|
||||
return (lex_advance(368, lexer, s));
|
||||
return (lex_end_state(lexer, s));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue