fixed invalids rules in rules_command.c
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user