annotate runtime/compiler/fortran_elf90.vim @ 25038:efdb9608cc11 v8.2.3056

patch 8.2.3056: Vim9: using default value in lambda gives confusing error Commit: https://github.com/vim/vim/commit/14ded11fcad77ebf41032ec80a95d516ca9acb1c Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 26 19:25:49 2021 +0200 patch 8.2.3056: Vim9: using default value in lambda gives confusing error Problem: Vim9: using default value in lambda gives confusing error. Solution: Pass "default_args" on the first pass to get the arguments. (closes #8455)
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jun 2021 19:30:03 +0200
parents 3fc0f57ecb91
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim compiler file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Compiler: Essential Lahey Fortran 90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Probably also works for Lahey Fortran 90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_elf90.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Version: 0.2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 " Last Change: 2004 Mar 27
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if exists("current_compiler")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 let current_compiler = "fortran_elf90"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 command -nargs=* CompilerSet setlocal <args>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 let s:cposet=&cpoptions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 set cpoptions-=C
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 CompilerSet errorformat=\%ALine\ %l\\,\ file\ %f,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 \%C%tARNING\ --%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 \%C%tATAL\ --%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 \%C%tBORT\ --%m,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 \%+C%\\l%.%#\.,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 \%C%p\|,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 \%C%.%#,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 \%Z%$,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 \%-G%.%#
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 CompilerSet makeprg=elf90
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 let &cpoptions=s:cposet
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 unlet s:cposet