lib/system: Fix programResult documentation (#7307)

This commit is contained in:
alaviss 2018-03-07 20:46:02 +07:00 • committed by Andreas Rumpf
commit 566cec74b6

View file

@ -1461,9 +1461,9 @@ when defined(nodejs):
programResult = 0 programResult = 0
else: else:
var programResult* {.exportc: "nim_program_result".}: int var programResult* {.exportc: "nim_program_result".}: int
## modify this variable to specify the exit code of the program ## modify this variable to specify the exit code of the program
## under normal circumstances. When the program is terminated ## under normal circumstances. When the program is terminated
## prematurely using ``quit``, this value is ignored. ## prematurely using ``quit``, this value is ignored.
when defined(nimdoc): when defined(nimdoc):
proc quit*(errorcode: int = QuitSuccess) {.magic: "Exit", noreturn.} proc quit*(errorcode: int = QuitSuccess) {.magic: "Exit", noreturn.}