removed fork terminator

This commit is contained in:
Maieul BOYER 2024-07-22 13:19:59 +02:00
parent e55d725b56
commit 4a39152144
No known key found for this signature in database
3 changed files with 2 additions and 7 deletions

View file

@ -473,8 +473,6 @@ t_ast_terminator_kind _select_term(t_parse_node node)
t_symbol symbol;
symbol = ts_node_grammar_symbol(ts_node_child(node, 0));
if (symbol == anon_sym_AMP)
return (AST_TERM_FORK);
if (symbol == anon_sym_SEMI)
return (AST_TERM_SEMI);
if (symbol == anon_sym_SEMI_SEMI)

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/03 20:38:29 by maiboyer #+# #+# */
/* Updated: 2024/07/11 14:50:03 by rparodi ### ########.fr */
/* Updated: 2024/07/22 13:19:23 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -87,8 +87,6 @@ void _print_term(t_ast_terminator_kind term)
{
if (term == AST_TERM_NONE)
return;
if (term == AST_TERM_FORK)
printf("&");
if (term == AST_TERM_SEMI)
printf(";");
if (term == AST_TERM_DOUBLE_SEMI)