diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/ast.h | 6 | ||||
| -rw-r--r-- | include/parse.h | 2 |
2 files changed, 7 insertions, 1 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); diff --git a/include/parse.h b/include/parse.h index ec95ef9..6cb50b8 100644 --- a/include/parse.h +++ b/include/parse.h @@ -43,6 +43,6 @@ ** parse.c */ -t_ast *parse(char **input); +t_ast *parse(t_ftlst *lst); #endif |
