aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ast.h
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-27 21:08:48 +0900
committernsfisis <nsfisis@gmail.com>2025-09-28 10:36:35 +0900
commit74dbe1fc92a6bb3f03f5582280f4e02b9158a523 (patch)
tree9bc0eaca54895ac1784356846b14b6cff0281d6f /src/ast.h
parent931cbe657ccdcfefe4077cd7371f1ea4ad4e5b53 (diff)
downloadducc-74dbe1fc92a6bb3f03f5582280f4e02b9158a523.tar.gz
ducc-74dbe1fc92a6bb3f03f5582280f4e02b9158a523.tar.zst
ducc-74dbe1fc92a6bb3f03f5582280f4e02b9158a523.zip
feat: implement switch statement
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ast.h b/src/ast.h
index 3c92eed..5f4367d 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -91,9 +91,11 @@ typedef enum {
AstNodeKind_assign_expr,
AstNodeKind_binary_expr,
AstNodeKind_break_stmt,
+ AstNodeKind_case_label,
AstNodeKind_cast_expr,
AstNodeKind_cond_expr,
AstNodeKind_continue_stmt,
+ AstNodeKind_default_label,
AstNodeKind_deref_expr,
AstNodeKind_do_while_stmt,
AstNodeKind_enum_def,
@@ -118,6 +120,7 @@ typedef enum {
AstNodeKind_struct_decl,
AstNodeKind_struct_def,
AstNodeKind_struct_member,
+ AstNodeKind_switch_stmt,
AstNodeKind_type,
AstNodeKind_typedef_decl,
AstNodeKind_unary_expr,