From a2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 19 Jun 2020 12:19:50 +0200 Subject: Added parenthesis handling in eval (not tested) --- src/debug.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/debug.c') diff --git a/src/debug.c b/src/debug.c index cde4e4c..dd0919e 100644 --- a/src/debug.c +++ b/src/debug.c @@ -38,9 +38,11 @@ void ast_print(int level, t_ast *ast) } else { - /* print_level(level); */ /* printf("SEP: %d\n", ast->op.sep); */ print_level(level); + printf("redirs: ["); + ft_lstiter(ast->redirs, token_put); + printf(" ] "); printf("{\n"); print_level(level); -- cgit