Merge pull request #6329 from dgquintas/tiny_include_guard_fix

Tiny fix to check_include_guards script
pull/6254/head
Jan Tattermusch 9 years ago
commit 64a553ff4a
  1. 1
      tools/distrib/check_include_guards.py

@ -98,6 +98,7 @@ class GuardValidator(object):
match = self.ifndef_re.search(fcontents)
if not match:
print 'something drastically wrong with: %s' % fpath
return False # failed
if match.lastindex is None:
# No ifndef. Request manual addition with hints
self.fail(fpath, match.re, match.string, '', '', False)

Loading…
Cancel
Save