Ignore:
Timestamp:
Sep 28, 2017, 2:11:38 PM (2 years ago)
Author:
cameron
Message:

Parse Unicode version; parse decomposition mapping fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/UCD-scripts/UCD_properties.py

    r5159 r5652  
    1010#
    1111#
    12 import re, string, os.path, cformat
     12import re, string, os.path, cformat, UCD_config
    1313from unicode_set import *
    1414from UCD_parser import *
     
    208208        cformat.write_imports(f, ['"%s.h"' % fname for fname in self.property_data_headers])
    209209        f.write("\nnamespace UCD {\n")
     210        f.write("   const std::string UnicodeVersion = \"%s\";\n" % UCD_config.version)
    210211        objlist = []
    211212        for p in self.property_enum_name_list:
     
    227228
    228229def UCD_main():
     230    setVersionfromReadMe_txt()
     231   
    229232    ucd = UCD_generator()
    230233
Note: See TracChangeset for help on using the changeset viewer.