free start

This commit is contained in:
gazhonsepaskwa
2025-02-05 15:50:47 +01:00
parent 2369795bd2
commit 8b3d4868dd
6 changed files with 57 additions and 5 deletions

View File

@@ -13,7 +13,7 @@
#ifndef MINISHELL_H
# define MINISHELL_H
# define DEBUG 1
# define DEBUG 0
typedef struct s_ast_n t_ast_n;
typedef struct s_node t_node;

View File

@@ -80,4 +80,7 @@ void create_pline(t_ast_n *self, t_node *lst, t_node *token, t_msh *msh);
// and_or
void create_and_or(t_ast_n *parrent, t_node *lst, t_node *token, t_msh *msh);
// free
void free_ast(t_ast_n *node);
#endif