diff options
author | Julian Orth <ju.orth@gmail.com> | 2014-03-05 21:55:32 +0100 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-27 14:03:35 -0300 |
commit | 23a41ebf8fca25ab3862fb00a163634b07881ee9 (patch) | |
tree | 53cf632ce7e301f907b3a096670918095d0fa61c /clint.py | |
parent | 95659707a823b574abbe747f7e6eac3c3eaf601a (diff) | |
download | rneovim-23a41ebf8fca25ab3862fb00a163634b07881ee9.tar.gz rneovim-23a41ebf8fca25ab3862fb00a163634b07881ee9.tar.bz2 rneovim-23a41ebf8fca25ab3862fb00a163634b07881ee9.zip |
remove C++ stuff from CheckSpacingForFunctionCall
Diffstat (limited to 'clint.py')
-rwxr-xr-x | clint.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |