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.c37
1 files changed, 18 insertions, 19 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); */
+/* } */