This commit is contained in:
2024-03-27 17:22:11 +01:00
parent a9fde3bad1
commit ffbbd564f9
15 changed files with 133 additions and 142 deletions

20
srcs/utils2.c Normal file
View File

@ -0,0 +1,20 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* utils2.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: tomoron <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/27 17:19:27 by tomoron #+# #+# */
/* Updated: 2024/03/27 17:19:35 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
int parsing_syntax_error(t_token *res)
{
free_cmd(res);
ft_putstr_fd("minishell: syntax error\n", 2);
return (0);
}