view src/typemap @ 19830:6500dcaf8e1a v8.2.0471

patch 8.2.0471: missing change to compile_list() Commit: https://github.com/vim/vim/commit/a30590d3e78aed3f6039edc642fb7532c40ea54e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 28 22:06:23 2020 +0100 patch 8.2.0471: missing change to compile_list() Problem: Missing change to compile_list(). Solution: Add error message.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Mar 2020 22:15: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}\")