@@ -48,7 +48,7 @@ public void applyAllCaseFold(int flag, ApplyAllCaseFoldFunction fun, Object arg)
48
48
49
49
if (b == 0x53 && end > p + 1 &&
50
50
(bytes [p +1 ] == (byte )0x53 || bytes [p +1 ] == (byte )0x73 )) { /* ss */
51
- CaseFoldCodeItem item1 = new CaseFoldCodeItem (2 , 1 , new int []{0xdf });
51
+ CaseFoldCodeItem item1 = new CaseFoldCodeItem (2 , 1 , new int []{SHARP_s });
52
52
53
53
return new CaseFoldCodeItem []{item0 , item1 };
54
54
} else {
@@ -59,16 +59,16 @@ public void applyAllCaseFold(int flag, ApplyAllCaseFoldFunction fun, Object arg)
59
59
60
60
if (b == 0x73 && end > p + 1 &&
61
61
(bytes [p +1 ] == (byte )0x73 || bytes [p +1 ] == (byte )0x53 )) { /* ss */
62
- CaseFoldCodeItem item1 = new CaseFoldCodeItem (2 , 1 , new int []{0xdf });
62
+ CaseFoldCodeItem item1 = new CaseFoldCodeItem (2 , 1 , new int []{SHARP_s });
63
63
return new CaseFoldCodeItem []{item0 , item1 };
64
64
} else {
65
65
return new CaseFoldCodeItem []{item0 };
66
66
}
67
67
68
68
} else if (0xc0 <= b && b <= 0xcf ) {
69
69
return new CaseFoldCodeItem []{new CaseFoldCodeItem (1 , 1 , new int []{b + 0x20 })};
70
- } else if (0xd0 <= b && b <= 0xdf ) {
71
- if (b == 0xdf ) {
70
+ } else if (0xd0 <= b && b <= SHARP_s ) {
71
+ if (b == SHARP_s ) {
72
72
CaseFoldCodeItem item0 = new CaseFoldCodeItem (1 , 2 , new int []{'s' , 's' });
73
73
CaseFoldCodeItem item1 = new CaseFoldCodeItem (1 , 2 , new int []{'S' , 'S' });
74
74
CaseFoldCodeItem item2 = new CaseFoldCodeItem (1 , 2 , new int []{'s' , 'S' });
0 commit comments