From: gfx Date: Wed, 19 Aug 2009 04:36:02 +0000 (+0900) Subject: Revert "Fix moose_throw_error" X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5739d7ab0d8602208fc7b468906a12fc08f9c964;p=gitmo%2FMoose.git Revert "Fix moose_throw_error" This reverts commit 0ee9b70c49a4bf94700417e1532ae7fab977e0a2. --- diff --git a/Moose.xs b/Moose.xs index d2d7347..2b4eba7 100644 --- a/Moose.xs +++ b/Moose.xs @@ -101,6 +101,9 @@ moose_throw_error(SV* const klass, SV* const data, const char* const fmt, ...){ PUSHs(klass); mPUSHs(message); + mPUSHp("depth", sizeof("depth")-1); + mPUSHi(-1); + if(data){ EXTEND(SP, 2); mPUSHp("data", sizeof("data")-1);