diff options
| author | 2026-03-24 20:15:00 +0100 | |
|---|---|---|
| committer | 2026-03-24 20:15:00 +0100 | |
| commit | 3eb74e33d9fb2fa1bfe3ba4757c79ed13330c104 (patch) | |
| tree | bb7f5740ed82dc57562381c9a4886390454cdc9e /src | |
| parent | 803dbff03b7c30f276f6b8923b1c6b0a28e7b4f6 (diff) | |
*skip
Diffstat (limited to 'src')
| -rw-r--r-- | src/c_lex.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |