aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
authornass1pro <nass1pro@gmail.com>2020-06-14 09:01:57 +0200
committernass1pro <nass1pro@gmail.com>2020-06-14 09:01:57 +0200
commitcadd588473f82cdbbfdb7210bddd22262561faf3 (patch)
tree751dc7934907ec89412e7e2a2ae9c73d75426007 /include/ast.h
parentcfb618b6e385a861db7f62141a5f13f211ca6f48 (diff)
downloadminishell-cadd588473f82cdbbfdb7210bddd22262561faf3.tar.gz
minishell-cadd588473f82cdbbfdb7210bddd22262561faf3.tar.bz2
minishell-cadd588473f82cdbbfdb7210bddd22262561faf3.zip
Add t_ret in ast.h
Diffstat (limited to 'include/ast.h')
-rw-r--r--include/ast.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/ast.h b/include/ast.h
index e63ab22..a5e55bb 100644
--- a/include/ast.h
+++ b/include/ast.h
@@ -101,6 +101,12 @@ typedef struct s_ast
};
} t_ast;
+typedef struct s_ret
+{
+ t_ast *as;
+ t_ftlst *rest;
+}
+
t_ast *ast_new(t_ast_tag tag, void *data);
void ast_destroy(t_ast *ast);