Mercurial > vim
view ci/if_ver-1.vim @ 32339:2e07c2bb2f60 v9.0.1501
patch 9.0.1501: crash with nested :try and :throw in catch block
Commit: https://github.com/vim/vim/commit/3ef2e41128bbe372f4e4535429ffa4770f572623
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 30 18:50:48 2023 +0100
patch 9.0.1501: crash with nested :try and :throw in catch block
Problem: Crash with nested :try and :throw in catch block.
Solution: Jump to :endtry before returning from function. (closes https://github.com/vim/vim/issues/12245)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 30 Apr 2023 20:00:04 +0200 |
parents | 0878f0fd349b |
children |
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(vim.lua_version, jit and "(LuaJIT)" or "") 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