diff dmdscript_tango/ddeclaredfunction.d @ 4:6d905019f7bf

some changes
author saaadel
date Thu, 28 Jan 2010 21:23:27 +0200
parents 8363a4bf6a8f
children
line wrap: on
line diff
--- a/dmdscript_tango/ddeclaredfunction.d	Sun Jan 24 18:33:05 2010 +0200
+++ b/dmdscript_tango/ddeclaredfunction.d	Thu Jan 28 21:23:27 2010 +0200
@@ -21,8 +21,10 @@
 
 module dmdscript_tango.ddeclaredfunction;
 
-import std.stdio;
-import std.c.stdlib;
+//import std.stdio;
+//import std.c.stdlib;
+import tango.stdc.stdlib;
+import tango.io.Stdout;
 
 import dmdscript_tango.script;
 import dmdscript_tango.dobject;
@@ -135,7 +137,8 @@
 		int diff = df.fd.nestDepth - fd.nestDepth;
 		if (diff > 0)
 		{   if (diff >= cc.scoperoot)
-			writefln("diff %s cc.scoperoot %s", diff, cc.scoperoot);
+			Stdout.format("diff {} cc.scoperoot {}", diff, cc.scoperoot);
+			//writefln("diff %s cc.scoperoot %s", diff, cc.scoperoot);
 		    else
 			cc.scoperoot -= diff;
 		    assert(cc.scoperoot >= 1);