Adding the not done function working on darwin

This commit is contained in:
Raphael 2024-08-04 16:37:09 +02:00
parent 0078321b7e
commit 0c435ed040

View file

@ -1,12 +1,12 @@
/* ************************************************************************** */ /* ************************************************************************** */
/* */ /* */
/* ::: :::::::: */ /* ::: :::::::: */
/* not_done_function.c :+: :+: :+: */ /* _not_done_function.c :+: :+: :+: */
/* +:+ +:+ +:+ */ /* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/17 13:04:32 by maiboyer #+# #+# */ /* Created: 2024/06/17 13:04:32 by maiboyer #+# #+# */
/* Updated: 2024/07/30 18:30:47 by maiboyer ### ########.fr */ /* Updated: 2024/08/04 16:36:58 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -26,14 +26,61 @@ t_error _build_not_finished(t_parse_node self, t_const_str i, t_ast_node *out)
} }
t_error build_sym_heredoc_body(t_parse_node self, t_const_str input, \ t_error build_sym_heredoc_body(t_parse_node self, t_const_str input, \
t_ast_node *out) __attribute__((weak, alias("_build_not_finished"))); t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_content(t_parse_node self, t_const_str input, \ t_error build_sym_heredoc_content(t_parse_node self, t_const_str input, \
t_ast_node *out) __attribute__((weak, alias("_build_not_finished"))); t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_end(t_parse_node self, t_const_str input, \ t_error build_sym_heredoc_end(t_parse_node self, t_const_str input, \
t_ast_node *out) __attribute__((weak, alias("_build_not_finished"))); t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_redirect(t_parse_node self, t_const_str input, \ t_error build_sym_heredoc_redirect(t_parse_node self, t_const_str input, \
t_ast_node *out) __attribute__((weak, alias("_build_not_finished"))); t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_heredoc_start(t_parse_node self, t_const_str input, \ t_error build_sym_heredoc_start(t_parse_node self, t_const_str input, \
t_ast_node *out) __attribute__((weak, alias("_build_not_finished"))); t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}
t_error build_sym_simple_heredoc_body(t_parse_node self, t_const_str input, \ t_error build_sym_simple_heredoc_body(t_parse_node self, t_const_str input, \
t_ast_node *out) __attribute__((weak, alias("_build_not_finished"))); t_ast_node *out)
{
printf("This function is not done '%s'", __func__);
(void)(self);
(void)(input);
(void)(out);
return (ERROR);
}