diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2015-06-09 19:08:19 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2015-06-09 19:08:19 +0000 |
commit | 798321d8eb5630cd4a8f490a4f25e32ef195fb07 (patch) | |
tree | a59f5569ef36d00388c0428426abef26aa9105b6 /tools/clang-format/clang-format.py | |
parent | 5e20cdd81c44a443562a09007668ffdf76c455af (diff) |
Diffstat (limited to 'tools/clang-format/clang-format.py')
-rw-r--r-- | tools/clang-format/clang-format.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/clang-format/clang-format.py b/tools/clang-format/clang-format.py index 56a6e5d86bf43..49ca773b049d6 100644 --- a/tools/clang-format/clang-format.py +++ b/tools/clang-format/clang-format.py @@ -85,6 +85,8 @@ def main(): for op in reversed(sequence.get_opcodes()): if op[0] is not 'equal': vim.current.buffer[op[1]:op[2]] = lines[op[3]:op[4]] + if output.get('IncompleteFormat'): + print 'clang-format: incomplete (syntax errors)' vim.command('goto %d' % (output['Cursor'] + 1)) main() |