blob: dcac2a7c9a89ad9bdb90b0232797d3b22f17b2d1 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim compiler file
2" Compiler: g77 (GNU Fortran)
3" Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Bram Moolenaar5c736222010-01-06 20:54:52 +01004" Last Change: $Date: 2004/06/13 18:17:36 $
Doug Kearns408281e2024-04-04 22:00:58 +02005" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
Bram Moolenaar5c736222010-01-06 20:54:52 +01006" $Revision: 1.1 $
Bram Moolenaar071d4272004-06-13 20:20:40 +00007
8if exists("current_compiler")
9 finish
10endif
11let current_compiler = "fortran_g77"
12
Bram Moolenaar071d4272004-06-13 20:20:40 +000013let s:cpo_save = &cpo
14set cpo-=C
15
16" Note: The errorformat assumes GNU make
17
18" sample multiline errors (besides gcc backend one-liners):
19" gev.f:14:
20" parameter UPLO = 'Upper-triangle'
21" ^
22" Unsupported VXT statement at (^)
23" gev.f:6:
24" integer desca( * ), descb( * )
25" 1
26" gev.f:19: (continued):
27" end subroutine
28" 2
29" Invalid declaration of or reference to symbol `desca' at (2) [initially seen at (1)]
30
31CompilerSet errorformat=
32 \%Omake:\ %r,
33 \%f:%l:\ warning:\ %m,
34 \%A%f:%l:\ (continued):,
35 \%W%f:%l:\ warning:,
36 \%A%f:%l:\ ,
37 \%-C\ \ \ %p%*[0123456789^]%.%#,
38 \%-C\ \ \ %.%#,
39 \%D%*\\a[%*\\d]:\ Entering\ directory\ `%f',
40 \%X%*\\a[%*\\d]:\ Leaving\ directory\ `%f',
41 \%DMaking\ %*\\a\ in\ %f,
42 \%Z%m
43
44let &cpo = s:cpo_save
45unlet s:cpo_save