diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-09-10 19:46:07 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-09-10 20:32:25 +0200 |
| commit | 98990d5195e93154abbfd16eaa9d1fcc3572bc5c (patch) | |
| tree | 110a4cedf6ada1281cdc356b21ebe2b55acec32a /src/parser | |
| parent | b16d4b834d95d5cc0757d09e74fe6042e55f5440 (diff) | |
| download | minishell-98990d5195e93154abbfd16eaa9d1fcc3572bc5c.tar.gz minishell-98990d5195e93154abbfd16eaa9d1fcc3572bc5c.tar.bz2 minishell-98990d5195e93154abbfd16eaa9d1fcc3572bc5c.zip | |
Added errorf_ret helper, Removing error to status (just status code and fatal error)
Diffstat (limited to 'src/parser')
| -rw-r--r-- | src/parser/parsed.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/parser/parsed.c b/src/parser/parsed.c index 4e6d6f2..c577b32 100644 --- a/src/parser/parsed.c +++ b/src/parser/parsed.c @@ -6,13 +6,13 @@ /* By: charles <me@cacharle.xyz> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/08/27 20:27:42 by charles #+# #+# */ -/* Updated: 2020/08/28 10:44:39 by charles ### ########.fr */ +/* Updated: 2020/09/10 19:31:46 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "parser.h" -t_parsed *parsed_new(t_ast *ast, t_tok_lst *rest) +t_parsed *parsed_new(t_ast *ast, t_tok_lst *rest) { t_parsed *ret; @@ -24,7 +24,7 @@ t_parsed *parsed_new(t_ast *ast, t_tok_lst *rest) return ret; } -t_parsed *parsed_error(const char *format, ...) +t_parsed *parsed_error(const char *format, ...) { t_parsed *err; va_list ap; |
