Mercurial > vim
view src/pathdef.sh @ 22494:4c21f7f6f9e3 v8.2.1795
patch 8.2.1795: Vim9: operators && and || have a confusing result
Commit: https://github.com/vim/vim/commit/2bb2658bef9fb25b320f87147261b7154494a86f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 3 22:52:39 2020 +0200
patch 8.2.1795: Vim9: operators && and || have a confusing result
Problem: Vim9: operators && and || have a confusing result.
Solution: Make the result a boolean.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Oct 2020 23: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: