chore: remove obsolete print list
This commit is contained in:
parent
21b3245ebf
commit
c55ce246f9
@ -1,24 +0,0 @@
|
|||||||
/* ************************************************************************** */
|
|
||||||
/* */
|
|
||||||
/* :::::::: */
|
|
||||||
/* print_list.c :+: :+: */
|
|
||||||
/* +:+ */
|
|
||||||
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
||||||
/* +#+ */
|
|
||||||
/* Created: 2025/02/05 16:12:14 by whaffman #+# #+# */
|
|
||||||
/* Updated: 2025/02/05 16:12:45 by whaffman ######## odam.nl */
|
|
||||||
/* */
|
|
||||||
/* ************************************************************************** */
|
|
||||||
|
|
||||||
#include "minishell.h"
|
|
||||||
|
|
||||||
void print_list(void *content)
|
|
||||||
{
|
|
||||||
t_token *token;
|
|
||||||
|
|
||||||
token = (t_token *)content;
|
|
||||||
if (token->type != T_ERROR)
|
|
||||||
ft_printf("%s\n", token->value);
|
|
||||||
else
|
|
||||||
ft_printf("unexpected token at position %i\n", token->position);
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user