diff options
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/lexer.c | 14 | ||||
| -rw-r--r-- | src/parse/parse.c | 12 |
2 files changed, 14 insertions, 12 deletions
diff --git a/src/parse/lexer.c b/src/parse/lexer.c index 7f7a7a2..b5caba2 100644 --- a/src/parse/lexer.c +++ b/src/parse/lexer.c @@ -1,9 +1,11 @@ +#include "minishell.h" - -char *ms_lexer(char *input) +char **ms_lexer(char *input) { - char **out_lex; - if (!input) - return (""); - return (""); + char **out_lex; + + (void)out_lex; + if (!input) + return (NULL); + return (NULL); } diff --git a/src/parse/parse.c b/src/parse/parse.c index d1ec153..bdd0144 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -1,11 +1,11 @@ #include "minishell.h" -void *ms_parse(char *input) +t_ast *ms_parse(char *input) { - char **out_lex; +/* char **out_lex; */ +/* if (!(out_lex = ms_lexer(input))) */ +/* return (NULL); */ - if (!(out_lex = ms_lexer(input))) - ; - - //(void)input; + (void)input; + return (NULL); } |
