From a680cf09a3fa4b7c6adc38e4297ee5535172826b Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Thu, 27 Aug 2020 18:47:16 +0200 Subject: Updated preprocessing, redir, ast to use t_tok_lst instead of t_ftlst --- include/minishell.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'include/minishell.h') 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 +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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 -- cgit