From 1d455c5b8ba3ecd7fa0b0a5a6718bc6cd7fbd8d9 Mon Sep 17 00:00:00 2001 From: nass1pro Date: Sun, 14 Jun 2020 09:39:13 +0200 Subject: Change LTAG -> TAG in lexer.h --- src/parse/parse.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/parse') diff --git a/src/parse/parse.c b/src/parse/parse.c index 6f9c99b..a240377 100644 --- a/src/parse/parse.c +++ b/src/parse/parse.c @@ -6,11 +6,14 @@ #include "parse.h" #include -t_ast *parse(t_ftlst *lst) + + +t_ret *parse(t_ftlst *lst) { t_ret *ret; + if(!(ret = malloc(sizeof(t_ret) * 1))) + return(NULL); ret->rest = lst; - ret = return NULL; } -- cgit