diff options
author | Araq <rumpf_a@web.de> | 2020-01-10 01:51:06 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2020-01-10 08:32:30 +0100 |
commit | fcd2f305ad5ad2af37284caf7b33907afb8ad834 (patch) | |
tree | ca433474a62522eecc978ee08bf5badbbd78a6b8 /lib | |
parent | 033da35de164e4ea86e36c8c4bb366f3fc4ac01a (diff) | |
download | Nim-fcd2f305ad5ad2af37284caf7b33907afb8ad834.tar.gz |
fixes #13070
Diffstat (limited to 'lib')
-rw-r--r-- | lib/system/excpt.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index e241879c2..931f3f640 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -452,8 +452,8 @@ proc raiseExceptionAux(e: sink(ref Exception)) {.nodestroy.} = # XXX This check should likely also be done in the setjmp case below. if e != currException: pushCurrentException(e) - when gotoBasedExceptions: - inc nimInErrorMode + when gotoBasedExceptions: + inc nimInErrorMode else: if excHandler != nil: pushCurrentException(e) |