@@ -45,6 +45,7 @@ FileType ; SealSources ; PropertyValue
4545
4646FileType ; NameAliases ; NameAliases
4747FileType ; NameAliasesProv ; NameAliases
48+ # TODO(egg): These probably want to be somehow associated with their base character.
4849FileType ; StandardizedVariants ; StandardizedVariants
4950FileType ; emoji-variation-sequences ; StandardizedVariants
5051
@@ -58,6 +59,8 @@ FileType ; CJKRadicals ; CJKRadicals
5859# NamedSequences File Type
5960# The code point is not in field 0, but instead in field 1.
6061# The value is in field 0
62+ # TODO(egg): This could be handled with a field mapping 1 ↦ 0 instead of a
63+ # dedicated file type.
6164
6265FileType ; NamedSequences ; NamedSequences
6366FileType ; NamedSequencesProv ; NamedSequences
@@ -70,11 +73,21 @@ FileType ; NamesList ; NamesList
7073# =======================================
7174
7275# Files where particular properties can be found, and in which field
73- # The format is:
74- # Field0 : file name
75- # Field1 : property name
76- # Field2 : field number in file (default is 1)
77- # Field3 : special handling
76+ # The format of these property location lines is:
77+ # <file name without extension>
78+ # ; <property alias>
79+ # [ ; <field mapping> [ ; <special handling> ] ]
80+ # [ ; <version> ]
81+ # Where <field mapping> is <key field index> ↦ <value field index>
82+ # or <value field index> (with the key field being field 0 by default).
83+ # If the <field mapping> is omitted, it is 0 ↦ 1 by default.
84+ # No <field mapping> is given for files whose type determine the field mapping,
85+ # such as PropertyValue: in a PropertyValue file, the key is always
86+ # field 0, the value field 2, and field 1 determines the property.
87+ # <version> has the form v<n>[.<n>.[.<n>]]; it determines the latest applicable
88+ # version for a past location of the property. If it is omitted, the location
89+ # is still current.
90+ # The <special handling> is only used for SpecialCasing:
7891# Skip1FT : Skip line if field 1 is F or T
7992# Skip1ST : Skip line if field 1 is S or T
8093# SkipAny4 : Skip line if field 4 is not empty
0 commit comments