Wednesday, February 26, 2014

Need help about CompilerSet errorformat

I write a compiler plugin for Inno Setup, the following is the content of
iss.vim:

> " Vim compiler file
> " Compiler: iscc (Inno Setup Compiler)
> " Maintainer: Levski Weng
> <
> levskiweng@gmail.com
> >
> " Last Change: 2014 Feb 26
>
> if exists("current_compiler")
> finish
> endif
> let current_compiler = "iss"
>
> if exists(":CompilerSet") != 2 " older Vim always used :setlocal
> command -nargs=* CompilerSet setlocal
> <args>
> endif
>
> CompilerSet makeprg=iscc\ %
>
> 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):


> Error on line 37 in
> C:\Users\wengsq\Desktop\DailyBuildSystem\relative_files\CDMS-agent-auto-installer\setup.iss:
> Column 1:
> Identifier expected.

Is anything wrong with my errorformat?

Any suggestion will be appreciated. Thanks in advanced.



--
View this message in context: http://vim.1045645.n5.nabble.com/Need-help-about-CompilerSet-errorformat-tp5720668.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: