diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-05-18 07:30:51 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-05-18 07:30:51 -0700 |
commit | 64a553ff4a45b498c7b63f2e5bf3d7ee00bf2b59 (patch) | |
tree | 3b97a78d6e5278ac70e209352100ed124646143b /tools/distrib | |
parent | 057a2f8f7c04e37cbb18f677b09cb19cc21af0ec (diff) | |
parent | 267684ca06f7f032bdcdfdfd4edd66af7a662800 (diff) |
Merge pull request #6329 from dgquintas/tiny_include_guard_fix
Tiny fix to check_include_guards script
Diffstat (limited to 'tools/distrib')
-rwxr-xr-x | tools/distrib/check_include_guards.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/distrib/check_include_guards.py b/tools/distrib/check_include_guards.py index 9c23a70e00..ef770b30b4 100755 --- a/tools/distrib/check_include_guards.py +++ b/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) |