aboutsummaryrefslogtreecommitdiff
path: root/lib/forlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/forlan.c')
-rw-r--r--lib/forlan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/forlan.c b/lib/forlan.c
index b7f7280..174b60b 100644
--- a/lib/forlan.c
+++ b/lib/forlan.c
@@ -273,6 +273,7 @@ eval_comp0(forlan_eval_env_t env, union forlan_node *p)
if (p->comp.wildcards) {
root = grecs_match_buf_first(mb, root);
} else {
+ grecs_match_buf_set_root(mb, root);
if (root->type != grecs_node_root)
root = root->down;
grecs_tree_recurse(root, grecs_node_exact_match, mb);

Return to:

Send suggestions and report system problems to the System administrator.