From a8d6f8bf30c07edb775e56889f568ca20240bedf Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 17 Mar 2026 13:22:00 +0100 Subject: REFACTOR: move sources to src/ --- src/c_keywords.def | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 src/c_keywords.def (limited to 'src/c_keywords.def') diff --git a/src/c_keywords.def b/src/c_keywords.def new file mode 100644 index 0000000..e71f25f --- /dev/null +++ b/src/c_keywords.def @@ -0,0 +1,76 @@ +/* !SORTED */ +/* token cstd (alias) */ +_(_Alignas, STDC11, ) +_(_Alignof, STDC11, ) +_(_Atomic, STDC11, ) +_(_BitInt, STDC23, ) +_(_Bool, STDC99, ) +_(_Complex, STDC99, "__complex", "__complex__") +_(_Decimal128, STDC23, ) +_(_Decimal32, STDC23, ) +_(_Decimal64, STDC23, ) +_(_Generic, STDC11, ) +_(_Imaginary, STDC99, ) +_(_Noreturn, STDC11, ) +_(_Static_assert, STDC11, ) +_(_Thread_local, STDC11, ) +_(__asm__, 0, ) +_(__attribute__, 0, ) +_(__builtin_va_arg, 0, ) +_(__extension__, 0, ) +_(__typeof__, 0, "__typeof") +_(alignas, STDC23, ) +_(alignof, STDC23, ) +_(auto, 0, ) +_(bool, STDC23, ) +_(break, 0, ) +_(case, 0, ) +_(char, 0, ) +_(const, 0, "__const", "__const__") +_(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, "__inline", "__inline__") +_(int, 0, ) +_(long, 0, ) +_(nullptr, STDC23, ) +_(register, 0, ) +_(restrict, STDC99, "__restrict", "__restrict__") +_(return, 0, ) +_(short, 0, ) +_(signed, 0, "__signed", "__signed__") +_(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, "__volatile", "__volatile__") +_(while, 0, ) + +#ifndef TKWBEGIN_ +# define TKWBEGIN_ TKW_Alignas +#endif +#ifndef TKWEND_ +# define TKWEND_ TKWwhile +#endif +#ifndef TKWMAXLEN_ +# define TKWMAXLEN_ (sizeof "__builtin_va_arg" - 1) +#endif -- cgit v1.2.3