diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2017-07-13 04:43:53 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-07-20 18:42:08 +0200 |
commit | ebba9f06ae3074255830128ecb599fb22a3310ef (patch) | |
tree | 980eaee3f481d94ffaf03a54cb33525b982b287d /lib/system/excpt.nim | |
parent | ec9de2e3cd34d32ed5674814cbee53e203246894 (diff) | |
download | Nim-ebba9f06ae3074255830128ecb599fb22a3310ef.tar.gz |
fixes #5871
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r-- | lib/system/excpt.nim | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index b0769b269..e35b0bd5d 100644 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -73,12 +73,11 @@ proc popSafePoint {.compilerRtl, inl.} = excHandler = excHandler.prev proc pushCurrentException(e: ref Exception) {.compilerRtl, inl.} = - #if e.parent.isNil: - # e.parent = currException + e.up = currException currException = e proc popCurrentException {.compilerRtl, inl.} = - currException = nil # currException.parent + currException = currException.up # some platforms have native support for stack traces: const |