Ignore:
Timestamp:
Jan 1, 2015, 4:35:28 PM (4 years ago)
Author:
cameron
Message:

Updated generator files for new predefined property support

File:
1 edited

Legend:

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

    r4375 r4387  
    133133        property_value_lookup_map[prop_code][canonicalize(value_preferred_full_name)] = value_enum
    134134        for a in value_aliases: property_value_lookup_map[prop_code][canonicalize(a)] = value_enum
     135    # Special case for scx:
     136    property_value_list['scx'] = property_value_list['sc']
     137    property_value_enum_integer['scx'] = property_value_enum_integer['sc']
     138    property_value_full_name_map['scx'] = property_value_full_name_map['sc']
     139    property_value_lookup_map['scx'] = property_value_lookup_map['sc']
    135140    return (property_value_list, property_value_enum_integer, property_value_full_name_map, property_value_lookup_map, missing_specs)
    136141
Note: See TracChangeset for help on using the changeset viewer.