Install vim73
[msysgit/mtrensch.git] / share / vim / vim73 / tools / efm_filter.txt
blobd3f97f45ad0bc1a07a55c3785c192b4cedb68c64
1 [adopted from a message that Ives posted in the Vim mailing list]
3 Some compilers produce an error message that cannot be handled with
4 'errorformat' in Vim.  Following is an example of a Perl script that
5 translates one error message into something that Vim understands.
8 The compiler that generates this kind of error messages (4 lines):
10 "/tmp_mnt/cm/src/apertos/MoU/MetaCore/MetaCore/common/src/MetaCoreImp_M.cc",
11 line 50: error(3114):
12            identifier "PRIMITIVE_M" is undefined
13          return(ExecuteCore(PRIMITIVE_M,
15 You can find a small perl program at the end.
16 The way I use it is:
18 :set   errorformat=%f>%l:%c:%t:%n:%m
19 :set   makeprg=clearmake\ -C\ gnu
20 :set   shellpipe=2>&1\|\ vimccparse
22 If somebody thinks this is useful: feel free to do whatever you can think
23 of with this code.
25 -Ives
26 ____________________________________________________________
27 Ives Aerts (SW Developer)           Sony Telecom Europe
28 ives@sonytel.be                     St.Stevens Woluwestr. 55
29 `Death could create most things,    B-1130 Brussels, Belgium
30  except for plumbing.'              PHONE : +32 2 724 19 67
31          (Soul Music - T.Pratchett) FAX   : +32 2 726 26 86