On 14 Jun 2012 at 11:59, [email protected] wrote:
>
> TEST.PAS(1): Error 36: BEGIN expected.
....
> I've first tried weaving my own errorformat string and prepend/append/
> replace the built-in default, but it made no difference (if my format
> string was correct) - apparently VIM contains some defaults that match
> just fine.
>
Hmm... after a day of fiddling I wrote this, and just after clicking 
"send", it occurred to me that maybe VIM is parsing the string 
"Error" as a filename. So I tried again my custom efm string, and I 
notice that the misbehavior is now different. 

My custom efm pattern setting command is

set efm=%f\(%l\):\ Error\ %n:\ %m

VIM now says this:

"TEST.PAS(1)^MTEST.PAS(1)^MTEST.PAS" [access denied]
(3/5) error  36: BEGIN expected.

So now the %n and %m are parsed correctly, but the leading 
TEST.PAS(1) does not get split into %f and %l , and there are some 
carriage returns inserted (the resulting %f looks garbled).
This is weird... any ideas?

Frank Rysanek

-- 
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

Reply via email to