Ignore:
Timestamp:
Jul 5, 2010, 5:35:21 PM (9 years ago)
Author:
cameron
Message:

Restructure to use _scope variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/u8u16.py

    r314 r438  
    3636        error_mask = u8.badprefix
    3737       
    38         error_mask |= bitutil.Advance(u8.xE0) & u8.x80_x9F
    39         error_mask |= bitutil.Advance(u8.xED) & u8.xA0_xBF
    40         error_mask |= bitutil.Advance(u8.xF0) & u8.x80_x8F
    41         error_mask |= bitutil.Advance(u8.xF4) & u8.x90_xBF
     38        error_mask |= u8.xE0_scope & u8.x80_x9F
     39        error_mask |= u8.xED_scope & u8.xA0_xBF
     40        error_mask |= u8.xF0_scope & u8.x80_x8F
     41        error_mask |= u8.xF4_scope & u8.x90_xBF
    4242       
    4343        error_mask |= u8anyscope ^ u8.suffix
Note: See TracChangeset for help on using the changeset viewer.