norm ok + compile

This commit is contained in:
2024-03-27 17:34:43 +01:00
parent ffbbd564f9
commit eae8f96645
5 changed files with 15 additions and 12 deletions

View File

@ -6,7 +6,7 @@
/* By: marde-vr <marde-vr@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/02/04 17:31:38 by tomoron #+# #+# */
/* Updated: 2024/03/27 17:20:14 by tomoron ### ########.fr */
/* Updated: 2024/03/27 17:25:41 by tomoron ### ########.fr */
/* */
/* ************************************************************************** */
@ -66,7 +66,7 @@ typedef struct s_msh
extern int g_return_code;
t_token *cmd_add_back(t_token *res, char *token, t_token_type type);
int free_cmd(t_token *cmd);
t_token *free_cmd(t_token *cmd);
void exec_commands(t_msh *msh);
int echo(t_token *args);
int exit_bt(t_msh *msh);
@ -119,6 +119,7 @@ int contains_newline(char *str);
void parse_var(t_msh *msh, char *line);
int set_echoctl(int value);
int add_return_code_to_str(char *res);
int parsing_syntax_error(t_token *res);
t_token *parsing_syntax_error(t_token *res);
int check_var_name(char *name);
#endif