Mercurial > vim
view src/typemap @ 32645:779ca4c65eeb v9.0.1654
patch 9.0.1654: MS-Windows: test for default 'viewdir' fails
Commit: https://github.com/vim/vim/commit/813b7a85f2489e9f698239a9fee17c64da68f435
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jun 23 22:56:47 2023 +0100
patch 9.0.1654: MS-Windows: test for default 'viewdir' fails
Problem: MS-Windows: test for default 'viewdir' fails.
Solution: Escape the pattern.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Jun 2023 00:00:06 +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}\")