Mercurial > vim
annotate runtime/keymap/croatian_cp1250.vim @ 33303:924e9cb09df7 v9.0.1917
patch 9.0.1917: undefined behaviour with python function pointer
Commit: https://github.com/vim/vim/commit/d606fccf6fd716bda43a8e1d11d898f438d28b82
Author: Yee Cheng Chin <ychin.git@gmail.com>
Date: Wed Sep 20 19:59:47 2023 +0200
patch 9.0.1917: undefined behaviour with python function pointer
Problem: undefined behaviour with python function pointer
Solution: correctly cast function pointers from void
Fix more undefined behaviors in if_python
Fix remaining UBSAN errors from Clang 17 in if_python in casting
function pointers.
Also fix a mistake where `PyMem_Free()` should be returning void, by the
dynamic build is mistakenly casting it as a function that returns an
int.
closes: #13128
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Yee Cheng Chin <ychin.git@gmail.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 20 Sep 2023 20:15:04 +0200 |
parents | 18ee39301b82 |
children |
rev | line source |
---|---|
1624 | 1 " Vim Keymap file for Croatian characters, classical variant, cp1250 encoding |
2 " | |
3 " Maintainer: Paul B. Mahol <onemda@gmail.com> | |
4 " Last Changed: 2007 Oct 15 | |
5 | |
6 scriptencoding cp1250 | |
7 | |
8 let b:keymap_name = "croatian-cp1250" | |
9 " Uncomment line below if you prefer short name | |
10 "let b:keymap_name = "hr-cp1250" | |
11 | |
12 loadkeymap | |
13 z y | |
14 Z Y | |
15 y z | |
16 Y Z | |
17 [ š | |
18 { Š | |
19 ] ð | |
20 } Ð | |
21 ; è | |
22 : È | |
23 ' æ | |
24 " Æ | |
25 \ ž | |
26 | Ž | |
27 / - | |
28 ? _ | |
29 > : | |
30 < ; | |
31 ¬ < | |
32 ® > | |
33 â { | |
34 î } | |
35 æ [ | |
36 ç ] | |
37 ñ \ | |
38 ÷ | | |
39 = + | |
40 + * | |
41 - ' | |
42 _ ? | |
43 @ " | |
44 ^ & | |
45 & / | |
46 * ( | |
47 ( ) | |
48 ) = | |
49 ± ~ | |
50 ö @ | |
51 ³ ^ | |
52 å € | |
53 í § | |
54 Û ÷ | |
55 Ý × | |
56 Ü ¤ | |
57 § ß | |
58 µ ° | |
59 ½ ¸ | |
60 · ` | |
61 ¹ ´ | |
62 ² ¡ | |
63 ë ³ | |
64 ì £ | |
65 ´ ¢ |