about summary refs log tree commit diff
path: root/iconvdata/ibm937.h
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata/ibm937.h')
-rw-r--r--iconvdata/ibm937.h288
1 files changed, 144 insertions, 144 deletions
diff --git a/iconvdata/ibm937.h b/iconvdata/ibm937.h
index 19af276670..01df70092c 100644
--- a/iconvdata/ibm937.h
+++ b/iconvdata/ibm937.h
@@ -70,120 +70,120 @@ static const uint16_t __ibm937sb_to_ucs4[256] =
 
 static const struct gap __ibm937db_to_ucs4_idx[] =
 {
-  { start: 0x4040, end: 0x4040, idx: -16448 },
-  { start: 0x4141, end: 0x41fa, idx: -16704 },
-  { start: 0x424a, end: 0x42f9, idx: -16783 },
-  { start: 0x4341, end: 0x43f2, idx: -16854 },
-  { start: 0x4442, end: 0x44f3, idx: -16933 },
-  { start: 0x4541, end: 0x457a, idx: -17010 },
-  { start: 0x4641, end: 0x46f9, idx: -17208 },
-  { start: 0x4741, end: 0x47a1, idx: -17279 },
-  { start: 0x4841, end: 0x48fd, idx: -17438 },
-  { start: 0x4941, end: 0x4959, idx: -17505 },
-  { start: 0x4c41, end: 0x4cfd, idx: -18248 },
-  { start: 0x4d41, end: 0x4dfd, idx: -18315 },
-  { start: 0x4e41, end: 0x4efd, idx: -18382 },
-  { start: 0x4f41, end: 0x4ffd, idx: -18449 },
-  { start: 0x5041, end: 0x50fd, idx: -18516 },
-  { start: 0x5141, end: 0x51fd, idx: -18583 },
-  { start: 0x5241, end: 0x52fd, idx: -18650 },
-  { start: 0x5341, end: 0x53fd, idx: -18717 },
-  { start: 0x5441, end: 0x54fd, idx: -18784 },
-  { start: 0x5541, end: 0x55fd, idx: -18851 },
-  { start: 0x5641, end: 0x56fd, idx: -18918 },
-  { start: 0x5741, end: 0x57fd, idx: -18985 },
-  { start: 0x5841, end: 0x58fd, idx: -19052 },
-  { start: 0x5941, end: 0x59fd, idx: -19119 },
-  { start: 0x5a41, end: 0x5afd, idx: -19186 },
-  { start: 0x5b41, end: 0x5bfd, idx: -19253 },
-  { start: 0x5c41, end: 0x5cfd, idx: -19320 },
-  { start: 0x5d41, end: 0x5dfd, idx: -19387 },
-  { start: 0x5e41, end: 0x5efd, idx: -19454 },
-  { start: 0x5f41, end: 0x5ffd, idx: -19521 },
-  { start: 0x6041, end: 0x60fd, idx: -19588 },
-  { start: 0x6141, end: 0x61fd, idx: -19655 },
-  { start: 0x6241, end: 0x62fd, idx: -19722 },
-  { start: 0x6341, end: 0x63fd, idx: -19789 },
-  { start: 0x6441, end: 0x64fd, idx: -19856 },
-  { start: 0x6541, end: 0x65fd, idx: -19923 },
-  { start: 0x6641, end: 0x66fd, idx: -19990 },
-  { start: 0x6741, end: 0x67fd, idx: -20057 },
-  { start: 0x6841, end: 0x68cb, idx: -20124 },
-  { start: 0x6941, end: 0x69fd, idx: -20241 },
-  { start: 0x6a41, end: 0x6afd, idx: -20308 },
-  { start: 0x6b41, end: 0x6bfd, idx: -20375 },
-  { start: 0x6c41, end: 0x6cfd, idx: -20442 },
-  { start: 0x6d41, end: 0x6dfd, idx: -20509 },
-  { start: 0x6e41, end: 0x6efd, idx: -20576 },
-  { start: 0x6f41, end: 0x6ffd, idx: -20643 },
-  { start: 0x7041, end: 0x70fd, idx: -20710 },
-  { start: 0x7141, end: 0x71fd, idx: -20777 },
-  { start: 0x7241, end: 0x72fd, idx: -20844 },
-  { start: 0x7341, end: 0x73fd, idx: -20911 },
-  { start: 0x7441, end: 0x74fd, idx: -20978 },
-  { start: 0x7541, end: 0x75fd, idx: -21045 },
-  { start: 0x7641, end: 0x76fd, idx: -21112 },
-  { start: 0x7741, end: 0x77fd, idx: -21179 },
-  { start: 0x7841, end: 0x78fd, idx: -21246 },
-  { start: 0x7941, end: 0x79fd, idx: -21313 },
-  { start: 0x7a41, end: 0x7afd, idx: -21380 },
-  { start: 0x7b41, end: 0x7bfd, idx: -21447 },
-  { start: 0x7c41, end: 0x7cfd, idx: -21514 },
-  { start: 0x7d41, end: 0x7dfd, idx: -21581 },
-  { start: 0x7e41, end: 0x7efd, idx: -21648 },
-  { start: 0x7f41, end: 0x7ffd, idx: -21715 },
-  { start: 0x8041, end: 0x80fd, idx: -21782 },
-  { start: 0x8141, end: 0x81fd, idx: -21849 },
-  { start: 0x8241, end: 0x82fd, idx: -21916 },
-  { start: 0x8341, end: 0x83fd, idx: -21983 },
-  { start: 0x8441, end: 0x84fd, idx: -22050 },
-  { start: 0x8541, end: 0x85fd, idx: -22117 },
-  { start: 0x8641, end: 0x86fd, idx: -22184 },
-  { start: 0x8741, end: 0x87fd, idx: -22251 },
-  { start: 0x8841, end: 0x88fd, idx: -22318 },
-  { start: 0x8941, end: 0x89fd, idx: -22385 },
-  { start: 0x8a41, end: 0x8afd, idx: -22452 },
-  { start: 0x8b41, end: 0x8bfd, idx: -22519 },
-  { start: 0x8c41, end: 0x8cfd, idx: -22586 },
-  { start: 0x8d41, end: 0x8dfd, idx: -22653 },
-  { start: 0x8e41, end: 0x8efd, idx: -22720 },
-  { start: 0x8f41, end: 0x8ffd, idx: -22787 },
-  { start: 0x9041, end: 0x90fd, idx: -22854 },
-  { start: 0x9141, end: 0x91c7, idx: -22921 },
-  { start: 0xc241, end: 0xc2fd, idx: -35330 },
-  { start: 0xc341, end: 0xc3fd, idx: -35397 },
-  { start: 0xc441, end: 0xc4fd, idx: -35464 },
-  { start: 0xc541, end: 0xc5fd, idx: -35531 },
-  { start: 0xc641, end: 0xc6fd, idx: -35598 },
-  { start: 0xc741, end: 0xc7fd, idx: -35665 },
-  { start: 0xc841, end: 0xc8fd, idx: -35732 },
-  { start: 0xc941, end: 0xc9fd, idx: -35799 },
-  { start: 0xca41, end: 0xcafd, idx: -35866 },
-  { start: 0xcb41, end: 0xcbfd, idx: -35933 },
-  { start: 0xcc41, end: 0xccfd, idx: -36000 },
-  { start: 0xcd41, end: 0xcdfd, idx: -36067 },
-  { start: 0xce41, end: 0xcefd, idx: -36134 },
-  { start: 0xcf41, end: 0xcffd, idx: -36201 },
-  { start: 0xd041, end: 0xd0fd, idx: -36268 },
-  { start: 0xd141, end: 0xd1fd, idx: -36335 },
-  { start: 0xd241, end: 0xd2fd, idx: -36402 },
-  { start: 0xd341, end: 0xd3fd, idx: -36469 },
-  { start: 0xd441, end: 0xd4fd, idx: -36536 },
-  { start: 0xd541, end: 0xd5fd, idx: -36603 },
-  { start: 0xd641, end: 0xd6fd, idx: -36670 },
-  { start: 0xd741, end: 0xd7fd, idx: -36737 },
-  { start: 0xd841, end: 0xd8fd, idx: -36804 },
-  { start: 0xd941, end: 0xd9fd, idx: -36871 },
-  { start: 0xda41, end: 0xdafd, idx: -36938 },
-  { start: 0xdb41, end: 0xdbfd, idx: -37005 },
-  { start: 0xdc41, end: 0xdcfd, idx: -37072 },
-  { start: 0xdd41, end: 0xddfd, idx: -37139 },
-  { start: 0xde41, end: 0xdefd, idx: -37206 },
-  { start: 0xdf41, end: 0xdffd, idx: -37273 },
-  { start: 0xe041, end: 0xe0fd, idx: -37340 },
-  { start: 0xe141, end: 0xe1fd, idx: -37407 },
-  { start: 0xe241, end: 0xe2fd, idx: -37474 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x4040, .end = 0x4040, .idx = -16448 },
+  { .start = 0x4141, .end = 0x41fa, .idx = -16704 },
+  { .start = 0x424a, .end = 0x42f9, .idx = -16783 },
+  { .start = 0x4341, .end = 0x43f2, .idx = -16854 },
+  { .start = 0x4442, .end = 0x44f3, .idx = -16933 },
+  { .start = 0x4541, .end = 0x457a, .idx = -17010 },
+  { .start = 0x4641, .end = 0x46f9, .idx = -17208 },
+  { .start = 0x4741, .end = 0x47a1, .idx = -17279 },
+  { .start = 0x4841, .end = 0x48fd, .idx = -17438 },
+  { .start = 0x4941, .end = 0x4959, .idx = -17505 },
+  { .start = 0x4c41, .end = 0x4cfd, .idx = -18248 },
+  { .start = 0x4d41, .end = 0x4dfd, .idx = -18315 },
+  { .start = 0x4e41, .end = 0x4efd, .idx = -18382 },
+  { .start = 0x4f41, .end = 0x4ffd, .idx = -18449 },
+  { .start = 0x5041, .end = 0x50fd, .idx = -18516 },
+  { .start = 0x5141, .end = 0x51fd, .idx = -18583 },
+  { .start = 0x5241, .end = 0x52fd, .idx = -18650 },
+  { .start = 0x5341, .end = 0x53fd, .idx = -18717 },
+  { .start = 0x5441, .end = 0x54fd, .idx = -18784 },
+  { .start = 0x5541, .end = 0x55fd, .idx = -18851 },
+  { .start = 0x5641, .end = 0x56fd, .idx = -18918 },
+  { .start = 0x5741, .end = 0x57fd, .idx = -18985 },
+  { .start = 0x5841, .end = 0x58fd, .idx = -19052 },
+  { .start = 0x5941, .end = 0x59fd, .idx = -19119 },
+  { .start = 0x5a41, .end = 0x5afd, .idx = -19186 },
+  { .start = 0x5b41, .end = 0x5bfd, .idx = -19253 },
+  { .start = 0x5c41, .end = 0x5cfd, .idx = -19320 },
+  { .start = 0x5d41, .end = 0x5dfd, .idx = -19387 },
+  { .start = 0x5e41, .end = 0x5efd, .idx = -19454 },
+  { .start = 0x5f41, .end = 0x5ffd, .idx = -19521 },
+  { .start = 0x6041, .end = 0x60fd, .idx = -19588 },
+  { .start = 0x6141, .end = 0x61fd, .idx = -19655 },
+  { .start = 0x6241, .end = 0x62fd, .idx = -19722 },
+  { .start = 0x6341, .end = 0x63fd, .idx = -19789 },
+  { .start = 0x6441, .end = 0x64fd, .idx = -19856 },
+  { .start = 0x6541, .end = 0x65fd, .idx = -19923 },
+  { .start = 0x6641, .end = 0x66fd, .idx = -19990 },
+  { .start = 0x6741, .end = 0x67fd, .idx = -20057 },
+  { .start = 0x6841, .end = 0x68cb, .idx = -20124 },
+  { .start = 0x6941, .end = 0x69fd, .idx = -20241 },
+  { .start = 0x6a41, .end = 0x6afd, .idx = -20308 },
+  { .start = 0x6b41, .end = 0x6bfd, .idx = -20375 },
+  { .start = 0x6c41, .end = 0x6cfd, .idx = -20442 },
+  { .start = 0x6d41, .end = 0x6dfd, .idx = -20509 },
+  { .start = 0x6e41, .end = 0x6efd, .idx = -20576 },
+  { .start = 0x6f41, .end = 0x6ffd, .idx = -20643 },
+  { .start = 0x7041, .end = 0x70fd, .idx = -20710 },
+  { .start = 0x7141, .end = 0x71fd, .idx = -20777 },
+  { .start = 0x7241, .end = 0x72fd, .idx = -20844 },
+  { .start = 0x7341, .end = 0x73fd, .idx = -20911 },
+  { .start = 0x7441, .end = 0x74fd, .idx = -20978 },
+  { .start = 0x7541, .end = 0x75fd, .idx = -21045 },
+  { .start = 0x7641, .end = 0x76fd, .idx = -21112 },
+  { .start = 0x7741, .end = 0x77fd, .idx = -21179 },
+  { .start = 0x7841, .end = 0x78fd, .idx = -21246 },
+  { .start = 0x7941, .end = 0x79fd, .idx = -21313 },
+  { .start = 0x7a41, .end = 0x7afd, .idx = -21380 },
+  { .start = 0x7b41, .end = 0x7bfd, .idx = -21447 },
+  { .start = 0x7c41, .end = 0x7cfd, .idx = -21514 },
+  { .start = 0x7d41, .end = 0x7dfd, .idx = -21581 },
+  { .start = 0x7e41, .end = 0x7efd, .idx = -21648 },
+  { .start = 0x7f41, .end = 0x7ffd, .idx = -21715 },
+  { .start = 0x8041, .end = 0x80fd, .idx = -21782 },
+  { .start = 0x8141, .end = 0x81fd, .idx = -21849 },
+  { .start = 0x8241, .end = 0x82fd, .idx = -21916 },
+  { .start = 0x8341, .end = 0x83fd, .idx = -21983 },
+  { .start = 0x8441, .end = 0x84fd, .idx = -22050 },
+  { .start = 0x8541, .end = 0x85fd, .idx = -22117 },
+  { .start = 0x8641, .end = 0x86fd, .idx = -22184 },
+  { .start = 0x8741, .end = 0x87fd, .idx = -22251 },
+  { .start = 0x8841, .end = 0x88fd, .idx = -22318 },
+  { .start = 0x8941, .end = 0x89fd, .idx = -22385 },
+  { .start = 0x8a41, .end = 0x8afd, .idx = -22452 },
+  { .start = 0x8b41, .end = 0x8bfd, .idx = -22519 },
+  { .start = 0x8c41, .end = 0x8cfd, .idx = -22586 },
+  { .start = 0x8d41, .end = 0x8dfd, .idx = -22653 },
+  { .start = 0x8e41, .end = 0x8efd, .idx = -22720 },
+  { .start = 0x8f41, .end = 0x8ffd, .idx = -22787 },
+  { .start = 0x9041, .end = 0x90fd, .idx = -22854 },
+  { .start = 0x9141, .end = 0x91c7, .idx = -22921 },
+  { .start = 0xc241, .end = 0xc2fd, .idx = -35330 },
+  { .start = 0xc341, .end = 0xc3fd, .idx = -35397 },
+  { .start = 0xc441, .end = 0xc4fd, .idx = -35464 },
+  { .start = 0xc541, .end = 0xc5fd, .idx = -35531 },
+  { .start = 0xc641, .end = 0xc6fd, .idx = -35598 },
+  { .start = 0xc741, .end = 0xc7fd, .idx = -35665 },
+  { .start = 0xc841, .end = 0xc8fd, .idx = -35732 },
+  { .start = 0xc941, .end = 0xc9fd, .idx = -35799 },
+  { .start = 0xca41, .end = 0xcafd, .idx = -35866 },
+  { .start = 0xcb41, .end = 0xcbfd, .idx = -35933 },
+  { .start = 0xcc41, .end = 0xccfd, .idx = -36000 },
+  { .start = 0xcd41, .end = 0xcdfd, .idx = -36067 },
+  { .start = 0xce41, .end = 0xcefd, .idx = -36134 },
+  { .start = 0xcf41, .end = 0xcffd, .idx = -36201 },
+  { .start = 0xd041, .end = 0xd0fd, .idx = -36268 },
+  { .start = 0xd141, .end = 0xd1fd, .idx = -36335 },
+  { .start = 0xd241, .end = 0xd2fd, .idx = -36402 },
+  { .start = 0xd341, .end = 0xd3fd, .idx = -36469 },
+  { .start = 0xd441, .end = 0xd4fd, .idx = -36536 },
+  { .start = 0xd541, .end = 0xd5fd, .idx = -36603 },
+  { .start = 0xd641, .end = 0xd6fd, .idx = -36670 },
+  { .start = 0xd741, .end = 0xd7fd, .idx = -36737 },
+  { .start = 0xd841, .end = 0xd8fd, .idx = -36804 },
+  { .start = 0xd941, .end = 0xd9fd, .idx = -36871 },
+  { .start = 0xda41, .end = 0xdafd, .idx = -36938 },
+  { .start = 0xdb41, .end = 0xdbfd, .idx = -37005 },
+  { .start = 0xdc41, .end = 0xdcfd, .idx = -37072 },
+  { .start = 0xdd41, .end = 0xddfd, .idx = -37139 },
+  { .start = 0xde41, .end = 0xdefd, .idx = -37206 },
+  { .start = 0xdf41, .end = 0xdffd, .idx = -37273 },
+  { .start = 0xe041, .end = 0xe0fd, .idx = -37340 },
+  { .start = 0xe141, .end = 0xe1fd, .idx = -37407 },
+  { .start = 0xe241, .end = 0xe2fd, .idx = -37474 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const uint16_t __ibm937db_to_ucs4[] =
@@ -2772,8 +2772,8 @@ static const uint16_t __ibm937db_to_ucs4[] =
 
 static const struct gap __ucs4_to_ibm937sb_idx[] =
 {
-  { start: 0x0000, end: 0x00ff, idx:     0 },
-  { start: 0xffff, end: 0xffff, idx:     0 }
+  { .start = 0x0000, .end = 0x00ff, .idx =     0 },
+  { .start = 0xffff, .end = 0xffff, .idx =     0 }
 };
 
 static const char __ucs4_to_ibm937sb[][1] =
@@ -2814,34 +2814,34 @@ static const char __ucs4_to_ibm937sb[][1] =
 
 static const struct gap __ucs4_to_ibm937db_idx[] =
 {
-  { start: 0x00a7, end: 0x00f7, idx:   -167 },
-  { start: 0x02ba, end: 0x02d9, idx:   -617 },
-  { start: 0x0391, end: 0x0451, idx:   -800 },
-  { start: 0x2010, end: 0x203e, idx:  -7902 },
-  { start: 0x2103, end: 0x22bf, idx:  -8098 },
-  { start: 0x2312, end: 0x2312, idx:  -8180 },
-  { start: 0x2400, end: 0x2421, idx:  -8417 },
-  { start: 0x2460, end: 0x247d, idx:  -8479 },
-  { start: 0x2500, end: 0x266f, idx:  -8609 },
-  { start: 0x273d, end: 0x273d, idx:  -8814 },
-  { start: 0x3000, end: 0x3129, idx: -11056 },
-  { start: 0x3231, end: 0x3231, idx: -11319 },
-  { start: 0x32a3, end: 0x32a3, idx: -11432 },
-  { start: 0x338e, end: 0x33d5, idx: -11666 },
-  { start: 0x4e00, end: 0x7e9c, idx: -18364 },
-  { start: 0x7f36, end: 0x8b9f, idx: -18517 },
-  { start: 0x8c37, end: 0x8d1b, idx: -18668 },
-  { start: 0x8d64, end: 0x9483, idx: -18740 },
-  { start: 0x9577, end: 0x9a6b, idx: -18983 },
-  { start: 0x9aa8, end: 0x9c7a, idx: -19043 },
-  { start: 0x9ce5, end: 0x9e1e, idx: -19149 },
-  { start: 0x9e75, end: 0x9fa4, idx: -19235 },
-  { start: 0xe000, end: 0xf842, idx: -35710 },
-  { start: 0xfa0c, end: 0xfa0d, idx: -36167 },
-  { start: 0xfe30, end: 0xfe6b, idx: -37225 },
-  { start: 0xff01, end: 0xff5e, idx: -37374 },
-  { start: 0xffe0, end: 0xffe5, idx: -37503 },
-  { start: 0xffff, end: 0xffff, idx:      0 }
+  { .start = 0x00a7, .end = 0x00f7, .idx =   -167 },
+  { .start = 0x02ba, .end = 0x02d9, .idx =   -617 },
+  { .start = 0x0391, .end = 0x0451, .idx =   -800 },
+  { .start = 0x2010, .end = 0x203e, .idx =  -7902 },
+  { .start = 0x2103, .end = 0x22bf, .idx =  -8098 },
+  { .start = 0x2312, .end = 0x2312, .idx =  -8180 },
+  { .start = 0x2400, .end = 0x2421, .idx =  -8417 },
+  { .start = 0x2460, .end = 0x247d, .idx =  -8479 },
+  { .start = 0x2500, .end = 0x266f, .idx =  -8609 },
+  { .start = 0x273d, .end = 0x273d, .idx =  -8814 },
+  { .start = 0x3000, .end = 0x3129, .idx = -11056 },
+  { .start = 0x3231, .end = 0x3231, .idx = -11319 },
+  { .start = 0x32a3, .end = 0x32a3, .idx = -11432 },
+  { .start = 0x338e, .end = 0x33d5, .idx = -11666 },
+  { .start = 0x4e00, .end = 0x7e9c, .idx = -18364 },
+  { .start = 0x7f36, .end = 0x8b9f, .idx = -18517 },
+  { .start = 0x8c37, .end = 0x8d1b, .idx = -18668 },
+  { .start = 0x8d64, .end = 0x9483, .idx = -18740 },
+  { .start = 0x9577, .end = 0x9a6b, .idx = -18983 },
+  { .start = 0x9aa8, .end = 0x9c7a, .idx = -19043 },
+  { .start = 0x9ce5, .end = 0x9e1e, .idx = -19149 },
+  { .start = 0x9e75, .end = 0x9fa4, .idx = -19235 },
+  { .start = 0xe000, .end = 0xf842, .idx = -35710 },
+  { .start = 0xfa0c, .end = 0xfa0d, .idx = -36167 },
+  { .start = 0xfe30, .end = 0xfe6b, .idx = -37225 },
+  { .start = 0xff01, .end = 0xff5e, .idx = -37374 },
+  { .start = 0xffe0, .end = 0xffe5, .idx = -37503 },
+  { .start = 0xffff, .end = 0xffff, .idx =      0 }
 };
 
 static const char __ucs4_to_ibm937db[][2] =