mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-16 01:22:18 +03:00
* lib/gen-uni-tables.c (SIZEOF): New macro. (output_numeric): Increase the maximum number of fractions from 128 to 160. Increase the level3 value width from 7 bits to 8 bits. Use SIZEOF instead of a hard-coded integer. (output_blocks): Decrease the cut-off threshold from 0x30000 to 0x28000. (fill_blocks): Increase the maximum number of blocks from 256 to 384. Use SIZEOF instead of a hard-coded integer. (get_lbp): Adjust to new characters added in Unicode 8.0.0. * lib/unictype/numeric.c (uc_numeric_value): Adjust the level3 value width. * lib/unilbrk/lbrktables.c (unilbrk_table): Implement LBP21b and a new case added to LBP22. * lib/uniwidth/width.c (nonspacing_table_data): Add U+08E3, U+A69E, U+FE2E..U+FE2F, U+111CA..U+111CC, U+11300, U+115DC..U+115DD, U+1171D..U+1171F, U+11722..U+11725, U+11727..U+1172B, U+1DA00..U+1DA36, U+1DA3B..U+1DA6C, U+1DA75, U+1DA84, U+1DA9B..U+1DA9F, and U+1DAA1..U+1DAAF. * tests/uniwidth/test-uc_width2.sh: Same updates as in lib/uniwidth/width.c. * all generated files under lib/uni* and tests/uni*: Regenerate.
154 lines
4.0 KiB
C
154 lines
4.0 KiB
C
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
|
|
/* Test the Unicode character type functions.
|
|
Copyright (C) 2007 Free Software Foundation, Inc.
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
|
|
|
#include "test-predicate-part1.h"
|
|
|
|
{ 0x0041, 0x005A },
|
|
{ 0x0061, 0x007A },
|
|
{ 0x00AA, 0x00AA },
|
|
{ 0x00B5, 0x00B5 },
|
|
{ 0x00BA, 0x00BA },
|
|
{ 0x00C0, 0x00D6 },
|
|
{ 0x00D8, 0x00F6 },
|
|
{ 0x00F8, 0x01BA },
|
|
{ 0x01BC, 0x01BF },
|
|
{ 0x01C4, 0x0293 },
|
|
{ 0x0295, 0x02B8 },
|
|
{ 0x02C0, 0x02C1 },
|
|
{ 0x02E0, 0x02E4 },
|
|
{ 0x0345, 0x0345 },
|
|
{ 0x0370, 0x0373 },
|
|
{ 0x0376, 0x0377 },
|
|
{ 0x037A, 0x037D },
|
|
{ 0x037F, 0x037F },
|
|
{ 0x0386, 0x0386 },
|
|
{ 0x0388, 0x038A },
|
|
{ 0x038C, 0x038C },
|
|
{ 0x038E, 0x03A1 },
|
|
{ 0x03A3, 0x03F5 },
|
|
{ 0x03F7, 0x0481 },
|
|
{ 0x048A, 0x052F },
|
|
{ 0x0531, 0x0556 },
|
|
{ 0x0561, 0x0587 },
|
|
{ 0x10A0, 0x10C5 },
|
|
{ 0x10C7, 0x10C7 },
|
|
{ 0x10CD, 0x10CD },
|
|
{ 0x13A0, 0x13F5 },
|
|
{ 0x13F8, 0x13FD },
|
|
{ 0x1D00, 0x1DBF },
|
|
{ 0x1E00, 0x1F15 },
|
|
{ 0x1F18, 0x1F1D },
|
|
{ 0x1F20, 0x1F45 },
|
|
{ 0x1F48, 0x1F4D },
|
|
{ 0x1F50, 0x1F57 },
|
|
{ 0x1F59, 0x1F59 },
|
|
{ 0x1F5B, 0x1F5B },
|
|
{ 0x1F5D, 0x1F5D },
|
|
{ 0x1F5F, 0x1F7D },
|
|
{ 0x1F80, 0x1FB4 },
|
|
{ 0x1FB6, 0x1FBC },
|
|
{ 0x1FBE, 0x1FBE },
|
|
{ 0x1FC2, 0x1FC4 },
|
|
{ 0x1FC6, 0x1FCC },
|
|
{ 0x1FD0, 0x1FD3 },
|
|
{ 0x1FD6, 0x1FDB },
|
|
{ 0x1FE0, 0x1FEC },
|
|
{ 0x1FF2, 0x1FF4 },
|
|
{ 0x1FF6, 0x1FFC },
|
|
{ 0x2071, 0x2071 },
|
|
{ 0x207F, 0x207F },
|
|
{ 0x2090, 0x209C },
|
|
{ 0x2102, 0x2102 },
|
|
{ 0x2107, 0x2107 },
|
|
{ 0x210A, 0x2113 },
|
|
{ 0x2115, 0x2115 },
|
|
{ 0x2119, 0x211D },
|
|
{ 0x2124, 0x2124 },
|
|
{ 0x2126, 0x2126 },
|
|
{ 0x2128, 0x2128 },
|
|
{ 0x212A, 0x212D },
|
|
{ 0x212F, 0x2134 },
|
|
{ 0x2139, 0x2139 },
|
|
{ 0x213C, 0x213F },
|
|
{ 0x2145, 0x2149 },
|
|
{ 0x214E, 0x214E },
|
|
{ 0x2160, 0x217F },
|
|
{ 0x2183, 0x2184 },
|
|
{ 0x24B6, 0x24E9 },
|
|
{ 0x2C00, 0x2C2E },
|
|
{ 0x2C30, 0x2C5E },
|
|
{ 0x2C60, 0x2CE4 },
|
|
{ 0x2CEB, 0x2CEE },
|
|
{ 0x2CF2, 0x2CF3 },
|
|
{ 0x2D00, 0x2D25 },
|
|
{ 0x2D27, 0x2D27 },
|
|
{ 0x2D2D, 0x2D2D },
|
|
{ 0xA640, 0xA66D },
|
|
{ 0xA680, 0xA69D },
|
|
{ 0xA722, 0xA787 },
|
|
{ 0xA78B, 0xA78E },
|
|
{ 0xA790, 0xA7AD },
|
|
{ 0xA7B0, 0xA7B7 },
|
|
{ 0xA7F8, 0xA7FA },
|
|
{ 0xAB30, 0xAB5A },
|
|
{ 0xAB5C, 0xAB65 },
|
|
{ 0xAB70, 0xABBF },
|
|
{ 0xFB00, 0xFB06 },
|
|
{ 0xFB13, 0xFB17 },
|
|
{ 0xFF21, 0xFF3A },
|
|
{ 0xFF41, 0xFF5A },
|
|
{ 0x10400, 0x1044F },
|
|
{ 0x10C80, 0x10CB2 },
|
|
{ 0x10CC0, 0x10CF2 },
|
|
{ 0x118A0, 0x118DF },
|
|
{ 0x1D400, 0x1D454 },
|
|
{ 0x1D456, 0x1D49C },
|
|
{ 0x1D49E, 0x1D49F },
|
|
{ 0x1D4A2, 0x1D4A2 },
|
|
{ 0x1D4A5, 0x1D4A6 },
|
|
{ 0x1D4A9, 0x1D4AC },
|
|
{ 0x1D4AE, 0x1D4B9 },
|
|
{ 0x1D4BB, 0x1D4BB },
|
|
{ 0x1D4BD, 0x1D4C3 },
|
|
{ 0x1D4C5, 0x1D505 },
|
|
{ 0x1D507, 0x1D50A },
|
|
{ 0x1D50D, 0x1D514 },
|
|
{ 0x1D516, 0x1D51C },
|
|
{ 0x1D51E, 0x1D539 },
|
|
{ 0x1D53B, 0x1D53E },
|
|
{ 0x1D540, 0x1D544 },
|
|
{ 0x1D546, 0x1D546 },
|
|
{ 0x1D54A, 0x1D550 },
|
|
{ 0x1D552, 0x1D6A5 },
|
|
{ 0x1D6A8, 0x1D6C0 },
|
|
{ 0x1D6C2, 0x1D6DA },
|
|
{ 0x1D6DC, 0x1D6FA },
|
|
{ 0x1D6FC, 0x1D714 },
|
|
{ 0x1D716, 0x1D734 },
|
|
{ 0x1D736, 0x1D74E },
|
|
{ 0x1D750, 0x1D76E },
|
|
{ 0x1D770, 0x1D788 },
|
|
{ 0x1D78A, 0x1D7A8 },
|
|
{ 0x1D7AA, 0x1D7C2 },
|
|
{ 0x1D7C4, 0x1D7CB },
|
|
{ 0x1F130, 0x1F149 },
|
|
{ 0x1F150, 0x1F169 },
|
|
{ 0x1F170, 0x1F189 }
|
|
|
|
#define PREDICATE(c) uc_is_cased (c)
|
|
#include "test-predicate-part2.h"
|