here_doc script_fd fix
+ line_len in here_doc + error message SIGQUIT
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
|
||||
/* Updated: 2021/12/20 21:51:07 by lperrey ### ########.fr */
|
||||
/* Updated: 2021/12/22 13:50:04 by lperrey ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -30,7 +30,7 @@ void shell_script(t_all *c, int script_fd);
|
||||
t_token *lexing(char *input);
|
||||
|
||||
// Parser
|
||||
t_cmd **parsing(t_token *token_list);
|
||||
t_cmd **parsing(t_token *token_list, int script_fd);
|
||||
int valid_syntax(t_token *token_list);
|
||||
int valid_token(t_token **token_list, enum e_token_id token_id);
|
||||
int valid_command_separator(const t_token *token_list);
|
||||
@@ -39,7 +39,7 @@ t_cmd **pipeline_alloc(size_t cmd_nbr);
|
||||
int pipeline_fill_argv(t_token *token_list, t_cmd **pipeline);
|
||||
int expansions(t_token *token_list, t_cmd **pipeline);
|
||||
int token_expansions(t_token *t);
|
||||
int redirections(t_token *token_list, t_cmd **pipeline);
|
||||
int redirections(t_token *token_list, t_cmd **pipeline, int script_fd);
|
||||
|
||||
// Exec
|
||||
int exec_cmd_line(t_all *c);
|
||||
|
||||
Reference in New Issue
Block a user