mirror of
https://github.com/odin-lang/Odin.git
synced 2026-07-19 14:11:07 +00:00
Corrected type name Prop_List_Property
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user