aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-11-22 11:01:46 +0100
committerlemon <lsof@mailbox.org>2025-11-22 12:26:29 +0100
commit4444c247ea8b906f511864bcfb3ce62ed9653ba3 (patch)
tree5da1018b83f384927b0f02f486cfe4d34c13730e /c/lex.h
parentc2f9d128ecd15c9f285426b4e7b9bc2cd3d53732 (diff)
c: move warning for extension keyword til after preprocessor
Diffstat (limited to 'c/lex.h')
-rw-r--r--c/lex.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/lex.h b/c/lex.h
index fd84f0a..9791340 100644
--- a/c/lex.h
+++ b/c/lex.h
@@ -54,6 +54,7 @@ struct token {
bool litlit;
uchar wide : 2; /* for CHRLIT & STRLIT; 1 -> 16bit, 2 -> 32bit */
uchar wideuni : 1; /* ditto, 0 -> 'L', 1 -> 'u'/'U' (C11) */
+ uchar extwarn : 1; /* warn this keyword token is an extension */
union {
uint len;
struct { ushort macidx, argidx; };