aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-19 13:31:08 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-19 13:31:08 +0200
commit35434a76eaab34e4d639f5bd0a3b7ba610001c5e (patch)
treecf30a93445da19b38392c0c5e8303038164de906 /include/parser.h
parenta2ebd4ad078d7056a4c28ea697cfd3ebbf09d0f6 (diff)
parentc8091831c4ce1c4cf8703b18de22441aff191f44 (diff)
downloadminishell-35434a76eaab34e4d639f5bd0a3b7ba610001c5e.tar.gz
minishell-35434a76eaab34e4d639f5bd0a3b7ba610001c5e.tar.bz2
minishell-35434a76eaab34e4d639f5bd0a3b7ba610001c5e.zip
Merge branch 'parse_cmd'
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/parser.h b/include/parser.h
index 302c45f..0bdc679 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -6,7 +6,7 @@
/* By: cacharle <cacharle@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/28 09:00:00 by cacharle #+# #+# */
-/* Updated: 2020/06/18 13:18:13 by charles ### ########.fr */
+/* Updated: 2020/06/18 16:34:18 by nahaddac ### ########.fr */
/* */
/* ************************************************************************** */
@@ -14,6 +14,7 @@
# define PARSE_H
# include "minishell.h"
+#include "libft_str.h"
# include "ast.h"
/*
@@ -54,4 +55,7 @@ t_ast *push_redir(t_ast *ast, t_ftlst *rest);
int parse_cmd_str_true_false(enum e_token_tag tag);
int parse_redir_true_false(enum e_token_tag tag);
+// error
+t_token *error_syntax_simple(t_ftlst *in);
+
#endif