Mercurial > vim
view src/typemap @ 15906:f581167d59bf v8.1.0959
patch 8.1.0959: sorting large numbers is not tested
commit https://github.com/vim/vim/commit/a25e3d06956f1bc11c68fe60149acce2d8547092
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Feb 20 22:19:05 2019 +0100
patch 8.1.0959: sorting large numbers is not tested
Problem: Sorting large numbers is not tested and does not work properly.
Solution: Add test. Fix comparing lines with and without a number.
(Dominique Pelle, closes #4017)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 20 Feb 2019 22:30:07 +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}\")