fixed invalids rules in rules_command.c

This commit is contained in:
lperrey
2021-12-22 20:26:51 +01:00
parent 69adb1cf2f
commit fd72d63dd6
2 changed files with 14 additions and 3 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/24 18:52:05 by lperrey #+# #+# */
/* Updated: 2021/12/17 03:28:53 by lperrey ### ########.fr */
/* Updated: 2021/12/22 20:19:08 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -37,5 +37,6 @@ int valid_command(t_token **token_list)
*token_list = cmd_start;
if (valid_command_rule5(token_list))
return (1);
*token_list = cmd_start;
return (0);
}