modified cmds to tokens
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user