Ignore:
Timestamp:
Dec 24, 2017, 12:05:36 PM (15 months ago)
Author:
cameron
Message:

Name::Type::Byte removed in favor of cc::Byte alphabet; other cleanups

File:
1 edited

Legend:

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

    r5798 r5805  
    513513    for (auto & t : names) {
    514514        Name * const name = t.first;
    515         if (name->getType() == Name::Type::Byte) {
    516             continue;
    517         }       
    518515        CC * const cc = dyn_cast<CC>(name->getDefinition());
    519         if (cc) {
     516        if (cc && (cc->getAlphabet() == &cc::Unicode)) {
    520517            const auto f = CCs.find(cc);
    521518            // This check may not be needed. Memoization ought to detect duplicate classes earlier.
     
    531528            }
    532529        } else {
    533             report_fatal_error(name->getName() + " is not defined by a CC!");
     530            report_fatal_error(name->getName() + " is not defined by a Unicode CC!");
    534531        }
    535532    }
Note: See TracChangeset for help on using the changeset viewer.