Mercurial > vim
view src/typemap @ 22244:9f6b8fdea159 v8.2.1671
patch 8.2.1671: Vim9: stray error for missing white space
Commit: https://github.com/vim/vim/commit/c6e57b74fa1e6090a27f886e2b3830fd1fa15708
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Sep 12 21:27:03 2020 +0200
patch 8.2.1671: Vim9: stray error for missing white space
Problem: Vim9: stray error for missing white space.
Solution: Do not skip over white space after member. (closes https://github.com/vim/vim/issues/6817)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 12 Sep 2020 21:30:04 +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}\")