summaryrefslogtreecommitdiff
path: root/lib/inifile/parse.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/inifile/parse.myr')
-rw-r--r--lib/inifile/parse.myr19
1 files changed, 1 insertions, 18 deletions
diff --git a/lib/inifile/parse.myr b/lib/inifile/parse.myr
index 6b9be91..6276cf8 100644
--- a/lib/inifile/parse.myr
+++ b/lib/inifile/parse.myr
@@ -44,7 +44,7 @@ const loadf = {fd
var f
ini = std.mk([
- .elts = std.mkht(keyhash, keyeq)
+ .elts = std.mkht()
])
p = std.mk([
.line = 1,
@@ -138,20 +138,3 @@ const parsekvp = {p, ini, ln
-> true
;;
}
-
-const keyhash = {k
- var sect, key
-
- (sect, key) = k
- -> std.strhash(sect) ^ std.strhash(key)
-}
-
-const keyeq = {a, b
- var s1, k1
- var s2, k2
-
- (s1, k1) = a
- (s2, k2) = a
- -> std.streq(s1, s2) && std.streq(k1, k2)
-}
-