Mercurial > vim
view src/typemap @ 30079:105f946422d1 v9.0.0377
patch 9.0.0377: argument assignment does not work
Commit: https://github.com/vim/vim/commit/eb5adf19d15de4dd1d148954ac5345154f0fea60
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 4 13:41:37 2022 +0100
patch 9.0.0377: argument assignment does not work
Problem: Argument assignment does not work.
Solution: Skip over "=".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Sep 2022 14:45:02 +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}\")