summaryrefslogtreecommitdiff
path: root/tools/validateinterfaces.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/validateinterfaces.py')
-rwxr-xr-xtools/validateinterfaces.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/validateinterfaces.py b/tools/validateinterfaces.py
index c9a86979c..b34bd6233 100755
--- a/tools/validateinterfaces.py
+++ b/tools/validateinterfaces.py
@@ -133,8 +133,16 @@ def checkFile(tracker, cFile):
continue
if checkChr(line[idx - 1]):
continue
+ if line[0:3] == " * ":
+ continue;
if line[-1] == "\n":
line = line[:-1]
+ text = line.strip()
+ if text[0:2] == "/*" or text[0:2] == "//":
+ continue
+ idx2 = line.find("//")
+ if idx2 > 0 and idx2 < idx:
+ continue
tracker.arr[part].append(line)
def processDir(tracker, srcDir):