about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--023boolean.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/023boolean.cc b/023boolean.cc
index 4959796a..833595fa 100644
--- a/023boolean.cc
+++ b/023boolean.cc
@@ -122,8 +122,8 @@ NOT,
 put(Recipe_ordinal, "not", NOT);
 :(before "End Primitive Recipe Checks")
 case NOT: {
-  if (SIZE(inst.products) > SIZE(inst.ingredients)) {
-    raise << maybe(get(Recipe, r).name) << "'not' cannot have fewer ingredients than products in '" << to_original_string(inst) << "'\n" << end();
+  if (SIZE(inst.products) != SIZE(inst.ingredients)) {
+    raise << "ingredients and products should match in '" << to_original_string(inst) << "'\n" << end();
     break;
   }
   for (int i = 0; i < SIZE(inst.ingredients); ++i) {