From 2c6101645b681a81d83b9f1dda5276ef851dacc0 Mon Sep 17 00:00:00 2001 From: Christopher Uhlig Date: Fri, 28 Jun 2024 22:01:20 +0200 Subject: [PATCH] updated the prototyps for the tokenizer --- include/token.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/include/token.h b/include/token.h index 38e758f..6dd44c9 100644 --- a/include/token.h +++ b/include/token.h @@ -3,10 +3,10 @@ /* ::: :::::::: */ /* token.h :+: :+: :+: */ /* +:+ +:+ +:+ */ -/* By: dkaiser +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/27 13:27:18 by dkaiser #+# #+# */ -/* Updated: 2024/06/28 14:59:19 by dkaiser ### ########.fr */ +/* Updated: 2024/06/28 21:49:55 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -46,4 +46,10 @@ t_token *new_redir_token(int type, t_token *previous, void free_token(t_token *token); -#endif +void print_token(t_token *token); +void conditional_print(char *string, int start_of_string, int i, int offset, t_token **token_list); +void tokenizer(char *s, t_token **token_list); +void print_token(t_token *token); + + +#endif \ No newline at end of file -- 2.47.2