Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ucd2c.pl: Add support for integer based enum properties
This acts similarly to our string enums except it uses an enum of integers. Currently our integer properties store the integer values themselves in the bitfield. This change also makes improvements in property checking. Checking that property value codes are not repeated and all of them are in the same order. For now there is an exception for Numeric_Type because for whatever reason Digit is removed and it is registered as its own property. This is a long standing bug where <:Digit> matches anything, but I am leaving that as it is until another commit.
- Loading branch information
Showing
1 changed file
with
131 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters