Ignore:
Timestamp:
Sep 7, 2016, 11:54:14 AM (3 years ago)
Author:
cameron
Message:

Updates for Unicode 9.0; clean-ups

File:
1 edited

Legend:

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

    r5131 r5143  
    99#
    1010import re, string, os.path, cformat
     11import UCD_config
    1112from UCD_parser import *
    1213
    13 UCD_dir = "8.0.0"
    1414
    1515UnicodeNameData_cpp_template = r"""
     
    3535        name_data_string += cp + ";" + name + "\\n"
    3636        name_data_len += len(cp) + len(name) + 2
    37     f = open('UnicodeNameData.cpp', 'w')
     37    f = open(UCD_config.UCD_output_dir + '/UnicodeNameData.cpp', 'w')
    3838    f.write(UnicodeNameData_cpp_template % (name_data_len + 1, name_data_string))
    3939    f.close()
Note: See TracChangeset for help on using the changeset viewer.