mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
parsing: rename minishell_group_or_smp_parse -> minishell_group_or_simple_parse
This commit is contained in:
parent
283458b24f
commit
86e658fcca
2 changed files with 7 additions and 7 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/31 10:28:28 by jguelen #+# #+# */
|
||||
/* Updated: 2025/04/14 17:37:24 by khais ### ########.fr */
|
||||
/* Updated: 2025/04/14 17:37:38 by khais ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -102,7 +102,7 @@ t_cmd *minishell_opt_pipeline_parse(t_minishell *app, t_wordlist *tokens)
|
|||
{
|
||||
token = wordlist_pop(&tokens);
|
||||
worddesc_destroy(token);
|
||||
opt = minishell_group_or_smp_parse(app, tokens);
|
||||
opt = minishell_group_or_simple_parse(app, tokens);
|
||||
if (!opt)
|
||||
ft_errno(FT_EERRNO);
|
||||
return (opt);
|
||||
|
|
@ -113,7 +113,7 @@ t_cmd *minishell_opt_pipeline_parse(t_minishell *app, t_wordlist *tokens)
|
|||
/*
|
||||
** TODO NORM -> function is too long
|
||||
*/
|
||||
t_cmd *minishell_group_or_smp_parse(t_minishell *app, t_wordlist *tokens)
|
||||
t_cmd *minishell_group_or_simple_parse(t_minishell *app, t_wordlist *tokens)
|
||||
{
|
||||
t_cmd *subtree;
|
||||
t_cmd *group;
|
||||
|
|
@ -203,7 +203,7 @@ t_cmd *minishell_pipeline_parse(t_minishell *app, t_wordlist *tokens)
|
|||
t_cmd *opt;
|
||||
t_cmd *pipeline;
|
||||
|
||||
subtree = minishell_group_or_smp_parse(app, tokens);
|
||||
subtree = minishell_group_or_simple_parse(app, tokens);
|
||||
if (!subtree)
|
||||
return (NULL);
|
||||
opt = minishell_opt_pipeline_parse(app, tokens);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue