Mercurial > vim
annotate runtime/compiler/g95.vim @ 15681:ef9c89680e7f v8.1.0848
patch 8.1.0848: cannot build with Ruby 1.8
commit https://github.com/vim/vim/commit/b191be2f0000bf1de09a79226cfd405d9387caa3
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 30 21:00:12 2019 +0100
patch 8.1.0848: cannot build with Ruby 1.8
Problem: Cannot build with Ruby 1.8. (Tom G. Christensen)
Solution: Use rb-str_new2(). (Yasuhiro Matsumoto, closes https://github.com/vim/vim/issues/3883,
closes #3884)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 30 Jan 2019 21:15:06 +0100 |
parents | d1e4abe8342c |
children | e1df51f68736 |
rev | line source |
---|---|
2751 | 1 " Compiler: G95 |
2 " Maintainer: H Xu <xuhdev@gmail.com> | |
3 " Version: 0.1.3 | |
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=3492 |
6 " https://bitbucket.org/xuhdev/compiler-g95.vim | |
7 " License: Same as Vim | |
8 | |
9 if exists('current_compiler') | |
10 finish | |
11 endif | |
12 let current_compiler = 'g95' | |
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 \%AIn\ file\ %f:%l, | |
22 \%-C%p1, | |
23 \%-Z%trror:\ %m, | |
24 \%-Z%tarning\ (%n):\ %m, | |
25 \%-C%.%# | |
3496
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
26 |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
27 let &cpo = s:keepcpo |
d1e4abe8342c
Fixed compatible mode in most runtime files.
Bram Moolenaar <bram@vim.org>
parents:
2751
diff
changeset
|
28 unlet s:keepcpo |