[m-rev.] diff: bug fix for exception.m

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Oct 11 02:44:03 AEST 2002


On 10-Oct-2002, Mark Brown <dougl at cs.mu.OZ.AU> wrote:
> A more robust version of my previous bugfix.
> 
> runtime/mercury_stacks.h:
> 	Save the value of MR_trace_from_full in the exception struct
> 	when it is created at the start of builtin_catch.
> 
> library/exception.m:
> 	Restore the value of MR_trace_from_full from the exception struct,
> 	before calling the exception handler.

That looks good, thanks.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list