Corrected type name Prop_List_Property

This commit is contained in:
StudebakerGuy
2026-03-09 19:25:00 -04:00
parent dca824c6af
commit 20b4d5757f
2 changed files with 5 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ string_to_proplist_property :: proc(str: string) -> (prop: Prop_List_Property) {
case "Prepended_Concatenation_Mark": prop = .Prepended_Concatenation_Mark
case "Regional_Indicator": prop = .Regional_Indicator
case "Modifier_Combining_Mark": prop = .Modifier_Combining_Mark
case: prop = .Unknown_Property
case: prop = .Unknown
}
return
}
@@ -159,4 +159,4 @@ string_to_bidi_class :: proc "contextless" (str: string) -> (class: Bidi_Class)
case: class = .Unknown
}
return
}
}

View File

@@ -237,7 +237,7 @@ Data contained in the Unicode fiel PropList.txt
A `Prop_List` is the data contained in the Unicode Database (UCD) file `PropList.txt`.
It is created with the procedure `load_property_list` and destroyed with the procedure `destroy_property_list`.
*/
Prop_List :: [PropList_Property]Dynamic_Range
Prop_List :: [Prop_List_Property]Dynamic_Range
/*
This function destroys a `Prop_List` created by `load_property_list`.
@@ -268,7 +268,7 @@ load_property_list :: proc(filename: string, allocator := context.allocator) ->
}
rr: Range_Rune
prop: PropList_Property
prop: Prop_List_Property
i := 0
for _field in strings.split_iterator(&line, ";") {
@@ -287,4 +287,4 @@ load_property_list :: proc(filename: string, allocator := context.allocator) ->
}
return
}
}