* Alexander Nozdrin <alexander.nozdrin@stripped> [10/10/07 12:48]:
> 3096 Alexander Nozdrin 2010-10-07
> A patch for Bug#55843 (Handled condition appears as not handled).
I would try to change the handler search algorithm to not attempt
to find handlers in outer scopes (find_handler() function).
Trying to look for a handler in all scopes is not necessary any more:
an error would be copied over to the caller's diagnostics area and
the handler search can be performed in the caller, after the
copying is done. The execution got to be "unwound" to the
handler's scope in case of error anyway.
After that, this patch can be changed to remove the condition
from the list as soon as a handler is found for it.
Thank you for looking into this,