about summary refs log tree commit diff stats
path: root/cpp/049scenario_helpers.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-03 10:57:28 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-03 10:57:28 -0700
commit6aea156edd8ec917b12da3ad17d3a8539d76b0ec (patch)
tree7420c9763a5513316b6aec6ee678f0434bbbdc31 /cpp/049scenario_helpers.cc
parent5fb632682510b8c2ae86a6ddcee84fe8b40bbcb5 (diff)
downloadmu-6aea156edd8ec917b12da3ad17d3a8539d76b0ec.tar.gz
1244
Diffstat (limited to 'cpp/049scenario_helpers.cc')
-rw-r--r--cpp/049scenario_helpers.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpp/049scenario_helpers.cc b/cpp/049scenario_helpers.cc
index d5b755f2..c4a5cb54 100644
--- a/cpp/049scenario_helpers.cc
+++ b/cpp/049scenario_helpers.cc
@@ -12,11 +12,6 @@ recipe main [
 ]
 +mem: storing 13 in location 1
 
-:(before "End Globals")
-size_t Num_temporary_recipes = 0;
-:(before "End Setup")
-Num_temporary_recipes = 0;
-
 :(before "End Primitive Recipe Declarations")
 RUN,
 :(before "End Primitive Recipe Numbers")
@@ -25,7 +20,7 @@ Recipe_number["run"] = RUN;
 case RUN: {
 //?   cout << "recipe " << current_instruction().ingredients[0].name << '\n'; //? 1
   ostringstream tmp;
-  tmp << "recipe tmp" << Num_temporary_recipes++ << " [ " << current_instruction().ingredients[0].name << " ]";
+  tmp << "recipe run" << Next_recipe_number << " [ " << current_instruction().ingredients[0].name << " ]";
 //?   Show_rest_of_stream = true; //? 1
   vector<recipe_number> tmp_recipe = load(tmp.str());
   transform_all();