On Mon, Dec 01, 2008 at 10:09:38AM -0800, Klaas-Jan Stol via RT wrote: > On Sun Nov 30 05:51:34 2008, kjs wrote: > > On Thu Nov 29 11:35:12 2007, pmichaud wrote: > > > In the list of "Standard Parrot Exceptions" in pdd23, there's > > > no item given for "exception;death" even though it's mentioned > > > as part of the "die" opcode earlier in the text. > > > > > > The same is true for the "exception;exit" type thrown by the > > > exit opcode. > > > > Attached is a patch that adds the exception;exit and exception;death > > exception types. > > Just a quick note: I accidentally committed the above change myself when > adding another change. Ah, it can't hurt. (It might need to be changed.)
... how exactly does one use C<exception;death>, C<exception;exit>, and the other exception types from PIR? I see them mentioned throughout pdd23, but I've never actually seen an example of how these constants (are they constants?) might appear in actual code, whether it's PIR, C, or otherwise. The only "types" I'm aware of for exceptions are the severity values and exception type values in include/parrot/exceptions.h and runtime/parrot/include/except_*.pasm, and none of these seem to have any real correspondence to the "exception types" given in pdd23. Pm