aboutsummaryrefslogtreecommitdiff
path: root/src/debug.c
diff options
context:
space:
mode:
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);