mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
parsing: add newline at end of error message
This commit is contained in:
parent
dbba36dc44
commit
055dabc546
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2025/03/31 10:28:28 by jguelen #+# #+# */
|
/* Created: 2025/03/31 10:28:28 by jguelen #+# #+# */
|
||||||
/* Updated: 2025/04/14 17:45:49 by khais ### ########.fr */
|
/* Updated: 2025/04/14 17:46:37 by khais ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
void parse_error(t_minishell *app, t_worddesc *token)
|
void parse_error(t_minishell *app, t_worddesc *token)
|
||||||
{
|
{
|
||||||
ft_dprintf(STDERR_FILENO, "minishell: syntax error near unexpected "
|
ft_dprintf(STDERR_FILENO, "minishell: syntax error near unexpected "
|
||||||
"token `%s'", token->word);
|
"token `%s'\n", token->word);
|
||||||
app->last_return_value = 2;
|
app->last_return_value = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue