aboutsummaryrefslogtreecommitdiff
path: root/src/clint.py
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-06-25 15:44:39 -0400
committerGitHub <noreply@github.com>2016-06-25 15:44:39 -0400
commit26d8ab51daf8ff524d7f6edb843fe1c61f943425 (patch)
treed8a9b9311888272da3301c7e0b9396b19fd65b1c /src/clint.py
parentbe0f96ab73733d611c5a719298dfd167e340e276 (diff)
parent142d00e8dacfee2aa78ca7a267736fbeff0b3c41 (diff)
downloadrneovim-26d8ab51daf8ff524d7f6edb843fe1c61f943425.tar.gz
rneovim-26d8ab51daf8ff524d7f6edb843fe1c61f943425.tar.bz2
rneovim-26d8ab51daf8ff524d7f6edb843fe1c61f943425.zip
Merge #4607 from ZyX-I/luaviml'/lua'/encode_vim_to_object
Remove recursion from various serializers/converters
Diffstat (limited to 'src/clint.py')
-rwxr-xr-xsrc/clint.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clint.py b/src/clint.py
index 80e4c4ac39..efc5f18378 100755
--- a/src/clint.py
+++ b/src/clint.py
@@ -2515,7 +2515,8 @@ def CheckSpacing(filename, clean_lines, linenum, nesting_state, error):
'after the hash')
cast_line = re.sub(r'^# *define +\w+\([^)]*\)', '', line)
- match = Search(r'\((?:const )?(?:struct )?[a-zA-Z_]\w*(?: *\*(?:const)?)*\)'
+ match = Search(r'(?<!\bkvec_t)'
+ r'\((?:const )?(?:struct )?[a-zA-Z_]\w*(?: *\*(?:const)?)*\)'
r' +'
r'-?(?:\*+|&)?(?:\w+|\+\+|--|\()', cast_line)
if match and line[0] == ' ':