Mercurial > vim
view ci/if_ver-1.vim @ 20336:2fd980fb9ab3 v8.2.0723
patch 8.2.0723: Vim9: nested constant expression not evaluated compile time
Commit: https://github.com/vim/vim/commit/1c74721233dac057778f9aef9ae20f49d934ec22
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 9 18:28:34 2020 +0200
patch 8.2.0723: Vim9: nested constant expression not evaluated compile time
Problem: Vim9: nested constant expression not evaluated compile time.
Solution: Use compile_expr1() for parenthesis.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 09 May 2020 18:30:03 +0200 |
parents | 27ff44268da5 |
children | 0878f0fd349b |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(_VERSION) echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif