diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-15 13:12:34 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-15 13:12:34 +0200 |
| commit | b8623ff168880845c745da62f7e9a840f0541809 (patch) | |
| tree | 23ca8f41c6bdeb5f4fb3a229ee03a7f76c931eb0 /include/parser.h | |
| parent | 11a719bab26b3ccccbd219decab2d0cf77021004 (diff) | |
| parent | a7dae7d30b7087bcd9972792a2ee1248e081cfce (diff) | |
| download | minishell-b8623ff168880845c745da62f7e9a840f0541809.tar.gz minishell-b8623ff168880845c745da62f7e9a840f0541809.tar.bz2 minishell-b8623ff168880845c745da62f7e9a840f0541809.zip | |
Merge branch 'parser'
Diffstat (limited to 'include/parser.h')
| -rw-r--r-- | include/parser.h | 11 |
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 |
