diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/ek/ast.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
