view src/pathdef.sh @ 23823:262ab14b27db v8.2.2453

patch 8.2.2453: Vim9: a variable name with "->" in the next line doesn't work Commit: https://github.com/vim/vim/commit/148be9bc1cca16ce47ad21563f5835682001f9a2 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 2 21:33:52 2021 +0100 patch 8.2.2453: Vim9: a variable name with "->" in the next line doesn't work Problem: Vim9: a variable name with "->" in the next line doesn't work. Solution: Recognize a variable name by itself. (closes https://github.com/vim/vim/issues/7770)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Feb 2021 21:45: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: