From 3eb74e33d9fb2fa1bfe3ba4757c79ed13330c104 Mon Sep 17 00:00:00 2001 From: lemon Date: Tue, 24 Mar 2026 20:15:00 +0100 Subject: *skip --- src/c_lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c_lex.c b/src/c_lex.c index 70439a9..fe8edb5 100644 --- a/src/c_lex.c +++ b/src/c_lex.c @@ -2152,7 +2152,7 @@ ppdirective(Lexer *lx, bool *skip, bool *inclerror) lx->firstdirective = 0; *skip = nppcnd ? ppcndstk[nppcnd-1].cnd != PPCNDTRUE : 0; } else { - if (!skip) { + if (!*skip) { BadPP: error(&tk->span, "invalid preprocessor directive"); } -- cgit v1.2.3