aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authornass1pro <nass1pro@gmail.com>2020-06-15 13:00:24 +0200
committernass1pro <nass1pro@gmail.com>2020-06-15 13:00:24 +0200
commita7dae7d30b7087bcd9972792a2ee1248e081cfce (patch)
tree21c567c81a542991eb27eb4056b74df8a8d8cc0e /include/ast.h
parent72ee131562574c4a6cb69800cdd81268b52ace84 (diff)
downloadminishell-a7dae7d30b7087bcd9972792a2ee1248e081cfce.tar.gz
minishell-a7dae7d30b7087bcd9972792a2ee1248e081cfce.tar.bz2
minishell-a7dae7d30b7087bcd9972792a2ee1248e081cfce.zip
ADD redir_parse draft
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ast.h b/include/ast.h
index 790ac29..4e89c96 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -32,6 +32,7 @@ struct s_ast;
** \param sep Type of separator
*/
+
typedef struct s_line
{
struct s_ast *left;
@@ -69,9 +70,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