Ignore:
Timestamp:
Oct 2, 2018, 10:46:20 AM (9 months ago)
Author:
cameron
Message:

RE Transformation names and printing

File:
1 edited

Legend:

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

    r6167 r6170  
    1212#include <re/re_memoizer.hpp>
    1313#include <re/printer_re.h>
     14#include <re/re_toolchain.h>
    1415#include <UCD/ucd_compiler.hpp>
    1516#include <UCD/resolve_properties.h>
     
    3031class CC_multiplexer : public RE_Transformer {
    3132public:
    32     CC_multiplexer(cc::MultiplexedAlphabet * mpx) : RE_Transformer(), mMultiplexedAlphabet(mpx) {}
     33    CC_multiplexer(cc::MultiplexedAlphabet * mpx) :
     34        RE_Transformer("Multiplex_" + mpx->getName()), mMultiplexedAlphabet(mpx) {}
    3335    RE * transformCC(CC *) override;
    3436    RE * transformName(Name *) override;
     
    5860
    5961RE * transformCCs(cc::MultiplexedAlphabet * mpx, RE * re) {
    60     return CC_multiplexer(mpx).transform(re);
     62    return CC_multiplexer(mpx).transformRE(re);
    6163}
    6264
Note: See TracChangeset for help on using the changeset viewer.