Fixed unexplained rebase conflicts

This commit is contained in:
Ate Eskola 2023-01-14 17:11:21 +02:00
parent e53a0aba9f
commit 6e79e72334

View file

@ -7043,9 +7043,9 @@ template genericDecodeGrapheme(bool getValue)
mixin(eat); mixin(eat);
goto L_End; goto L_End;
case Emoji: case Emoji:
if (!extend[ch]) if (!graphemeExtend[ch])
{ {
static assert(!extend['\u200D']); static assert(!graphemeExtend['\u200D']);
if (ch == '\u200D') if (ch == '\u200D')
state = EmojiZWJ; state = EmojiZWJ;
else else
@ -7120,7 +7120,7 @@ template genericDecodeGrapheme(bool getValue)
{ {
ch = range.front; ch = range.front;
// extend & spacing marks // extend & spacing marks
if (!extend[ch] && !spacingMark[ch] && ch != '\u200D') if (!graphemeExtend[ch] && !spacingMark[ch] && ch != '\u200D')
break; break;
mixin(eat); mixin(eat);
} }
@ -10651,22 +10651,22 @@ private:
auto graphemeExtendTrie() auto graphemeExtendTrie()
{ {
import std.internal.unicode_grapheme : ExtendTrieEntries; import std.internal.unicode_grapheme : graphemeExtendTrieEntries;
static immutable res = asTrie(ExtendTrieEntries); static immutable res = asTrie(graphemeExtendTrieEntries);
return res; return res;
} }
auto hangLV() auto hangLV()
{ {
import std.internal.unicode_grapheme : LVTrieEntries; import std.internal.unicode_grapheme : hangulLVTrieEntries;
static immutable res = asTrie(LVTrieEntries); static immutable res = asTrie(hangulLVTrieEntries);
return res; return res;
} }
auto hangLVT() auto hangLVT()
{ {
import std.internal.unicode_grapheme : LVTTrieEntries; import std.internal.unicode_grapheme : hangulLVTTrieEntries;
static immutable res = asTrie(LVTTrieEntries); static immutable res = asTrie(hangulLVTTrieEntries);
return res; return res;
} }