annotate src/typemap @ 32190:73489b6c4a02
v9.0.1426
patch 9.0.1426: indent wrong after "export namespace" in C++
Commit: https://github.com/vim/vim/commit/99e4ab2a1e577ddb29030c09c308b67e16fd51c4
Author: Virginia Senioria <91khr@users.noreply.github.com>
Date: Fri Mar 24 19:25:06 2023 +0000
patch 9.0.1426: indent wrong after "export namespace" in C++
Problem: Indent wrong after "export namespace" in C++.
Solution: Skip over "inline" and "export" in any order. (Virginia Senioria,
closes #12134, closes #12133)
author |
Bram Moolenaar <Bram@vim.org> |
date |
Fri, 24 Mar 2023 20:30:04 +0100 |
parents |
dec4338a7da2 |
children |
|
rev |
line source |
7
|
1 TYPEMAP
|
|
2 VIWIN T_VIOBJNOMUNGE
|
|
3 VIBUF T_VIOBJNOMUNGE
|
|
4
|
|
5 INPUT
|
|
6 T_VIOBJNOMUNGE
|
|
7 if (sv_isa($arg, \"${ntype}\")) {
|
|
8 IV tmp = SvIV((SV*)SvRV($arg));
|
3344
|
9 $var = INT2PTR($type, tmp);
|
7
|
10 if (!tmp)
|
|
11 croak(\"$ntype no longer exists\");
|
|
12 }
|
|
13 else
|
|
14 croak(\"$var is not of type ${ntype}\")
|