aboutsummaryrefslogtreecommitdiff
path: root/src/parse/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse/lexer.c')
-rw-r--r--src/parse/lexer.c15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/parse/lexer.c b/src/parse/lexer.c
index 74a3bd4..584ecd7 100644
--- a/src/parse/lexer.c
+++ b/src/parse/lexer.c
@@ -5,12 +5,23 @@
#include "minishell.h"
-char **lexer(char *input)
+static char **lex_len(char *input)
{
- char **out_lex;
+ int 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);
}