fix use the stderr on message not done

This commit is contained in:
Raphaël 2024-09-25 17:00:09 +02:00
parent 659785cc44
commit 40a84e8248

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/25 16:27:03 by rparodi #+# #+# */ /* Created: 2024/09/25 16:27:03 by rparodi #+# #+# */
/* Updated: 2024/09/25 16:58:17 by rparodi ### ########.fr */ /* Updated: 2024/09/25 16:59:36 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -20,7 +20,7 @@ t_error handle_quote(t_string raw, enum e_token actual, int *output)
(void)raw; (void)raw;
(void)actual; (void)actual;
(void)output; (void)output;
printf("\tNOT DONE\n"); dprintf(2, "\tNOT DONE\n");
return (ERROR); return (ERROR);
} }
@ -29,7 +29,7 @@ t_error handle_arithmetic(t_string raw, enum e_token actual, int *output)
(void)raw; (void)raw;
(void)actual; (void)actual;
(void)output; (void)output;
printf("\tNOT DONE\n"); dprintf(2, "\tNOT DONE\n");
return (ERROR); return (ERROR);
} }
t_error tokeniser(t_string raw, enum e_token actual, int *output) t_error tokeniser(t_string raw, enum e_token actual, int *output)