summary refs log tree commit diff stats
path: root/lib/system.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-05-15 00:28:55 +0200
committerAraq <rumpf_a@web.de>2013-05-15 00:28:55 +0200
commit886a1ab15d1a94eb5a545b562fb57d7496c3e1d2 (patch)
tree84c6002a27c65420ac78b3db8e35df142c87745a /lib/system.nim
parent635ad3b336bfcf89c3bb611156fd68f3cc953c30 (diff)
downloadNim-886a1ab15d1a94eb5a545b562fb57d7496c3e1d2.tar.gz
'bind' default for clean templates
Diffstat (limited to 'lib/system.nim')
-rw-r--r--lib/system.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim
index 4cdc212b9..1e284f68a 100644
--- a/lib/system.nim
+++ b/lib/system.nim
@@ -194,7 +194,8 @@ when not defined(JS) and not defined(NimrodVM):
       data: array[0..100_000_000, char]
     NimString = ptr NimStringDesc
     
-  template space(s: PGenericSeq): int = s.reserved and not seqShallowFlag
+  template space(s: PGenericSeq): int {.dirty.} =
+    s.reserved and not seqShallowFlag
 
   include "system/hti"