aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ast.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-28 15:24:28 +0900
committernsfisis <nsfisis@gmail.com>2025-09-28 15:24:28 +0900
commit1b208f7f0a3b7d6b72c2a431d9fcd6e18fe76f5d (patch)
tree4902e2907f39cb0ae05439365e70d5628396a6fc /src/ast.h
parent235969b792bf11e8b7927318cf01b5ef5705177b (diff)
downloadducc-1b208f7f0a3b7d6b72c2a431d9fcd6e18fe76f5d.tar.gz
ducc-1b208f7f0a3b7d6b72c2a431d9fcd6e18fe76f5d.tar.zst
ducc-1b208f7f0a3b7d6b72c2a431d9fcd6e18fe76f5d.zip
feat: support using function as a value
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index 5f4367d..c5171d7 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -102,6 +102,7 @@ typedef enum {
AstNodeKind_enum_member,
AstNodeKind_expr_stmt,
AstNodeKind_for_stmt,
+ AstNodeKind_func,
AstNodeKind_func_call,
AstNodeKind_func_decl,
AstNodeKind_func_def,