summaryrefslogtreecommitdiff
path: root/lib/std/optparse.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/optparse.myr
parent77a5bd52ac777a95a22395227f29084e49569370 (diff)
downloadmc-14fd8b9e92ffe32275aba6f30dd8edf4531c6a19.tar.gz
Land char iterators.
Diffstat (limited to 'lib/std/optparse.myr')
-rw-r--r--lib/std/optparse.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/optparse.myr b/lib/std/optparse.myr
index d3c72ee..81b0d98 100644
--- a/lib/std/optparse.myr
+++ b/lib/std/optparse.myr
@@ -104,7 +104,7 @@ const optnext = {ctx
var c
var arg
- (c, ctx.curarg) = striter(ctx.curarg)
+ (c, ctx.curarg) = strstep(ctx.curarg)
match optinfo(ctx, c)
| `None: