From cadd588473f82cdbbfdb7210bddd22262561faf3 Mon Sep 17 00:00:00 2001 From: nass1pro Date: Sun, 14 Jun 2020 09:01:57 +0200 Subject: Add t_ret in ast.h --- include/ast.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/ast.h') 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); -- cgit