/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* get_lexer_stack.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/03 17:39:45 by jhalford #+# #+# */ /* Updated: 2017/03/16 22:50:16 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ #include "minishell.h" int get_lexer_stack(t_lexer lexer) { return (lexer.stack ? *(int*)lexer.stack->content : 0); }