aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/parse.c3
-rw-r--r--src/std.h4
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;
}
diff --git a/src/std.h b/src/std.h
index ae67d0f..b6b0e3d 100644
--- a/src/std.h
+++ b/src/std.h
@@ -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)