summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-01-08 23:42:22 +0100
committerAraq <rumpf_a@web.de>2012-01-08 23:42:22 +0100
commit4dcd7170aac93e17aa6cc3d8d9a067caf5e75bad (patch)
tree32ee87160b8f46d639b268ba26c01e16d517da3e /lib
parentd34345586ff276e25778a94fb268ceccde1daf26 (diff)
downloadNim-4dcd7170aac93e17aa6cc3d8d9a067caf5e75bad.tar.gz
bugfix: debugger works again
Diffstat (limited to 'lib')
-rwxr-xr-xlib/system.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index ff0839b69..2eef4d408 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -817,7 +817,7 @@ const
     ## is the value that should be passed to ``quit`` to indicate
     ## failure.
 
-var program_result* {.exportc: "nim_$1".} = QuitSuccess
+var programResult* {.exportc: "nim_program_result".}: int
   ## modify this varialbe to specify the exit code of the program
   ## under normal circumstances. when the program is terminated
   ## prematurelly using ``quit``, this value is ignored.