Ignore:
Timestamp:
Nov 27, 2017, 2:29:22 PM (19 months ago)
Author:
cameron
Message:

Represent the Any symbol as a Name

File:
1 edited

Legend:

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

    r5691 r5747  
    100100        const std::string value = property->getName();
    101101        // Try special cases of Unicode TR #18
    102         if (value == "any") {
    103             property->setDefinition(makeAny());
     102        if ((value == "any") || (value == ".")) {
     103            property->setDefinition(makeCC(0, 0x10FFFF));
    104104            return true;
    105105        } else if (value == "ascii") {
     
    199199            // Now compatibility properties of UTR #18 Annex C
    200200                   
     201            else if (value == ".") return UnicodeSet(0, 0x10FFFF);
    201202            else if (value == "alnum") {
    202203                Name * digit = makeName("nd", Name::Type::UnicodeProperty);
Note: See TracChangeset for help on using the changeset viewer.