From 5a5e3e2de5839bcaf36a5eb73354f33f86e46f45 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 15 Apr 2024 17:50:41 +0300 Subject: fix inits --- include/ek/ast.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/ek/ast.h b/include/ek/ast.h index 5156b1d..62a0901 100644 --- a/include/ek/ast.h +++ b/include/ek/ast.h @@ -166,10 +166,8 @@ enum ast_flags { AST_FLAG_CONST = (1 << 1), /** External definition. Disables generic support. */ AST_FLAG_EXTERN = (1 << 2), - /** Variadic procedures and macros. */ + /** Variadic macros. */ AST_FLAG_VARIADIC = (1 << 3), - /** Delayed execution. Mainly \c do loops. */ - AST_FLAG_DELAYED = (1 << 4), /** Public node, should be propagated to parent scopes. */ AST_FLAG_PUBLIC = (1 << 5), /** @@ -188,12 +186,11 @@ enum ast_flags { AST_FLAG_INIT = (1 << 10), /** Whether a struct/union initialization is index or name based. */ AST_FLAG_MEMBER = (1 << 11), - /** AST node has several owners, requires special destruction handling. */ - AST_FLAG_SHARED = (1 << 12), /** Struct/union is generic. */ AST_FLAG_GENERIC = (1 << 13), AST_FLAG_NOMANGLE = (1 << 14), AST_FLAG_DOEXPR = (1 << 15), + AST_FLAG_LOWERED = (1 << 16), }; struct ast; -- cgit v1.3