norm
This commit is contained in:
@@ -29,12 +29,11 @@ static int last_tok_redir(t_node *lst)
|
||||
while (lst)
|
||||
{
|
||||
if ((lst->next == NULL
|
||||
|| lst->next->pressision == D_RED_R
|
||||
|| lst->next->pressision == RED_R
|
||||
|| lst->next->pressision == RED_L
|
||||
|| lst->next->pressision == HEREDOC
|
||||
)&& !ft_strncmp(lst->val, ")",
|
||||
1))
|
||||
|| lst->next->pressision == D_RED_R
|
||||
|| lst->next->pressision == RED_R
|
||||
|| lst->next->pressision == RED_L
|
||||
|| lst->next->pressision == HEREDOC)
|
||||
&& !ft_strncmp(lst->val, ")", 1))
|
||||
return (1);
|
||||
lst = lst->next;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user