aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/c_lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_lex.c')
-rw-r--r--src/c_lex.c2
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");
}