summaryrefslogtreecommitdiff
path: root/parse/dump.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-01-13 11:39:33 -0500
committerOri Bernstein <ori@eigenstate.org>2014-01-13 11:39:33 -0500
commita14644877bbb7cbe45cbd006f2773a3e4b9008a7 (patch)
tree5a177b7884c05125d5ca5543c29a6e0bcde1d665 /parse/dump.c
parent10c5c3d7f4a76b67a72278b989d4b0cb52e145b3 (diff)
downloadmc-a14644877bbb7cbe45cbd006f2773a3e4b9008a7.tar.gz
Work towards parsing traits definitions.
Diffstat (limited to 'parse/dump.c')
-rw-r--r--parse/dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/parse/dump.c b/parse/dump.c
index a386d72..ddb50fa 100644
--- a/parse/dump.c
+++ b/parse/dump.c
@@ -226,6 +226,9 @@ static void outnode(Node *n, FILE *fd, int depth)
fprintf(fd, "%s", n->name.name);
fprintf(fd, ")\n");
break;
+ case Ntrait:
+ fprintf(fd, "Trait definition");
+ break;
case Nnone:
fprintf(stderr, "Nnone not a real node type!");
fprintf(fd, "Nnone\n");