aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-12-21 13:55:01 +0100
committerlemon <lsof@mailbox.org>2025-12-21 16:44:43 +0100
commit3e74de26d16780e626241e0c42313fcb37b91cf2 (patch)
tree76092ff61192c0f8e36d7bd50c58fc7b57b7999b /c/lex.h
parent201f015408a160583b6644c0c3ea07b3139c8d91 (diff)
c: keyword aliases
Some linux headers use __signed__ for whatever reason.. this is a general fix for those alternate keyword
Diffstat (limited to 'c/lex.h')
-rw-r--r--c/lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/lex.h b/c/lex.h
index 20b1bbd..c4c38e8 100644
--- a/c/lex.h
+++ b/c/lex.h
@@ -44,7 +44,7 @@ enum toktag { /* single-character tokens' tag value is the character itself */
TKSETSHL, /* <<= */
TKSETSHR, /* >>= */
TKIDENT = 0x80,
-#define _(kw, stdc) TKW##kw,
+#define _(kw, stdc, ...) TKW##kw,
#include "keywords.def"
#undef _
NTOKTAG,