diff options
Diffstat (limited to '028call_reply.cc')
-rw-r--r-- | 028call_reply.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/028call_reply.cc b/028call_reply.cc index 507357c6..f5e61384 100644 --- a/028call_reply.cc +++ b/028call_reply.cc @@ -80,7 +80,7 @@ void check_types_of_reply_instructions(recipe_ordinal r) { for (int i = 0; i < SIZE(caller_instruction.products); ++i) { if (has_property(reply_inst.ingredients.at(i), "same-as-ingredient")) { string_tree* tmp = property(reply_inst.ingredients.at(i), "same-as-ingredient"); - if (!tmp || tmp->right) { + if (!tmp || !tmp->atom) { raise << maybe(caller.name) << "'same-as-ingredient' metadata should take exactly one value in '" << to_original_string(reply_inst) << "'\n" << end(); goto finish_reply_check; } |