On 11 February 2013 13:29, Andrei Alexandrescu <SeeWebsiteForEmail@erdani.org> wrote:
On 2/11/13 8:00 AM, David Nadlinger wrote:
Looks like we are finally getting somewhere. :)

---
version (Windows) {} else static assert(false);
void main() {
try {
throw new Exception("This exception...");
} catch (Exception e) {
import std.stdio;
writeln(e.msg, " ... has been caught for you by ", __VENDOR__, ".");
}
}
---
This exception... ... has been caught for you by LDC.
---

David

Awesome!!!

Andrei

This feature has been around for some time (somewhere in lexer.c iirc) - have you really only just added LDC into it David?

--
Iain Buclaw

*(p < e ? p++ : p) = (c & 0x0f) + '0';