view ci/if_ver-1.vim @ 26845:a6ccb6ec581c v8.2.3951

patch 8.2.3951: Vim9: memory leak when text after a nested function Commit: https://github.com/vim/vim/commit/d293981d2b76b40013143fe2302b910585e50808 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 30 17:09:05 2021 +0000 patch 8.2.3951: Vim9: memory leak when text after a nested function Problem: Vim9: memory leak when text after a nested function. Solution: Free the function if text is found after "enddef".
author Bram Moolenaar <Bram@vim.org>
date Thu, 30 Dec 2021 18:15:03 +0100
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