summaryrefslogtreecommitdiff
path: root/parse/node.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-22 00:42:44 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-22 00:42:44 -0800
commit404b1885e3cec9eeb8a2fa338174f38cbfd168ad (patch)
treeefa58f9046f91dc1744b3abefe15f7be30f0d989 /parse/node.c
parentfb11c9ffe92e56016771a9001cdf09b0e2295f7d (diff)
downloadmc-404b1885e3cec9eeb8a2fa338174f38cbfd168ad.tar.gz
Make traits work across files.
This bumps ABI, and contains a hack.
Diffstat (limited to 'parse/node.c')
-rw-r--r--parse/node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/node.c b/parse/node.c
index 74f8c77..62a6941 100644
--- a/parse/node.c
+++ b/parse/node.c
@@ -220,6 +220,7 @@ Node *mkimplstmt(Srcloc loc, Node *name, Type *t, Type **aux, size_t naux, Node
n->impl.naux = naux;
n->impl.decls = decls;
n->impl.ndecls = ndecls;
+ lappend(&impltab, &nimpltab, n);
return n;
}