view src/typemap @ 32023:e8325653b814 v9.0.1343

patch 9.0.1343: check for OSC escape sequence doesn't work Commit: https://github.com/vim/vim/commit/3451789f58b24d48fc97301a01a8d27bd154caf5 Author: Johan Mattsson <39247600+mjunix@users.noreply.github.com> Date: Thu Feb 23 12:46:04 2023 +0000 patch 9.0.1343: check for OSC escape sequence doesn't work Problem: Check for OSC escape sequence doesn't work. Solution: Move square bracket to the right place. (Johan Mattsson, closes #12048)
author Bram Moolenaar <Bram@vim.org>
date Thu, 23 Feb 2023 14:00:04 +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}\")