exception handler was not passing well exceptions in setup.

This commit is contained in:
Vitor Santos Costa 2010-04-14 10:49:32 +01:00
parent 45acd9b07d
commit 660ea12537
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ setup_call_catcher_cleanup(Setup, Goal, Catcher, Cleanup) :-
% make sure we don't lose interrupts if we get exceptions
% with setup.
'$handle_broken_setup'(Setup) :-
'$handle_broken_setup'(Exception) :-
yap_hacks:enable_interrupts,
throw(Exception).