Changeset 70 for trunk/orca

Show
Ignore:
Timestamp:
03/03/06 18:25:10 (3 years ago)
Author:
krobillard
Message:

Printing 'does now works.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/orca/print.c

    r56 r70  
    959959            bval.type  = OT_BLOCK; 
    960960            bval.flags = 0; 
    961             bval.index = val->func.specBlk; 
    962961            bval.series.it = 0; 
    963             mold( out, &bval, depth ); 
     962 
     963            if( val->func.specBlk ) 
     964            { 
     965                bval.series.n = val->func.specBlk; 
     966                mold( out, &bval, depth ); 
     967            } 
     968            else 
     969            { 
     970                append(out, "[]", 2); 
     971            } 
    964972 
    965973            bval.index = val->func.bodyBlk;