update: fixed an issue
This commit is contained in:
parent
d42f9ae49f
commit
8272d72997
9 changed files with 27 additions and 26 deletions
|
|
@ -1,33 +1,33 @@
|
|||
SRC_FILES = \
|
||||
builtins/cd \
|
||||
builtins/_debug \
|
||||
builtins/cd \
|
||||
builtins/echo \
|
||||
builtins/env \
|
||||
builtins/exit \
|
||||
builtins/export \
|
||||
builtins/pwd \
|
||||
builtins/unset \
|
||||
run_arithmetic/arithmetic \
|
||||
run_arithmetic/arithmetic_operation \
|
||||
run_arithmetic/_get_op \
|
||||
run_arithmetic/operator_bis \
|
||||
run_arithmetic/_run_arith \
|
||||
run_arithmetic/_to_ast_node \
|
||||
run_arithmetic/arithmetic \
|
||||
run_arithmetic/arithmetic_operation \
|
||||
run_arithmetic/operator_bis \
|
||||
run_ast/_ast_into_str \
|
||||
run_ast/_ast_into_str2 \
|
||||
run_ast/_ast_into_str3 \
|
||||
run_ast/_ast_into_str4 \
|
||||
run_ast/_run_exit_code \
|
||||
run_ast/_run_exp_operators \
|
||||
run_ast/_spawn_cmd \
|
||||
run_ast/run_builtins \
|
||||
run_ast/run_cmd_sub \
|
||||
run_ast/run_command \
|
||||
run_ast/_run_exit_code \
|
||||
run_ast/run_expansion \
|
||||
run_ast/run_expansion_builtin \
|
||||
run_ast/_run_exp_operators \
|
||||
run_ast/run_list \
|
||||
run_ast/run_pipeline \
|
||||
run_ast/run_program \
|
||||
run_ast/run_subshell \
|
||||
run_ast/run_words \
|
||||
run_ast/_spawn_cmd \
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/14 12:26:51 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/09/14 12:46:11 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/09/14 14:37:25 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -116,8 +116,6 @@ t_error _ast_into_str(t_ast_node self, t_state *state, t_vec_str *append)
|
|||
return (_exp_into_str(self, state, append));
|
||||
if (self->kind == AST_ARITHMETIC_EXPANSION)
|
||||
return (_arith_into_str(self, state, append));
|
||||
if (self->kind == AST_COMMAND_SUBSTITUTION)
|
||||
return (_cmd_into_str(self, state, append));
|
||||
if (self->kind == AST_WORD)
|
||||
return (_word_into_str(self, state, append));
|
||||
if (self->kind == AST_RAW_STRING)
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/14 12:26:51 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/09/14 12:46:00 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/09/14 14:37:04 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -53,3 +53,5 @@ t_error _arith_into_str(t_ast_node self, t_state *state, t_vec_str *append)
|
|||
return (ERROR);
|
||||
return (NO_ERROR);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue