From 36abce5e76eb57443c62a2ea5ff2760f20ddf041 Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Thu, 21 May 2026 17:36:22 +0100 Subject: [PATCH] Fixed elif and else --- pp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pp.c b/pp.c index 18de06d..b613e1a 100755 --- a/pp.c +++ b/pp.c @@ -163,7 +163,7 @@ static int handler_elif (char *start, char **pp) { struct cond *cond; int ret = 1; - if (!iflevel) { + if (!ignore_line) { if (vec_ifstack.length == 0) { @@ -200,7 +200,7 @@ static int handler_else (char *start, char **pp) { struct cond *cond; int ret = 1; - if (!iflevel) { + if (!ignore_line) { if (vec_ifstack.length == 0) { -- 2.34.1