summaryrefslogtreecommitdiff
path: root/lib/inifile
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-05-17 22:00:50 -0700
committerOri Bernstein <ori@eigenstate.org>2016-05-17 22:00:50 -0700
commit7aac15b2bfcc5eec279aa14f9f199685f9d7e0d9 (patch)
treec9434a55ea6850aee7103f608c6333cfe3148d60 /lib/inifile
parentc96238b89583ed91e92ad909c507797d00015e95 (diff)
downloadmc-7aac15b2bfcc5eec279aa14f9f199685f9d7e0d9.tar.gz
New syntax for casts.
Diffstat (limited to 'lib/inifile')
-rw-r--r--lib/inifile/parse.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/inifile/parse.myr b/lib/inifile/parse.myr
index 39b2722..e5ace94 100644
--- a/lib/inifile/parse.myr
+++ b/lib/inifile/parse.myr
@@ -90,7 +90,7 @@ const parseline = {p, ini, ln
-> true
;;
- match ln[0] castto(char)
+ match (ln[0] : char)
| '[': -> parsesection(p, ini, ln)
| _: -> parsekvp(p, ini, ln)
;;