aboutsummaryrefslogtreecommitdiff
path: root/include/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/parser.h')
-rw-r--r--include/parser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/parser.h b/include/parser.h
index 126ef8d..bd4e5b0 100644
--- a/include/parser.h
+++ b/include/parser.h
@@ -6,7 +6,7 @@
/* By: cacharle <cacharle@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/02/28 09:00:00 by cacharle #+# #+# */
-/* Updated: 2020/10/09 13:45:41 by cacharle ### ########.fr */
+/* Updated: 2020/10/09 16:02:40 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -112,6 +112,9 @@ typedef struct s_parsed
t_parsed *parsed_new(t_ast *ast, t_tok_lst *rest);
t_parsed *parsed_error(const char *format, ...);
+t_parsed *parsed_expected(void);
+t_parsed *parsed_unexpected(char *content);
+void parsed_destroy(t_parsed *parsed);
/*
** parse.c