summary refs log tree commit diff stats
path: root/lib/system/excpt.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-12-24 14:04:18 +0100
committerAraq <rumpf_a@web.de>2013-12-24 14:04:18 +0100
commit83a0a3127667464b4aef73168747818926235514 (patch)
tree415ca81c8107204c233e6e9a052f2226c6756f3d /lib/system/excpt.nim
parent4203e8955c83985fd633c2a8abd86a1549a6a736 (diff)
downloadNim-83a0a3127667464b4aef73168747818926235514.tar.gz
attempt to merge newtempl
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r--lib/system/excpt.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim
index 9b6a64fb0..e5f20f22a 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -280,7 +280,7 @@ when defined(endb):
 
 when not defined(noSignalHandler):
   proc signalHandler(sig: cint) {.exportc: "signalHandler", noconv.} =
-    template processSignal(s, action: expr) {.immediate.} =
+    template processSignal(s, action: expr) {.immediate,  dirty.} =
       if s == SIGINT: action("SIGINT: Interrupted by Ctrl-C.\n")
       elif s == SIGSEGV: 
         action("SIGSEGV: Illegal storage access. (Attempt to read from nil?)\n")