MarcWeber wrote
>> > CompilerSet errorformat=%EError\ on\ line\ %l\ in %f:\ Column\ %c:,%Z%m
>> However, the errorformat can't recognize the error message output by the
>> Inno Setup compiler. The example error message is (two lines per error):
> You need multilen error format descriptions.
> :h errorformat
>
> => javac sample
>
> :setl efm=%A%f:%l:\ %m,%-Z%p^,%-C%.%#
>
>
> See docs for
> %A start of a multi-line message (unspecified type)
> %C continuation of a multi-line message
>
> Thus try somethingc like this (untested)
>
> %A%f:,%CColumn\ %l:,%Z%m
>
> mind the \ before the space.
Thanks for your suggestion. Finally I solve the problem by changing the
errorformat string to the following:
> CompilerSet errorformat=
> \%EError%*\\son%*\\sline%*\\s%l%*\\sin%*\\s%f:%*\\sColumn%*\\s%c:,%Z%m
I've no idea why errorformat didn't recognize the \<white space>, when I
replace all the \<white space> with %*\\s, it works perfectly.
Could anyone explain this? I use Vim 7.3 on Windows. I could post my _vimrc
here if you want. Thanks
--
View this message in context: http://vim.1045645.n5.nabble.com/Need-help-about-CompilerSet-errorformat-tp5720668p5720693.html
Sent from the Vim - General mailing list archive at Nabble.com.
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment