42-archive/42sh/src/exec/exec_semi.c
2017-01-26 19:24:00 +01:00

21 lines
1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* exec_semi.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/30 20:52:05 by jhalford #+# #+# */
/* Updated: 2016/12/12 18:00:21 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "exec.h"
int exec_semi(t_btree **ast)
{
ft_exec(&(*ast)->left);
ft_exec(&(*ast)->right);
btree_delone(ast, &ast_free);
return (0);
}