Mercurial > vim
view runtime/compiler/racotest.vim @ 30940:5bc99d85f773 v9.0.0804
patch 9.0.0804: crash when trying to divide a number by -1
Commit: https://github.com/vim/vim/commit/cdef1cefa2a440911c727558562f83ed9b00e16b
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Oct 20 14:17:18 2022 +0100
patch 9.0.0804: crash when trying to divide a number by -1
Problem: Crash when trying to divice the largest negative number by -1.
Solution: Handle this case specifically.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 20 Oct 2022 15:30:03 +0200 |
parents | e37754a13778 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: raco test (Racket command-line tools) " Maintainer: D. Ben Knoble <ben.knoble+github@gmail.com> " URL: https://github.com/benknoble/vim-racket " Last Change: 2022 Aug 12 let current_compiler = 'racotest' if exists(":CompilerSet") != 2 command -nargs=* CompilerSet setlocal <args> endif CompilerSet makeprg=raco\ test\ % CompilerSet errorformat=location:%f:%l:%c