Mercurial > vim
view src/typemap @ 21773:2f2e528c5782 v8.2.1436
patch 8.2.1436: function implementing :substitute has unexpected name
Commit: https://github.com/vim/vim/commit/66e0014ba651208ab7579797866ab0e4bd9e2b49
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 12 21:58:12 2020 +0200
patch 8.2.1436: function implementing :substitute has unexpected name
Problem: Function implementing :substitute has unexpected name.
Solution: Rename from do_sub() to ex_substitute().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Aug 2020 22:00:04 +0200 |
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}\")