modified cmds to tokens

This commit is contained in:
mdev9
2024-04-01 13:59:34 +02:00
parent e05465348d
commit 7d1fba69a9
10 changed files with 53 additions and 53 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/05 18:15:27 by marde-vr #+# #+# */
/* Updated: 2024/03/30 17:09:09 by marde-vr ### ########.fr */
/* Updated: 2024/04/01 13:20:54 by marde-vr ### ########.fr */
/* */
/* ************************************************************************** */
@ -69,7 +69,7 @@ int first_is_in_type(t_msh *msh)
{
t_token *cur_token;
cur_token = msh->tokens;
cur_token = msh->cmds;
while (cur_token && cur_token->type == ARG && cur_token->next)
cur_token = cur_token->next;
if (cur_token->type == RED_I || cur_token->type == HERE_DOC)