Mercurial > vim
view src/po/fixfilenames.vim @ 29477:6387e75a4a6b v9.0.0080
patch 9.0.0080: compiler warning for size_t to int conversion
Commit: https://github.com/vim/vim/commit/0494789ecee9e2a973f48426f7a69fb96378fa8a
Author: Mike Williams <mikew@globalgraphics.com>
Date: Tue Jul 26 16:03:42 2022 +0100
patch 9.0.0080: compiler warning for size_t to int conversion
Problem: Compiler warning for size_t to int conversion.
Solution: Add type casts. (Mike Williams, closes https://github.com/vim/vim/issues/10795)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 26 Jul 2022 17:15:03 +0200 |
parents | aa91480771fe |
children | 04563887d70e |
line wrap: on
line source
" Invoked with the name "vim.pot" and a list of Vim script names. " Converts them to a .js file, stripping comments, so that xgettext works. set shortmess+=A for name in argv()[1:] let jsname = fnamemodify(name, ":t:r") .. ".js" exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+" endfor write last quit