about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-25 22:02:39 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-25 22:02:39 -0700
commit96db91f8f65b9ca16491efa979017ab4fb271666 (patch)
treefb993a1da811ae39725a86e67544eff5b53d2958
parent220f1e5fc9a5817906fc2b7441b903b21ab3f9f4 (diff)
downloadmu-96db91f8f65b9ca16491efa979017ab4fb271666.tar.gz
1851
-rw-r--r--082persist.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/082persist.cc b/082persist.cc
index 00d81c53..79b9842f 100644
--- a/082persist.cc
+++ b/082persist.cc
@@ -51,8 +51,8 @@ SAVE,
 Recipe_ordinal["save"] = SAVE;
 :(before "End Primitive Recipe Implementations")
 case SAVE: {
-  if (SIZE(ingredients) != 1) {
-    raise << current_recipe_name() << ": 'save' requires exactly one ingredient, but got " << current_instruction().to_string() << '\n' << end();
+  if (SIZE(ingredients) != 2) {
+    raise << current_recipe_name() << ": 'save' requires exactly two ingredients, but got " << current_instruction().to_string() << '\n' << end();
     break;
   }
   if (!scalar(ingredients.at(0)))