about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-07-03 11:12:48 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-07-03 11:12:48 -0700
commitfb416e6fbf61af7bc93b0d219cd392586a4153e3 (patch)
tree817f14edd51a3163e2a314fc28e6627956617c66
parent234ec878aa8c709dd61fb90f2556ff49da745ce0 (diff)
downloadmu-fb416e6fbf61af7bc93b0d219cd392586a4153e3.tar.gz
3096
-rw-r--r--042name.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/042name.cc b/042name.cc
index fc341832..323e9c3e 100644
--- a/042name.cc
+++ b/042name.cc
@@ -55,6 +55,7 @@ void transform_names(const recipe_ordinal r) {
       if (is_integer(inst.ingredients.at(in).name)) continue;
       if (!already_transformed(inst.ingredients.at(in), names)) {
         raise << maybe(caller.name) << "use before set: '" << inst.ingredients.at(in).name << "'\n" << end();
+        return;
       }
       int v = lookup_name(inst.ingredients.at(in), r);
       if (v >= 0) {