summaryrefslogtreecommitdiff
path: root/libstd/optparse.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-09 19:43:16 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-09 19:43:20 -0500
commitb6afe89b0d5928f317e8d554cec49d6e8f40a3d8 (patch)
tree5ea61bda8ea6b2449c110b6741c03ee58600e261 /libstd/optparse.myr
parente101ebf1f80607cca8ee31fee308b50025c96dab (diff)
downloadmc-b6afe89b0d5928f317e8d554cec49d6e8f40a3d8.tar.gz
Remove references to slappend
Diffstat (limited to 'libstd/optparse.myr')
-rw-r--r--libstd/optparse.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstd/optparse.myr b/libstd/optparse.myr
index 176314d..533d9ee 100644
--- a/libstd/optparse.myr
+++ b/libstd/optparse.myr
@@ -2,7 +2,7 @@ use "alloc.use"
use "die.use"
use "extremum.use"
use "fmt.use"
-use "slappend.use"
+use "slpush.use"
use "sys.use"
use "types.use"
use "utf.use"
@@ -124,7 +124,7 @@ const next = {ctx
if !ctx.optdone && decode(ctx.optargs[i]) == '-'
goto foundopt
else
- ctx.args = slappend(ctx.args, ctx.optargs[i])
+ ctx.args = slpush(ctx.args, ctx.optargs[i])
;;
;;
ctx.finished = true