aboutsummaryrefslogtreecommitdiff
path: root/clint.py
diff options
context:
space:
mode:
authorJulian Orth <ju.orth@gmail.com>2014-03-05 21:55:32 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-27 14:03:35 -0300
commit23a41ebf8fca25ab3862fb00a163634b07881ee9 (patch)
tree53cf632ce7e301f907b3a096670918095d0fa61c /clint.py
parent95659707a823b574abbe747f7e6eac3c3eaf601a (diff)
downloadrneovim-23a41ebf8fca25ab3862fb00a163634b07881ee9.tar.gz
rneovim-23a41ebf8fca25ab3862fb00a163634b07881ee9.tar.bz2
rneovim-23a41ebf8fca25ab3862fb00a163634b07881ee9.zip
remove C++ stuff from CheckSpacingForFunctionCall
Diffstat (limited to 'clint.py')
-rwxr-xr-xclint.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/clint.py b/clint.py
index 40aee6a231..da06272724 100755
--- a/clint.py
+++ b/clint.py
@@ -2248,7 +2248,7 @@ def CheckSpacingForFunctionCall(filename, line, linenum, error):
# Note that we assume the contents of [] to be short enough that
# they'll never need to wrap.
if ( # Ignore control structures.
- not Search(r'\b(if|for|while|switch|return|new|delete|catch|sizeof)\b',
+ not Search(r'\b(if|for|while|switch|return|sizeof)\b',
fncall) and
# Ignore pointers/references to functions.
not Search(r' \([^)]+\)\([^)]*(\)|,$)', fncall) and