The change made was from t_vec<char> to char *.
This change was not made in the function handeling tokens however,
which is rectified with this commit.
The previous 2 commit were made quickly as an exercise in using git
hence the low quality.
/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/03 09:00:00 by ljiriste #+# #+# */
-/* Updated: 2024/06/14 10:33:27 by lnikolov ### ########.fr */
+/* Updated: 2024/06/14 11:00:16 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
#include "parsing.h"
#include "minishell.h"
#include "libft.h"
+#include <stdlib.h>
static void free_token(void *token)
{
- ft_vec_free(&((t_token *)token)->str, NULL);
+ free(((t_token *)token)->str);
return ;
}