blob: 34c33cfaf87fe9f0e4727ae954ce0b6d2169377c [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim compiler file
2" Compiler: Essential Lahey Fortran 90
3" Probably also works for Lahey Fortran 90
4" URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim
5" Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/>
6" Version: 0.2
7" Last Change: 2004 Mar 27
8
9if exists("current_compiler")
10 finish
11endif
12let current_compiler = "fortran_elf90"
13
14if exists(":CompilerSet") != 2 " older Vim always used :setlocal
15 command -nargs=* CompilerSet setlocal <args>
16endif
17
18let s:cposet=&cpoptions
19set cpoptions-=C
20
21CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f,
22 \%C%tARNING\ --%m,
23 \%C%tATAL\ --%m,
24 \%C%tBORT\ --%m,
25 \%+C%\\l%.%#\.,
26 \%C%p\|,
27 \%C%.%#,
28 \%Z%$,
29 \%-G%.%#
30CompilerSet makeprg=elf90
31
32let &cpoptions=s:cposet
33unlet s:cposet