renamed some files

This commit is contained in:
Maieul BOYER 2024-10-15 21:31:59 +02:00
parent c19660e6d8
commit 8f7a2f2000
No known key found for this signature in database
8 changed files with 19 additions and 14 deletions

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/12 22:20:30 by maiboyer #+# #+# */ /* Created: 2024/05/12 22:20:30 by maiboyer #+# #+# */
/* Updated: 2024/10/12 17:51:02 by rparodi ### ########.fr */ /* Updated: 2024/10/15 21:25:17 by maiboyer ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -27,11 +27,15 @@
# endif # endif
# endif # endif
# ifdef _INCLUDE_VALGRIND
# undef _INCLUDE_VALGRIND
# endif
# ifdef _INCLUDE_VALGRIND # ifdef _INCLUDE_VALGRIND
# ifdef NVALGRIND # ifdef NVALGRIND
# undef NVALGRIND # undef NVALGRIND
# endif # endif
# define VGFUNCS // # define VGFUNCS //slt froz
# include <valgrind/memcheck.h> # include <valgrind/memcheck.h>
# include <valgrind/valgrind.h> # include <valgrind/valgrind.h>
# endif # endif

View file

@ -14,11 +14,11 @@ run_arithmetic/_to_ast_node \
run_arithmetic/arithmetic \ run_arithmetic/arithmetic \
run_arithmetic/arithmetic_operation \ run_arithmetic/arithmetic_operation \
run_arithmetic/operator_bis \ run_arithmetic/operator_bis \
run_ast/_ast_into_str \ run_ast/_ast_into_str_exp \
run_ast/_ast_into_str2 \ run_ast/_ast_into_str_get_str \
run_ast/_ast_into_str3 \ run_ast/_ast_into_str_into \
run_ast/_ast_into_str4 \ run_ast/_ast_into_str_main \
run_ast/_ast_into_str5 \ run_ast/_ast_into_str_star \
run_ast/_get_pid \ run_ast/_get_pid \
run_ast/_run_exit_code \ run_ast/_run_exit_code \
run_ast/_run_exp_operators \ run_ast/_run_exp_operators \

View file

@ -1,7 +1,7 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* _ast_into_str3.c :+: :+: :+: */ /* _ast_into_str_exp.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */

View file

@ -1,7 +1,7 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* _ast_into_str2.c :+: :+: :+: */ /* _ast_into_str_get_str.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */

View file

@ -1,7 +1,7 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* _ast_into_str4.c :+: :+: :+: */ /* _ast_into_str_into.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */

View file

@ -1,12 +1,12 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* _ast_into_str.c :+: :+: :+: */ /* _ast_into_str_main.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/14 12:26:51 by maiboyer #+# #+# */ /* Created: 2024/09/14 12:26:51 by maiboyer #+# #+# */
/* Updated: 2024/10/14 15:02:01 by maiboyer ### ########.fr */ /* Updated: 2024/10/15 21:30:02 by maiboyer ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -31,6 +31,8 @@ t_error _word_split_loop(\
{ {
if (val.do_expand) if (val.do_expand)
{ {
if (val.value == NULL)
val.value = "";
if (str_split(val.value, " ", &split)) if (str_split(val.value, " ", &split))
return (ERROR); return (ERROR);
while (!vec_str_pop_front(&split, &stmp)) while (!vec_str_pop_front(&split, &stmp))

View file

@ -1,7 +1,7 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* _ast_into_str5.c :+: :+: :+: */ /* _ast_into_str_star.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */

View file

@ -1 +0,0 @@
../test/include/test