annotate runtime/tools/mve.txt @ 40:01573c245f15

fix for remote editor
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Sat, 18 Dec 2010 18:47:04 +0900
parents 76efa0be13f1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
1 [ The mve awk script was posted on the vimdev mailing list ]
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
2
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
3 From: jimmer@barney.mdhc.mdc.com (J. McGlasson)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
4 Date: Mon, 31 Mar 1997 13:16:49 -0700 (Mar)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
5
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
6 My compiler (SGI MIPSpro C compiler - IRIX 6.4) works like this.
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
7 I have written a script mve (make vim errors), through which I pipe my make
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
8 output, which translates output of the following form:
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
9
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
10 cfe: Error: syntax.c, line 4: Syntax Error
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
11 int i[12;
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
12 ------------^
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
13
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
14 into:
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
15
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
16 cl.c, line 4, col 12 : Syntax Error
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
17
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
18 (in vim notation: %f, line %l, col %c : %m)
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
19
76efa0be13f1 Initial revision
atsuki
parents:
diff changeset
20 You might be able to tailor this for your compiler's output.