From 6f4b096ba1cff30c1c33dd887aa70740be7990c7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 28 Aug 2020 14:46:35 +0200 Subject: Multiline added for && --- src/m_loop_next.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/m_loop_next.h') diff --git a/src/m_loop_next.h b/src/m_loop_next.h index 56221e7..225e2ed 100644 --- a/src/m_loop_next.h +++ b/src/m_loop_next.h @@ -17,8 +17,9 @@ #include "s_struct.h" -char *m_check_multi_backslash(int32_t fd, char *line, t_msh *msh); -char *m_check_multi_pipe(int32_t fd, char *line, t_msh *msh); +char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh); +char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh); +char *m_check_multi_and(int32_t fd, char line[], t_msh *msh); #endif -- cgit v1.2.3 From 70e3b4133b89e4e77a67139ccaa37322e2507e49 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 1 Sep 2020 18:28:12 +0200 Subject: Added quotes multiline --- src/m_loop_next.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/m_loop_next.h') diff --git a/src/m_loop_next.h b/src/m_loop_next.h index 225e2ed..b4ca62c 100644 --- a/src/m_loop_next.h +++ b/src/m_loop_next.h @@ -20,6 +20,7 @@ char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh); char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh); char *m_check_multi_and(int32_t fd, char line[], t_msh *msh); +char *m_check_multi_quotes(int32_t fd, char line[], t_msh *msh); #endif -- cgit v1.2.3 From 3976118a6e9acd035d20ef79d92632ecb962814e Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 5 Sep 2020 14:48:49 +0200 Subject: Rewrite in progress --- src/m_loop_next.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/m_loop_next.h') diff --git a/src/m_loop_next.h b/src/m_loop_next.h index b4ca62c..1c80e2a 100644 --- a/src/m_loop_next.h +++ b/src/m_loop_next.h @@ -17,6 +17,13 @@ #include "s_struct.h" +enum +{ + M_NO_MODE, + M_SQ_MODE, + M_DQ_MODE +}; + char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh); char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh); char *m_check_multi_and(int32_t fd, char line[], t_msh *msh); -- cgit v1.2.3 From 219803c3746620780f49a09d0966c1dbbba5ad50 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 5 Sep 2020 15:38:51 +0200 Subject: TODO --- src/m_loop_next.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/m_loop_next.h') diff --git a/src/m_loop_next.h b/src/m_loop_next.h index 1c80e2a..b4ca62c 100644 --- a/src/m_loop_next.h +++ b/src/m_loop_next.h @@ -17,13 +17,6 @@ #include "s_struct.h" -enum -{ - M_NO_MODE, - M_SQ_MODE, - M_DQ_MODE -}; - char *m_check_multi_backslash(int32_t fd, char line[], t_msh *msh); char *m_check_multi_pipe(int32_t fd, char line[], t_msh *msh); char *m_check_multi_and(int32_t fd, char line[], t_msh *msh); -- cgit v1.2.3