Ignore:
Timestamp:
Jul 13, 2017, 2:41:50 PM (20 months ago)
Author:
xuedongx
Message:

Separate name resolve and gather for future use. Add re_colloect_unicodesets and re_multiplex.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_compiler.cpp

    r5563 r5565  
    2222#include <re/re_name.h>             // for Name, Name::Type, Name::Type::Zer...
    2323#include <re/re_name_resolve.h>     // for resolveNames
     24#include <re/re_name_gather.h>      // for gatherNames
    2425#include <re/re_rep.h>              // for Rep, Rep::::UNBOUNDED_REP
    2526#include <re/re_seq.h>              // for Seq
     
    4647    mCompiledName = &mBaseMap;
    4748
    48     auto nameMap = resolveNames(re, ZeroWidth);
     49    re = resolveNames(re);
     50    auto nameMap = gatherNames(re, ZeroWidth);
    4951    if (LLVM_LIKELY(nameMap.size() > 0)) {
    5052        UCD::UCDCompiler ucdCompiler(mCCCompiler);
Note: See TracChangeset for help on using the changeset viewer.