aboutsummaryrefslogtreecommitdiff
path: root/src/scope.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scope.c')
-rw-r--r--src/scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scope.c b/src/scope.c
index 329b5f1..b5729cd 100644
--- a/src/scope.c
+++ b/src/scope.c
@@ -240,7 +240,7 @@ static struct ast_node *scope_find_visible(struct visible *v,
return NULL;
while (v) {
- if (identical_ast_nodes(0, v->id, id))
+ if (same_id(v->id, id))
return v->node;
v = v->next;