commit
bd201d81d1
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,7 @@
|
||||||
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
|
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
|
||||||
/* +#+#+#+#+#+ +#+ */
|
/* +#+#+#+#+#+ +#+ */
|
||||||
/* Created: 2016/12/03 11:56:49 by jhalford #+# #+# */
|
/* Created: 2016/12/03 11:56:49 by jhalford #+# #+# */
|
||||||
/* Updated: 2017/03/27 18:14:22 by gwojda ### ########.fr */
|
/* Updated: 2017/03/27 20:23:24 by jhalford ### ########.fr */
|
||||||
/* */
|
/* */
|
||||||
/* ************************************************************************** */
|
/* ************************************************************************** */
|
||||||
|
|
||||||
|
|
@ -24,6 +24,7 @@ int lexer_backslash(t_list **alst, t_lexer *lexer)
|
||||||
push(&lexer->stack, BACKSLASH);
|
push(&lexer->stack, BACKSLASH);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
|
token->type = token->type ? token->type : TK_WORD;
|
||||||
lexer->pos++;
|
lexer->pos++;
|
||||||
token_append(token, lexer, 1, 1);
|
token_append(token, lexer, 1, 1);
|
||||||
lexer->pos++;
|
lexer->pos++;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue