Mercurial > vim
view src/typemap @ 23102:3239b0f3c592 v8.2.2097
patch 8.2.2097: Vim9: using :silent! when calling a function prevents abort
Commit: https://github.com/vim/vim/commit/56602ba153af7130b76daf83933922aaea3e2646
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 5 21:22:08 2020 +0100
patch 8.2.2097: Vim9: using :silent! when calling a function prevents abort
Problem: Vim9: using :silent! when calling a function prevents abortng that
function.
Solution: Add emsg_silent_def and did_emsg_def.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 05 Dec 2020 21:30:03 +0100 |
parents | dec4338a7da2 |
children |
line wrap: on
line source
TYPEMAP VIWIN T_VIOBJNOMUNGE VIBUF T_VIOBJNOMUNGE INPUT T_VIOBJNOMUNGE if (sv_isa($arg, \"${ntype}\")) { IV tmp = SvIV((SV*)SvRV($arg)); $var = INT2PTR($type, tmp); if (!tmp) croak(\"$ntype no longer exists\"); } else croak(\"$var is not of type ${ntype}\")