diff options
Diffstat (limited to 'clint.py')
-rwxr-xr-x | clint.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2802,7 +2802,7 @@ def CheckLanguage(filename, clean_lines, linenum, file_extension, "('k' followed by CamelCase) compile-time constant for the size.") # Detect TRUE and FALSE. - match = Search(r'(TRUE|FALSE)', line) + match = Search(r'\b(TRUE|FALSE)\b', line) if match: token = match.group(1) error(filename, linenum, 'readability/bool', 4, |