update: fixed some issues

This commit is contained in:
maix0 2024-10-24 23:02:37 +02:00
parent 1a3253afc8
commit 2b5a62afc8
6 changed files with 40 additions and 24 deletions

View file

@ -6,9 +6,9 @@ ast_free/ast_free_scripting \
print_ast/ast_print \
print_ast/ast_print_arithmetic \
print_ast/ast_print_command \
print_ast/ast_print_general \
print_ast/ast_print_global \
print_ast/ast_print_helper_function \
print_ast/ast_print_node \
print_ast/ast_print_redirection \
print_ast/ast_print_subshell \

View file

@ -1,7 +1,7 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ast_print_subshell.c :+: :+: :+: */
/* ast_print_general.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/26 13:07:12 by rparodi #+# #+# */
/* Updated: 2024/10/14 14:12:49 by maiboyer ### ########.fr */
/* Updated: 2024/10/24 22:30:02 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,7 +14,9 @@
void ast_print_node_file_redirection_heredoc(t_ast_node self)
{
(void)(self);
if (self == NULL || self->kind != AST_HEREDOC_REDIRECTION)
return;
printf("<<%s", self->data.heredoc_redirection.delimiter);
}
//{
// if (self->data.file_redirection.op == AST_REDIR_HEREDOC)