summaryrefslogtreecommitdiff
path: root/lib/inifile
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-01-26 11:06:05 -0800
committerOri Bernstein <ori@eigenstate.org>2016-01-26 11:06:05 -0800
commitfe0bcf756016bd8cad54c1af77f054b94fc8d11b (patch)
tree550cd7812212cbcbabba3cef5980cbdc73662e1f /lib/inifile
parent74b3aaed1a5a978a4d64ae4bdce9b0cdcf82860c (diff)
downloadmc-fe0bcf756016bd8cad54c1af77f054b94fc8d11b.tar.gz
Remove the '$' shorthand for end of array.
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 2ad4589..4b36ad0 100644
--- a/lib/inifile/parse.myr
+++ b/lib/inifile/parse.myr
@@ -108,7 +108,7 @@ const parsesection = {p, ini, ln
-> false
;;
std.slfree(p.sect)
- p.sect = std.sldup(std.strstrip(ln[1:$-1]))
+ p.sect = std.sldup(std.strstrip(ln[1:]))
| `std.None:
p.err = `std.Some (`Parseerr p.line)
-> false