naurme
This commit is contained in:
parent
a0bc44b828
commit
cc4026685b
2 changed files with 4 additions and 4 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* 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;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: ariard <ariard@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/03/11 16:17:38 by ariard #+# #+# */
|
||||
/* Updated: 2017/03/29 14:27:02 by ariard ### ########.fr */
|
||||
/* Updated: 2017/03/29 15:24:01 by jhalford ### ########.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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue