Mercurial > vim
view src/pathdef.sh @ 21683:bb4f55d20951 v8.2.1391
patch 8.2.1391: Vim9: no error for shadowing a script function
Commit: https://github.com/vim/vim/commit/fa211f3c6d27cf962b28f10e3c18b12dde4d20c3
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 7 22:00:26 2020 +0200
patch 8.2.1391: Vim9: no error for shadowing a script function
Problem: Vim9: no error for shadowing a script function.
Solution: Check for already defined items. (closes https://github.com/vim/vim/issues/6652)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Aug 2020 22:15:04 +0200 |
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: