~ecs/public-inbox

[PATCH qbe2c 2/2] Add C23 keywords

Details
Message ID
<20221222194632.12063-2-sebastian@sebsite.pw>
Sender timestamp
1671720392
DKIM signature
missing
Download raw message
Patch: +11 -0
Signed-off-by: Sebastian <sebastian@sebsite.pw>
---
 unparse.ha | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/unparse.ha b/unparse.ha
index fcba5b1..923800e 100644
--- a/unparse.ha
+++ b/unparse.ha
@@ -13,6 +13,7 @@ const keywords: [_]str = [
	"_Alignas",
	"_Alignof",
	"_Atomic",
	"_BitInt",
	"_Bool",
	"_Complex",
	"_Generic",
@@ -32,11 +33,15 @@ const keywords: [_]str = [
	"__typeof",
	"__typeof__",
	"__volatile__",
	"alignas",
	"alignof",
	"auto",
	"bool",
	"break",
	"case",
	"char",
	"const",
	"constexpr",
	"continue",
	"default",
	"do",
@@ -44,6 +49,7 @@ const keywords: [_]str = [
	"else",
	"enum",
	"extern",
	"false",
	"float",
	"for",
	"goto",
@@ -51,6 +57,7 @@ const keywords: [_]str = [
	"inline",
	"int",
	"long",
	"nullexpr",
	"register",
	"restrict",
	"return",
@@ -60,7 +67,11 @@ const keywords: [_]str = [
	"static",
	"struct",
	"switch",
	"thread_local",
	"true",
	"typedef",
	"typeof",
	"typeof_unqual",
	"union",
	"unsigned",
	"void",
-- 
2.38.1
Reply to thread Export thread (mbox)