[RFC] Add init_pmc() to ExceptionHandler

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 7 14:04:30 UTC 2009


On Mon, Dec 07, 2009 at 01:20:17AM -0800, chromatic wrote:
> It might be useful to extend the initializer to take a PMC array as well, when 
> the EH can handle multiple types of exceptions, but most of the uses I've seen 
> in NQP-rx so far handle only one type of exception.

Most of the uses are indeed for only one type of exception; however
looping constructs (for/while/until/repeat) all create exception
handlers that catch multiple exceptions, and those are fairly common.

Pm


More information about the parrot-dev mailing list