Mercurial > vim
annotate runtime/compiler/ifort.vim @ 25326:cfbf40f749b0 v8.2.3200
patch 8.2.3200: Vim9: hard to guess where a type error is given
Commit: https://github.com/vim/vim/commit/7a3fe3e180bdbce8f193abdf399559c5154bdaae
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Jul 22 14:58:47 2021 +0200
patch 8.2.3200: Vim9: hard to guess where a type error is given
Problem: Vim9: hard to guess where a type error is given.
Solution: Add the function name where possible. (closes https://github.com/vim/vim/issues/8608)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 22 Jul 2021 15:00:05 +0200 |
parents | d1e4abe8342c |
children | e1df51f68736 |
rev | line source |
---|---|
2751 | 1 " Compiler: Intel Fortran Compiler |
2 " Maintainer: H Xu <xuhdev@gmail.com> | |
3 " Version: 0.1.1 | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
4 " Last Change: 2012 Apr 30 |
2751 | 5 " Homepage: http://www.vim.org/scripts/script.php?script_id=3497 |
6 " https://bitbucket.org/xuhdev/compiler-ifort.vim | |
7 " License: Same as Vim | |
8 | |
9 if exists('current_compiler') | |
10 finish | |
11 endif | |
12 let current_compiler = 'ifort' | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
13 let s:keepcpo= &cpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
14 set cpo&vim |
2751 | 15 |
16 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
17 command -nargs=* CompilerSet setlocal <args> | |
18 endif | |
19 | |
20 CompilerSet errorformat= | |
21 \%A%f(%l):\ %trror\ \#%n:\ %m, | |
22 \%A%f(%l):\ %tarning\ \#%n:\ %m, | |
23 \%-Z%p^, | |
24 \%-G%.%# | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
25 |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
26 let &cpo = s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
27 unlet s:keepcpo |