Changeset 4148 for proto


Ignore:
Timestamp:
Sep 10, 2014, 4:59:35 PM (4 years ago)
Author:
cameron
Message:

Add DeriviedCoreProperties? for Unicode Level1 1; name consistency

File:
1 edited

Legend:

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

    r4147 r4148  
    7979   f.close()
    8080
    81 def generate_General_Categories_h():
     81def generate_DerivedGeneralCategory_h():
    8282   (categories, cat_map) = parse_UCD_codepoint_name_map('extracted/DerivedGeneralCategory.txt')
    83    f = open('General_Categories.h', 'w')
     83   f = open('DerivedGeneralCategory.h', 'w')
    8484   for k in categories:
    8585     f.write(cat_map[k].showC('GC["%s"]' % k))
    8686   f.close()
    8787
     88def generate_DerivedCoreProperties_h():
     89   (properties, prop_map) = parse_UCD_codepoint_name_map('DerivedCoreProperties.txt')
     90   f = open('DerivedCoreProperties.h', 'w')
     91   for k in properties:
     92     f.write(prop_map[k].showC(k))
     93   f.close()
    8894
     95
Note: See TracChangeset for help on using the changeset viewer.