From 451111dc51df69580d04c9965f70531f50e3d509 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Tue, 9 Apr 2024 12:59:07 +0300 Subject: add initial ufcs checks --- include/ek/ast.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') diff --git a/include/ek/ast.h b/include/ek/ast.h index 27e82e3..8f509cd 100644 --- a/include/ek/ast.h +++ b/include/ek/ast.h @@ -640,6 +640,9 @@ void type_dump(struct type *node); void ast_append(struct ast *list, struct ast *elem); void type_append(struct type *list, struct type *elem); +struct ast * ast_prepend(struct ast *list, struct ast *elem); +struct type * type_prepend(struct type *list, struct type *elem); + void ast_set_flags(struct ast *node, enum ast_flags flags); void ast_clear_flags(struct ast *node, enum ast_flags flags); unsigned ast_flags(struct ast *node, enum ast_flags flags); -- cgit v1.3