From a287fe5aeb6b681ab405c0297841dce64ab4b946 Mon Sep 17 00:00:00 2001
From: lemon <lsof@mailbox.org>
Date: Fri, 14 Nov 2025 18:49:04 +0100
Subject: preeliminary va_list support

---
 c/keywords.def | 123 +++++++++++++++++++++++++++++----------------------------
 1 file changed, 62 insertions(+), 61 deletions(-)

(limited to 'c/keywords.def')

diff --git a/c/keywords.def b/c/keywords.def
index 258a396..f971830 100644
--- a/c/keywords.def
+++ b/c/keywords.def
@@ -1,64 +1,65 @@
 /* !SORTED */
-_(_Alignas,        STDC11)
-_(_Alignof,        STDC11)
-_(_Atomic,         STDC11)
-_(_BitInt,         STDC23)
-_(_Bool,           STDC99)
-_(_Complex,        STDC99)
-_(_Decimal128,     STDC23)
-_(_Decimal32,      STDC23)
-_(_Decimal64,      STDC23)
-_(_Generic,        STDC11)
-_(_Imaginary,      STDC99)
-_(_Noreturn,       STDC11)
-_(_Static_assert,  STDC11)
-_(_Thread_local,   STDC11)
-_(__typeof__,      0)
-_(alignas,         STDC23)
-_(alignof,         STDC23)
-_(auto,            0)
-_(bool,            STDC23)
-_(break,           0)
-_(case,            0)
-_(char,            0)
-_(const,           0)
-_(constexpr,       STDC23)
-_(continue,        0)
-_(default,         0)
-_(do,              0)
-_(double,          0)
-_(else,            0)
-_(enum,            0)
-_(extern,          0)
-_(false,           STDC23)
-_(float,           0)
-_(for,             0)
-_(goto,            0)
-_(if,              0)
-_(inline,          STDC99)
-_(int,             0)
-_(long,            0)
-_(nullptr,         STDC23)
-_(register,        0)
-_(restrict,        STDC99)
-_(return,          0)
-_(short,           0)
-_(signed,          0)
-_(sizeof,          0)
-_(static,          0)
-_(static_assert,   STDC23)
-_(struct,          0)
-_(switch,          0)
-_(thread_local,    STDC23)
-_(true,            STDC23)
-_(typedef,         0)
-_(typeof,          STDC23)
-_(typeof_unqual,   STDC23)
-_(union,           0)
-_(unsigned,        0)
-_(void,            0)
-_(volatile,        0)
-_(while,           0)
+_(_Alignas,         STDC11)
+_(_Alignof,         STDC11)
+_(_Atomic,          STDC11)
+_(_BitInt,          STDC23)
+_(_Bool,            STDC99)
+_(_Complex,         STDC99)
+_(_Decimal128,      STDC23)
+_(_Decimal32,       STDC23)
+_(_Decimal64,       STDC23)
+_(_Generic,         STDC11)
+_(_Imaginary,       STDC99)
+_(_Noreturn,        STDC11)
+_(_Static_assert,   STDC11)
+_(_Thread_local,    STDC11)
+_(__builtin_va_arg, 0)
+_(__typeof__,       0)
+_(alignas,          STDC23)
+_(alignof,          STDC23)
+_(auto,             0)
+_(bool,             STDC23)
+_(break,            0)
+_(case,             0)
+_(char,             0)
+_(const,            0)
+_(constexpr,        STDC23)
+_(continue,         0)
+_(default,          0)
+_(do,               0)
+_(double,           0)
+_(else,             0)
+_(enum,             0)
+_(extern,           0)
+_(false,            STDC23)
+_(float,            0)
+_(for,              0)
+_(goto,             0)
+_(if,               0)
+_(inline,           STDC99)
+_(int,              0)
+_(long,             0)
+_(nullptr,          STDC23)
+_(register,         0)
+_(restrict,         STDC99)
+_(return,           0)
+_(short,            0)
+_(signed,           0)
+_(sizeof,           0)
+_(static,           0)
+_(static_assert,    STDC23)
+_(struct,           0)
+_(switch,           0)
+_(thread_local,     STDC23)
+_(true,             STDC23)
+_(typedef,          0)
+_(typeof,           STDC23)
+_(typeof_unqual,    STDC23)
+_(union,            0)
+_(unsigned,         0)
+_(void,             0)
+_(volatile,         0)
+_(while,            0)
 
 #ifndef TKWBEGIN_
 # define TKWBEGIN_ TKW_Alignas
@@ -67,5 +68,5 @@ _(while,           0)
 # define TKWEND_ TKWwhile
 #endif
 #ifndef TKWMAXLEN_
-# define TKWMAXLEN_ (sizeof "_Static_assert" - 1)
+# define TKWMAXLEN_ (sizeof "__builtin_va_arg" - 1)
 #endif
-- 
cgit v1.2.3

