Mercurial > vim
comparison runtime/compiler/splint.vim @ 17571:2704c4e3e20a
Update runtime files.
commit https://github.com/vim/vim/commit/5477506a9f01d40fad2e8f0555bc37adee30478f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 31 21:07:14 2019 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 31 Jul 2019 21:15:08 +0200 |
parents | 7bc41231fbc7 |
children | e1df51f68736 |
comparison
equal
deleted
inserted
replaced
17570:74bf9a7da416 | 17571:2704c4e3e20a |
---|---|
1 " Vim compiler file | 1 " Vim compiler file |
2 " Compiler: splint/lclint (C source code checker) | 2 " Compiler: splint/lclint (C source code checker) |
3 " Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | 3 " Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4 " Splint Home: http://www.splint.org/ | 4 " Splint Home: http://www.splint.org/ |
5 " Last Change: 2005 Apr 21 | 5 " Last Change: 2019 Jul 23 |
6 " $Revision: 1.3 $ | 6 " $Revision: 1.3 $ |
7 | 7 |
8 if exists("current_compiler") | 8 if exists("current_compiler") |
9 finish | 9 finish |
10 endif | 10 endif |
17 let s:cpo_save = &cpo | 17 let s:cpo_save = &cpo |
18 set cpo-=C | 18 set cpo-=C |
19 | 19 |
20 " adapt this if you want to check more than one file at a time. | 20 " adapt this if you want to check more than one file at a time. |
21 " put command line options in .splintrc or ~/.splintrc | 21 " put command line options in .splintrc or ~/.splintrc |
22 CompilerSet makeprg=splint\ % | 22 CompilerSet makeprg=splint\ %:S |
23 | 23 |
24 " Note: when using the new array bounds checking flags: Each warning | 24 " Note: when using the new array bounds checking flags: Each warning |
25 " usually has several lines and several references to source code mostly | 25 " usually has several lines and several references to source code mostly |
26 " within one or two lines (see sample warning below). The easiest way | 26 " within one or two lines (see sample warning below). The easiest way |
27 " not to mess up file name detection and not to jump to all positions is | 27 " not to mess up file name detection and not to jump to all positions is |