diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-08-31 17:07:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-08-31 17:07:01 +0900 |
| commit | 8ac323ccf3e7c012912d8f333abf267e32628a0f (patch) | |
| tree | a37f24fd08cba788d6731ba2ad7d8c25feb5eef5 /src | |
| parent | e09613812ce955c074238e8c91a0ed6eca3dc86f (diff) | |
| download | ducc-8ac323ccf3e7c012912d8f333abf267e32628a0f.tar.gz ducc-8ac323ccf3e7c012912d8f333abf267e32628a0f.tar.zst ducc-8ac323ccf3e7c012912d8f333abf267e32628a0f.zip | |
feat: partially support _Noreturn
Diffstat (limited to 'src')
| -rw-r--r-- | src/parse.c | 3 | ||||
| -rw-r--r-- | src/std.h | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/parse.c b/src/parse.c index 2d00911..f65c065 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1680,7 +1680,8 @@ static Type* parse_declaration_specifiers(Parser* p) { else if (tok->kind == TokenKind_keyword_inline) { unimplemented(); } else if (tok->kind == TokenKind_keyword__Noreturn) { - unimplemented(); + // TODO + next_token(p); } else { break; } @@ -47,10 +47,6 @@ int system(const char*); } while (0) #ifdef __ducc__ -#define _Noreturn -#endif - -#ifdef __ducc__ #define INT_CAST #else #define INT_CAST (int) |
