From 4dcd7170aac93e17aa6cc3d8d9a067caf5e75bad Mon Sep 17 00:00:00 2001 From: Araq Date: Sun, 8 Jan 2012 23:42:22 +0100 Subject: bugfix: debugger works again --- lib/system.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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. -- cgit 1.4.1-2-gfad0