From fb85b3b46d3e655f529e13b477fadf2782e63d94 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 5 Oct 2015 17:02:32 -0700 Subject: 2242 --- 030container.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to '030container.cc') 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; } -- cgit 1.4.1-2-gfad0