From 3b319748a024067b4ce0b70ae2dad364977d6365 Mon Sep 17 00:00:00 2001 From: nass1pro Date: Tue, 24 Mar 2020 20:13:26 +0100 Subject: test compil --- src/parse/lexer.c | 7 +++---- src/parse/parse.c | 6 +++--- 2 files changed, 6 insertions(+), 7 deletions(-) (limited to 'src/parse') diff --git a/src/parse/lexer.c b/src/parse/lexer.c index 612e911..7f7a7a2 100644 --- a/src/parse/lexer.c +++ b/src/parse/lexer.c @@ -1,10 +1,9 @@ - -char **ms_lexer(char *input) +char *ms_lexer(char *input) { char **out_lex; if (!input) - return (NULL); - + return (""); + return (""); } diff --git a/src/parse/parse.c b/src/parse/parse.c index de18d7c..d1ec153 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -1,11 +1,11 @@ #include "minishell.h" -t_parsing *ms_parse(char *input) +void *ms_parse(char *input) { char **out_lex; + if (!(out_lex = ms_lexer(input))) - return (NULL); + ; //(void)input; - return (NULL); } -- cgit