On Mon, Aug 11, 2003 at 03:30:44AM -0400 it came to pass that Michal Wallace wrote: > because a find_lex failure isn't an exception. > Or am I missing something?
Currently find_lex does *not* throw an exception. Inside "scratchpad_get"(and friends) an internal exception is thrown which just terminates parrot. I have been discussing thiw with Leo on the list (look in the archives for subjects matching "find_lex". Plans are to have find_lex throw an exception. My favourite is to have a control flag that lets find_lex throw an exception *or* return NULL upon failure. ++Jos.nl -- La vida no es la que uno vivió, sino la que recuerda y cómo la recuerda para contarla... ~ Gabriel García Márquez