Ignore:
Timestamp:
Jul 29, 2010, 7:07:25 AM (9 years ago)
Author:
cameron
Message:

Move Advance(Refstart) into conditional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_compilable.py

    r548 r549  
    9191  DoubleHyphen = 0
    9292  PI_end = 0
    93   RefStart_scope = 0
    9493  LAngle_scope = 0
    9594  Hyphen_scope = 0
     
    894893        xmlchar_error |= FFFE_FFFF
    895894
    896         lex.RefStart_scope = bitutil.Advance(lex.RefStart)
    897895        lex.LAngle_scope = bitutil.Advance(lex.LAngle)
    898896        lex.Hyphen_scope = bitutil.Advance(lex.Hyphen)
     
    10681066        # INLINED: refs = parse_refs(lex, CT_callouts.CtCDPI_mask)
    10691067        refs = ref_callouts()
    1070         Ref2 = lex.RefStart_scope &~ CT_callouts.CtCDPI_mask
    1071         if Ref2:
     1068        Ref1 = lex.RefStart &~ CT_callouts.CtCDPI_mask
     1069        if Ref1:
     1070                Ref2 = bitutil.Advance(Ref1)
    10721071                NumRef2 = Ref2 & lex.Hash
    10731072                GenRef2 = Ref2 &~ lex.Hash
Note: See TracChangeset for help on using the changeset viewer.