diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-27 21:08:48 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-28 10:36:35 +0900 |
| commit | 74dbe1fc92a6bb3f03f5582280f4e02b9158a523 (patch) | |
| tree | 9bc0eaca54895ac1784356846b14b6cff0281d6f /src/ast.h | |
| parent | 931cbe657ccdcfefe4077cd7371f1ea4ad4e5b53 (diff) | |
| download | ducc-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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |
