shithub: mc

Download patch

ref: 9109f705674f744cacb8f2b5f27214f1e0062c03
parent: e6cf1fd25f02f11859ad5071ec51d5428cfee79a
author: Ori Bernstein <[email protected]>
date: Wed Feb 26 05:41:16 EST 2014

Dump the 'istraitfn' variable.

--- a/parse/dump.c
+++ b/parse/dump.c
@@ -138,8 +138,8 @@
                 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;