Mercurial > projects > ldc
view tangotests/templ1.d @ 250:fc9c1a0eabbd trunk
[svn r267] Fixed debug info for global variables.
Cleaned up the debug info code in general.
author | lindquist |
---|---|
date | Wed, 11 Jun 2008 20:53:26 +0200 |
parents | 95f07e3f8bb9 |
children |
line wrap: on
line source
module tangotests.templ1; import Util = tango.text.Util; extern(C) int printf(char*, ...); void main() { foreach (line; Util.lines("a\nb\nc")) { printf("%.*s\n", line.length, line.ptr); } }