Skip to content

Commit de67fa7

Browse files
authored
Merge pull request #15 from Smattr/smattr/c1fb7e1e-db0a-4748-9440-62cfad99c6c2
update C keywords
2 parents 1e16a7d + a6b36be commit de67fa7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/peakrdl_cheader/identifier_filter.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,16 @@
88
"while",
99

1010
# C99
11-
"inline", "restrict",
11+
"inline", "restrict", "_Bool", "_Complex", "_Imaginary",
12+
13+
# C11
14+
"_Alignas", "_Alignof", "_Atomic", "_Generic", "_Noreturn",
15+
"_Static_assert", "_Thread_local",
1216

1317
# C23
1418
"alignas", "alignof", "bool", "constexpr", "false", "nullptr",
1519
"static_assert", "thread_local", "true", "typeof", "typeof_unqual",
20+
"_BitInt", "_Decimal128", "_Decimal32", "_Decimal64",
1621
}
1722

1823
def kw_filter(s: str) -> str:

0 commit comments

Comments
 (0)