annotate runtime/compiler/gcc.vim @ 4891:4c42efb4c098 v7.3.1191

updated for version 7.3.1191 Problem: Backreference to previous line doesn't work. (Lech Lorens) Solution: Implement looking in another line.
author Bram Moolenaar <bram@vim.org>
date Fri, 14 Jun 2013 20:31:28 +0200
parents 91e53bcb7946
children 7818ca6de3d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
1 " Vim compiler file
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
2 " Compiler: GNU C Compiler
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
2608
7d8af31066c8 Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 2236
diff changeset
4 " Latest Revision: 2010-10-14
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
5
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
6 if exists("current_compiler")
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
7 finish
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
8 endif
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
9 let current_compiler = "gcc"
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
10
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
11 let s:cpo_save = &cpo
3237
91e53bcb7946 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2608
diff changeset
12 set cpo&vim
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
13
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 1213
diff changeset
14 CompilerSet errorformat=
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1621
diff changeset
15 \%*[^\"]\"%f\"%*\\D%l:%c:\ %m,
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
16 \%*[^\"]\"%f\"%*\\D%l:\ %m,
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1621
diff changeset
17 \\"%f\"%*\\D%l:%c:\ %m,
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
18 \\"%f\"%*\\D%l:\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
19 \%-G%f:%l:\ %trror:\ (Each\ undeclared\ identifier\ is\ reported\ only\ once,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
20 \%-G%f:%l:\ %trror:\ for\ each\ function\ it\ appears\ in.),
2608
7d8af31066c8 Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 2236
diff changeset
21 \%f:%l:%c:\ %trror:\ %m,
2236
dc2e5ec0500d Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
22 \%f:%l:%c:\ %tarning:\ %m,
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 1621
diff changeset
23 \%f:%l:%c:\ %m,
2608
7d8af31066c8 Updated runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents: 2236
diff changeset
24 \%f:%l:\ %trror:\ %m,
2236
dc2e5ec0500d Added the undofile() function. Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2034
diff changeset
25 \%f:%l:\ %tarning:\ %m,
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
26 \%f:%l:\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
27 \\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
28 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
29 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
1213
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
30 \%D%*\\a:\ Entering\ directory\ `%f',
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
31 \%X%*\\a:\ Leaving\ directory\ `%f',
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
32 \%DMaking\ %*\\a\ in\ %f
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
33
1213
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
34 if exists('g:compiler_gcc_ignore_unmatched_lines')
1621
82b5078be2dd updated for version 7.2a
vimboss
parents: 1213
diff changeset
35 CompilerSet errorformat+=%-G%.%#
1213
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
36 endif
8906c10ecbb0 updated for version 7.1b
vimboss
parents: 839
diff changeset
37
375
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
38 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents:
diff changeset
39 unlet s:cpo_save