summaryrefslogtreecommitdiffstats
path: root/src/m_loop_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:44:17 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-01 18:44:17 +0200
commit054058a9fe42d747fd9bc3444ddefbe87106ac1c (patch)
treefdcc232e3c71f4ceb6bb8f7f1106ec5d925b87ee /src/m_loop_next.c
parentNormed m_init (diff)
download42-minishell-054058a9fe42d747fd9bc3444ddefbe87106ac1c.tar.gz
42-minishell-054058a9fe42d747fd9bc3444ddefbe87106ac1c.tar.bz2
42-minishell-054058a9fe42d747fd9bc3444ddefbe87106ac1c.tar.xz
42-minishell-054058a9fe42d747fd9bc3444ddefbe87106ac1c.tar.zst
42-minishell-054058a9fe42d747fd9bc3444ddefbe87106ac1c.zip
Normed m_loop
Diffstat (limited to '')
-rw-r--r--src/m_loop_next.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/m_loop_next.c b/src/m_loop_next.c
index d138206..b312c0b 100644
--- a/src/m_loop_next.c
+++ b/src/m_loop_next.c
@@ -230,3 +230,13 @@ char
}
return (line);
}
+
+char *m_check_multis(int32_t fd, char line[], t_msh *msh)
+{
+ line = m_check_multi_backslash(fd, line, msh);
+ line = m_check_multi_pipe(fd, line, msh);
+ line = m_check_multi_and(fd, line, msh);
+ line = m_check_multi_quotes(fd, line, msh);
+
+ return (line);
+}