summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-05-28 01:11:51 -0400
committerOri Bernstein <ori@eigenstate.org>2013-05-28 01:11:51 -0400
commitccfe71811f1ebd2e0a1f5bd42d78dd740638d9ec (patch)
treef7ba131b1d98e82475241612c6c6ea9830ec09a3
parente2f62755339d913f59d08ceafaa24849cf9da803 (diff)
downloadmc-ccfe71811f1ebd2e0a1f5bd42d78dd740638d9ec.tar.gz
Edit quotes in error message.
This makes it clearer to see what the label is, vs where the error message sis.
-rw-r--r--mi/cfg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mi/cfg.c b/mi/cfg.c
index 50be90b..1e1497e 100644
--- a/mi/cfg.c
+++ b/mi/cfg.c
@@ -135,14 +135,14 @@ Cfg *mkcfg(Node **nl, size_t nn)
if (a) {
targ = htget(cfg->lblmap, lblstr(a));
if (!targ)
- die("No bb with label %s", lblstr(a));
+ die("No bb with label \"%s\"", lblstr(a));
bsput(bb->succ, targ->id);
bsput(targ->pred, bb->id);
}
if (b) {
targ = htget(cfg->lblmap, lblstr(b));
if (!targ)
- die("No bb with label %s", lblstr(b));
+ die("No bb with label \"%s\"", lblstr(b));
bsput(bb->succ, targ->id);
bsput(targ->pred, bb->id);
}