Changed even more the the grammar

This commit is contained in:
Maieul BOYER 2024-08-01 13:53:00 +02:00
parent b4f948d98d
commit e7e395ed10
No known key found for this signature in database
823 changed files with 69578 additions and 84107 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 17:26:13 by rparodi #+# #+# */
/* Updated: 2024/07/30 18:39:53 by maiboyer ### ########.fr */
/* Updated: 2024/08/01 09:35:16 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -79,7 +79,7 @@ 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.output = NULL;
ret->data.heredoc_redirection.content = NULL;
}
if (kind == AST_LIST)
{

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/30 14:29:42 by rparodi #+# #+# */
/* Updated: 2024/07/30 18:24:41 by maiboyer ### ########.fr */
/* Updated: 2024/08/01 09:35:07 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
@ -88,8 +88,8 @@ void ast_free_redirection(t_ast_node elem)
}
if (elem->kind == AST_HEREDOC_REDIRECTION)
{
ast_free(elem->data.heredoc_redirection.delimiter);
ast_free(elem->data.heredoc_redirection.output);
mem_free(elem->data.heredoc_redirection.delimiter);
mem_free(elem->data.heredoc_redirection.content);
}
}

File diff suppressed because it is too large Load diff