"cmd_arr/cmd_array" renamed to "pipeline"

This commit is contained in:
LuckyLaszlo
2021-11-29 12:32:03 +01:00
parent aa7efdab15
commit cb5c2dcb30
11 changed files with 64 additions and 64 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/04 05:59:26 by lperrey #+# #+# */
/* Updated: 2021/11/27 10:47:05 by lperrey ### ########.fr */
/* Updated: 2021/11/29 12:25:59 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -36,9 +36,9 @@ void shell_loop(t_all *c)
if (!c->token_list)
continue ;
// Parsing
c->cmd_arr = parsing(c->token_list);
c->pipeline = parsing(c->token_list);
ft_lstclear((t_list **)&c->token_list, free);
if (!c->cmd_arr)
if (!c->pipeline)
continue ;
// Exec Pipeline
exec_cmd_line(c);