Skip to content
This repository was archived by the owner on Oct 29, 2019. It is now read-only.

Commit 24f5c7b

Browse files
committed
fixed logic error in HeaderParser
1 parent 218b63a commit 24f5c7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/HeaderParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __parse(self, file):
9595

9696
# Skip the line if it should not be processed (ie #ifdef is false)
9797
if depth != -1:
98-
if not process_ln[depth] is None or process_ln[depth] is True:
98+
if not(process_ln[depth] == None or process_ln[depth] == True):
9999
continue
100100

101101
# See if the line starts with #define

0 commit comments

Comments
 (0)