aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authornass1pro <nass1pro@gmail.com>2020-09-14 16:21:24 +0200
committernass1pro <nass1pro@gmail.com>2020-09-14 16:21:24 +0200
commit7f08c8ba80240ece1f34caa4fb15e240301fff5e (patch)
tree92412156e94f69f0fd7240e7e5e131712a2c1a19 /include/lexer.h
parent5c5096d5c6d67686c1ad896cbb7a1b5386abf597 (diff)
downloadminishell-7f08c8ba80240ece1f34caa4fb15e240301fff5e.tar.gz
minishell-7f08c8ba80240ece1f34caa4fb15e240301fff5e.tar.bz2
minishell-7f08c8ba80240ece1f34caa4fb15e240301fff5e.zip
test error lexer quote
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/lexer.h b/include/lexer.h
index c477a4f..b1df017 100644
--- a/include/lexer.h
+++ b/include/lexer.h
@@ -6,7 +6,7 @@
/* By: nahaddac <nahaddac@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/06/19 10:51:26 by nahaddac #+# #+# */
-/* Updated: 2020/09/13 20:33:53 by charles ### ########.fr */
+/* Updated: 2020/09/14 16:10:44 by nahaddac ### ########.fr */
/* */
/* ************************************************************************** */
@@ -99,8 +99,8 @@ t_tok_lst *tok_lst_uncons(t_tok_lst **tokens);
int len_until_sep(char *input);
int tok_len(char *input);
t_tok_lst *create_token_list(char *input, t_tok_lst **lst);
-t_tok_lst *lexer(char *input);
-// int check_input_out(char *input);
+int lexer(char *input, t_tok_lst **lst);
+
/*
** utils.c
@@ -117,6 +117,6 @@ int quote_len(char *input, int i);
** trim.c
*/
-void lexer_trim(t_tok_lst *lst);
+int lexer_trim(t_tok_lst *lst);
#endif