Changeset 4391


Ignore:
Timestamp:
Jan 2, 2015, 8:11:26 PM (4 years ago)
Author:
cameron
Message:

Handling negated binary properties

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/resolve_properties.cpp

    r4390 r4391  
    132132                    }
    133133                    else {
    134                         throw UnicodePropertyExpressionError("Negated binary property " + UCD::property_full_name[theprop] + " recognized, but not supported");
     134                        re::Name * binprop = re::makeName("__get_" + lowercase(UCD::property_enum_name[theprop]) + "_Y", Name::Type::UnicodeProperty);
     135                        name->setDefinition(re::makeDiff(re::makeAny(), binprop));
     136                        return;
    135137                    }
    136138                }
Note: See TracChangeset for help on using the changeset viewer.