Changed Grammar

This commit is contained in:
Maix0 2024-06-09 19:16:09 +02:00
parent b0da66b7d8
commit fbb9977f4a
2132 changed files with 110314 additions and 233488 deletions

View file

@ -0,0 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* state_107.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "./lex_normal_funcs.h"
bool lex_normal_s535(t_lexer *lexer, t_lexer_state *s)
{
lex_accept_token(anon_sym_SEMI, lexer, s);
if (s->lookahead == ';')
return (lex_advance(275, lexer, s));
return (lex_end_state(lexer, s));
}
bool lex_normal_default(t_lexer *lexer, t_lexer_state *s)
{
(void)(lexer);
(void)(s);
s->result = false;
return (false);
}