diff options
-rw-r--r-- | filter.c | 2 | ||||
-rw-r--r-- | tests/015/trie.tl | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -163,6 +163,8 @@ static val regex_from_trie(val trie) else out = ry; } + if (get_hash_userdata(trie)) + out = list(or_s, nil, out, nao); return out; } } diff --git a/tests/015/trie.tl b/tests/015/trie.tl index f233c76e..48e7e050 100644 --- a/tests/015/trie.tl +++ b/tests/015/trie.tl @@ -46,4 +46,4 @@ (mvtest (build (each ((d dat)) (add [rx0 d]))) dat - (build (each ((n enu)) (add [rx0 n]))) (repeat '(nil) (len dat))) + (build (each ((n ndt)) (add [rx0 n]))) (repeat '(nil) (len dat))) |