diff options
-rwxr-xr-x | deheader | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -86,7 +86,7 @@ class InclusionMap: includes = [] ifdepth = 0 for line in open(sourcefile): - if line.startswith("#ifdef") or line.startswith("#ifndef"): + if line.startswith("#if") or line.startswith("#ifndef"): ifdepth += 1 elif line.startswith("#endif"): ifdepth -= 1 |