mirror of
https://github.com/dlang/phobos.git
synced 2025-04-26 13:10:35 +03:00
Missing two tables & some clarrifications (Real author is Richard Cattermole, name changed while rebasing)
This commit is contained in:
parent
fce7d2f6e8
commit
e53a0aba9f
3 changed files with 44 additions and 18 deletions
|
@ -6974,8 +6974,8 @@ private static bool isRegionalIndicator(dchar ch) @safe pure @nogc nothrow
|
|||
|
||||
template genericDecodeGrapheme(bool getValue)
|
||||
{
|
||||
alias extend = graphemeExtendTrie;
|
||||
alias spacingMark = mcTrie;
|
||||
alias graphemeExtend = graphemeExtendTrie;
|
||||
alias spacingMark = spacingMarkTrie;
|
||||
alias prepend = prependTrie;
|
||||
alias ccTrie = graphemeControlTrie;
|
||||
alias xpicto = xpictoTrie;
|
||||
|
@ -10642,10 +10642,10 @@ private:
|
|||
}
|
||||
|
||||
//grapheme breaking algorithm tables
|
||||
auto mcTrie()
|
||||
auto spacingMarkTrie()
|
||||
{
|
||||
import std.internal.unicode_grapheme : SpacingMarkTrieEntries;
|
||||
static immutable res = asTrie(SpacingMarkTrieEntries);
|
||||
import std.internal.unicode_grapheme : spacingMarkTrieEntries;
|
||||
static immutable res = asTrie(spacingMarkTrieEntries);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue