aboutsummaryrefslogtreecommitdiff
path: root/include/lexer.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-23 09:09:17 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-23 10:31:27 +0200
commit11b258841f4a15c514c49af7d378b51cd6a8ab79 (patch)
tree0df3f625f49fc1a8ca0e74f81272120f07a35feb /include/lexer.h
parent58fc321ec43be4c3f7976769733116232361857a (diff)
downloadminishell-11b258841f4a15c514c49af7d378b51cd6a8ab79.tar.gz
minishell-11b258841f4a15c514c49af7d378b51cd6a8ab79.tar.bz2
minishell-11b258841f4a15c514c49af7d378b51cd6a8ab79.zip
Fixing builtin which needed to not be run in a child process, Added exit builtin
Diffstat (limited to 'include/lexer.h')
-rw-r--r--include/lexer.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lexer.h b/include/lexer.h
index df05c20..b5df79f 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/06/19 10:51:30 by nahaddac ### ########.fr */
+/* Updated: 2020/06/23 08:55:53 by charles ### ########.fr */
/* */
/* ************************************************************************** */
@@ -54,6 +54,7 @@ int lexer_verif_entre_cote(char *input, int i);
int lexe_space(char *input);
t_token *token_new(enum e_token_tag tag, char *content);
+t_token *token_new_until(enum e_token_tag tag, char *content, int n);
void token_destroy(t_token *token);
void token_destroy_lst(t_ftlst *tokens);
void token_destroy_lst2(t_ftlst *tokens1, t_ftlst *tokens2);