about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--cpp/012run22
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/012run b/cpp/012run
index 46a90b7f..4fdb7ebb 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -63,17 +63,17 @@ void run(routine rr) {
 //?     cout << "instruction " << TOP_RECIPE.name << '/' << pc << '\n'; //? 2
     trace("run") << "instruction " << TOP_RECIPE.name << '/' << pc;
     switch (instructions[pc].operation) {
-    // Primitive Recipe Implementations.
-    case COPY: {
-      trace("run") << "ingredient 0 is " << instructions[pc].ingredients[0].name;
-      vector<int> data = read_memory(instructions[pc].ingredients[0]);
-      write_memory(instructions[pc].products[0], data);
-      break;
-    }
-    // End Primitive Recipe Implementations.
-    default: {
-      cout << "non primitive op: " << instructions[pc].operation << '\n';
-    }
+      // Primitive Recipe Implementations.
+      case COPY: {
+        trace("run") << "ingredient 0 is " << instructions[pc].ingredients[0].name;
+        vector<int> data = read_memory(instructions[pc].ingredients[0]);
+        write_memory(instructions[pc].products[0], data);
+        break;
+      }
+      // End Primitive Recipe Implementations.
+      default: {
+        cout << "non primitive op: " << instructions[pc].operation << '\n';
+      }
     }
     ++pc;
   }