summaryrefslogtreecommitdiff
path: root/parse/export.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-01-14 23:22:16 -0800
committerOri Bernstein <ori@eigenstate.org>2017-01-14 23:22:16 -0800
commit4078198dee11c72b6e735e704d21a2c0f39cb575 (patch)
tree4ceffbc56b47f0b5f57f196ab2203c1ecca5528d /parse/export.c
parent0ac48a57880b009dc00c756882d26ab7ac0974f4 (diff)
downloadmc-4078198dee11c72b6e735e704d21a2c0f39cb575.tar.gz
Unfuck cross module traits a bit.
Mildly tested.
Diffstat (limited to 'parse/export.c')
-rw-r--r--parse/export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/export.c b/parse/export.c
index adb4b92..8bb5809 100644
--- a/parse/export.c
+++ b/parse/export.c
@@ -278,6 +278,7 @@ void tagexports(Node *file, int hidelocal)
continue;
tagnode(st, s, 0, hidelocal);
tr = s->impl.trait;
+ tagtrait(st, tr, 0, hidelocal);
for (j = 0; j < tr->naux; j++)
tr->aux[j]->vis = Visexport;
}