diff options
| author | nass1pro <nass1pro@gmail.com> | 2020-06-14 09:39:13 +0200 |
|---|---|---|
| committer | nass1pro <nass1pro@gmail.com> | 2020-06-14 09:39:13 +0200 |
| commit | 1d455c5b8ba3ecd7fa0b0a5a6718bc6cd7fbd8d9 (patch) | |
| tree | d8f54d290f2e301ff689dae879305eee5d2a0394 /src/parse | |
| parent | cadd588473f82cdbbfdb7210bddd22262561faf3 (diff) | |
| download | minishell-1d455c5b8ba3ecd7fa0b0a5a6718bc6cd7fbd8d9.tar.gz minishell-1d455c5b8ba3ecd7fa0b0a5a6718bc6cd7fbd8d9.tar.bz2 minishell-1d455c5b8ba3ecd7fa0b0a5a6718bc6cd7fbd8d9.zip | |
Change LTAG -> TAG in lexer.h
Diffstat (limited to 'src/parse')
| -rw-r--r-- | src/parse/parse.c | 7 |
1 files changed, 5 insertions, 2 deletions
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 <stdio.h> -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; } |
