about summary refs log tree commit diff stats
path: root/062convert_ingredients_to_text.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-19 22:10:35 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-19 22:10:35 -0700
commit6c96a437cef5140197660a0903309f11c364bf78 (patch)
treeea3b5a4d90100329eeb58a76773a500a6bee71da /062convert_ingredients_to_text.cc
parent5a820205054a9c45a9b4dc71aa1f26b4612ec76d (diff)
downloadmu-6c96a437cef5140197660a0903309f11c364bf78.tar.gz
3522
Diffstat (limited to '062convert_ingredients_to_text.cc')
-rw-r--r--062convert_ingredients_to_text.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/062convert_ingredients_to_text.cc b/062convert_ingredients_to_text.cc
index a223992b..43c459f5 100644
--- a/062convert_ingredients_to_text.cc
+++ b/062convert_ingredients_to_text.cc
@@ -67,11 +67,11 @@ void convert_ingredients_to_text(recipe_ordinal r) {
 
 void convert_ingredients_to_text(recipe& caller) {
   vector<instruction> new_instructions;
-  for (int i = 0; i < SIZE(caller.steps); ++i) {
+  for (int i = 0;  i < SIZE(caller.steps);  ++i) {
     instruction& inst = caller.steps.at(i);
     // all these cases are getting hairy. how can we make this extensible?
     if (inst.name == "stash") {
-      for (int j = 0; j < SIZE(inst.ingredients); ++j) {
+      for (int j = 0;  j < SIZE(inst.ingredients);  ++j) {
         if (is_literal_text(inst.ingredients.at(j))) continue;
         ostringstream ingredient_name;
         ingredient_name << "stash_" << i << '_' << j << ":address:array:character";
@@ -79,7 +79,7 @@ void convert_ingredients_to_text(recipe& caller) {
       }
     }
     else if (inst.name == "trace") {
-      for (int j = /*skip*/2; j < SIZE(inst.ingredients); ++j) {
+      for (int j = /*skip*/2;  j < SIZE(inst.ingredients);  ++j) {
         if (is_literal_text(inst.ingredients.at(j))) continue;
         ostringstream ingredient_name;
         ingredient_name << "trace_" << i << '_' << j << ":address:array:character";
@@ -93,7 +93,7 @@ void convert_ingredients_to_text(recipe& caller) {
       //   append _:text, ___
       // will never ever get used.
       if (is_literal_text(inst.ingredients.at(0)) || is_mu_text(inst.ingredients.at(0))) {
-        for (int j = 0; j < SIZE(inst.ingredients); ++j) {
+        for (int j = 0;  j < SIZE(inst.ingredients);  ++j) {
           ostringstream ingredient_name;
           ingredient_name << "append_" << i << '_' << j << ":address:array:character";
           convert_ingredient_to_text(inst.ingredients.at(j), new_instructions, ingredient_name.str());