summaryrefslogtreecommitdiff
path: root/parse/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse/export.c')
-rw-r--r--parse/export.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/parse/export.c b/parse/export.c
index d0657c7..314f880 100644
--- a/parse/export.c
+++ b/parse/export.c
@@ -278,9 +278,8 @@ tagexports(Node *file, int hidelocal)
free(k);
/* tag the impls */
- k = htkeys(st->impl, &n);
- for (i = 0; i < n; i++) {
- s = getimpl(st, k[i]);
+ for (i = 0; i < file->file.nimpl; i++) {
+ s = file->file.impl[i];
if (s->impl.vis != Visexport)
continue;
tagnode(st, s, 0, hidelocal);
@@ -289,7 +288,4 @@ tagexports(Node *file, int hidelocal)
for (j = 0; j < tr->naux; j++)
tr->aux[j]->vis = tr->vis;
}
- free(k);
-
}
-