mirror of
https://github.com/KeyZox71/ft_minipowershell.git
synced 2025-05-13 16:08:45 +02:00
「✨」 feat: Did a lot of things, don't know what but it work
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/20 20:25:06 by adjoly #+# #+# */
|
||||
/* Updated: 2024/06/29 16:25:47 by adjoly ### ########.fr */
|
||||
/* Updated: 2024/06/30 16:08:28 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -16,12 +16,17 @@
|
||||
/**
|
||||
* Here we define all the error message
|
||||
*/
|
||||
# include <stdbool.h>
|
||||
|
||||
# define ERROR_SYNTAX ": syntax error"
|
||||
# define ERROR_NO_REDIR ": need redirection file"
|
||||
# define ERROR_NO_EOF ": need delimiter to heredoc"
|
||||
# define ERROR_NO_FILE "No such file or directory"
|
||||
# define ERROR_CMD_PIPE "No command after pipe"
|
||||
|
||||
# define ERROR_COREDUMP "(core dumped)"
|
||||
|
||||
char *get_program_name(char *argv_one);
|
||||
bool send_error_parsing(char *msg);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user