Changeset 4740


Ignore:
Timestamp:
Aug 22, 2015, 9:24:29 PM (4 years ago)
Author:
cameron
Message:

Age property support

Location:
proto/charsetcompiler/UCD
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/charsetcompiler/UCD/UCD_parser.py

    r4637 r4740  
    161161UCD_skip = re.compile("^#.*$|^\s*$")
    162162UCD_missing_regexp1 = re.compile("^#\s*@missing:\s*([0-9A-F]{4,6})[.][.]([0-9A-F]{4,6})\s*;\s*([-A-Za-z0-9_]+)\s*(?:[;#]|$)")
    163 UCD_point_name_regexp = re.compile("^([0-9A-F]{4,6})\s*;\s*((?:[-A-Za-z0-9_]+\s+)*[-A-Za-z0-9_]+)\s*(?:[;#]|$)")
    164 UCD_range_name_regexp = re.compile("^([0-9A-F]{4,6})[.][.]([0-9A-F]{4,6})\s*;\s*((?:[-A-Za-z0-9_]+\s+)*[-A-Za-z0-9_]+)\s*(?:[;#]|$)")
     163UCD_point_name_regexp = re.compile("^([0-9A-F]{4,6})\s*;\s*((?:[-A-Za-z0-9_.]+\s+)*[-A-Za-z0-9_.]+)\s*(?:[;#]|$)")
     164UCD_range_name_regexp = re.compile("^([0-9A-F]{4,6})[.][.]([0-9A-F]{4,6})\s*;\s*((?:[-A-Za-z0-9_.]+\s+)*[-A-Za-z0-9_.]+)\s*(?:[;#]|$)")
    165165
    166166def parse_UCD_enumerated_property_map(property_code, vlist, canon_map, mapfile, default_value = None):
  • proto/charsetcompiler/UCD/UCD_properties.py

    r4735 r4740  
    218218    ucd.generate_PropertyValueAliases_h()
    219219    #
     220    # The Age property
     221    ucd.generate_property_value_file('DerivedAge', 'age')
     222    #
    220223    # The Block property
    221224    ucd.generate_property_value_file('Blocks', 'blk')
Note: See TracChangeset for help on using the changeset viewer.