annotate runtime/compiler/racotest.vim @ 31657:4473453c09b1 v9.0.1161

patch 9.0.1161: Coverity warns for using strcpy() Commit: https://github.com/vim/vim/commit/c8ab30a349ee45ef6c3b6af8ee5ff53d2f7bf891 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 9 11:35:47 2023 +0000 patch 9.0.1161: Coverity warns for using strcpy() Problem: Coverity warns for using strcpy(). Solution: Call a function to set the function name.
author Bram Moolenaar <Bram@vim.org>
date Mon, 09 Jan 2023 12:45:05 +0100
parents e37754a13778
children e1df51f68736
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29996
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 " Vim compiler file
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 " Compiler: raco test (Racket command-line tools)
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 " Maintainer: D. Ben Knoble <ben.knoble+github@gmail.com>
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 " URL: https://github.com/benknoble/vim-racket
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 " Last Change: 2022 Aug 12
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 let current_compiler = 'racotest'
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
9 if exists(":CompilerSet") != 2
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 command -nargs=* CompilerSet setlocal <args>
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 endif
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
13 CompilerSet makeprg=raco\ test\ %
e37754a13778 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 CompilerSet errorformat=location:%f:%l:%c