qq modifs pour pouvoir travailler sur les tests

This commit is contained in:
hugogogo
2021-12-02 15:56:59 +01:00
parent bb73a5e65c
commit a432f6bf77
6 changed files with 10 additions and 10 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/12/02 00:37:39 by lperrey ### ########.fr */
/* Updated: 2021/12/02 15:47:51 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 09:25:35 by lperrey #+# #+# */
/* Updated: 2021/11/30 18:51:00 by lperrey ### ########.fr */
/* Updated: 2021/12/02 15:49:33 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */

View File

@@ -6,13 +6,13 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/07 02:01:33 by lperrey #+# #+# */
/* Updated: 2021/11/26 21:54:42 by lperrey ### ########.fr */
/* Updated: 2021/12/02 15:50:40 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
t_list *ft_lstnew_generic(size_t lst_sizse, size_t content_size);
//t_list *ft_lstnew_generic(size_t lst_sizse, size_t content_size);
static t_list *ret_parameter_expansion(char *content, int *i);

View File

@@ -6,13 +6,13 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/07 02:01:33 by lperrey #+# #+# */
/* Updated: 2021/11/30 13:46:46 by lperrey ### ########.fr */
/* Updated: 2021/12/02 15:50:46 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
t_list *ft_lstnew_generic(size_t lst_sizse, size_t content_size);
//t_list *ft_lstnew_generic(size_t lst_sizse, size_t content_size);
static t_token *insert_tokens(t_token *t, t_token *insert_lst);

View File

@@ -6,13 +6,13 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/11/07 02:01:33 by lperrey #+# #+# */
/* Updated: 2021/11/26 21:05:01 by lperrey ### ########.fr */
/* Updated: 2021/12/02 15:46:31 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
t_list *ft_lstnew_generic(size_t lst_sizse, size_t content_size);
//t_list *ft_lstnew_generic(size_t lst_sizse, size_t content_size);
t_list *expand_token(char *content);
char *rejoin_after_expand(t_list *expand_lst);
int new_token_for_each_field(char **fields, t_token **t);

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/24 10:52:40 by lperrey #+# #+# */
/* Updated: 2021/11/29 12:28:07 by lperrey ### ########.fr */
/* Updated: 2021/12/02 15:55:32 by hulamy ### ########.fr */
/* */
/* ************************************************************************** */
@@ -78,7 +78,7 @@ t_cmd **parsing(t_token *token_list)
// Struct CMD fill
if (!pipeline_fill_argv(token_list, pipeline))
return (ft_retp_free(NULL, &pipeline, (t_free_f)free_pipeline));
print_pipeline(pipeline);
// print_pipeline(pipeline);
return (pipeline);
}