diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-06-09 10:59:59 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-06-09 10:59:59 +0200 |
| commit | 82f1e954590de21f6db9b1b6e3dba78a951bc319 (patch) | |
| tree | 895cc684345fff6871b2a933d98e9072bc6611f1 /src/parse | |
| parent | c16cf5fcc4a421608bf3c291ef84a79b7dbe7591 (diff) | |
| download | minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.tar.gz minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.tar.bz2 minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.zip | |
Added make with multiple jobs and making merge compile
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/lexer.c | 37 | ||||
| -rw-r--r-- | src/parse/parse.c | 4 |
2 files changed, 21 insertions, 20 deletions
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') { - + } } |
