rollback on last commit for #94
This commit is contained in:
parent
51642beccd
commit
8aa91c93b5
1 changed files with 1 additions and 2 deletions
|
|
@ -19,8 +19,7 @@ int lexer_curly_braces(t_list **alst, t_lexer *lexer)
|
|||
token = (*alst)->content;
|
||||
if (token->type)
|
||||
lexer_lex(&(*alst)->next, lexer);
|
||||
if (lexer->str[lexer->pos] == '{'
|
||||
&& lexer->str[lexer->pos + 1] == ' ')
|
||||
if (lexer->str[lexer->pos] == '{')
|
||||
{
|
||||
token->type = TK_LBRACE;
|
||||
push(&lexer->stack, PAREN);
|
||||
|
|
|
|||
Loading…
Reference in a new issue