FIX: break011.
authorSimon Marlow <simonmar@microsoft.com>
Fri, 18 May 2007 14:37:08 +0000 (14:37 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 18 May 2007 14:37:08 +0000 (14:37 +0000)
commit27ebe4c5edb356cec5c9b12f357404ae998bc905
treebbf683d1310074a30626d3951c5b283359b05ebe
parente560c6b5a0c2ef4437ebca0c78c1775a09ba31c9
FIX: break011.
Reset the exception flag before re-throwing the exception unless it
was "Interrupted".  This avoids needing the double :continue for
ordinary exceptions, but still lets us break on ^C.
compiler/main/InteractiveEval.hs