From 12c71e379f90f4132a1e54be44dc452c94b7b131 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Mon, 8 Jun 2026 12:10:21 +0100 Subject: [PATCH] Support some extensions even with -std=c90 and -pedantic --- token.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/token.c b/token.c index 0f9b24d..b6555ce 100755 --- a/token.c +++ b/token.c @@ -1065,9 +1065,9 @@ static int find_kind (const char *start, const char *caret, const char *p) { static struct keyword kws[] = { /* Compiler Specific keywords */ - { "__scc_builtin_va_arg", 0, VERSION, TOK_SCC_BUILTIN_VA_ARG }, - { "__dllexport", 0, VERSION, TOK_DLLEXPORT }, - { "__stdcall", 0, VERSION, TOK_STDCALL }, + { "__scc_builtin_va_arg", -1, VERSION, TOK_SCC_BUILTIN_VA_ARG }, + { "__dllexport", -1, VERSION, TOK_DLLEXPORT }, + { "__stdcall", -1, VERSION, TOK_STDCALL }, { "__asm__", 0, VERSION, TOK_ASM }, { "__inline__", 0, VERSION, TOK_INLINE }, -- 2.34.1