summary refs log tree commit diff stats
path: root/lib/system/excpt.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2017-02-08 14:55:30 +0100
committerAraq <rumpf_a@web.de>2017-02-08 14:55:30 +0100
commit346ea6d1719e91d211d3f39121385ed9f0cc11ab (patch)
tree5b351f19cc92d45a6fe1ecdf0c1a1aadab98eb7f /lib/system/excpt.nim
parent794d36cf31d8f7debc2ede1f7792fdbcc0a1ef5e (diff)
downloadNim-346ea6d1719e91d211d3f39121385ed9f0cc11ab.tar.gz
system.nim: don't use deprecated symbols/constructs
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 b16590c92..be41a63a7 100644
--- a/lib/system/excpt.nim
+++ b/lib/system/excpt.nim
@@ -324,7 +324,7 @@ when defined(endb):
 
 when not defined(noSignalHandler):
   proc signalHandler(sign: cint) {.exportc: "signalHandler", noconv.} =
-    template processSignal(s, action: expr) {.immediate,  dirty.} =
+    template processSignal(s, action: untyped) {.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")