Mercurial > projects > dwt2
comparison org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet133.d @ 121:dc6fc593e8d7
Update for dmd-2.054 and small fixes in java.lang.Character
author | Denis Shelomovskij <verylonglogin.reg@gmail.com> |
---|---|
date | Tue, 12 Jul 2011 11:59:58 +0300 |
parents | 536e43f63c81 |
children |
comparison
equal
deleted
inserted
replaced
120:536e43f63c81 | 121:dc6fc593e8d7 |
---|---|
55 version(Tango){ | 55 version(Tango){ |
56 import tango.io.device.File; | 56 import tango.io.device.File; |
57 import tango.text.Unicode; | 57 import tango.text.Unicode; |
58 } else { // Phobos | 58 } else { // Phobos |
59 import std.file; | 59 import std.file; |
60 import std.ctype; | 60 import std.ascii; //FIXME: no Unicode support in std.ascii.isPrintable |
61 alias isprint isPrintable; | |
62 } | 61 } |
63 | 62 |
64 void main(){ | 63 void main(){ |
65 (new Snippet133).open(); | 64 (new Snippet133).open(); |
66 } | 65 } |