view src/pathdef.sh @ 22381:6fe9536694ff v8.2.1739

patch 8.2.1739: Vim9: crash when compiling a manually defined function Commit: https://github.com/vim/vim/commit/9c4f55204fdf8909f4e3515a32a542044bf9f943 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 25 21:47:28 2020 +0200 patch 8.2.1739: Vim9: crash when compiling a manually defined function Problem: Vim9: crash when compiling a manually defined function. (Antony Scriven) Solution: Check that the script ID is positive. (closes #7012)
author Bram Moolenaar <Bram@vim.org>
date Fri, 25 Sep 2020 22:00: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: