summaryrefslogtreecommitdiff
path: root/6/genp9.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-01-06 13:29:51 -0800
committerOri Bernstein <ori@eigenstate.org>2015-01-06 13:29:51 -0800
commitc96b770a0aa93c1e7b99e5874808af85ddacc6a7 (patch)
treed60d4652014bc44186663f7afaea3338281124ae /6/genp9.c
parent468265b7b2719d783afc46ea5aa7c9ffa3142970 (diff)
downloadmc-c96b770a0aa93c1e7b99e5874808af85ddacc6a7.tar.gz
Improve error messages.
This involved lots of table changes.
Diffstat (limited to '6/genp9.c')
-rw-r--r--6/genp9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/6/genp9.c b/6/genp9.c
index 7a591b9..3c21cfb 100644
--- a/6/genp9.c
+++ b/6/genp9.c
@@ -533,7 +533,7 @@ void genp9(Node *file, char *out)
simpglobl(n, globls, &fn, &nfn, &blob, &nblob);
break;
default:
- die("Bad node %s in toplevel", nodestr(n->type));
+ die("Bad node %s in toplevel", nodestr[n->type]);
break;
}
}