Mercurial > vim
view src/pathdef.sh @ 19623:2fee087c94cb v8.2.0368
patch 8.2.0368: Vim9: import that redefines local variable does not fail
Commit: https://github.com/vim/vim/commit/5269bd2a724fdb8c16c9635ef744a670f1bc8bd5
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 9 19:25:27 2020 +0100
patch 8.2.0368: Vim9: import that redefines local variable does not fail
Problem: Vim9: import that redefines local variable does not fail.
Solution: Check for already defined symbols.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Mar 2020 19:30:04 +0100 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: