Ignore:
Timestamp:
Mar 4, 2018, 9:38:52 AM (15 months ago)
Author:
cameron
Message:

Allow RE compilers to be associated with any Pablo block, not just kernel entry

File:
1 edited

Legend:

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

    r5881 r5888  
    11/*
    2  *  Copyright (c) 2014 International Characters.
     2 *  Copyright (c) 2018 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 *  icgrep is a trademark of International Characters.
     
    1414namespace cc { class CC_Compiler; class Alphabet;}
    1515namespace pablo { class PabloAST; }
    16 namespace pablo { class PabloBuilder; }
    17 namespace pablo { class PabloKernel; }
     16namespace pablo { class PabloBlock; }
    1817namespace pablo { class Var; }
    1918namespace re { class Alt; }
     
    5150    };
    5251
    53     RE_Compiler(pablo::PabloKernel * kernel, cc::CC_Compiler & ccCompiler);
     52    RE_Compiler(pablo::PabloBlock * scope, cc::CC_Compiler & ccCompiler);
    5453   
    5554    //
     
    136135    std::vector<std::unique_ptr<cc::CC_Compiler>>   mAlphabetCompilers;
    137136
    138     bool                                            mCountOnly;
    139137    cc::CC_Compiler &                               mCCCompiler;
    140138    pablo::PabloAST *                               mLineBreak;
Note: See TracChangeset for help on using the changeset viewer.