diff options
author | 2012-07-25 07:52:16 -0700 | |
---|---|---|
committer | 2012-07-25 10:58:44 -0700 | |
commit | c51d45ac334177360443d812fdc02b9d5c8fc580 (patch) | |
tree | 1934d44f77d5e94bfb341e72ed5c27b274a16dd0 /native/jni/src/basechars.cpp | |
parent | 0a370ac80f934f4eb7f0c44c310dc3e216b507ea (diff) | |
parent | 0bbb917d12358e0264796e75dea888f244761b64 (diff) | |
download | latinime-c51d45ac334177360443d812fdc02b9d5c8fc580.tar.gz latinime-c51d45ac334177360443d812fdc02b9d5c8fc580.tar.xz latinime-c51d45ac334177360443d812fdc02b9d5c8fc580.zip |
Merge "Cosmetic fixes and style fixes"
Diffstat (limited to 'native/jni/src/basechars.cpp')
-rw-r--r-- | native/jni/src/basechars.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/native/jni/src/basechars.cpp b/native/jni/src/basechars.cpp index 31f1e18a8..c91e5f741 100644 --- a/native/jni/src/basechars.cpp +++ b/native/jni/src/basechars.cpp @@ -18,7 +18,7 @@ namespace latinime { -/** +/* * Table mapping most combined Latin, Greek, and Cyrillic characters * to their base characters. If c is in range, BASE_CHARS[c] == c * if c is not a combined character, or the base character if it @@ -187,8 +187,6 @@ const unsigned short BASE_CHARS[BASE_CHARS_SIZE] = { 0x0423, 0x0443, 0x0423, 0x0443, 0x0427, 0x0447, 0x04f6, 0x04f7, 0x042b, 0x044b, 0x04fa, 0x04fb, 0x04fc, 0x04fd, 0x04fe, 0x04ff, }; - // generated with: // cat UnicodeData.txt | perl -e 'while (<>) { @foo = split(/;/); $foo[5] =~ s/<.*> //; $base[hex($foo[0])] = hex($foo[5]);} for ($i = 0; $i < 0x500; $i += 8) { for ($j = $i; $j < $i + 8; $j++) { printf("0x%04x, ", $base[$j] ? $base[$j] : $j)}; print "\n"; }' - } // namespace latinime |