From 85553e522cfd8cf6ecb9f8c6819bff044197502b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 7 Feb 2017 00:25:27 -0800 Subject: 3747 --- html/043space.cc.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'html/043space.cc.html') diff --git a/html/043space.cc.html b/html/043space.cc.html index 60bc5518..2cdff102 100644 --- a/html/043space.cc.html +++ b/html/043space.cc.html @@ -299,7 +299,7 @@ if ('onhashchange' in window) { 235 const recipe& exiting_recipe = get(Recipe, r); 236 if (exiting_recipe.steps.empty()) return; 237 const instruction& inst = exiting_recipe.steps.at(0); -238 if (inst.old_name != "local-scope") return; +238 if (inst.name_before_rewrite != "local-scope") return; 239 // reclaim any local variables unless they're being returned 240 vector<double> zeros; 241 for (int i = /*leave default space for last*/1; i < SIZE(exiting_recipe.steps); ++i) { @@ -325,11 +325,11 @@ if ('onhashchange' in window) { 261 //: Reclaiming local variables above requires remembering what name an 262 //: instruction had before any rewrites or transforms. 263 :(before "End instruction Fields") -264 string old_name; +264 string name_before_rewrite; 265 :(before "End instruction Clear") -266 old_name.clear(); +266 name_before_rewrite.clear(); 267 :(before "End next_instruction(curr)") -268 curr->old_name = curr->name; // before rewrite rules modify it +268 curr->name_before_rewrite = curr->name; 269 270 :(code) 271 // is this reagent one of the values returned by the current (return) instruction? @@ -362,7 +362,7 @@ if ('onhashchange' in window) { 298 if (!contains_key(Recipe, inst.operation)) return true; 299 const recipe& callee = get(Recipe, inst.operation); 300 if (callee.steps.empty()) return true; -301 return callee.steps.at(0).old_name != "local-scope"; // callees that call local-scope are already dealt with before return +301 return callee.steps.at(0).name_before_rewrite != "local-scope"; // callees that call local-scope are already dealt with before return 302 } 303 304 bool caller_uses_product(int product_index) { -- cgit 1.4.1-2-gfad0