aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/parser.h b/include/parser.h
index 80d039b..2e6bae1 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -34,15 +34,14 @@
*/
/*
-** lexer.c
-*/
-
-// char **lexer(char *input);
-
-/*
** parse.c
*/
t_ret *parse(t_ftlst *input);
+t_ast *parse_cmd(t_ast *ast, t_ftlst *ret);
+t_ast *parse_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);
#endif