Mercurial > projects > dil
comparison trunk/src/dil/CompilerInfo.d @ 629:d050e211402b
Moved files in src/std/ to src/util/.
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Fri, 11 Jan 2008 20:03:46 +0100 |
parents | a3f66502ea64 |
children | 3b34f6a95a27 |
comparison
equal
deleted
inserted
replaced
628:08681b93c3b3 | 629:d050e211402b |
---|---|
1 /++ | 1 /++ |
2 Author: Aziz Köksal | 2 Author: Aziz Köksal |
3 License: GPL3 | 3 License: GPL3 |
4 +/ | 4 +/ |
5 module dil.CompilerInfo; | 5 module dil.CompilerInfo; |
6 import std.metastrings : FormatT = Format, ToString; | 6 import util.metastrings : FormatT = Format, ToString; |
7 | 7 |
8 template Pad(char[] str, uint amount) | 8 template Pad(char[] str, uint amount) |
9 { | 9 { |
10 static if (str.length >= amount) | 10 static if (str.length >= amount) |
11 const char[] Pad = str; | 11 const char[] Pad = str; |