view runtime/spell/check/main.aap @ 27271:b760dfee1bd7 v8.2.4164

patch 8.2.4164: error in legacy code for function shadowing variable Commit: https://github.com/vim/vim/commit/6f0ddbf00dfc4c6eb70aa4abc415cad7aba46b6a Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 20 19:56:49 2022 +0000 patch 8.2.4164: error in legacy code for function shadowing variable Problem: Error in legacy code for function shadowing variable. Solution: Only give the error in Vim9 script.
author Bram Moolenaar <Bram@vim.org>
date Thu, 20 Jan 2022 21:00:06 +0100
parents 6c480c4aa7b0
children
line wrap: on
line source

# Aap recipe for a dummy spell file.
# This is used to check if the .spl file format changes.

# Use a freshly compiled Vim if it exists.
@if os.path.exists('../../../src/vim'):
    VIM = ../../../src/vim
@else:
    :progsearch VIM vim

all: check.latin1.spl

check.latin1.spl : $VIM check_aa.aff check_aa.dic check_bb.aff check_bb.dic
        :sys $VIM -u NONE -e -c "mkspell! check check_aa check_bb" -c q

# vim: set sts=4 sw=4 :