syntax fixes
This commit is contained in:
@@ -23,7 +23,7 @@ t_node *remove_parentheses(t_node *lst)
|
||||
it = lst;
|
||||
it = it->next;
|
||||
deepness = 1;
|
||||
while (1)
|
||||
while (it)
|
||||
{
|
||||
str = ft_strdup(it->val);
|
||||
if (it->pressision == SUBSH_S)
|
||||
|
||||
@@ -28,7 +28,7 @@ static int last_tok_redir(t_node *lst)
|
||||
{
|
||||
while (lst)
|
||||
{
|
||||
if ((lst->next == NULL
|
||||
if ((lst->next == NULL
|
||||
|| lst->next->pressision == D_RED_R
|
||||
|| lst->next->pressision == RED_R
|
||||
|| lst->next->pressision == RED_L
|
||||
|
||||
Reference in New Issue
Block a user