aboutsummaryrefslogtreecommitdiff
path: root/src/new_token.c
diff options
context:
space:
mode:
authorChristopher Uhlig2025-01-20 19:32:10 +0100
committerChristopher Uhlig2025-01-20 19:32:10 +0100
commit852e00cb465b05f13aa6298ce71a1067c0846556 (patch)
tree23407cd33e3dc255a9a4a6acb9d67a051ba80f65 /src/new_token.c
parentb73e9e4fda360885035b9b04e9e9aca4724cb285 (diff)
downloadminishell-852e00cb465b05f13aa6298ce71a1067c0846556.tar.gz
minishell-852e00cb465b05f13aa6298ce71a1067c0846556.zip
fixed norm tester 133 remove .vs
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