aboutsummaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-19 12:19:50 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-19 12:19:50 +0200
commita2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6 (patch)
treeb021f962e60e614ce0baabbd4cbf1a933a001def /src/debug.c
parentbf97035e8d444c141725c0cf91aaaa285ae712af (diff)
downloadminishell-a2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6.tar.gz
minishell-a2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6.tar.bz2
minishell-a2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6.zip
Added parenthesis handling in eval (not tested)
Diffstat (limited to 'src/debug.c')
-rw-r--r--src/debug.c4
1 files changed, 3 insertions, 1 deletions
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);