|
|
@ -6,7 +6,7 @@ |
|
|
|
/* By: mea <marvin@42.fr> +#+ +:+ +#+ */ |
|
|
|
/* +#+#+#+#+#+ +#+ */ |
|
|
|
/* Created: 2022/05/02 13:44:57 by narnaud #+# #+# */ |
|
|
|
/* Updated: 2022/05/16 11:46:13 by narnaud ### ########.fr */ |
|
|
|
/* Updated: 2022/05/16 12:53:40 by narnaud ### ########.fr */ |
|
|
|
/* */ |
|
|
|
/* ************************************************************************** */ |
|
|
|
|
|
|
@ -31,7 +31,8 @@ void tmp_dealer(t_datas *datas, t_lexer *lex, char *line, char *tmp) |
|
|
|
} |
|
|
|
else if (check_register(lex, &line, tmp)) |
|
|
|
tmp_i = (ft_bzero(tmp, STR_MAX_SIZE), 0); |
|
|
|
else if (!(lex->state == ROOT_ST && lex->deep == 0 && (*line == '"' || *line == '\''))) |
|
|
|
else if (!(lex->state == ROOT_ST && lex->deep == 0 |
|
|
|
&& (*line == '"' || *line == '\''))) |
|
|
|
tmp[tmp_i++] = *(line++); |
|
|
|
} |
|
|
|
} |
|
|
|