From 2c6101645b681a81d83b9f1dda5276ef851dacc0 Mon Sep 17 00:00:00 2001 From: Christopher Uhlig Date: Fri, 28 Jun 2024 22:01:20 +0200 Subject: updated the prototyps for the tokenizer --- include/token.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'include') 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 -- cgit v1.2.3 From 2391dd08be8ebb6f11847e62ef68913faa0e0382 Mon Sep 17 00:00:00 2001 From: Christopher Uhlig Date: Sun, 4 Aug 2024 14:36:08 +0200 Subject: updated token header but still norm erro idk --- include/token.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/token.h b/include/token.h index 6dd44c9..ddb206e 100644 --- a/include/token.h +++ b/include/token.h @@ -6,7 +6,7 @@ /* By: chuhlig +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/27 13:27:18 by dkaiser #+# #+# */ -/* Updated: 2024/06/28 21:49:55 by chuhlig ### ########.fr */ +/* Updated: 2024/08/04 14:34:52 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -47,9 +47,8 @@ t_token *new_redir_token(int type, t_token *previous, void free_token(t_token *token); void print_token(t_token *token); -void conditional_print(char *string, int start_of_string, int i, int offset, t_token **token_list); +void conditional_print(char *string, int start_of_string, int i, 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 -- cgit v1.2.3 From 0c0539fae76a678018af015e8d0f498fd5c19add Mon Sep 17 00:00:00 2001 From: Christopher Uhlig Date: Mon, 5 Aug 2024 13:24:32 +0200 Subject: removed debugs functions out of header --- include/token.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include') diff --git a/include/token.h b/include/token.h index ddb206e..d7ff9f9 100644 --- a/include/token.h +++ b/include/token.h @@ -6,7 +6,7 @@ /* By: chuhlig +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/27 13:27:18 by dkaiser #+# #+# */ -/* Updated: 2024/08/04 14:34:52 by chuhlig ### ########.fr */ +/* Updated: 2024/08/05 13:23:27 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -45,10 +45,6 @@ t_token *new_redir_token(int type, t_token *previous, t_token *next); void free_token(t_token *token); - -void print_token(t_token *token); -void conditional_print(char *string, int start_of_string, int i, 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 -- cgit v1.2.3 From 36d2b4da2887419705cd22eb97a6283be86816f4 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Thu, 8 Aug 2024 17:10:25 +0200 Subject: Add data structure and prototypes for env --- include/env.h | 23 +++++++++++++++++++++++ include/minishell.h | 3 ++- 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 include/env.h (limited to 'include') diff --git a/include/env.h b/include/env.h new file mode 100644 index 0000000..1ea6f2e --- /dev/null +++ b/include/env.h @@ -0,0 +1,23 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* env.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: dkaiser # include -- cgit v1.2.3