Ignore:
Timestamp:
Mar 25, 2016, 5:42:03 PM (3 years ago)
Author:
nmedfort
Message:

Symbol table work and untested kernel instatiate method for multiple input streams

File:
1 edited

Legend:

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

    r4841 r4991  
    44#include <re/re_cc.h>
    55#include <vector>
    6 #ifdef USE_BOOST
    76#include <boost/container/flat_map.hpp>
    8 #else
    9 #include <unordered_map>
    10 #endif
    117
    128namespace cc {
     
    3430    using codepoint_t = re::codepoint_t;
    3531    using RangeList = std::vector<re::interval_t>;
    36     #ifdef USE_BOOST
    3732    using TargetMap = boost::container::flat_map<const UnicodeSet *, PabloAST *>;
    38     #else
    39     using TargetMap = std::unordered_map<const UnicodeSet *, PabloAST *>;
    40     #endif
    4133    using Target = std::pair<const UnicodeSet *, PabloAST *>;
    4234    using TargetVector = std::vector<Target>;
     
    4739public:
    4840
    49     #ifdef USE_BOOST
    5041    using NameMap = boost::container::flat_map<re::Name *, PabloAST *>;
    51     #else
    52     using NameMap = std::unordered_map<re::Name *, PabloAST *>;
    53     #endif
    5442
    5543    UCDCompiler(cc::CC_Compiler & ccCompiler);
Note: See TracChangeset for help on using the changeset viewer.