view src/typemap @ 30241:44e53d136c5a v9.0.0456

patch 9.0.0456: function called at debug prompt is also debugged Commit: https://github.com/vim/vim/commit/b1842de5ca77205993e8ef76cf29803822e0e3ab Author: Bram Moolenaar <Bram@vim.org> Date: Tue Sep 13 12:36:57 2022 +0100 patch 9.0.0456: function called at debug prompt is also debugged Problem: Function called at debug prompt is also debugged. Solution: Reset the debug level while entering the debug command. (closes #11118)
author Bram Moolenaar <Bram@vim.org>
date Tue, 13 Sep 2022 13: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}\")