Ignore:
Timestamp:
Sep 14, 2011, 11:57:40 AM (8 years ago)
Author:
cameron
Message:

inFile and atEOF functions replace EOF_mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/parabix2_pablo.py

    r1274 r1439  
    222222        lex.Hex = (temp62 | temp65);
    223223        lex_error = x00_x1F &~ lex.WS
    224         if lex_error & EOF_mask:
     224        if bitutil.inFile(lex_error):
    225225                error_tracker.NoteError("Error: illegal character", lex_error)
    226226               
     
    395395                ctCDPI_mask |= (CtCDPI_ends - CtCDPI_starts) | CtCDPI_ends             
    396396                # If any of the Comment, CDATA or PI markups are unterminated, it is an error.
    397                 ctCDPI_error = ctCDPI_mask &~ EOF_mask
     397                ctCDPI_error = bitutil.atEOF(ctCDPI_mask)
    398398       
    399399                if ctCDPI_error:
Note: See TracChangeset for help on using the changeset viewer.