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

lex.CtCDPI_Start

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_compilable.py

    r549 r550  
    9191  DoubleHyphen = 0
    9292  PI_end = 0
     93  CtCDPI_start = 0
    9394  LAngle_scope = 0
    9495  Hyphen_scope = 0
     
    266267        lex.PI_start = lex.LAngle_scope & lex.QMark
    267268        lex.CtCD_start = lex.LAngle_scope & lex.Exclam
     269        lex.CtCDPI_start = lex.PI_start | lex.CtCD_start
    268270        lex.EndTag_start = lex.LAngle_scope & lex.Slash
    269271        lex.CD_end = bitutil.Advance(lex.RBracket_scope & lex.RBracket) & lex.RAngle
     
    328330        CtCDPI_starts = 0
    329331        # Scanning streams
    330         CtCDPI_scan = ~(lex.CtCD_start | lex.PI_start) & EOF_mask
     332        CtCDPI_scan = ~lex.CtCDPI_start & EOF_mask
    331333        Ct_end_scan = ~lex.DoubleHyphen & EOF_mask
    332334        CD_end_scan = ~lex.CD_end & EOF_mask
     
    902904        lex.PI_start = lex.LAngle_scope & lex.QMark
    903905        lex.CtCD_start = lex.LAngle_scope & lex.Exclam
     906        lex.CtCDPI_start = lex.PI_start | lex.CtCD_start
    904907        lex.EndTag_start = lex.LAngle_scope & lex.Slash
    905908        lex.CD_end = bitutil.Advance(lex.RBracket_scope & lex.RBracket) & lex.RAngle
     
    921924        PI_name_ends = 0
    922925        # Scanning streams
    923         CtCDPI_scan = ~(lex.CtCD_start | lex.PI_start) & EOF_mask
     926        CtCDPI_scan = ~lex.CtCDPI_start & EOF_mask
    924927        Ct_end_scan = ~lex.DoubleHyphen & EOF_mask
    925928        CD_end_scan = ~lex.CD_end & EOF_mask
     
    11161119
    11171120        #return (CT_callouts, callouts, refs, u16hi, u16lo, delmask, error, lex, u16delmask, EOF_mask)
    1118         return (CT_callouts, callouts, refs, delmask, error, lex, EOF_mask, name_check, name_start_check, control)
     1121        return (CT_callouts, callouts, refs, error, lex, EOF_mask, name_check, name_start_check, control)
    11191122
    11201123def demo_parabix(u8data):
Note: See TracChangeset for help on using the changeset viewer.