Mercurial > hg > RemoteEditor > vim7
annotate runtime/compiler/gcc.vim @ 49:000769ce6c9d default tip
Added tag v7-3-618 for changeset 67300faee616
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 01 Aug 2012 18:08:37 +0900 |
parents | 67300faee616 |
children |
rev | line source |
---|---|
0 | 1 " Vim compiler file |
2 " Compiler: GNU C Compiler | |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | |
39 | 4 " Latest Revision: 2010-10-14 |
0 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "gcc" | |
10 | |
11 let s:cpo_save = &cpo | |
48 | 12 set cpo&vim |
0 | 13 |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 CompilerSet errorformat= |
39 | 15 \%*[^\"]\"%f\"%*\\D%l:%c:\ %m, |
0 | 16 \%*[^\"]\"%f\"%*\\D%l:\ %m, |
39 | 17 \\"%f\"%*\\D%l:%c:\ %m, |
0 | 18 \\"%f\"%*\\D%l:\ %m, |
19 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once, | |
20 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.), | |
39 | 21 \%f:%l:%c:\ %trror:\ %m, |
22 \%f:%l:%c:\ %tarning:\ %m, | |
23 \%f:%l:%c:\ %m, | |
24 \%f:%l:\ %trror:\ %m, | |
25 \%f:%l:\ %tarning:\ %m, | |
0 | 26 \%f:%l:\ %m, |
27 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m, | |
28 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f', | |
29 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f', | |
30 \%D%*\\a:\ Entering\ directory\ `%f', | |
31 \%X%*\\a:\ Leaving\ directory\ `%f', | |
32 \%DMaking\ %*\\a\ in\ %f | |
33 | |
34 if exists('g:compiler_gcc_ignore_unmatched_lines') | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
35 CompilerSet errorformat+=%-G%.%# |
0 | 36 endif |
37 | |
38 let &cpo = s:cpo_save | |
39 unlet s:cpo_save |