aboutsummaryrefslogtreecommitdiff
path: root/src/parse/lexer.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-06-09 10:59:59 +0200
committerCharles <sircharlesaze@gmail.com>2020-06-09 10:59:59 +0200
commit82f1e954590de21f6db9b1b6e3dba78a951bc319 (patch)
tree895cc684345fff6871b2a933d98e9072bc6611f1 /src/parse/lexer.c
parentc16cf5fcc4a421608bf3c291ef84a79b7dbe7591 (diff)
downloadminishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.tar.gz
minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.tar.bz2
minishell-82f1e954590de21f6db9b1b6e3dba78a951bc319.zip
Added make with multiple jobs and making merge compile
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); */
+/* } */