wip (ça compile pas)

This commit is contained in:
2024-04-02 12:32:18 +02:00
parent 68469542ff
commit 5580852791
14 changed files with 155 additions and 184 deletions

View File

@ -6,13 +6,13 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/06 20:46:19 by tomoron #+# #+# */
/* Updated: 2024/03/28 12:34:31 by tomoron ### ########.fr */
/* Updated: 2024/04/02 00:44:16 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
t_token *token_add_back(t_token *token, char *value, t_token_type type)
t_token *token_add_back(t_token *token, char *value)
{
t_token *res;
t_token *current;
@ -26,7 +26,6 @@ t_token *token_add_back(t_token *token, char *value, t_token_type type)
if (!res)
return (token);
res->value = value;
res->type = type;
if (!token)
return (res);
current = token;