This commit is contained in:
Quinten 2025-02-23 13:12:06 +01:00
parent fd72fbb0d3
commit e13eff0669

View File

@ -14,7 +14,7 @@
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)