Editing the parsing adding the ; and </> derivation and adding the suppress leak for readlin

This commit is contained in:
Raphaël 2024-03-29 15:33:30 +01:00
parent 5a24e30c6d
commit 8941f67cf1
4 changed files with 61 additions and 9 deletions

View file

@ -6,14 +6,15 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/29 11:35:51 by rparodi #+# #+# */
/* Updated: 2024/03/29 11:42:39 by rparodi ### ########.fr */
/* Updated: 2024/03/29 14:46:18 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "../includes/minishell.h"
void ft_exit(u8 exit_status)
void ft_exit(i8 *str, u8 exit_status)
{
free(str);
printf("exit\n");
exit(exit_status);
}