aboutsummaryrefslogtreecommitdiffhomepage
path: root/ast.c
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-29 06:09:06 +0900
committernsfisis <nsfisis@gmail.com>2025-08-15 10:04:35 +0900
commitf91a10ae153f41c46729605ecf0023d11ada07b8 (patch)
tree0bf858a43490f88e20fd4006543e069cfa54b43d /ast.c
parentbd5bbdebf116bb03da335d0e18a55a5597b55548 (diff)
downloadducc-f91a10ae153f41c46729605ecf0023d11ada07b8.tar.gz
ducc-f91a10ae153f41c46729605ecf0023d11ada07b8.tar.zst
ducc-f91a10ae153f41c46729605ecf0023d11ada07b8.zip
feat: implement empty statements (only semicolon)
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.c b/ast.c
index ad5b83f..70ccb20 100644
--- a/ast.c
+++ b/ast.c
@@ -84,6 +84,7 @@ int type_alignof(Type* ty) {
enum AstNodeKind {
AstNodeKind_unknown,
+ AstNodeKind_nop,
AstNodeKind_assign_expr,
AstNodeKind_binary_expr,