aboutsummaryrefslogtreecommitdiff
path: root/runtime/compiler
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-02 19:22:23 +0200
committerGitHub <noreply@github.com>2019-08-02 19:22:23 +0200
commita270c33b3a49d7a47b1bb6e6b9eb2073d98e0602 (patch)
tree7561e413d75fdb008c2bdf81dc63f31806116d5c /runtime/compiler
parent1aedb9ed00e40f54bb3303ab6d2da4a0f6e2fbb6 (diff)
parente2e220256e7e62b6b7df9ba65cd3fdf32390652b (diff)
downloadrneovim-a270c33b3a49d7a47b1bb6e6b9eb2073d98e0602.tar.gz
rneovim-a270c33b3a49d7a47b1bb6e6b9eb2073d98e0602.tar.bz2
rneovim-a270c33b3a49d7a47b1bb6e6b9eb2073d98e0602.zip
Merge #10675 from justinmk/vim-runtime
fix #10572
Diffstat (limited to 'runtime/compiler')
-rw-r--r--runtime/compiler/cs.vim10
-rw-r--r--runtime/compiler/erlang.vim4
-rw-r--r--runtime/compiler/fortran_cv.vim2
-rw-r--r--runtime/compiler/gcc.vim10
-rw-r--r--runtime/compiler/jikes.vim4
-rw-r--r--runtime/compiler/onsgmls.vim4
-rw-r--r--runtime/compiler/perl.vim4
-rw-r--r--runtime/compiler/rustc.vim2
-rw-r--r--runtime/compiler/splint.vim4
-rw-r--r--runtime/compiler/xmlwf.vim4
10 files changed, 25 insertions, 23 deletions
diff --git a/runtime/compiler/cs.vim b/runtime/compiler/cs.vim
index 4cc1784678..4f6dd3cdfd 100644
--- a/runtime/compiler/cs.vim
+++ b/runtime/compiler/cs.vim
@@ -1,8 +1,8 @@
" Vim compiler file
-" Compiler: Microsoft Visual Studio C#
-" Maintainer: Zhou YiChao (broken.zhou@gmail.com)
-" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
-" Last Change: 2012 Apr 30
+" Compiler: Microsoft Visual Studio C#
+" Maintainer: Yichao Zhou (broken.zhou@gmail.com)
+" Previous Maintainer: Joseph H. Yao (hyao@sina.com)
+" Last Change: Jul 22, 2019
if exists("current_compiler")
finish
@@ -20,7 +20,7 @@ CompilerSet errorformat+=%f(%l\\,%v):\ %t%*[^:]:\ %m,
\%trror%*[^:]:\ %m,
\%tarning%*[^:]:\ %m
-CompilerSet makeprg=csc\ %
+CompilerSet makeprg=csc\ %:S
let &cpo = s:keepcpo
unlet s:keepcpo
diff --git a/runtime/compiler/erlang.vim b/runtime/compiler/erlang.vim
index e177a279c5..e22887e05e 100644
--- a/runtime/compiler/erlang.vim
+++ b/runtime/compiler/erlang.vim
@@ -1,13 +1,13 @@
" Vim compiler file
" Compiler: Erlang
" Maintainer: Dmitry Vasiliev <dima at hlabs dot org>
-" Last Change: 2012-02-13
+" Last Change: 2019 Jul 23
if exists("current_compiler")
finish
endif
let current_compiler = "erlang"
-CompilerSet makeprg=erlc\ -Wall\ %
+CompilerSet makeprg=erlc\ -Wall\ %:S
CompilerSet errorformat=%f:%l:\ %m
diff --git a/runtime/compiler/fortran_cv.vim b/runtime/compiler/fortran_cv.vim
index 089d3b27c2..bc217bdc66 100644
--- a/runtime/compiler/fortran_cv.vim
+++ b/runtime/compiler/fortran_cv.vim
@@ -22,7 +22,7 @@ CompilerSet errorformat=
\%-Z%p%^%.%#,
\%-G%.%#,
" Compiler call
-CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %
+CompilerSet makeprg=df\ /nologo\ /noobj\ /c\ %:S
" Visual fortran defaults to printing output on stderr
" Adjust option shellpipe accordingly
diff --git a/runtime/compiler/gcc.vim b/runtime/compiler/gcc.vim
index 1af568de57..30e5149f9f 100644
--- a/runtime/compiler/gcc.vim
+++ b/runtime/compiler/gcc.vim
@@ -2,6 +2,8 @@
" Compiler: GNU C Compiler
" Previous Maintainer: Nikolai Weibull <now@bitwi.se>
" Latest Revision: 2010-10-14
+" changed pattern for entering/leaving directories
+" by Daniel Hahler, 2019 Jul 12
" added line suggested by Anton Lindqvist 2016 Mar 31
if exists("current_compiler")
@@ -27,10 +29,10 @@ CompilerSet errorformat=
\%f:%l:\ %m,
\%f:\\(%*[^\\)]\\):\ %m,
\\"%f\"\\,\ line\ %l%*\\D%c%*[^\ ]\ %m,
- \%D%*\\a[%*\\d]:\ Entering\ directory\ [`']%f',
- \%X%*\\a[%*\\d]:\ Leaving\ directory\ [`']%f',
- \%D%*\\a:\ Entering\ directory\ [`']%f',
- \%X%*\\a:\ Leaving\ directory\ [`']%f',
+ \%D%*\\a[%*\\d]:\ Entering\ directory\ %*[`']%f',
+ \%X%*\\a[%*\\d]:\ Leaving\ directory\ %*[`']%f',
+ \%D%*\\a:\ Entering\ directory\ %*[`']%f',
+ \%X%*\\a:\ Leaving\ directory\ %*[`']%f',
\%DMaking\ %*\\a\ in\ %f
if exists('g:compiler_gcc_ignore_unmatched_lines')
diff --git a/runtime/compiler/jikes.vim b/runtime/compiler/jikes.vim
index 5125128535..2d4500e894 100644
--- a/runtime/compiler/jikes.vim
+++ b/runtime/compiler/jikes.vim
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: Jikes
" Maintainer: Dan Sharp <dwsharp at hotmail dot com>
-" Last Change: 20 Jan 2009
+" Last Change: 2019 Jul 23
" URL: http://dwsharp.users.sourceforge.net/vim/compiler
if exists("current_compiler")
@@ -14,5 +14,5 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
endif
" Jikes defaults to printing output on stderr
-CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%\"
+CompilerSet makeprg=jikes\ -Xstdout\ +E\ \"%:S\"
CompilerSet errorformat=%f:%l:%v:%*\\d:%*\\d:%*\\s%m
diff --git a/runtime/compiler/onsgmls.vim b/runtime/compiler/onsgmls.vim
index 130d3e21b3..68925ef459 100644
--- a/runtime/compiler/onsgmls.vim
+++ b/runtime/compiler/onsgmls.vim
@@ -1,7 +1,7 @@
" Vim compiler file
" Compiler: onsgmls
" Maintainer: Robert Rowsome <rowsome@wam.umd.edu>
-" Last Change: 2004 Mar 27
+" Last Change: 2019 Jul 23
if exists("current_compiler")
finish
@@ -15,7 +15,7 @@ endif
let s:cpo_save = &cpo
set cpo-=C
-CompilerSet makeprg=onsgmls\ -s\ %
+CompilerSet makeprg=onsgmls\ -s\ %:S
CompilerSet errorformat=onsgmls:%f:%l:%c:%t:%m,
\onsgmls:%f:%l:%c:%m
diff --git a/runtime/compiler/perl.vim b/runtime/compiler/perl.vim
index 583c6c3787..a857caed8f 100644
--- a/runtime/compiler/perl.vim
+++ b/runtime/compiler/perl.vim
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: Perl syntax checks (perl -Wc)
" Maintainer: Christian J. Robinson <heptite@gmail.com>
-" Last Change: 2006 Aug 13
+" Last Change: 2019 Jul 22
if exists("current_compiler")
finish
@@ -27,7 +27,7 @@ else
let s:taintopt = ''
endif
-exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %'
+exe 'CompilerSet makeprg=perl\ -' . s:warnopt . s:taintopt . 'c\ %:S'
CompilerSet errorformat=
\%-G%.%#had\ compilation\ errors.,
diff --git a/runtime/compiler/rustc.vim b/runtime/compiler/rustc.vim
index c27bdc9c0c..5e5b9a4e0a 100644
--- a/runtime/compiler/rustc.vim
+++ b/runtime/compiler/rustc.vim
@@ -19,7 +19,7 @@ endif
if exists("g:rustc_makeprg_no_percent") && g:rustc_makeprg_no_percent != 0
CompilerSet makeprg=rustc
else
- CompilerSet makeprg=rustc\ \%
+ CompilerSet makeprg=rustc\ \%:S
endif
" Old errorformat (before nightly 2016/08/10)
diff --git a/runtime/compiler/splint.vim b/runtime/compiler/splint.vim
index 6239ca7139..3d7ada6d1d 100644
--- a/runtime/compiler/splint.vim
+++ b/runtime/compiler/splint.vim
@@ -2,7 +2,7 @@
" Compiler: splint/lclint (C source code checker)
" Maintainer: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
" Splint Home: http://www.splint.org/
-" Last Change: 2005 Apr 21
+" Last Change: 2019 Jul 23
" $Revision: 1.3 $
if exists("current_compiler")
@@ -19,7 +19,7 @@ set cpo-=C
" adapt this if you want to check more than one file at a time.
" put command line options in .splintrc or ~/.splintrc
-CompilerSet makeprg=splint\ %
+CompilerSet makeprg=splint\ %:S
" Note: when using the new array bounds checking flags: Each warning
" usually has several lines and several references to source code mostly
diff --git a/runtime/compiler/xmlwf.vim b/runtime/compiler/xmlwf.vim
index cd2e2bb6ad..3de9d08d55 100644
--- a/runtime/compiler/xmlwf.vim
+++ b/runtime/compiler/xmlwf.vim
@@ -1,7 +1,7 @@
" Vim Compiler File
" Compiler: xmlwf
" Maintainer: Robert Rowsome <rowsome@wam.umd.edu>
-" Last Change: 2004 Mar 27
+" Last Change: 2019 Jul 23
if exists("current_compiler")
finish
@@ -15,7 +15,7 @@ if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
-CompilerSet makeprg=xmlwf\ %
+CompilerSet makeprg=xmlwf\ %:S
CompilerSet errorformat=%f:%l%c:%m