aboutsummaryrefslogtreecommitdiff
path: root/include/ast.h
diff options
context:
space:
mode:
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);