Mercurial > vim
annotate runtime/keymap/serbian_iso-8859-5.vim @ 33791:370543108ba1 v9.0.2114
patch 9.0.2114: overflow detection not accurate when adding digits
Commit: https://github.com/vim/vim/commit/22cbc8a4e17ce61aa460c451a26e1bff2c3d2af9
Author: Christian Brabandt <cb@256bit.org>
Date: Sun Nov 19 10:47:21 2023 +0100
patch 9.0.2114: overflow detection not accurate when adding digits
Problem: overflow detection not accurate when adding digits
Solution: Use a helper function
Use a helper function to better detect overflows before adding integer
digits to a long or an integer variable respectively. Signal the
overflow to the caller function.
closes: #13539
Signed-off-by: Christian Brabandt <cb@256bit.org>
Signed-off-by: Michael Henry <vim@drmikehenry.com>
Signed-off-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 19 Nov 2023 11:00:07 +0100 |
parents | 3fc0f57ecb91 |
children |
rev | line source |
---|---|
7 | 1 " Vim Keymap file for Serbian characters, classical variant, iso-8859-5 encoding |
2 " | |
3 " Maintainer: Aleksandar Veselinovic <aleksa@cs.cmu.edu> | |
4 " URL: http://www.cs.cmu.edu/~aleksa/personal/vim/keymap/serbian-iso-8859-5.vim | |
5 " Last Changed: 2002 Mar 29 | |
6 | |
7 scriptencoding iso-8859-5 | |
8 | |
9 let b:keymap_name = "serbian-iso-8859-5" | |
10 | |
11 loadkeymap | |
12 Q © | |
13 W ª | |
14 E µ | |
15 R À | |
16 T Â | |
17 Y · | |
18 U Ã | |
19 I ¸ | |
20 O ¾ | |
21 P ¿ | |
22 { È | |
23 } ¢ | |
24 q ù | |
25 w ú | |
26 e Õ | |
27 r à | |
28 t â | |
29 y × | |
30 u ã | |
31 i Ø | |
32 o Þ | |
33 p ß | |
34 [ è | |
35 ] ò | |
36 A ° | |
37 S Á | |
38 D ´ | |
39 F Ä | |
40 G ³ | |
41 H Å | |
42 J ¨ | |
43 K º | |
44 L » | |
45 : Ç | |
46 \" « | |
47 \| ¶ | |
48 a Ð | |
49 s á | |
50 d Ô | |
51 f ä | |
52 g Ó | |
53 h å | |
54 j ø | |
55 k Ú | |
56 l Û | |
57 ; ç | |
58 ' û | |
59 \\ Ö | |
60 "Z · | |
61 X ¯ | |
62 C Æ | |
63 V ² | |
64 B ± | |
65 N ½ | |
66 M ¼ | |
67 "z × | |
68 x ÿ | |
69 c æ | |
70 v Ò | |
71 b Ñ | |
72 n Ý | |
73 m Ü | |
74 | |
75 < ; | |
76 > : | |
77 / - | |
78 _ ? | |
79 ,, ? | |
80 '' ? | |
81 | |
82 " @ " | |
83 " # ' | |
84 " $ * | |
85 " % : | |
86 " ^ , | |
87 " & . | |
88 " * ; | |
89 |