Ignore:
Timestamp:
Apr 16, 2013, 2:48:59 PM (6 years ago)
Author:
cameron
Message:

More tightening of paren match prototypes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/matchparens/pablo.py

    r2454 r3031  
    151151
    152152def AdvanceThenScanTo(marker, scanclass):
    153         return ScanTo(marker, scanclass &~ marker)
     153        #return ScanTo(Advance(marker), scanclass)
     154        charclass = ~scanclass & EOF_mask
     155        return (marker + (charclass | marker)) &~ charclass
    154156
    155157#
Note: See TracChangeset for help on using the changeset viewer.