diff --git a/includes/minishell.h b/includes/minishell.h index 4fc452f..091f8a9 100644 --- a/includes/minishell.h +++ b/includes/minishell.h @@ -33,7 +33,7 @@ # include "exec/exec.h" # include "exec/expander.h" -# define DEBUG 1 +# define DEBUG 0 # ifndef DIO_PATH # define DIO_PATH "ast.xml" diff --git a/srcs/parsing/parser.c b/srcs/parsing/parser.c index 853a38f..2791661 100644 --- a/srcs/parsing/parser.c +++ b/srcs/parsing/parser.c @@ -51,6 +51,7 @@ t_ast_n *parser(char *input, t_msh *msh) t_ast_n *ast; int dio; + dio = 0; truncate_comment(input); lst = tokenize(input); if (!lst)