Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/vim71/compiler/fortran_cv.vim
diff options
context:
space:
mode:
authorGeroge Hunt <georgejhunt@gmail.com>2011-02-26 20:19:01 (GMT)
committer Geroge Hunt <georgejhunt@gmail.com>2011-02-26 20:19:01 (GMT)
commitfb6211451e0aa64e36ba309934746c12f9ebd869 (patch)
tree2c8f7cbb26f97654a9d7b6b6b26a82a53bc64f07 /vim71/compiler/fortran_cv.vim
create initial snapshotHEADmaster
Diffstat (limited to 'vim71/compiler/fortran_cv.vim')
-rw-r--r--vim71/compiler/fortran_cv.vim30
1 files changed, 30 insertions, 0 deletions
diff --git a/vim71/compiler/fortran_cv.vim b/vim71/compiler/fortran_cv.vim
new file mode 100644
index 0000000..089d3b2
--- /dev/null
+++ b/vim71/compiler/fortran_cv.vim
@@ -0,0 +1,30 @@
+" Vim compiler file
+" Compiler: Compaq Visual Fortran
+" Maintainer: Joh.-G. Simon (johann-guenter.simon@linde-le.com)
+" Last Change: 11/05/2002
+
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "fortran_cv"
+
+if exists(":CompilerSet") != 2 " older Vim always used :setlocal
+ command -nargs=* CompilerSet setlocal <args>
+endif
+
+let s:cposet = &cpoptions
+set cpoptions-=C
+
+" A workable errorformat for Compaq Visual Fortran
+CompilerSet errorformat=
+ \%E%f(%l)\ :\ Error:%m,
+ \%W%f(%l)\ :\ Warning:%m,
+ \%-Z%p%^%.%#,
+ \%-G%.%#,
+" Compiler call
+CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %
+" Visual fortran defaults to printing output on stderr
+" Adjust option shellpipe accordingly
+
+let &cpoptions = s:cposet
+unlet s:cposet