bugfix: finally sections are executed before return/break

This commit is contained in:
Araq 2010-09-20 22:33:23 +02:00
commit 0a57f662fa
7 changed files with 71 additions and 49 deletions

View file

@ -61,7 +61,6 @@ proc popCurrentException {.compilerRtl, inl.} =
# some platforms have native support for stack traces:
const
nimrodStackTrace = compileOption("stacktrace")
nativeStackTrace = (defined(macosx) or defined(linux)) and
not nimrodStackTrace and false