summaryrefslogtreecommitdiffstats
path: root/src/u_parse.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-09 16:17:52 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-09 16:17:52 +0200
commitc68b7637d42fac3986857685980e7a7090f5a5aa (patch)
tree85d78b0a187695a7fab0124ae6c02ae12d223e91 /src/u_parse.c
parentIn progress (diff)
download42-minishell-c68b7637d42fac3986857685980e7a7090f5a5aa.tar.gz
42-minishell-c68b7637d42fac3986857685980e7a7090f5a5aa.tar.bz2
42-minishell-c68b7637d42fac3986857685980e7a7090f5a5aa.tar.xz
42-minishell-c68b7637d42fac3986857685980e7a7090f5a5aa.tar.zst
42-minishell-c68b7637d42fac3986857685980e7a7090f5a5aa.zip
In progress
Diffstat (limited to 'src/u_parse.c')
-rw-r--r--src/u_parse.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/u_parse.c b/src/u_parse.c
index ade8dd7..b49e6ba 100644
--- a/src/u_parse.c
+++ b/src/u_parse.c
@@ -10,10 +10,13 @@
/* */
/* ************************************************************************** */
+#include <libft.h>
+
+#include "u_utils.h"
#include "d_define.h"
t_quote_mode
- u_meet_dquote(char *head, char *ptr, t_quote_mode mode)
+ u_meet_dquote(const char *head, char *ptr, t_quote_mode mode)
{
if (mode == Q_NONE)
{
@@ -34,7 +37,7 @@ t_quote_mode
}
t_quote_mode
- u_meet_squote(char *head, char *ptr, t_quote_mode mode)
+ u_meet_squote(const char *head, char *ptr, t_quote_mode mode)
{
if (mode == Q_NONE)
{