Mercurial > vim
annotate runtime/compiler/fortran_F.vim @ 30817:e95794dadf52 v9.0.0743
patch 9.0.0743: starting cscope on Unix does not quote the arguments right
Commit: https://github.com/vim/vim/commit/66b8d2a89efb6bd482e3160c7494e646e31aea27
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 13 16:34:30 2022 +0100
patch 9.0.0743: starting cscope on Unix does not quote the arguments right
Problem: Starting cscope on Unix does not quote the arguments correctly.
(Gary Johnson)
Solution: Move the final quote after the arguments.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Oct 2022 17:45:03 +0200 |
parents | 3fc0f57ecb91 |
children | e1df51f68736 |
rev | line source |
---|---|
7 | 1 " Vim compiler file |
2 " Compiler: Fortran Company/NAGWare F compiler | |
3 " URL: http://www.unb.ca/chem/ajit/compiler/fortran_F.vim | |
4 " Maintainer: Ajit J. Thakkar (ajit AT unb.ca); <http://www.unb.ca/chem/ajit/> | |
5 " Version: 0.2 | |
6 " Last Change: 2004 Mar 27 | |
7 | |
8 if exists("current_compiler") | |
9 finish | |
10 endif | |
11 let current_compiler = "fortran_F" | |
12 | |
13 if exists(":CompilerSet") != 2 " older Vim always used :setlocal | |
14 command -nargs=* CompilerSet setlocal <args> | |
15 endif | |
16 | |
17 let s:cposet=&cpoptions | |
18 set cpoptions-=C | |
19 | |
20 CompilerSet errorformat=%trror:\ %f\\,\ line\ %l:%m, | |
21 \%tarning:\ %f\\,\ line\ %l:%m, | |
22 \%tatal\ Error:\ %f\\,\ line\ %l:%m, | |
23 \%-G%.%# | |
24 CompilerSet makeprg=F | |
25 | |
26 let &cpoptions=s:cposet | |
27 unlet s:cposet |