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) {
'n121' href='#n121'>121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233