From 82f1e954590de21f6db9b1b6e3dba78a951bc319 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 9 Jun 2020 10:59:59 +0200 Subject: Added make with multiple jobs and making merge compile --- src/parse/lexer.c | 37 ++++++++++++++++++------------------- src/parse/parse.c | 4 +++- 2 files changed, 21 insertions(+), 20 deletions(-) (limited to 'src/parse') diff --git a/src/parse/lexer.c b/src/parse/lexer.c index 584ecd7..2aa8a6f 100644 --- a/src/parse/lexer.c +++ b/src/parse/lexer.c @@ -5,23 +5,22 @@ #include "minishell.h" -static char **lex_len(char *input) -{ - int i; +/* static char **lex_len(char *input) */ +/* { */ +/* int i; */ +/* */ +/* i = 0; */ +/* while(input[i] != '\0') */ +/* { */ +/* lex_comp_cmd(input); */ +/* i++; */ +/* } */ +/* } */ - i = 0; - while(input[i] != '\0') - { - lex_comp_cmd(input); - i++; - } -} - -char **lexer(char *input) -{ - (void)out_lex; - if (!input) - return (NULL); - lex_len(input); - return (NULL); -} +/* char **lexer(char *input) */ +/* { */ +/* if (!input) */ +/* return (NULL); */ +/* lex_len(input); */ +/* return (NULL); */ +/* } */ diff --git a/src/parse/parse.c b/src/parse/parse.c index 3aa2a30..4c8d279 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -7,8 +7,10 @@ t_ast *parse(char **input) { + int i = 0; + while (input[i] != '\0') { - + } } -- cgit