about summary refs log tree commit diff stats
path: root/030container.cc
diff options
context:
space:
mode:
Diffstat (limited to '030container.cc')
-rw-r--r--030container.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/030container.cc b/030container.cc
index 529ec7c3..817a8c47 100644
--- a/030container.cc
+++ b/030container.cc
@@ -157,6 +157,7 @@ case GET: {
   element.types = Type[base_type].elements.at(offset_value);
   if (!types_match(product, element)) {
     raise << maybe(Recipe[r].name) << "'get' " << offset.original_string << " (" << offset_value << ") on " << Type[base_type].name << " can't be saved in " << product.original_string << "; type should be " << dump_types(element) << '\n' << end();
+    break;
   }
   break;
 }
@@ -285,6 +286,7 @@ case GET_ADDRESS: {
   element.types.insert(element.types.begin(), Type_ordinal["address"]);
   if (!types_match(product, element)) {
     raise << maybe(Recipe[r].name) << "'get-address' " << offset.original_string << " (" << offset_value << ") on " << Type[base_type].name << " can't be saved in " << product.original_string << "; type should be " << dump_types(element) << '\n' << end();
+    break;
   }
   break;
 }