summaryrefslogtreecommitdiff
path: root/lib/std/cmp.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-24 22:01:12 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-24 22:01:12 -0800
commit14fd8b9e92ffe32275aba6f30dd8edf4531c6a19 (patch)
tree9dbf70b2c06ffa15da7930dd2259b021ed05d0ec /lib/std/cmp.myr
parent77a5bd52ac777a95a22395227f29084e49569370 (diff)
downloadmc-14fd8b9e92ffe32275aba6f30dd8edf4531c6a19.tar.gz
Land char iterators.
Diffstat (limited to 'lib/std/cmp.myr')
-rw-r--r--lib/std/cmp.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/cmp.myr b/lib/std/cmp.myr
index b599166..021f5bc 100644
--- a/lib/std/cmp.myr
+++ b/lib/std/cmp.myr
@@ -60,8 +60,8 @@ const strcasecmp = {a, b
var ca, cb
while a.len > 0 && b.len > 0
- (ca, a) = std.striter(a)
- (cb, b) = std.striter(b)
+ (ca, a) = std.strstep(a)
+ (cb, b) = std.strstep(b)
ca = toupper(ca)
cb = toupper(cb)
if ca < cb