aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libq/dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libq/dep.c b/libq/dep.c
index 4138a1c..389e506 100644
--- a/libq/dep.c
+++ b/libq/dep.c
@@ -355,7 +355,7 @@ void
dep_resolve_tree(dep_node *root, tree_ctx *t)
{
if (root->type != DEP_NULL) {
- if (root->type == DEP_NORM && root->atom) {
+ if (root->type == DEP_NORM && root->atom && !root->atom_resolved) {
depend_atom *d = root->atom;
tree_match_ctx *r = tree_match_atom(t, d,
TREE_MATCH_DEFAULT |