From adf13aaea379d482ad4289d349a9d475bc2c06a6 Mon Sep 17 00:00:00 2001 From: Araq Date: Thu, 18 Nov 2010 22:26:20 +0100 Subject: docgen understands and ignores *when false* --- lib/system/excpt.nim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/system') diff --git a/lib/system/excpt.nim b/lib/system/excpt.nim index 938583bf7..9beeb659e 100755 --- a/lib/system/excpt.nim +++ b/lib/system/excpt.nim @@ -62,10 +62,7 @@ proc popCurrentException {.compilerRtl, inl.} = # some platforms have native support for stack traces: const nativeStackTrace = (defined(macosx) or defined(linux)) and - not nimrodStackTrace and false - -# `nativeStackTrace` does not work for me --> deactivated for now. Maybe for -# the next release version. + not nimrodStackTrace when nativeStacktrace: type -- cgit 1.4.1-2-gfad0