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,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/18 15:46:50 by tomoron #+# #+# */
/* Updated: 2024/04/01 20:07:08 by tomoron ### ########.fr */
/* Updated: 2024/04/02 00:45:25 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,17 +17,7 @@ void print_parsed_token(t_token *token)
while (token)
{
printf("[");
if (token->type == ARG)
printf("ARG : \"%s\"", token->value);
else if (token->type == RED_O)
printf("RED_O");
else if (token->type == RED_O_APP)
printf("RED_O_APP");
else if (token->type == RED_I)
printf("RED_I");
else if (token->type == HERE_DOC)
printf("HERE_DOC");
printf("] ");
printf("ARG : \"%s\"", token->value);
token = token->next;
}
printf("\n");