Changeset 899 for proto


Ignore:
Timestamp:
Feb 6, 2011, 11:44:49 AM (9 years ago)
Author:
cameron
Message:

Multiplex scope streams

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_pablo.py

    r896 r899  
    7878        Hex = 0
    7979        WS = 0
    80         EndTag_start = 0
    81         DoubleHyphen = 0
    8280
    8381class Scope1 ():
     
    309307       
    310308def Add_scope_streams(lex, scope1):
    311         scope1.LAngle = bitutil.Advance(lex.LAngle)
    312         scope1.Hyphen = bitutil.Advance(lex.Hyphen)
    313         scope1.QMark = bitutil.Advance(lex.QMark)
     309        #scope1.LAngle = bitutil.Advance(lex.LAngle)
     310        #scope1.Hyphen = bitutil.Advance(lex.Hyphen)
     311        #scope1.QMark = bitutil.Advance(lex.QMark)
     312        v = lex.LAngle | lex.Hyphen
     313        w = lex.Hyphen | lex.QMark
     314        v1 = bitutil.Advance(v)
     315        w1 = bitutil.Advance(w)
     316        scope1.LAngle = v1 &~ w1
     317        scope1.Hyphen = v1 & w1
     318        scope1.QMark = w1 &~ v1
    314319
    315320def Parse_CtCDPI(ctCDPI_Callouts, lex, scope1, masks, post_process):
Note: See TracChangeset for help on using the changeset viewer.