/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_post_tokenize.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/01/11 16:11:11 by jhalford #+# #+# */ /* Updated: 2017/01/12 13:58:20 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "lexer.h" int ft_post_tokenize(t_list **alst, char *str) { int ret; while ((ret = reduce_parens(alst, str))) if (ret == -1) return (-1); while ((ret = reduce_bquotes(alst, &str))) if (ret == -1) return (-1); DG("new command from bquotes: '%s'", str); return (0); }