view src/typemap @ 16279:36d97f2a4c2b v8.1.1144

patch 8.1.1144: too strict checking of the 'spellfile' option commit https://github.com/vim/vim/commit/862f1e17eaf2b9c6617dfba31d8487cde462658d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 10 22:33:41 2019 +0200 patch 8.1.1144: too strict checking of the 'spellfile' option Problem: Too strict checking of the 'spellfile' option. Solution: Allow for a path.
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Apr 2019 22:45:05 +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}\")