Changeset 391 for proto


Ignore:
Timestamp:
May 3, 2010, 2:37:13 PM (9 years ago)
Author:
ksherdy
Message:

Replaced SpanStreamStartsCursor? with SpanStreamsEndsCursor?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/asm.py

    r339 r391  
    176176    SpanStreamEnds = SpanStream + SpanStreamStarts
    177177    ScanStream = ~(SpanStreamStarts | SpanStreamEnds) & EOFMask
    178    
     178       
    179179    # Set start position cursor
    180180    SpanStreamStartsCursor = 1
     
    184184    while SpanStreamStartsCursor > 0:
    185185        # Set end positions cursor
    186         SpanStreamStartsCursor = bitutil.Advance(SpanStreamStartsCursor)
     186        SpanStreamEndsCursor = bitutil.Advance(SpanStreamStartsCursor)
    187187        SpanStreamEndsCursor = bitutil.ScanThru(SpanStreamStartsCursor,ScanStream)
    188188        SpanStreamEndsCursor &= EOFMask
     
    297297
    298298    # 2. Extract UTF-8 Text into U8TextBuffer
    299     U8TextBuffer = bitutil.filter_bytes(U8Data, (~U8TextSpans & EOF_mask))       
     299    U8TextBuffer = bitutil.filter_bytes(U8Data, (~U8TextSpans & EOF_mask))
    300300   
    301301    U8TextLengths = SpanStream2LengthArray(U8TextSpans, EOF_mask)
Note: See TracChangeset for help on using the changeset viewer.