about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/012run4
-rw-r--r--cpp/020call2
2 files changed, 2 insertions, 4 deletions
diff --git a/cpp/012run b/cpp/012run
index 4ffe558a..03bb2be4 100644
--- a/cpp/012run
+++ b/cpp/012run
@@ -49,8 +49,6 @@ void run(recipe_number r) {
 }
 
 void run(routine rr) {
-// #defines save us the trouble of updating aliases when dependent variables
-// change.
   while (!rr.calls.empty()) {
     vector<instruction>& instructions = Recipe[rr.calls.top().running_recipe].steps;
     while (rr.calls.top().pc >= instructions.size()) {
@@ -71,7 +69,7 @@ void run(routine rr) {
       }
       // End Primitive Recipe Implementations.
       default: {
-        cout << "non primitive op: " << instructions[pc].operation << '\n';
+        cout << "not a primitive op: " << instructions[pc].operation << '\n';
       }
     }
     ++pc;
diff --git a/cpp/020call b/cpp/020call
index c12517c9..ef15ee94 100644
--- a/cpp/020call
+++ b/cpp/020call
@@ -13,7 +13,7 @@ size_t next_ingredient_to_process;
 :(replace{} "call(recipe_number r)")
 call(recipe_number r) :running_recipe(r), pc(0), next_ingredient_to_process(0) {}
 
-:(replace{} "End Primitive Recipe Implementations." then "default:")
+:(replace{} "default:" following "End Primitive Recipe Implementations.")
 default: {
   // not a primitive; try to look for a matching recipe
   if (Recipe.find(instructions[pc].operation) == Recipe.end()) {