diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-12 10:12:58 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-04-12 10:24:00 -0400 |
commit | b58fdfec9dfbbb870552e4b50d34e8cba4ffc288 (patch) | |
tree | 59b357cf4163ebc633fe274c6174a29b0be4d70a /copy.c | |
parent | d837263ffa57844b89f4bb615c280938a971ba99 (diff) | |
download | roux-b58fdfec9dfbbb870552e4b50d34e8cba4ffc288.tar.gz |
diagnose some undefined uses
Diffstat (limited to 'copy.c')
-rw-r--r-- | copy.c | 2 |
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); } |