Changeset 1221 for proto


Ignore:
Timestamp:
Jul 14, 2011, 6:03:59 AM (8 years ago)
Author:
cameron
Message:

Eliminate LAngleFollow from tag_Callouts; superfluous

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_pablo.py

    r1199 r1221  
    118118        EmptyTag_marks = 0
    119119        EndTag_marks = 0
    120         LAngleFollow = 0
    121120        error = 0
    122121       
     
    389388        # Start the parallel parsing by inspecting the character
    390389        # after the opening "<" of a tag.
    391         tag_Callouts.LAngleFollow = scope1.LAngle &~ ctCDPI_Callouts.CtCDPI_mask
    392         tag_Callouts.ElemName_starts = tag_Callouts.LAngleFollow & ~lex.Slash
    393         tag_Callouts.EndTag_marks = tag_Callouts.LAngleFollow & lex.Slash
     390        LAngleFollow = scope1.LAngle &~ ctCDPI_Callouts.CtCDPI_mask
     391        tag_Callouts.ElemName_starts = LAngleFollow & ~lex.Slash
     392        tag_Callouts.EndTag_marks = LAngleFollow & lex.Slash
    394393       
    395394        # Start Tag/Empty Element Tag Parsing
     
    533532    check_streams.error_mask = lex.error & EOF_mask | u8.error | u8.FFFE_FFFF | ctCDPI_Callouts.error | tag_Callouts.error | CD_end_error | ref_Callouts.error | xml_names.namespace_error
    534533
    535     check_streams.tag_marks = tag_Callouts.EmptyTag_marks | tag_Callouts.LAngleFollow | tag_Callouts.AttName_starts
     534    check_streams.tag_marks = tag_Callouts.EmptyTag_marks | tag_Callouts.ElemName_starts | tag_Callouts.EndTag_marks | tag_Callouts.AttName_starts
    536535    check_streams.name_follows = tag_Callouts.ElemName_ends | tag_Callouts.AttName_ends
    537536    check_streams.att_refs = tag_Callouts.AttVal_spans & scope1.RefStart
Note: See TracChangeset for help on using the changeset viewer.