diff options
-rwxr-xr-x | deheader | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |