summary refs log tree commit diff stats
path: root/lib/pure/strutils.nim
diff options
context:
space:
mode:
authorAndreas Rumpf <andreas@andreas-desktop>2010-03-04 23:42:19 +0100
committerAndreas Rumpf <andreas@andreas-desktop>2010-03-04 23:42:19 +0100
commitf45a2f23b04aa1d37b482ba3d07980b73ce6a75d (patch)
tree5761b1d5dfea492f14052b3d2d640a374e49a454 /lib/pure/strutils.nim
parent048811b2be4ac05415e0ef67777dfd297f7be4d6 (diff)
downloadNim-f45a2f23b04aa1d37b482ba3d07980b73ce6a75d.tar.gz
bugfix: macro evaluation; added colors.extractRGB
Diffstat (limited to 'lib/pure/strutils.nim')
-rwxr-xr-xlib/pure/strutils.nim4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/pure/strutils.nim b/lib/pure/strutils.nim
index 6459cfbd7..724d00ee9 100755
--- a/lib/pure/strutils.nim
+++ b/lib/pure/strutils.nim
@@ -162,15 +162,11 @@ iterator split*(s: string, seps: set[char] = Whitespace): string =
   ## produces the same output.
   var last = 0
   assert(not ('\0' in seps))
-  #echo "cam here 1", s
   while last < len(s):
     while s[last] in seps: inc(last)
     var first = last
-    #echo "A first: ", first, " last: ", last
     while last < len(s) and s[last] not_in seps: inc(last) # BUGFIX!
-    #echo "B first: ", first, " last: ", last
     if first <= last-1:
-      echo copy(s, first, last-1) 
       yield copy(s, first, last-1)
 
 iterator split*(s: string, sep: char): string =