print error
This commit is contained in:
parent
f86720a3ec
commit
473135b33d
@ -10,7 +10,6 @@
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "libft.h"
|
||||
#include "minishell.h"
|
||||
|
||||
static char *ft_parse_quotes(t_lexer *lexer)
|
||||
|
||||
@ -17,5 +17,8 @@ void print_list(void *content)
|
||||
t_token *token;
|
||||
|
||||
token = (t_token *)content;
|
||||
ft_printf("%s\n", token->value);
|
||||
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