From 11b258841f4a15c514c49af7d378b51cd6a8ab79 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 23 Jun 2020 09:09:17 +0200 Subject: Fixing builtin which needed to not be run in a child process, Added exit builtin --- include/lexer.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/lexer.h') 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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); -- cgit