diff options
author | Araq <rumpf_a@web.de> | 2017-02-08 14:55:30 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2017-02-08 14:55:30 +0100 |
commit | 346ea6d1719e91d211d3f39121385ed9f0cc11ab (patch) | |
tree | 5b351f19cc92d45a6fe1ecdf0c1a1aadab98eb7f /lib/system/excpt.nim | |
parent | 794d36cf31d8f7debc2ede1f7792fdbcc0a1ef5e (diff) | |
download | Nim-346ea6d1719e91d211d3f39121385ed9f0cc11ab.tar.gz |
system.nim: don't use deprecated symbols/constructs
Diffstat (limited to 'lib/system/excpt.nim')
-rw-r--r-- | lib/system/excpt.nim | 2 |
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") |