diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-09-01 21:39:10 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-09-01 23:55:56 +0900 |
| commit | c5cf38fffec9b7e0a96cc3f016c3a01820498953 (patch) | |
| tree | cfee0200dc16735af6e6e12c7fdedeca42249c4f /src/ast.h | |
| parent | dfea2b35c962740c701ebc2151067ce6fb155e78 (diff) | |
| download | ducc-c5cf38fffec9b7e0a96cc3f016c3a01820498953.tar.gz ducc-c5cf38fffec9b7e0a96cc3f016c3a01820498953.tar.zst ducc-c5cf38fffec9b7e0a96cc3f016c3a01820498953.zip | |
feat: support signed/unsigned specifier
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -18,16 +18,23 @@ typedef enum StorageClass StorageClass; enum TypeKind { TypeKind_unknown, + TypeKind_void, TypeKind_char, + TypeKind_schar, + TypeKind_uchar, TypeKind_short, + TypeKind_ushort, TypeKind_int, + TypeKind_uint, TypeKind_long, - TypeKind_void, - TypeKind_ptr, - TypeKind_array, - TypeKind_enum, + TypeKind_ulong, + TypeKind_llong, + TypeKind_ullong, TypeKind_struct, TypeKind_union, + TypeKind_enum, + TypeKind_ptr, + TypeKind_array, }; typedef enum TypeKind TypeKind; |
