Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(29)

Side by Side Diff: Modules/cjkcodecs/_codecs_hk.c

Issue 10639: reindent.py converts newlines to platform default
Patch Set: Created 8 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Modules/cjkcodecs/_codecs_cn.c ('k') | Modules/cjkcodecs/_codecs_jp.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * _codecs_hk.c: Codecs collection for encodings from Hong Kong 2 * _codecs_hk.c: Codecs collection for encodings from Hong Kong
3 * 3 *
4 * Written by Hye-Shik Chang <perky@FreeBSD.org> 4 * Written by Hye-Shik Chang <perky@FreeBSD.org>
5 */ 5 */
6 6
7 #define USING_IMPORTED_MAPS 7 #define USING_IMPORTED_MAPS
8 8
9 #include "cjkcodecs.h" 9 #include "cjkcodecs.h"
10 #include "mappings_hk.h" 10 #include "mappings_hk.h"
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 NEXT(2, 1) 154 NEXT(2, 1)
155 } 155 }
156 continue; 156 continue;
157 } 157 }
158 158
159 switch ((c << 8) | IN2) { 159 switch ((c << 8) | IN2) {
160 case 0x8862: WRITE2(0x00ca, 0x0304); break; 160 case 0x8862: WRITE2(0x00ca, 0x0304); break;
161 case 0x8864: WRITE2(0x00ca, 0x030c); break; 161 case 0x8864: WRITE2(0x00ca, 0x030c); break;
162 case 0x88a3: WRITE2(0x00ea, 0x0304); break; 162 case 0x88a3: WRITE2(0x00ea, 0x0304); break;
163 case 0x88a5: WRITE2(0x00ea, 0x030c); break; 163 case 0x88a5: WRITE2(0x00ea, 0x030c); break;
164 default: return 1; 164 default: return 2;
165 } 165 }
166 166
167 NEXT(2, 2) /* all decoded codepoints are pairs, above. */ 167 NEXT(2, 2) /* all decoded codepoints are pairs, above. */
168 } 168 }
169 169
170 return 0; 170 return 0;
171 } 171 }
172 172
173 173
174 BEGIN_MAPPINGS_LIST 174 BEGIN_MAPPINGS_LIST
175 MAPPING_DECONLY(big5hkscs) 175 MAPPING_DECONLY(big5hkscs)
176 MAPPING_ENCONLY(big5hkscs_bmp) 176 MAPPING_ENCONLY(big5hkscs_bmp)
177 MAPPING_ENCONLY(big5hkscs_nonbmp) 177 MAPPING_ENCONLY(big5hkscs_nonbmp)
178 END_MAPPINGS_LIST 178 END_MAPPINGS_LIST
179 179
180 BEGIN_CODECS_LIST 180 BEGIN_CODECS_LIST
181 CODEC_STATELESS_WINIT(big5hkscs) 181 CODEC_STATELESS_WINIT(big5hkscs)
182 END_CODECS_LIST 182 END_CODECS_LIST
183 183
184 I_AM_A_MODULE_FOR(hk) 184 I_AM_A_MODULE_FOR(hk)
OLDNEW
« no previous file with comments | « Modules/cjkcodecs/_codecs_cn.c ('k') | Modules/cjkcodecs/_codecs_jp.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+