aboutsummaryrefslogtreecommitdiffhomepage
path: root/c/lex.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2026-01-25 12:36:01 +0100
committerlemon <lsof@mailbox.org>2026-01-25 12:36:01 +0100
commitca983b5700f894c653758a4f93a758b93d025621 (patch)
treec1791a7f324f93efb63297bf7686d9bb42f2c91e /c/lex.c
parenta017cf8b32f6726d5619361fa9d5e88f850dc1cb (diff)
c: GNU __attribute__ stubs
Diffstat (limited to 'c/lex.c')
-rw-r--r--c/lex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/c/lex.c b/c/lex.c
index f1d29c9..1b233a0 100644
--- a/c/lex.c
+++ b/c/lex.c
@@ -2097,6 +2097,7 @@ addpredefmacros(struct arena **tmparena)
{ "__antcc_major__", { .predef = 1, .rlist = { &tok_major, 1} }},
{ "__antcc_minor__", { .predef = 1, .rlist = { &tok_minor, 1} }},
{ "__antcc_patch__", { .predef = 1, .rlist = { &tok_patch, 1} }},
+ { "__extension__", { .predef = 1, .rlist = { NULL, 0 } }},
};
static const char
cpredefs[] =