Ignore:
Timestamp:
Oct 9, 2014, 10:52:36 AM (5 years ago)
Author:
nmedfort
Message:

Corrected some uninitialized value usage; -Wall reports hundreds in unicode_categories.h; these were not fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/compiler.cpp

    r4220 r4227  
    2525//#include "pbix_counter.h"
    2626
    27 // #define DEBUG_PRINT_RE_AST
    28 // #define DEBUG_PRINT_PBIX_AST
     27//#define DEBUG_PRINT_RE_AST
     28//#define DEBUG_PRINT_PBIX_AST
    2929
    3030#ifdef DEBUG_PRINT_RE_AST
    31 #include "printer_re.h"
     31#include <re/printer_re.h>
    3232#endif
    3333#ifdef DEBUG_PRINT_PBIX_AST
    34 #include "printer_pablos.h"
     34#include <pablo/printer_pablos.h>
    3535#endif
    3636
     
    132132    #ifdef DEBUG_PRINT_PBIX_AST
    133133    //Print to the terminal the AST that was generated by the character class compiler.
    134     std::cerr << "Pablo CC AST:" << std::endl << StatementPrinter::Print_CC_PabloStmts(cg.expressions()) << std::endl;
    135     //Print to the terminal the AST that was generated for the re subexpressions.
    136     std::cerr << "Subexpressions:" << StatementPrinter::PrintStmts(cg) << std::endl;
     134    std::cerr << "Pablo CC AST:" << std::endl << StatementPrinter::Print_CC_PabloStmts(main.expressions()) << std::endl;
    137135    #endif
    138136
     
    141139    #ifdef DEBUG_PRINT_PBIX_AST
    142140    //Print to the terminal the AST that was generated by the pararallel bit-stream compiler.
    143     std::cerr << "Final Pablo AST:" << StatementPrinter::PrintStmts(cg) << ")" << std::endl;
    144     //Print a count of the Pablo statements and expressions that are contained in the AST from the pbix compiler.
    145     // std::cerr << "Pablo Statement Count: " << Pbix_Counter::Count_PabloStatements(re_cg_state.stmtsl) << std::endl;
     141    std::cerr << "Final Pablo AST:" << StatementPrinter::Print_CC_PabloStmts(main.expressions()) << ")" << std::endl;
    146142    #endif
    147143
Note: See TracChangeset for help on using the changeset viewer.