Changeset 508 for trunk/thune/print.c

Show
Ignore:
Timestamp:
02/08/08 18:56:30 (10 months ago)
Author:
krobillard
Message:

GC was inadvertently disabled.
Fixed some GC bugs.
Print & recycle now handle macro!.
Fixed bug in ur_release().

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/thune/print.c

    r469 r508  
    284284    else if( braceType == UT_PAREN ) 
    285285        append1( '(', out ); 
    286 #ifdef UR_CONFIG_MARCOS 
     286#ifdef UR_CONFIG_MACROS 
    287287    else if( braceType == UT_MACRO ) 
    288         append1( '<', out ); 
     288    { 
     289        append( out, "^(", 2 ); 
     290        braceType = UT_PAREN; 
     291    } 
    289292#endif 
    290293 
     
    319322    else if( braceType == UT_PAREN ) 
    320323        append1( ')', out ); 
    321 #ifdef UR_CONFIG_MARCOS 
    322     else if( braceType == UT_MACRO ) 
    323         append1( '>', out ); 
    324 #endif 
    325324} 
    326325 
     
    11841183            break; 
    11851184 
     1185        case UT_BLOCK: 
    11861186        case UT_PAREN: 
    1187         case UT_BLOCK: 
     1187        case UT_MACRO: 
    11881188            if( val->id.flags & UR_FLAG_PRINT_RECURSION ) 
    11891189            {