Changeset 2206 for proto/parabix2


Ignore:
Timestamp:
Jun 4, 2012, 7:03:52 PM (7 years ago)
Author:
cameron
Message:

Added pablo.advance(strm, n) support (non-nested).

Location:
proto/parabix2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/pablo_template.cpp

    r2204 r2206  
    66
    77#define LocalCarryDeclare(name, count)\
    8 CarryArray<count> name;\
     8CarryArray<count, 0> name;\
    99
    1010#include "../lib/bitblock.hpp"
  • proto/parabix2/parabix2_pablo.py

    r2204 r2206  
    321321        v = lex.LAngle | lex.Hyphen
    322322        w = lex.Hyphen | lex.QMark
    323         v1 = pablo.Advance(v)
    324         w1 = pablo.Advance(w)
     323        v1 = pablo.Advance(v,1)
     324        w1 = pablo.Advance(w,1)
    325325       
    326326        LAngle_scope = v1 &~ w1  #pablo.Advance(lex.LAngle)
Note: See TracChangeset for help on using the changeset viewer.