fix: unclosed "
This commit is contained in:
parent
67bf858a49
commit
79405df39d
2 changed files with 2 additions and 3 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: mcolonna <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/24 13:47:40 by mcolonna #+# #+# */
|
||||
/* Updated: 2024/06/25 15:28:41 by mcolonna ### ########.fr */
|
||||
/* Updated: 2024/06/25 15:39:55 by mcolonna ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -229,7 +229,7 @@ static bool read_string_doublequote(t_parsing_args *args, const char **dest)
|
|||
if (stream_read(&args->stream) != '"')
|
||||
return (false);
|
||||
stream_pop(&args->stream);
|
||||
while (stream_read(&args->stream) != '"')
|
||||
while (stream_read(&args->stream) && stream_read(&args->stream) != '"')
|
||||
{
|
||||
read_until(args, dest, "\"$");
|
||||
if (stream_read(&args->stream) == '$')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue