aboutsummaryrefslogtreecommitdiff
path: root/copy.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-04-12 10:12:58 -0400
committerQuentin Carbonneaux <[email protected]>2016-04-12 10:24:00 -0400
commitb58fdfec9dfbbb870552e4b50d34e8cba4ffc288 (patch)
tree59b357cf4163ebc633fe274c6174a29b0be4d70a /copy.c
parentd837263ffa57844b89f4bb615c280938a971ba99 (diff)
diagnose some undefined uses
Diffstat (limited to 'copy.c')
-rw-r--r--copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/copy.c b/copy.c
index 419b079..0ed62b0 100644
--- a/copy.c
+++ b/copy.c
@@ -68,7 +68,7 @@ static void
subst(Ref *r, Ref *cp, Fn *fn)
{
if (rtype(*r) == RTmp && req(copyof(*r, cp), R))
- err("temporary %%%s is used undefined",
+ err("temporary %%%s is ill-defined",
fn->tmp[r->val].name);
*r = copyof(*r, cp);
}