summaryrefslogtreecommitdiff
path: root/lib/regex
diff options
context:
space:
mode:
authorLucas Gabriel Vuotto <lvuotto92@gmail.com>2017-11-01 16:53:26 -0300
committerOri Bernstein <ori@markovcorp.com>2017-11-14 13:50:39 -0800
commit83d26331a5419033927800760e8a59f1bd84d2b9 (patch)
treed5985e8e5a32e673f549fcaa8eb23b5335f4f74d /lib/regex
parent8a662861ad3ded8e965ab43e5bc254dd7ee85815 (diff)
downloadmc-83d26331a5419033927800760e8a59f1bd84d2b9.tar.gz
Use new traits to implement hash tables
Signed-off-by: Lucas Gabriel Vuotto <lvuotto92@gmail.com>
Diffstat (limited to 'lib/regex')
-rw-r--r--lib/regex/compile.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/regex/compile.myr b/lib/regex/compile.myr
index edfa3aa..29e53a2 100644
--- a/lib/regex/compile.myr
+++ b/lib/regex/compile.myr
@@ -46,7 +46,7 @@ const dbgcompile = {pat, trace
.nmatch = 1,
.debug = true,
.trace = trace,
- .astloc = std.mkht(std.ptrhash, std.ptreq),
+ .astloc = std.mkht(),
])
res = regexcompile(re, 0)
-> res