update: changed the way heredocs are parsed

This commit is contained in:
maix0 2024-09-15 20:29:27 +00:00
parent 8272d72997
commit 43b969183d
365 changed files with 20907 additions and 51362 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 17:26:13 by rparodi #+# #+# */
/* Updated: 2024/08/01 09:35:16 by maiboyer ### ########.fr */
/* Updated: 2024/09/15 20:15:03 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -79,7 +79,6 @@ void ast_alloc_redirection(t_ast_node_kind kind, t_ast_node ret)
if (kind == AST_HEREDOC_REDIRECTION)
{
ret->data.heredoc_redirection.delimiter = NULL;
ret->data.heredoc_redirection.content = NULL;
}
if (kind == AST_LIST)
{