Changeset 440 for proto


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

Move u8.scopeXX variable inits into byteclass.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/parabix2/u8u16.py

    r438 r440  
    2424
    2525def validate_utf8(u8):
    26         u8.scope22 = bitutil.Advance(u8.prefix2)
    27         u8.scope32 = bitutil.Advance(u8.prefix3)
    28         u8.scope33 = bitutil.Advance(u8.scope32)
    29         u8.scope42 = bitutil.Advance(u8.prefix4)
    30         u8.scope43 = bitutil.Advance(u8.scope42)
    31         u8.scope44 = bitutil.Advance(u8.scope43)
    3226        u8lastscope = u8.scope22 | u8.scope33 | u8.scope44
    3327        u8anyscope = u8lastscope | u8.scope32 | u8.scope42 | u8.scope43
Note: See TracChangeset for help on using the changeset viewer.