Mercurial > projects > ddmd
diff dmd/PragmaDeclaration.d @ 136:9d194c848e3a
fixed a few null reference bugs, thx sagitario
author | Trass3r |
---|---|
date | Mon, 13 Sep 2010 23:27:38 +0200 |
parents | 60bb0fe4563e |
children | 438eaa11eed4 |
line wrap: on
line diff
--- a/dmd/PragmaDeclaration.d Fri Sep 10 19:14:09 2010 +0100 +++ b/dmd/PragmaDeclaration.d Mon Sep 13 23:27:38 2010 +0200 @@ -61,7 +61,7 @@ if (e.op == TOKstring) { auto se = cast(StringExp)e; - writef("%s", se.toChars()[1..$-2] /*se.len, cast(char*)se.string_*/); + writef("%s", se.toChars()[1..$-2]); // strip the '"'s, TODO: change to original?: /*se.len, cast(char*)se.string_*/ } else writef(e.toChars());