From 4bbd3ded0b767ae0919551776e4c17189140e735 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 30 May 2015 19:30:33 -0700 Subject: 1517 --- html/037call_reply.cc.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'html/037call_reply.cc.html') diff --git a/html/037call_reply.cc.html b/html/037call_reply.cc.html index 22509da6..60363350 100644 --- a/html/037call_reply.cc.html +++ b/html/037call_reply.cc.html @@ -10,16 +10,17 @@ @@ -53,6 +54,10 @@ Recipe_number["reply"] = REPLY{ const instruction& reply_inst = current_instruction(); // save pointer into recipe before pop --Callstack_depth; +//? if (tb_is_active()) { //? 1 +//? tb_clear(); //? 1 +//? cerr << Recipe[Current_routine->calls.front().running_recipe].name << ' ' << current_step_index() << '\n'; //? 1 +//? } //? 1 Current_routine->calls.pop_front(); // just in case 'main' returns a value, drop it for now if (Current_routine->calls.empty()) goto stop_running_current_routine; @@ -62,6 +67,7 @@ case REPLY: { // check that any reply ingredients with /same-as-ingredient connect up // the corresponding ingredient and product in the caller. for (long long int i = 0; i < SIZE(caller_instruction.products); ++i) { +//? cerr << Recipe[Current_routine->calls.front().running_recipe].name << '\n'; //? 1 trace(Primitive_recipe_depth, "run") << "result " << i << " is " << to_string(ingredients.at(i)); if (has_property(reply_inst.ingredients.at(i), "same-as-ingredient")) { vector<string> tmp = property(reply_inst.ingredients.at(i), "same-as-ingredient"); @@ -84,7 +90,7 @@ recipe main [ recipe f [ 12:number <- next-ingredient 13:number <- copy 35:literal - reply 12:point + reply 12:point/raw # unsafe ] +run: result 0 is [2, 35] +mem: storing 2 in location 3 -- cgit 1.4.1-2-gfad0