util
This commit is contained in:
parent
fd72fbb0d3
commit
e13eff0669
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
static int is_command_token(t_token *token)
|
static int is_command_token(t_token *token)
|
||||||
{
|
{
|
||||||
return (token->type < 3 || token->type == T_REDIRECT_IN || token->type ==T_HEREDOC || token->type == T_REDIRECT_OUT || token->type == T_APPEND_OUT);
|
return (token->type < 3 || redirect_token_type(token));
|
||||||
}
|
}
|
||||||
|
|
||||||
t_list *parser_get_commands(t_minishell *minishell)
|
t_list *parser_get_commands(t_minishell *minishell)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user