summaryrefslogtreecommitdiffstats
path: root/src/ft_e_lcom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_e_lcom.c')
-rw-r--r--src/ft_e_lcom.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ft_e_lcom.c b/src/ft_e_lcom.c
index 3f5f81a..54db581 100644
--- a/src/ft_e_lcom.c
+++ b/src/ft_e_lcom.c
@@ -11,9 +11,12 @@
/* ************************************************************************** */
#include <libft.h>
+#include <stdint.h>
#include "ft_e_builtins.h"
#include "ft_e_externs.h"
+#include "ft_e_pipes.h"
+#include "ft_s_lpipes.h"
#include "ft_s_struct.h"
static uint8_t
@@ -42,12 +45,7 @@ void
{
if (ptr->pipes)
{
- ft_printf("%s\n", ptr->pipes->one->com);
- if ((bu_id = ft_get_builtin_id(ptr->pipes->one->com, msh))
- < FT_BUILTINS_COUNT)
- ft_e_builtin(ptr->pipes->one, bu_id, msh);
- else
- ft_e_extern(ptr->pipes->one, msh);
+ ft_e_pipes(ptr, msh);
}
else if (ptr->com)
{