diff options
| author | Charles Cabergs <me@cacharle.xyz> | 2020-10-10 10:34:20 +0200 |
|---|---|---|
| committer | Charles Cabergs <me@cacharle.xyz> | 2020-10-10 10:34:20 +0200 |
| commit | 5b681182824ae45b5a27d1503de32fa2760c5800 (patch) | |
| tree | fcbe26572ed46649c9931750c284a0573414bef1 /src/parser/parsed_error.c | |
| parent | 0e3db10c626f54a6c6aa94aa59648782e8602c02 (diff) | |
| download | minishell-5b681182824ae45b5a27d1503de32fa2760c5800.tar.gz minishell-5b681182824ae45b5a27d1503de32fa2760c5800.tar.bz2 minishell-5b681182824ae45b5a27d1503de32fa2760c5800.zip | |
Norming interpolation
Diffstat (limited to 'src/parser/parsed_error.c')
| -rw-r--r-- | src/parser/parsed_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parser/parsed_error.c b/src/parser/parsed_error.c index a38a85c..3486235 100644 --- a/src/parser/parsed_error.c +++ b/src/parser/parsed_error.c @@ -6,7 +6,7 @@ /* By: cacharle <me@cacharle.xyz> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/10/10 09:20:17 by cacharle #+# #+# */ -/* Updated: 2020/10/10 09:20:30 by cacharle ### ########.fr */ +/* Updated: 2020/10/10 09:24:59 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -37,7 +37,7 @@ t_parsed *parsed_unexpected(char *content) return (parsed_error("syntax error near unexpected token `%s'", content)); } -bool parsed_err(t_parsed *parsed) +bool parsed_check(t_parsed *parsed) { return (parsed == NULL || parsed->syntax_error); } |
