Because of ASSIGNMENT_WORD filtering, subshell needs a special rule (the
same as AND_IF, OR_IF) to permit variable assignment to be recognized
imediatelly after subshell starts.
/* By: ljiriste <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/06/21 16:34:43 by ljiriste #+# #+# */
-/* Updated: 2024/08/27 13:36:27 by ljiriste ### ########.fr */
+/* Updated: 2024/08/28 10:32:02 by ljiriste ### ########.fr */
/* */
/* ************************************************************************** */
prev_token = ft_vec_caccess(tokens, i - 1);
if (prev_token->type == g_tokens[ASSIGNMENT_WORD]
|| prev_token->type == g_tokens[AND_IF]
- || prev_token->type == g_tokens[OR_IF])
+ || prev_token->type == g_tokens[OR_IF]
+ || prev_token->type == g_tokens[LPARA])
{
++i;
continue ;