view src/typemap @ 20792:88d71b6fbae0 v8.2.0948

patch 8.2.0948: spell test fails Commit: https://github.com/vim/vim/commit/d281b7c227bc4c78813fdc297ccee4b2cad7e605 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jun 10 16:39:32 2020 +0200 patch 8.2.0948: spell test fails Problem: Spell test fails. Solution: Adjust expected text of the prompt.
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Jun 2020 16:45:03 +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}\")