summaryrefslogtreecommitdiff
path: root/libstd/optparse.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-02-20 02:15:01 -0500
committerOri Bernstein <ori@eigenstate.org>2013-02-20 02:15:01 -0500
commit3e92cda1745121a0545c581d9f135feed9e280bd (patch)
tree4a594c23003a52e5d66b2a79fbca5d5733631b11 /libstd/optparse.myr
parent543887f46d1d7796bd8f1e6d329401197b19ec56 (diff)
downloadmc-3e92cda1745121a0545c581d9f135feed9e280bd.tar.gz
'#' is now the postfix pointer deref operator.
This makes operator precedence less confusing.
Diffstat (limited to 'libstd/optparse.myr')
-rw-r--r--libstd/optparse.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/libstd/optparse.myr b/libstd/optparse.myr
index 6702514..0bd1cfa 100644
--- a/libstd/optparse.myr
+++ b/libstd/optparse.myr
@@ -15,9 +15,9 @@ pkg std =
arglist : byte[:][:]
;;
- const optinit : (opts : byte[:], args : byte[:][:] -> optctx*)
- const optnext : (ctx : optctx* -> char)
- const optarg : (ctx : optctx* -> byte[:])
+ const optinit : (opts : byte[:], args : byte[:][:] -> optctx#)
+ const optnext : (ctx : optctx# -> char)
+ const optarg : (ctx : optctx# -> byte[:])
;;
const optinit = {opts, args