From 5df517b2f4fc1a58853250c65cbd12ae5dec8c52 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Jul 2016 19:43:52 +0300 Subject: Revert "Dont send defines in std2 parameter into check_block." This reverts commit f0b2a509dc2fff5916e54fc2c6af68b44bbacfee. --- deheader | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deheader b/deheader index 2ebbda9..fdac407 100755 --- a/deheader +++ b/deheader @@ -1283,7 +1283,7 @@ class InclusionMap: c = match_preproc(["ifndef", "ifdef", "if", "elif"], line) if c is not False: if allow_parse_includes == True: - allow_parse_includes = self.check_block(sourcefile, cnt, compiler, "", defines + " " + std, std2, maker, verbosity, showerrs, subdir) + allow_parse_includes = self.check_block(sourcefile, cnt, compiler, "", defines + " " + std, defines + " " + std2, maker, verbosity, showerrs, subdir) conditions.append((c, allow_parse_includes)) elif match_preproc("else", line) is not False: if self.get_prev_flag(conditions, 2) == True: -- cgit v1.2.3-70-g09d2