diff options
author | ZyX <kp-pav@ya.ru> | 2014-05-02 16:06:30 +0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-05-03 08:44:04 -0400 |
commit | 37935130f9c967f58de9900f7d86042116db9fd5 (patch) | |
tree | 0eeb84805df0f63d233b81b6ea821d02afccae4f /clint.py | |
parent | 8a729897f433f2e11450f48d57dc38ad7ef0c73a (diff) | |
download | rneovim-37935130f9c967f58de9900f7d86042116db9fd5.tar.gz rneovim-37935130f9c967f58de9900f7d86042116db9fd5.tar.bz2 rneovim-37935130f9c967f58de9900f7d86042116db9fd5.zip |
Do not detect macros like VIM_TRUE as boolean values
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, |