view tango/lib/compiler/llvmdc/eh.d @ 286:a3b7c19c866c trunk

[svn r307] Fixed: multidimensional new expressions now work. Eg.: auto ma = new int[][] (3,9);
author lindquist
date Sat, 21 Jun 2008 04:47:14 +0200
parents 44a95ac7368a
children 8d98e42ece93
line wrap: on
line source

/*
 * Temporary exception handling stubs
 */

import util.console;

private extern(C) void abort();

extern(C) void _d_throw_exception(Object e)
{
    console("Exception: ");
    if (e !is null)
    {
        console(e.toString())("\n");
    }
    abort();
}