summaryrefslogtreecommitdiff
path: root/parse/dump.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-02-26 10:41:16 -0500
committerOri Bernstein <ori@eigenstate.org>2014-02-26 10:41:16 -0500
commit9109f705674f744cacb8f2b5f27214f1e0062c03 (patch)
tree31e5061bcf8c677c6d26c4dfc2edb00997fe782d /parse/dump.c
parente6cf1fd25f02f11859ad5071ec51d5428cfee79a (diff)
downloadmc-9109f705674f744cacb8f2b5f27214f1e0062c03.tar.gz
Dump the 'istraitfn' variable.
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 440ba42..ba60e32 100644
--- a/parse/dump.c
+++ b/parse/dump.c
@@ -138,8 +138,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, vis = %d)\n",
- n->decl.did, n->decl.isconst, n->decl.isgeneric, n->decl.isextern, n->decl.vis);
+ fprintf(fd, "(did = %zd, isconst = %d, isgeneric = %d, istraitfn=%d, isextern = %d, vis = %d)\n",
+ n->decl.did, n->decl.isconst, n->decl.isgeneric, n->decl.istraitfn, n->decl.isextern, n->decl.vis);
outsym(n, fd, depth + 1);
outnode(n->decl.init, fd, depth + 1);
break;