From 0c938e89631b766b012b496580eb1cdd47645676 Mon Sep 17 00:00:00 2001 From: Jack Halford Date: Wed, 8 Mar 2017 17:53:02 +0100 Subject: [PATCH] compiles now --- 42sh/src/job-control/do_job_notification.c | 2 +- 42sh/src/lexer/lexer_heredoc.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/42sh/src/job-control/do_job_notification.c b/42sh/src/job-control/do_job_notification.c index 5977c224..b7750b42 100644 --- a/42sh/src/job-control/do_job_notification.c +++ b/42sh/src/job-control/do_job_notification.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2016/12/15 13:01:19 by jhalford #+# #+# */ -/* Updated: 2017/03/08 17:36:00 by jhalford ### ########.fr */ +/* Updated: 2017/03/08 17:52:29 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ diff --git a/42sh/src/lexer/lexer_heredoc.c b/42sh/src/lexer/lexer_heredoc.c index ba7fcecb..c75b95fc 100644 --- a/42sh/src/lexer/lexer_heredoc.c +++ b/42sh/src/lexer/lexer_heredoc.c @@ -6,7 +6,7 @@ /* By: jhalford +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2017/03/08 15:51:17 by jhalford #+# #+# */ -/* Updated: 2017/03/08 17:46:18 by jhalford ### ########.fr */ +/* Updated: 2017/03/08 17:52:41 by jhalford ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,7 +19,7 @@ int lexer_heredoc(t_list **alst, t_lexer *lexer) token = (*alst)->content; token->type = HEREDOCDATA; while (lexer->str[lexer->pos]) - if (token_append_char(token, lexer->str[lexer->pos++], esc, esc2)) + if (token_append_char(token, lexer->str[lexer->pos++], 0, 0)) return (1); return (0); /* heredoc_lst = *(t_list**)lexer->heredoc_stack->content; */