Changeset 412

Show
Ignore:
Timestamp:
06/12/10 15:25:06 (3 years ago)
Author:
eamiri
Message:

error--> error_mask, unnecessary augmentation removed

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_compilable.py

    r409 r412  
    624624        CT_callouts.PI_span = PI_ends - PI_starts 
    625625         
    626         CT_callouts.CtCDPI_mask |= bitutil.Advance(CD_ends | Ct_ends | PI_ends) - CtCDPI_starts 
     626        CT_callouts.CtCDPI_mask = bitutil.Advance(CD_ends | Ct_ends | PI_ends) - CtCDPI_starts 
    627627        CT_callouts.error = Ct_ends & ~lex.RAngle | Ct_starts & ~ lex.Hyphen 
    628628        # If any of the Comment, CDATA or PI markups are unterminated, it is an error. 
     
    734734 
    735735        # Consolidate and check for errors 
    736         error = u8.error | xmlchar_error | CT_callouts.error | callouts.error | CD_end_error | refs.error 
     736        error_mask = u8.error | xmlchar_error | CT_callouts.error | callouts.error | CD_end_error | refs.error 
    737737 
    738738        # Consolidate the deletion_masks