From 659785cc44c2d619028f3fb26540dac037c03265 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl?= Date: Wed, 25 Sep 2024 16:58:54 +0200 Subject: [PATCH] fix: patching the not compilation of this file [token.c (main file of tokeneiser)] --- parser/token/token.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/parser/token/token.c b/parser/token/token.c index aef2e76f..a19fb27f 100644 --- a/parser/token/token.c +++ b/parser/token/token.c @@ -6,17 +6,32 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/09/25 16:27:03 by rparodi #+# #+# */ -/* Updated: 2024/09/25 16:54:08 by rparodi ### ########.fr */ +/* Updated: 2024/09/25 16:58:17 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #include "parser/token/token.h" #include "me/string/string.h" #include "me/types.h" +#include -t_error handle_quote(t_string raw, enum e_token actual, int *output); -t_error handle_arithmetic(t_string raw, enum e_token actual, int *output); +t_error handle_quote(t_string raw, enum e_token actual, int *output) +{ + (void)raw; + (void)actual; + (void)output; + printf("\tNOT DONE\n"); + return (ERROR); +} +t_error handle_arithmetic(t_string raw, enum e_token actual, int *output) +{ + (void)raw; + (void)actual; + (void)output; + printf("\tNOT DONE\n"); + return (ERROR); +} t_error tokeniser(t_string raw, enum e_token actual, int *output) { if (!raw.buf || raw.len == 0 || raw.capacity == 0)