Changeset 206

Show
Ignore:
Timestamp:
09/28/07 15:13:44 (1 year ago)
Author:
JarrettBillingsley
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test.d

    r184 r206  
    88void main() 
    99{ 
     10    MDContext ctx; 
     11 
    1012    try 
    1113    { 
    12         MDContext ctx = NewContext(); 
     14        ctx = NewContext(); 
    1315 
    1416        /+/* 
     
    6971    { 
    7072        Stdout.formatln("Error: {}", e.toUtf8()); 
    71         Stdout.formatln("{}", MDState.getTracebackString()); 
     73        Stdout.formatln("{}", ctx.getTracebackString()); 
    7274    } 
    7375    catch(Exception e) 
    7476    { 
    7577        Stdout.formatln("Bad error ({}, {}): {}", e.file, e.line, e.toUtf8()); 
    76         Stdout.formatln("{}", MDState.getTracebackString()); 
     78        Stdout.formatln("{}", ctx.getTracebackString()); 
    7779    } 
    7880}