summaryrefslogtreecommitdiff
path: root/parse/export.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-08-20 17:49:01 -0700
committerOri Bernstein <ori@eigenstate.org>2017-08-20 17:49:01 -0700
commit6e4bf0cdecce71d9a839c1e7f6a42409c2f9d961 (patch)
tree04118201b212982737c1a81988f20fce9bde58b2 /parse/export.c
parentdfed30d87b4f9dbae24b16ddd32ea0be69a5d602 (diff)
downloadmc-6e4bf0cdecce71d9a839c1e7f6a42409c2f9d961.tar.gz
Fix trait shit.
Diffstat (limited to 'parse/export.c')
-rw-r--r--parse/export.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse/export.c b/parse/export.c
index 0963361..1f37e71 100644
--- a/parse/export.c
+++ b/parse/export.c
@@ -75,9 +75,9 @@ tagtype(Stab *st, Type *t, int ingeneric, int hidelocal)
return;
t->vis = Vishidden;
/* export the user defined traits */
- if (t->traits)
- for (i = Ntraits; bsiter(t->traits, &i); i++)
- tagtrait(st, traittab[i], ingeneric, hidelocal);
+ //if (t->traits)
+ // for (i = Ntraits; bsiter(t->traits, &i); i++)
+ // tagtrait(st, traittab[i], ingeneric, hidelocal);
for (i = 0; i < t->nsub; i++)
tagtype(st, t->sub[i], ingeneric, hidelocal);
switch (t->type) {