Mercurial > vim
annotate runtime/compiler/javac.vim @ 18118:9b7c7754ba9d v8.1.2054
patch 8.1.2054: compiler test for Perl may fail
Commit: https://github.com/vim/vim/commit/cebfcffa40c058119bc2f92f0db02dffd3f6affe
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 18 21:42:38 2019 +0200
patch 8.1.2054: compiler test for Perl may fail
Problem: Compiler test for Perl may fail.
Solution: Accept any error line number. (James McCoy, closes https://github.com/vim/vim/issues/4944)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 18 Sep 2019 21:45:03 +0200 |
parents | f7add3891e95 |
children | d4c7b3e9cd17 |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
5161
f7add3891e95
Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents:
36
diff
changeset
|
2 " Compiler: javac |
f7add3891e95
Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents:
36
diff
changeset
|
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> |
f7add3891e95
Updated runtime files. Fix NL translations.
Bram Moolenaar <bram@vim.org>
parents:
36
diff
changeset
|
4 " Last Change: 2004 Nov 27 |
7 | 5 |
6 if exists("current_compiler") | |
7 finish | |
8 endif | |
9 let current_compiler = "javac" | |
10 | |
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
12 command -nargs=* CompilerSet setlocal <args> | |
13 endif | |
14 | |
15 CompilerSet makeprg=javac | |
16 | |
17 CompilerSet errorformat=%E%f:%l:\ %m,%-Z%p^,%-C%.%#,%-G%.%# |