diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-12-13 20:01:42 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-12-13 20:01:42 -0800 |
commit | 71974f15e3b5b32542fec00f0985c674f45a2501 (patch) | |
tree | f5fe3ec8cd6f9023acd392ebd8d384129d353797 /059shape_shifting_recipe.cc | |
parent | bf458036ced8cbb50c79268f57418149f5e43909 (diff) | |
download | mu-71974f15e3b5b32542fec00f0985c674f45a2501.tar.gz |
2622
Diffstat (limited to '059shape_shifting_recipe.cc')
-rw-r--r-- | 059shape_shifting_recipe.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/059shape_shifting_recipe.cc b/059shape_shifting_recipe.cc index 0e733abb..774230a2 100644 --- a/059shape_shifting_recipe.cc +++ b/059shape_shifting_recipe.cc @@ -44,20 +44,20 @@ if (contains_type_ingredient_name(lhs)) return false; //: *specializing* existing recipes. //: //: Keep track of these new recipes in a separate variable in addition to -//: recently_added_recipes, so that edit/ can clear them before reloading to +//: Recently_added_recipes, so that edit/ can clear them before reloading to //: regenerate errors. :(before "End Globals") -vector<recipe_ordinal> recently_added_shape_shifting_recipes; +vector<recipe_ordinal> Recently_added_shape_shifting_recipes; :(before "End Setup") //? cerr << "setup: clearing recently-added shape-shifting recipes\n"; -recently_added_shape_shifting_recipes.clear(); +Recently_added_shape_shifting_recipes.clear(); //: make sure we don't clear any of these recipes when we start running tests :(before "End Loading .mu Files") -recently_added_recipes.clear(); -recently_added_types.clear(); +Recently_added_recipes.clear(); +Recently_added_types.clear(); //? cerr << "clearing recently-added shape-shifting recipes\n"; -recently_added_shape_shifting_recipes.clear(); +Recently_added_shape_shifting_recipes.clear(); //: save original name of specialized recipes :(before "End recipe Fields") @@ -235,8 +235,8 @@ recipe_ordinal new_variant(recipe_ordinal exemplar, const instruction& inst, con // make a copy assert(contains_key(Recipe, exemplar)); assert(!contains_key(Recipe, new_recipe_ordinal)); - recently_added_recipes.push_back(new_recipe_ordinal); - recently_added_shape_shifting_recipes.push_back(new_recipe_ordinal); + Recently_added_recipes.push_back(new_recipe_ordinal); + Recently_added_shape_shifting_recipes.push_back(new_recipe_ordinal); put(Recipe, new_recipe_ordinal, get(Recipe, exemplar)); recipe& new_recipe = get(Recipe, new_recipe_ordinal); new_recipe.name = new_name; |