Mercurial > projects > dil
comparison trunk/src/dil/Expressions.d @ 391:33b566df6af4
Migrated project to Tango.
Decremented the numbers of the format placeholders in the localized messages
by one.
Replaced all instances of writef/ln with Stdout.
Added module common.d with string aliases and a global Layout!(char) instance.
Replaced %s format specifiers with index placeholders in html/xml_tags.
Changed member Information.arguments to string message.
Copied std.metastring, std.uni and std.utf from Phobos.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Sat, 15 Sep 2007 17:12:26 +0200 |
parents | 906599374b69 |
children | 0a4619735ce9 |
comparison
equal
deleted
inserted
replaced
390:4d36eea1bbc9 | 391:33b566df6af4 |
---|---|
704 { | 704 { |
705 mixin(set_kind); | 705 mixin(set_kind); |
706 this.strings = strings; | 706 this.strings = strings; |
707 } | 707 } |
708 | 708 |
709 string getString() | 709 char[] getString() |
710 { | 710 { |
711 char[] buffer; | 711 char[] buffer; |
712 foreach (strTok; strings) | 712 foreach (strTok; strings) |
713 { | 713 { |
714 buffer ~= strTok.str[0..$-1]; | 714 buffer ~= strTok.str[0..$-1]; |