Author: coke
Date: Thu Sep 15 08:13:44 2005
New Revision: 9197
Modified:
branches/leo-ctx5/classes/exception.pmc
Log:
Whoops. 3 and 4 *are* used. Add enough slots for all the documented slots,
plus 2 for HLL's to use for now.
Modified: branches/leo-ctx5/classes/exception.pmc
==============================================================================
--- branches/leo-ctx5/classes/exception.pmc (original)
+++ branches/leo-ctx5/classes/exception.pmc Thu Sep 15 08:13:44 2005
@@ -66,8 +66,8 @@ Any information attached by the HL. This
underscore (that is reserved for Parrot's internal usage. These are
stored as properties.
-Note: currently, HLL information must be indexed by number. Slots 3 and
-4 are available. This is subject to change.
+Note: currently, HLL information must be indexed by number. Slots 9 and 10
+are available for the HLL - This is subject to change.
=back
@@ -103,12 +103,18 @@ Initializes the exception with default v
void init() {
SUPER();
- DYNSELF.set_integer_native(5);
+ DYNSELF.set_integer_native(11);
DYNSELF.set_string_keyed_int(0, NULL);
DYNSELF.set_integer_keyed_int(1, 0);
DYNSELF.set_integer_keyed_int(2, 0);
DYNSELF.set_pmc_keyed_int(3, NULL);
DYNSELF.set_pmc_keyed_int(4, NULL);
+ DYNSELF.set_pmc_keyed_int(5, NULL);
+ DYNSELF.set_pmc_keyed_int(6, NULL);
+ DYNSELF.set_pmc_keyed_int(7, NULL);
+ DYNSELF.set_pmc_keyed_int(8, NULL);
+ DYNSELF.set_pmc_keyed_int(9, NULL);
+ DYNSELF.set_pmc_keyed_int(10, NULL);
}
/*