Changeset 2898 for proto/PDF


Ignore:
Timestamp:
Feb 4, 2013, 2:44:11 PM (6 years ago)
Author:
lindanl
Message:

zero mask initialization fixed. name escape: hex string to value.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/PDF/cb_pablo.py

    r2896 r2898  
    299299    out_Callouts.bit_6 = basis_bits.bit_6
    300300    out_Callouts.bit_7 = basis_bits.bit_7
    301 
     301   
     302    names_escapes_scope1 = pablo.Advance(out_Callouts.names_escapes)
     303    names_escapes_scope2 = pablo.Advance(names_escapes_scope1)
     304    out_Callouts.hexString_mask |= names_escapes_scope1 | names_escapes_scope2
    302305   
    303306    if out_Callouts.hexString_mask:
     
    328331       
    329332    if out_Callouts.names_escapes:
    330         names_escapes_scope1 = pablo.Advance(out_Callouts.names_escapes)
    331         names_escapes_scope2 = pablo.Advance(names_escapes_scope1)
    332333        out_Callouts.delmask |= out_Callouts.names_escapes | names_escapes_scope1
    333334        out_Callouts.bit_0 = (out_Callouts.bit_0 &~ names_escapes_scope2) #| pablo.Advance(out_Callouts.bit_4 & names_escapes_scope1)
     
    341342     
    342343 
    343     out_Callouts.zeromask |= out_Callouts.delmask 
     344    out_Callouts.zeromask = out_Callouts.delmask 
    344345    out_Callouts.bit_0 = out_Callouts.bit_0 &~ out_Callouts.zeromask   
    345346    out_Callouts.bit_1 = out_Callouts.bit_1 &~ out_Callouts.zeromask
     
    351352    out_Callouts.bit_7 = out_Callouts.bit_7 &~ out_Callouts.zeromask
    352353   
    353    
    354 
    355354
    356355def Main(basis_bits, lex, escape_Callouts, out_Callouts):
Note: See TracChangeset for help on using the changeset viewer.