about summary refs log tree commit diff stats
path: root/056recipe_header.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-18 21:36:36 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-18 22:03:43 -0800
commit104854ca941be75b187ed49f94e96e06113d0fb5 (patch)
tree3c4467de218486db6dc123110d3575151977aafa /056recipe_header.cc
parent59b6a42aac60a8be4b637a6a1cffa2bf371e7302 (diff)
downloadmu-104854ca941be75b187ed49f94e96e06113d0fb5.tar.gz
2460 - headers for remaining recipes
Diffstat (limited to '056recipe_header.cc')
-rw-r--r--056recipe_header.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/056recipe_header.cc b/056recipe_header.cc
index c7b361d6..e918074d 100644
--- a/056recipe_header.cc
+++ b/056recipe_header.cc
@@ -145,9 +145,7 @@ void check_reply_instructions_against_header(const recipe_ordinal r) {
   for (long long int i = 0; i < SIZE(caller_recipe.steps); ++i) {
     const instruction& inst = caller_recipe.steps.at(i);
     if (inst.name != "reply") continue;
-    if (SIZE(caller_recipe.products) != SIZE(inst.ingredients))
-      raise_error << maybe(caller_recipe.name) << "tried to reply the wrong number of products in '" << inst.to_string() << "'\n" << end();
-    for (long long int i = 0; i < SIZE(caller_recipe.products); ++i) {
+    for (long long int i = 0; i < SIZE(inst.ingredients); ++i) {
       if (!types_match(caller_recipe.products.at(i), inst.ingredients.at(i)))
         raise_error << maybe(caller_recipe.name) << "replied with the wrong type at '" << inst.to_string() << "'\n" << end();
     }