Ignore:
Timestamp:
Jun 6, 2017, 6:20:55 PM (2 years ago)
Author:
cameron
Message:

Restore check-ins from the last several days

File:
1 edited

Legend:

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

    r5473 r5493  
    1010#include <re/re_compiler.h>            // for RE_Compiler
    1111#include <re/re_nullable.h>            // for RE_Nullable
     12#include <re/re_star_normal.h>         // for RE_Star_Normal
    1213#include <re/re_simplifier.h>          // for RE_Simplifier
    1314#include <re/printer_re.h>
     
    8182        std::cerr << "Simplifier:" << std::endl << Printer_RE::PrintRE(re_ast) << std::endl;
    8283    }
     84
     85    re_ast = re::RE_Star_Normal::star_normal(re_ast);
     86    if (PrintOptions.isSet(ShowAllREs) || PrintOptions.isSet(ShowSimplifiedREs)) {
     87        //Print to the terminal the AST that was transformed to the star normal form.
     88        std::cerr << "Star_Normal_Form:" << std::endl << Printer_RE::PrintRE(re_ast) << std::endl;
     89    }   
    8390    return re_ast;
    8491}
Note: See TracChangeset for help on using the changeset viewer.