summaryrefslogtreecommitdiff
path: root/parse/dump.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-12-27 02:21:46 -0500
committerOri Bernstein <ori@eigenstate.org>2013-12-27 02:21:46 -0500
commit334532827595c538c638dcae7ebecb4d857573f5 (patch)
tree35ca836ee642ec390f59394f816ef1b67e4345f5 /parse/dump.c
parent0cae8df980a684eb9334e167765596b8e12b5728 (diff)
downloadmc-334532827595c538c638dcae7ebecb4d857573f5.tar.gz
Move towards automatically creating hidden exports.
Right now, this only works muse, since the probing is only done when generating usefiles. However, with a bit of work it should be usable for exporting symbols in assembly as well
Diffstat (limited to 'parse/dump.c')
-rw-r--r--parse/dump.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse/dump.c b/parse/dump.c
index 6961e4b..8d58b51 100644
--- a/parse/dump.c
+++ b/parse/dump.c
@@ -137,8 +137,8 @@ static void outnode(Node *n, FILE *fd, int depth)
outnode(n->file.stmts[i], fd, depth + 1);
break;
case Ndecl:
- fprintf(fd, "(did = %zd, isconst = %d, isgeneric = %d, isextern = %d, isexport = %d)\n",
- n->decl.did, n->decl.isconst, n->decl.isgeneric, n->decl.isextern, n->decl.isexport);
+ fprintf(fd, "(did = %zd, isconst = %d, isgeneric = %d, isextern = %d, vis = %d)\n",
+ n->decl.did, n->decl.isconst, n->decl.isgeneric, n->decl.isextern, n->decl.vis);
outsym(n, fd, depth + 1);
outnode(n->decl.init, fd, depth + 1);
break;