Mercurial > vim
view src/pathdef.sh @ 19834:2ef25a007bb7 v8.2.0473
patch 8.2.0473: variables declared in an outer scope
Commit: https://github.com/vim/vim/commit/8601545338581c01e328cdc3a72c0b12d92c54cf
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 29 15:12:15 2020 +0200
patch 8.2.0473: variables declared in an outer scope
Problem: Variables declared in an outer scope.
Solution: Decleare variables only in the scope where they are used.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 29 Mar 2020 15: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: