Changeset 138


Ignore:
Timestamp:
02/20/09 00:59:03 (3 years ago)
Author:
matthiasm
Message:

Functions can now be printed in BinFromHex notation as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/src/newt_core/NewtPrint.c

    r136 r138  
    768768    uint32_t    i; 
    769769 
    770     if (NewtRefIsFunction(r) && ! NEWT_DUMPBC) 
     770    if (!newt_env._printBinaries) 
    771771    { 
    772         NIOPrintFnFrame(f, r); 
    773         return; 
    774     } 
    775  
    776     if (NewtRefIsRegex(r) && ! NEWT_DUMPBC) 
    777     { 
    778         NIOPrintRegexFrame(f, r); 
    779         return; 
     772        if (NewtRefIsFunction(r) && ! NEWT_DUMPBC) 
     773        { 
     774            NIOPrintFnFrame(f, r); 
     775            return; 
     776        } 
     777 
     778        if (NewtRefIsRegex(r) && ! NEWT_DUMPBC) 
     779        { 
     780            NIOPrintRegexFrame(f, r); 
     781            return; 
     782        } 
    780783    } 
    781784 
Note: See TracChangeset for help on using the changeset viewer.