modifs delim
This commit is contained in:
parent
03edcfc777
commit
ef7f95d2a0
3 changed files with 5 additions and 3491 deletions
File diff suppressed because one or more lines are too long
|
|
@ -6,7 +6,7 @@
|
|||
/* By: wescande <wescande@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/03/08 02:26:31 by wescande #+# #+# */
|
||||
/* Updated: 2017/03/20 15:49:52 by gwojda ### ########.fr */
|
||||
/* Updated: 2017/03/20 19:12:13 by ariard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
int pfree_cond(t_process *p)
|
||||
{
|
||||
btree_del(&p->data.d_while.condition, &ast_free);
|
||||
btree_del(&p->data.d_while.content, &ast_free);
|
||||
return (0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
/* By: ariard <ariard@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/03/20 15:54:23 by ariard #+# #+# */
|
||||
/* Updated: 2017/03/20 16:38:43 by ariard ### ########.fr */
|
||||
/* Updated: 2017/03/20 19:11:47 by ariard ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -23,5 +23,5 @@ int isrw_delim(t_type type)
|
|||
|| type == TK_ELIF || type == TK_ELSE
|
||||
|| type == TK_DSEMI || type == TK_PAREN_CLOSE
|
||||
|| type == TK_PAREN_OPEN || type == TK_LBRACE
|
||||
|| type == 0);
|
||||
|| type == TK_IN || type == 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue