aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-09-05 04:10:45 +0900
committernsfisis <nsfisis@gmail.com>2025-09-05 04:10:45 +0900
commitdf2921b9011c9d5db0849d3095a7c600e1b498a6 (patch)
treeb45ec69d6bed4e8097b6fb25f1f564ac16d7c22a
parent2a961ad9bb4623485172df033411d6dff7f499f9 (diff)
downloadducc-df2921b9011c9d5db0849d3095a7c600e1b498a6.tar.gz
ducc-df2921b9011c9d5db0849d3095a7c600e1b498a6.tar.zst
ducc-df2921b9011c9d5db0849d3095a7c600e1b498a6.zip
feat: skip "restrict" and "volatile"
-rw-r--r--src/parse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/parse.c b/src/parse.c
index 7ab244c..b6fa043 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -1956,9 +1956,11 @@ static Type* parse_declaration_specifiers(Parser* p) {
// TODO
next_token(p);
} else if (tok->kind == TokenKind_keyword_restrict) {
- unimplemented();
+ // TODO
+ next_token(p);
} else if (tok->kind == TokenKind_keyword_volatile) {
- unimplemented();
+ // TODO
+ next_token(p);
} else if (tok->kind == TokenKind_keyword__Atomic) {
unimplemented();
}