diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-08-27 18:47:16 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-08-27 18:47:16 +0200 |
| commit | a680cf09a3fa4b7c6adc38e4297ee5535172826b (patch) | |
| tree | 461c9110aadbc98ea2e8751ddb51c48d5c508304 /include/minishell.h | |
| parent | b4002940ce1c1c4648b24f6bf942fc4e4ebab098 (diff) | |
| download | minishell-a680cf09a3fa4b7c6adc38e4297ee5535172826b.tar.gz minishell-a680cf09a3fa4b7c6adc38e4297ee5535172826b.tar.bz2 minishell-a680cf09a3fa4b7c6adc38e4297ee5535172826b.zip | |
Updated preprocessing, redir, ast to use t_tok_lst instead of t_ftlst
Diffstat (limited to 'include/minishell.h')
| -rw-r--r-- | include/minishell.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/minishell.h b/include/minishell.h index a934bb7..1b23952 100644 --- a/include/minishell.h +++ b/include/minishell.h @@ -6,7 +6,7 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/02/26 15:33:51 by cacharle #+# #+# */ -/* Updated: 2020/08/20 14:45:19 by charles ### ########.fr */ +/* Updated: 2020/08/27 17:18:43 by charles ### ########.fr */ /* */ /* ************************************************************************** */ @@ -37,6 +37,8 @@ # include "libft_vec.h" # include "libft_dstr.h" +# include "lexer.h" + /* ** \brief Value of pipe entry if closed */ @@ -107,8 +109,8 @@ int builtin_exit(char **argv, t_env env); ** preprocess.c */ -char **preprocess(t_ftlst **tokens, t_env env); -char *preprocess_filename(t_ftlst **tokens, t_env env); +char **preprocess(t_tok_lst **tokens, t_env env); +char *preprocess_filename(t_tok_lst **tokens, t_env env); /* ** error.c @@ -125,6 +127,7 @@ typedef enum } t_err; void errorf(const char *format, ...); +void verrorf(const char *format, va_list ap); /* ** signal.c |
