」 feat: Tokenizer working

This commit is contained in:
KeyZox committed 2024-05-26 18:01:33 +02:00
1 parent 1388f2ee43
commit 0b81369a9f
4 files changed
+99 -42

No files matched your search

+10 -5
View File
@@ -6,20 +6,25 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/18 20:13:50 by adjoly #+# #+# */
/* Updated: 2024/05/20 22:51:45 by adjoly ### ########.fr */
/* Updated: 2024/05/26 17:59:27 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
#include "tokenizer.h"
/*t_list *tokenizer(char *readline)
t_list *tokenizer(char *readline)
{
t_list *token;
t_list *piped;
t_list *tmp;
piped = __split_pipe(readline);
while (piped && *piped)
token = NULL;
tmp = piped;
while (tmp)
{
ft_lstadd_back(&token, ft_lstnew((void*)__to_token(tmp->content)));
tmp = tmp->next;
}
}*/
return (token);
}