diff --git a/42sh/src/hash_table/is_hash.c b/42sh/src/hash_table/is_hash.c index f237795f..cc48f83f 100644 --- a/42sh/src/hash_table/is_hash.c +++ b/42sh/src/hash_table/is_hash.c @@ -6,7 +6,7 @@ /* By: gwojda +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/02/18 11:08:40 by gwojda #+# #+# */ -/* Updated: 2017/03/21 17:40:20 by jhalford ### ########.fr */ +/* Updated: 2017/03/29 15:23:21 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ @@ -24,7 +24,7 @@ static char *h_free_one(t_list **head, t_list *list, t_list *ref) return (NULL); } -char *ft_is_hash(char *cmd) +char *ft_is_hash(char *cmd) { t_list *list; t_list *ref; diff --git a/42sh/src/parser/ft_parse.c b/42sh/src/parser/ft_parse.c index 57a2270c..a676a47f 100644 --- a/42sh/src/parser/ft_parse.c +++ b/42sh/src/parser/ft_parse.c @@ -6,7 +6,7 @@ /* By: ariard +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/11 16:17:38 by ariard #+# #+# */ -/* Updated: 2017/03/29 15:31:31 by ariard ### ########.fr */ +/* Updated: 2017/03/29 15:32:27 by ariard ### ########.fr */ /* */ /* ************************************************************************** */ @@ -25,7 +25,7 @@ static int end_instruction(t_list **stack) t_sym *head; head = (*stack)->content; - if (*head == CMD_SUPERIOR || *head == PIPE_SEMI_SEQUENCE + if (*head == CMD_SUPERIOR || *head == PIPE_SEMI_SEQUENCE || *head == COMPLETE_COMMANDS || *head == END_COMMAND) return (1); return (0);