Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions utils/GYBUnicodeDataUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class GraphemeClusterBreakPropertyTable(UnicodeProperty):
# Note: Numeric values should be consistent with
# '_GraphemeClusterBreakPropertyValue' enum on the Swift side, and with
# 'GraphemeClusterBreakProperty' in the compiler C++ code. If there is a
# reason for eithor of those to differ, then this mapping can be overriden
# reason for either of those to differ, then this mapping can be overridden
# after an instance of this class is created.
numeric_value_table = {
'Other': 0,
Expand Down Expand Up @@ -270,7 +270,7 @@ def create_tables(self):
[ j for j in range(i << self.supp_second_level_index_bits, (i + 1) << self.supp_second_level_index_bits) ]
for i in range(0, self.supp_first_level_index_max + 1) ]

# An arry of supp data blocks.
# An array of supp data blocks.
self.supp_data = [
[ -1 for i in range(0, 1 << self.supp_data_offset_bits) ]
for i in range(0, (self.supp_first_level_index_max + 1) * (1 << self.supp_second_level_index_bits)) ]
Expand Down