view src/typemap @ 20548:6564dafe5005 v8.2.0828

patch 8.2.0828: Travis: regexp patttern doesn't work everywhere Commit: https://github.com/vim/vim/commit/92c098d18e435a7a762409744ebe2dbb3746ed77 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 26 20:09:11 2020 +0200 patch 8.2.0828: Travis: regexp patttern doesn't work everywhere Problem: Travis: regexp patttern doesn't work everywhere. Solution: Use [:blank:] instead of \b. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/6146)
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 May 2020 20:15: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}\")