I am trying to get Splint output to be parsed by gVim errorformat.  I
have used the following error format with Splint 3.1.1 and Vim 7.0.152:

:set errorformat=%A%f(%l\\,%c):\ %m,%+C\ %.%#

This seems to work pretty well, except files with Windows (I'm using
gVim on Windows XP) paths are not recognized using %f (or the
errorformat is not quite right).  For example "foobar.c(line,column):
error message" IS recognized and the error is shown using :cn and :cp.
The line containing "C:\foo\bar\foobar.h(line,colum): error message" is
NOT recognized.

Has anyone had any experience in this area or can anyone lend some
insight?



Second question: Can I save the current makeprg, change the makeprg to
"splint," run make, then change the makeprg back using a vim function?
I've seen the local errorformat used which helps with the errorformat,
but I haven't seen a "local makeprg."



Thanks,

--
Keith Prickett

Reply via email to