Ignore:
Timestamp:
Sep 23, 2016, 4:12:41 PM (3 years ago)
Author:
nmedfort
Message:

Initial work for incorporating Types into Pablo AST.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pe_infile.h

    r5042 r5160  
    2727    }
    2828protected:
    29     InFile(PabloAST * expr, String * name) : Statement(ClassTypeId::InFile, {expr}, name) { }
     29    InFile(PabloAST * expr, String * name)
     30    : Statement(ClassTypeId::InFile, expr->getType(), {expr}, name) {
     31
     32    }
    3033};
    3134
     
    4548    }
    4649protected:
    47     AtEOF(PabloAST * expr, String * name) : Statement(ClassTypeId::AtEOF, {expr}, name) { }
     50    AtEOF(PabloAST * expr, String * name)
     51    : Statement(ClassTypeId::AtEOF, expr->getType(), {expr}, name) {
     52
     53    }
    4854};
    4955   
Note: See TracChangeset for help on using the changeset viewer.