diff options
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') { - + } } |
