summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-09-24 19:18:08 +0200
committerAraq <rumpf_a@web.de>2011-09-24 19:18:08 +0200
commit485c371942cbbb1f9a10c64b6fcc699e59511460 (patch)
tree06afc132570838dd1b64c70b79d64f8fff3509b6 /lib/system.nim
parent72ceda98cbbef896c31102a2c90d5f9fe1033d03 (diff)
downloadNim-485c371942cbbb1f9a10c64b6fcc699e59511460.tar.gz
renamed optional to discardable
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-xlib/system.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 1ce7a4d60..226642771 100755
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -787,9 +787,9 @@ proc compileOption*(option, arg: string): bool {.
 const
   hasThreadSupport = compileOption("threads")
   hasSharedHeap = defined(boehmgc) # don't share heaps; every thread has its own
-#  taintMode = compileOption("taintmode")
+  taintMode = compileOption("taintmode")
 
-when defined(taintMode):
+when taintMode:
   # XXX use a compile time option for it!
   type TaintedString* = distinct string ## a distinct string type that 
                                         ## is `tainted`:idx:. It is an alias for