parent
ffa638ed50
commit
1bed777314
1 changed files with 1 additions and 3 deletions
|
|
@ -446,8 +446,6 @@ proc raiseExceptionAux(e: sink(ref Exception)) {.nodestroy.} =
|
||||||
pushCurrentException(e)
|
pushCurrentException(e)
|
||||||
{.emit: "throw `e`;".}
|
{.emit: "throw `e`;".}
|
||||||
elif defined(nimQuirky) or gotoBasedExceptions:
|
elif defined(nimQuirky) or gotoBasedExceptions:
|
||||||
# XXX This check should likely also be done in the setjmp case below.
|
|
||||||
if e != currException:
|
|
||||||
pushCurrentException(e)
|
pushCurrentException(e)
|
||||||
when gotoBasedExceptions:
|
when gotoBasedExceptions:
|
||||||
inc nimInErrorMode
|
inc nimInErrorMode
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue