diff options
| author | Christopher Uhlig | 2025-01-20 19:32:10 +0100 |
|---|---|---|
| committer | Christopher Uhlig | 2025-01-20 19:32:10 +0100 |
| commit | 852e00cb465b05f13aa6298ce71a1067c0846556 (patch) | |
| tree | 23407cd33e3dc255a9a4a6acb9d67a051ba80f65 /include | |
| parent | b73e9e4fda360885035b9b04e9e9aca4724cb285 (diff) | |
| download | minishell-852e00cb465b05f13aa6298ce71a1067c0846556.tar.gz minishell-852e00cb465b05f13aa6298ce71a1067c0846556.zip | |
fixed norm tester 133 remove .vs
Diffstat (limited to 'include')
| -rw-r--r-- | include/minishell.h | 4 | ||||
| -rw-r--r-- | include/token.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/minishell.h b/include/minishell.h index e9810bd..356df7a 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/22 17:14:49 by dkaiser #+# #+# */ -/* Updated: 2025/01/20 18:41:11 by dkaiser ### ########.fr */ +/* Updated: 2025/01/20 19:12:03 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -42,7 +42,7 @@ int eval(t_node *node, t_env **env); char *get_cmd_path(char *cmd, t_env *env, int *return_code); int execute_cmd(t_cmd *cmd, t_env **env); char *format_string(char *str, t_env *env, int is_literal); -void set_return_code(int return_code, t_env **env); +void set_return_code(int return_code, t_env **env); int handle_redirections(t_redirection *redirs); void *error(int err_code, char *err_text, int exit_code, int *ret_code); diff --git a/include/token.h b/include/token.h index bb7ea94..2e8da35 100644 --- a/include/token.h +++ b/include/token.h @@ -6,7 +6,7 @@ /* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/06/27 13:27:18 by dkaiser #+# #+# */ -/* Updated: 2025/01/20 12:37:59 by chuhlig ### ########.fr */ +/* Updated: 2025/01/20 19:10:30 by chuhlig ### ########.fr */ /* */ /* ************************************************************************** */ @@ -43,9 +43,9 @@ t_token *new_str_token(char *str, t_token *previous, t_token *next); t_token *new_redir_token(int type, t_token *previous, t_token *next); - +void free_tokens(t_token *tokens); void free_token(t_token *token); - +void free_token_and_connect(t_token *token); void tokenizer(char *s, t_token **token_list, char quote_check); void print_token(t_token *token); |
