From: Robert Pengelly Date: Thu, 21 May 2026 16:36:22 +0000 (+0100) Subject: Fixed elif and else X-Git-Url: https://git.candlhat.org/?a=commitdiff_plain;h=36abce5e76eb57443c62a2ea5ff2760f20ddf041;p=scc.git Fixed elif and else --- 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) {