norminette: fixed line too long

This commit is contained in:
2026-02-10 08:45:31 +01:00
parent 74111e3da5
commit 97d8a6838f

View File

@@ -6,7 +6,7 @@
/* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */ /* By: sede-san <sede-san@student.42madrid.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2026/02/09 18:56:41 by sede-san #+# #+# */ /* Created: 2026/02/09 18:56:41 by sede-san #+# #+# */
/* Updated: 2026/02/09 23:09:28 by sede-san ### ########.fr */ /* Updated: 2026/02/10 08:40:13 by sede-san ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@@ -158,7 +158,8 @@ static t_token *read_word(
in_single_quote = !in_single_quote; in_single_quote = !in_single_quote;
else if (line[*i] == '"' && !in_single_quote) else if (line[*i] == '"' && !in_single_quote)
in_double_quote = !in_double_quote; in_double_quote = !in_double_quote;
else if (!in_single_quote && !in_double_quote && (isspace(line[*i]) || is_meta(line[*i]))) else if (!in_single_quote && !in_double_quote
&& (isspace(line[*i]) || is_meta(line[*i])))
break; break;
(*i)++; (*i)++;
} }