diff options
| author | Dominik Kaiser | 2025-01-25 15:57:16 +0100 |
|---|---|---|
| committer | GitHub | 2025-01-25 15:57:16 +0100 |
| commit | 8fb5e2839cb7eb7bb72f577577afafcdbdc8a714 (patch) | |
| tree | f44fffea0ef290f9bdf79448c90d794ba97b8ca4 /include | |
| parent | 21874e1446ccd08f4433870a69dbe1c08f8331a9 (diff) | |
| parent | bd8c817797d5f2b1affe6957ffc51846a38e70ec (diff) | |
| download | minishell-8fb5e2839cb7eb7bb72f577577afafcdbdc8a714.tar.gz minishell-8fb5e2839cb7eb7bb72f577577afafcdbdc8a714.zip | |
Merge branch 'main' into memleakfix
Diffstat (limited to 'include')
| -rw-r--r-- | include/debug_tools.h | 2 | ||||
| -rw-r--r-- | include/minishell.h | 2 | ||||
| -rw-r--r-- | include/token.h | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/include/debug_tools.h b/include/debug_tools.h index 9a24875..a6f44f5 100644 --- a/include/debug_tools.h +++ b/include/debug_tools.h @@ -23,6 +23,8 @@ void dbg(char *str); void panic(char *msg); + void print_token_list(t_token *token_list); + #endif diff --git a/include/minishell.h b/include/minishell.h index 354d5b9..6961815 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -30,7 +30,7 @@ int init(void); int init_signal_handling(void); -void repl(const char *prompt, t_env **env); +void repl(const char *prompt, t_env **env, int *promptflag); t_node *parse(t_token *tokens, t_env **env); t_node *parse_cmd(t_token *tokens, t_env **env); diff --git a/include/token.h b/include/token.h index fb9633d..226c9ac 100644 --- a/include/token.h +++ b/include/token.h @@ -49,7 +49,6 @@ 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); - void free_token2(t_token *token); void free_token_and_connect2(t_token *token); |
