summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-05-17 19:22:29 +0200
committerAraq <rumpf_a@web.de>2011-05-17 19:22:29 +0200
commitaeb0506132bc706750840ba0a79b486745e34c4e (patch)
treea1e2aeaf5e0309ec9aa5ee2bb1345b837e7af4a5 /lib/system.nim
parent6dd8c850513956e38f78c02e173df2c4d7b05cf3 (diff)
downloadNim-aeb0506132bc706750840ba0a79b486745e34c4e.tar.gz
thread support: next iteration
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 1fd17210f..b8093cdad 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -1369,7 +1369,7 @@ template accumulateResult*(iter: expr) =
 # we have to compute this here before turning it off in except.nim anyway ...
 const nimrodStackTrace = compileOption("stacktrace")
 
-{.push checks: off, line_dir: off, debugger: off.}
+{.push checks: off, debugger: off.}
 # obviously we cannot generate checking operations here :-)
 # because it would yield into an endless recursion
 # however, stack-traces are available for most parts
@@ -1665,6 +1665,7 @@ when not defined(EcmaScript) and not defined(NimrodVM):
 
   # ----------------------------------------------------------------------------
 
+  include "system/systhread"
   include "system/excpt"
   # we cannot compile this with stack tracing on
   # as it would recurse endlessly!
@@ -1718,12 +1719,11 @@ when not defined(EcmaScript) and not defined(NimrodVM):
     else:
       result = n.sons[n.len]
 
-  include "system/systhread"
   {.push stack_trace: off.}
   include "system/mmdisp"
+  include "system/sysstr"
   {.pop.}
 
-  include "system/sysstr"
   include "system/assign"
   include "system/repr"