aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-14 21:26:36 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-14 21:26:36 +0200
commit91d91b0f54ec9795beaf673f20ff87b894a558c4 (patch)
treebc6e084703bd677fcf4ca3ee82898688fc3e2ee7 /include/ast.h
parent47fff4418d3a83ae214429f395232c3536ff03c4 (diff)
downloadminishell-91d91b0f54ec9795beaf673f20ff87b894a558c4.tar.gz
minishell-91d91b0f54ec9795beaf673f20ff87b894a558c4.tar.bz2
minishell-91d91b0f54ec9795beaf673f20ff87b894a558c4.zip
WIP: Added eval cmd with redirection and builtins
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/ast.h b/include/ast.h
index 790ac29..c508bd9 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -6,7 +6,7 @@
/* By: charles <charles.cabergs@gmail.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/04/01 17:05:38 by charles #+# #+# */
-/* Updated: 2020/06/14 10:28:53 by charles ### ########.fr */
+/* Updated: 2020/06/14 17:47:10 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -69,9 +69,7 @@ typedef struct s_ast
t_line line;
t_ftlst *cmd_argv;
};
- t_ftlst *in;
- t_ftlst *out;
- bool is_append;
+ t_ftlst *redirs;
} t_ast;
typedef struct s_ret