Mercurial > projects > dmdscript-tango
diff dmdscript_tango/dfunction.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/dfunction.d Sun Jan 24 18:33:05 2010 +0200 +++ b/dmdscript_tango/dfunction.d Thu Jan 28 21:23:27 2010 +0200 @@ -21,8 +21,10 @@ module dmdscript_tango.dfunction; -import std.string; -import std.c.stdlib; +//import std.string; +//import std.c.stdlib; +import tango.stdc.stdlib; +import tango.text.convert.Format; import dmdscript_tango.script; import dmdscript_tango.dobject; @@ -318,7 +320,8 @@ // Don't need to do parameter list, though. d_string s; - s = std.string.format("function %s() { [native code] }", name); + s = Format("function {}() {{ [native code] }", name); + //s = std.string.format("function %s() { [native code] }", name); return s; }