summaryrefslogtreecommitdiff
path: root/mi/cfg.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 /mi/cfg.c
parent468265b7b2719d783afc46ea5aa7c9ffa3142970 (diff)
downloadmc-c96b770a0aa93c1e7b99e5874808af85ddacc6a7.tar.gz
Improve error messages.
This involved lots of table changes.
Diffstat (limited to 'mi/cfg.c')
-rw-r--r--mi/cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/cfg.c b/mi/cfg.c
index 2a24dda..fc1cacf 100644
--- a/mi/cfg.c
+++ b/mi/cfg.c
@@ -211,7 +211,7 @@ Cfg *mkcfg(Node *fn, Node **nl, size_t nn)
case Ndecl:
break;
default:
- die("Invalid node type %s in mkcfg", nodestr(nl[i]->type));
+ die("Invalid node type %s in mkcfg", nodestr[nl[i]->type]);
}
}
post = mkbb(cfg);