little modifs
This commit is contained in:
parent
a54bd77444
commit
8f76f7f44f
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2016/12/06 18:40:58 by jhalford #+# #+# */
|
||||
/* Updated: 2017/03/15 00:07:41 by ariard ### ########.fr */
|
||||
/* Updated: 2017/03/15 00:50:54 by ariard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -71,8 +71,8 @@ int handle_instruction(int fd)
|
|||
}
|
||||
}
|
||||
btree_print(STDBUG, ast, &ft_putast);
|
||||
// if (ft_exec(&ast))
|
||||
// return (2);
|
||||
if (ft_exec(&ast))
|
||||
return (2);
|
||||
instruction_free(&token, &parser, &ast);
|
||||
if (SH_IS_INTERACTIVE(data_singleton()->opts) && *lexer.str)
|
||||
ft_add_str_in_history(lexer.str);
|
||||
|
|
|
|||
Loading…
Reference in a new issue