File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ def generate_script_impl(f):
297
297
#[inline]
298
298
pub(crate) fn inner_short_name(self) -> &'static str {
299
299
match self {
300
- Script::Unknown => "",
300
+ Script::Unknown => "Zzzz ",
301
301
Script::Common => "Zyyy",
302
302
Script::Inherited => "Zinh",
303
303
""" )
@@ -312,6 +312,7 @@ def generate_script_impl(f):
312
312
#[inline]
313
313
pub(crate) fn inner_from_short_name(input: &str) -> Option<Self> {
314
314
match input {
315
+ "Zzzz" => Some(Script::Unknown),
315
316
"Zyyy" => Some(Script::Common),
316
317
"Zinh" => Some(Script::Inherited),
317
318
""" )
Original file line number Diff line number Diff line change @@ -1598,7 +1598,7 @@ impl Script {
1598
1598
#[ inline]
1599
1599
pub ( crate ) fn inner_short_name ( self ) -> & ' static str {
1600
1600
match self {
1601
- Script :: Unknown => "" ,
1601
+ Script :: Unknown => "Zzzz " ,
1602
1602
Script :: Common => "Zyyy" ,
1603
1603
Script :: Inherited => "Zinh" ,
1604
1604
Script :: Adlam => "Adlm" ,
@@ -1775,6 +1775,7 @@ impl Script {
1775
1775
#[ inline]
1776
1776
pub ( crate ) fn inner_from_short_name ( input : & str ) -> Option < Self > {
1777
1777
match input {
1778
+ "Zzzz" => Some ( Script :: Unknown ) ,
1778
1779
"Zyyy" => Some ( Script :: Common ) ,
1779
1780
"Zinh" => Some ( Script :: Inherited ) ,
1780
1781
"Adlm" => Some ( Script :: Adlam ) ,
You can’t perform that action at this time.
0 commit comments