summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdeheader3
1 files changed, 2 insertions, 1 deletions
diff --git a/deheader b/deheader
index e77dcae..f1aaf28 100755
--- a/deheader
+++ b/deheader
@@ -1282,7 +1282,8 @@ class InclusionMap:
cnt = cnt + 1
c = match_preproc(["ifndef", "ifdef", "if"], line)
if c is not False:
- allow_parse_includes = self.check_block(sourcefile, cnt, compiler, defines, maker, verbosity, showerrs, subdir)
+ if allow_parse_includes == True:
+ allow_parse_includes = self.check_block(sourcefile, cnt, compiler, defines, maker, verbosity, showerrs, subdir)
conditions.append((c, allow_parse_includes))
elif match_preproc("else", line) is not False:
allow_parse_includes = not allow_parse_includes