aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib/check_include_guards.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/distrib/check_include_guards.py')
-rwxr-xr-xtools/distrib/check_include_guards.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/distrib/check_include_guards.py b/tools/distrib/check_include_guards.py
index 6406fe6ae7..897a899e7e 100755
--- a/tools/distrib/check_include_guards.py
+++ b/tools/distrib/check_include_guards.py
@@ -95,6 +95,8 @@ class GuardValidator(object):
fcontents = load(fpath)
match = self.ifndef_re.search(fcontents)
+ if not match:
+ print 'something drastically wrong with: %s' % fpath
if match.lastindex is None:
# No ifndef. Request manual addition with hints
self.fail(fpath, match.re, match.string, '', '', False)