diff options
author | Araq <rumpf_a@web.de> | 2011-09-24 19:18:08 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-09-24 19:18:08 +0200 |
commit | 485c371942cbbb1f9a10c64b6fcc699e59511460 (patch) | |
tree | 06afc132570838dd1b64c70b79d64f8fff3509b6 /lib/system.nim | |
parent | 72ceda98cbbef896c31102a2c90d5f9fe1033d03 (diff) | |
download | Nim-485c371942cbbb1f9a10c64b6fcc699e59511460.tar.gz |
renamed optional to discardable
Diffstat (limited to 'lib/system.nim')
-rwxr-xr-x | lib/system.nim | 4 |
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 |