From beea7ce25cfe42c363259705a6b5741ad47484ab Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 22 Oct 2016 04:04:46 -0700 Subject: 3543 --- html/071recipe.cc.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'html/071recipe.cc.html') diff --git a/html/071recipe.cc.html b/html/071recipe.cc.html index d4476afb..51073ad2 100644 --- a/html/071recipe.cc.html +++ b/html/071recipe.cc.html @@ -22,7 +22,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color .Special { color: #c00000; } .traceContains { color: #008000; } .Normal { color: #eeeeee; background-color: #080808; padding-bottom: 1px; } -.Identifier { color: #fcb165; } +.Identifier { color: #ecf32c; } --> @@ -150,10 +150,12 @@ put(Recipe_ordinal,(current_recipe_name()) << "tried to call empty recipe in '" << to_string(current_instruction()) << "'" << end(); break; } - const instruction& caller_instruction = current_instruction(); + instruction/*copy*/ call_instruction = current_instruction(); + call_instruction.operation = ingredients.at(0).at(0); + call_instruction.ingredients.erase(call_instruction.ingredients.begin()); Current_routine->calls.push_front(call(ingredients.at(0).at(0))); ingredients.erase(ingredients.begin()); // drop the callee - finish_call_housekeeping(caller_instruction, ingredients); + finish_call_housekeeping(call_instruction, ingredients); continue; } -- cgit 1.4.1-2-gfad0