about summary refs log tree commit diff stats
path: root/049continuation.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-24 16:32:11 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-24 16:32:11 -0700
commit5b7a71b0088ff8659fd78fba518c386cd85d5a81 (patch)
treeffee837c3ef4426e62db4e5393314b880ae9a89d /049continuation.cc
parent7a2b47251d42dd9918ca24e91eb044c838f23de7 (diff)
downloadmu-5b7a71b0088ff8659fd78fba518c386cd85d5a81.tar.gz
1455
Diffstat (limited to '049continuation.cc')
-rw-r--r--049continuation.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/049continuation.cc b/049continuation.cc
index 2c714384..26b605bb 100644
--- a/049continuation.cc
+++ b/049continuation.cc
@@ -171,7 +171,7 @@ Recipe_number["create-delimited-continuation"] = CREATE_DELIMITED_CONTINUATION;
 case CREATE_DELIMITED_CONTINUATION: {
   Current_routine->calls.front().is_reset = true;
   Current_routine->calls.push_front(call(Recipe_number[current_instruction().ingredients.at(0).name]));
-  ingredients.erase(ingredients.begin());  // drop the function
+  ingredients.erase(ingredients.begin());  // drop the callee
   goto complete_call;
 }
 
@@ -230,6 +230,6 @@ call_stack::iterator find_reset(call_stack& c) {
     for (call_stack::const_reverse_iterator p = new_calls.rbegin(); p != new_calls.rend(); ++p)
       Current_routine->calls.push_front(*p);
     ++current_step_index();  // skip past the reply-delimited-continuation
-    ingredients.erase(ingredients.begin());  // drop the function
+    ingredients.erase(ingredients.begin());  // drop the callee
     goto complete_call;
   }