Ignore:
Timestamp:
Mar 28, 2014, 12:53:17 AM (5 years ago)
Author:
ksherdy
Message:

Added clear function def to b2k kernels to support segment-at-a-time grep.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/s2k/trunk/framework/input/grammar/scatter/b2k.scatter

    r3699 r3761  
    9090    // k e r n e l   d e c l a r a t i o n s
    9191    //
    92     kernelDef           ->     KERNEL kernelName LCURLY initDef funcDef (optFuncDef)? expr TERMINATOR RCURLY TERMINATOR? ; // KH: TODO - a temporary hack that appends a CarryDeclare node
     92    kernelDef           ->     KERNEL kernelName LCURLY initDef funcDef (funcDef)* carryDeclare TERMINATOR RCURLY TERMINATOR? ;
    9393    kernelName          #-> identifier ;
    9494
     
    111111    parameterName       #-> identifier ;
    112112    basicBlockStmt      #-> blockStmt ;
    113     optFuncDef          #-> funcDef ;
     113    //optFuncDef          #-> funcDef ;
     114    carryDeclare                #-> expr; // // KH: temp hack to append the CarryDeclare() macro
    114115
    115116    //
Note: See TracChangeset for help on using the changeset viewer.