norm on lexer_bquote
This commit is contained in:
parent
8c5cf94616
commit
9c60efc70c
1 changed files with 1 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: jhalford <jack@crans.org> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/02/09 22:03:48 by jhalford #+# #+# */
|
||||
/* Updated: 2017/03/23 15:17:27 by jhalford ### ########.fr */
|
||||
/* Updated: 2017/03/24 17:02:40 by wescande ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -25,10 +25,8 @@ int lexer_bquote(t_list **alst, t_lexer *lexer)
|
|||
if (get_lexer_stack(*lexer) != BQUOTE)
|
||||
push(&lexer->stack, lexer->state);
|
||||
else
|
||||
{
|
||||
lexer->state = pop(&lexer->stack) &&
|
||||
get_lexer_stack(*lexer) == DQUOTE ? DQUOTE : DEFAULT;
|
||||
}
|
||||
}
|
||||
else if (lexer->str[lexer->pos] == '\\' && (back = 1))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue