syntax fixes
This commit is contained in:
1 parent
712cfe7f1d
commit
e1bf337ded
3 files changed
+8
-2
No files matched your search
@@ -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