From 9dca7dc98e46d5b29e236f2970072ffaf582e13e Mon Sep 17 00:00:00 2001 From: nass1pro Date: Sun, 12 Apr 2020 17:53:30 +0200 Subject: Added lexer draft --- src/parse/parse.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/parse/parse.c') diff --git a/src/parse/parse.c b/src/parse/parse.c index ed1aa28..3aa2a30 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -5,12 +5,10 @@ #include "parse.h" -t_ast *parse(char *input) +t_ast *parse(char **input) { -/* char **out_lex; */ -/* if (!(out_lex = lexer(input))) */ -/* return (NULL); */ - - (void)input; - return (NULL); + while (input[i] != '\0') + { + + } } -- cgit