aboutsummaryrefslogtreecommitdiff
path: root/src/new_token.c
diff options
context:
space:
mode:
authorDominik Kaiser2025-01-20 20:14:32 +0100
committerGitHub2025-01-20 20:14:32 +0100
commitbd8c817797d5f2b1affe6957ffc51846a38e70ec (patch)
tree2fc0f567b1c4f2f168a931ad0bff69e52c6c226c /src/new_token.c
parenta9aba07b52cbf98eb9c52cd8ee0cd5f5021d2931 (diff)
parentdc6a4f2d0de92984c2584ef905011e2a60792850 (diff)
downloadminishell-bd8c817797d5f2b1affe6957ffc51846a38e70ec.tar.gz
minishell-bd8c817797d5f2b1affe6957ffc51846a38e70ec.zip
Merge interpreter changes into main
Miau
Diffstat (limited to 'src/new_token.c')
-rw-r--r--src/new_token.c27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/new_token.c b/src/new_token.c
index 6431c7d..bd65b9d 100644
--- a/src/new_token.c
+++ b/src/new_token.c
@@ -6,7 +6,7 @@
/* By: chuhlig <chuhlig@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/27 14:29:44 by dkaiser #+# #+# */
-/* Updated: 2024/08/29 15:30:52 by chuhlig ### ########.fr */
+/* Updated: 2025/01/20 19:12:57 by chuhlig ### ########.fr */
/* */
/* ************************************************************************** */
@@ -50,28 +50,3 @@ t_token *new_redir_token(int type, t_token *previous, t_token *next)
token->content.redir_type = type;
return (token);
}
-
-// void ft_append_token(int type, t_token **list)// but we need somewhere token/node head initialize with nul
-// {
-// t_token *node;
-// t_token *last_node;
-
-// if (!list)
-// return ;
-// node = malloc(sizeof(t_token));
-// if (!node)
-// return ;
-// node->next = NULL;
-// node->type = type;
-// if (!*list)
-// {
-// *list = node;
-// node->previous = NULL;
-// }
-// else
-// {
-// last_node = ft_lstlast(*list);
-// last_node->next = node;
-// node->previous = last_node;
-// }
-// } \ No newline at end of file