Mercurial > projects > dang
diff tests/run.d @ 154:0ea5d2f3e96b
Parsing "this" as constructor. Also removed regex from the test run program(seg fault - dmd???)
author | Anders Johnsen <skabet@gmail.com> |
---|---|
date | Mon, 21 Jul 2008 21:45:54 +0200 |
parents | 1e48315c36fc |
children | e1e170c2cd44 |
line wrap: on
line diff
--- a/tests/run.d Mon Jul 21 21:32:20 2008 +0200 +++ b/tests/run.d Mon Jul 21 21:45:54 2008 +0200 @@ -35,14 +35,14 @@ void main(char[][] args) { scope scan = new FileScan; - scope regex = new Regex(valid_filenames); +// scope regex = new Regex(valid_filenames); // DMD FAILS!! ?? // Return true for files/folders to include bool filter(FilePath p, bool isDir) { if (isDir) return p.name[0] != '.'; else - return p.ext == "d" && regex.test(p.name); + return p.ext == "d" ; //&& regex.test(p.name); } scan.sweep(test_folder, &filter, true); FilePath[] files = scan.files;