annotate runtime/compiler/bcc.vim @ 20751:d9a2e5dcfd9f
v8.2.0928
patch 8.2.0928: many type casts are used for vim_strnsave()
Commit: https://github.com/vim/vim/commit/df44a27b53586fccfc6a3aedc89061fdd9a515ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 7 20:49:05 2020 +0200
patch 8.2.0928: many type casts are used for vim_strnsave()
Problem: Many type casts are used for vim_strnsave().
Solution: Make the length argument size_t instead of int. (Ken Takata,
closes #5633) Remove some type casts.
author |
Bram Moolenaar <Bram@vim.org> |
date |
Sun, 07 Jun 2020 21:00:03 +0200 |
parents |
3fc0f57ecb91 |
children |
e1df51f68736 |
rev |
line source |
7
|
1 " Vim compiler file
|
|
2 " Compiler: bcc - Borland C
|
|
3 " Maintainer: Emile van Raaij (eraaij@xs4all.nl)
|
|
4 " Last Change: 2004 Mar 27
|
|
5
|
|
6 if exists("current_compiler")
|
|
7 finish
|
|
8 endif
|
|
9 let current_compiler = "bcc"
|
|
10
|
|
11 if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
12 command -nargs=* CompilerSet setlocal <args>
|
|
13 endif
|
|
14
|
|
15 " A workable errorformat for Borland C
|
|
16 CompilerSet errorformat=%*[^0-9]%n\ %f\ %l:\ %m
|
|
17
|
|
18 " default make
|
|
19 CompilerSet makeprg=make
|