about summary refs log tree commit diff stats
path: root/cpp/024brace
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/024brace')
-rw-r--r--cpp/024brace12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/024brace b/cpp/024brace
index f61fb6ac..fdcf12e6 100644
--- a/cpp/024brace
+++ b/cpp/024brace
@@ -65,7 +65,7 @@ void transform_braces(const recipe_number r) {
         trace("after-brace") << "jump " << inst.ingredients[0].name << ":offset";
       }
       else {
-        reagent ing(0);  // literal
+        reagent ing;
         ing.set_value(open_braces.top()-index);
         inst.ingredients.push_back(ing);
         trace("after-brace") << "jump " << ing.value << ":offset";
@@ -80,7 +80,7 @@ void transform_braces(const recipe_number r) {
         trace("after-brace") << "jump " << inst.ingredients[0].name << ":offset";
       }
       else {
-        reagent ing(0);  // literal
+        reagent ing;
         ing.set_value(matching_brace(open_braces.top(), braces) - index - 1);
         inst.ingredients.push_back(ing);
         trace("after-brace") << "jump " << ing.value << ":offset";
@@ -93,7 +93,7 @@ void transform_braces(const recipe_number r) {
         trace("after-brace") << "jump " << inst.ingredients[1].name << ":offset";
       }
       else {
-        reagent ing(0);  // literal
+        reagent ing;
         ing.set_value(open_braces.top()-index);
         inst.ingredients.push_back(ing);
         trace("after-brace") << "jump-if " << inst.ingredients[0].name << ", " << ing.value << ":offset";
@@ -106,7 +106,7 @@ void transform_braces(const recipe_number r) {
         trace("after-brace") << "jump " << inst.ingredients[1].name << ":offset";
       }
       else {
-        reagent ing(0);  // literal
+        reagent ing;
         ing.set_value(matching_brace(open_braces.top(), braces) - index - 1);
         inst.ingredients.push_back(ing);
         trace("after-brace") << "jump-if " << inst.ingredients[0].name << ", " << ing.value << ":offset";
@@ -119,7 +119,7 @@ void transform_braces(const recipe_number r) {
         trace("after-brace") << "jump " << inst.ingredients[1].name << ":offset";
       }
       else {
-        reagent ing(0);  // literal
+        reagent ing;
         ing.set_value(open_braces.top()-index);
         inst.ingredients.push_back(ing);
         trace("after-brace") << "jump-unless " << inst.ingredients[0].name << ", " << ing.value << ":offset";
@@ -132,7 +132,7 @@ void transform_braces(const recipe_number r) {
         trace("after-brace") << "jump " << inst.ingredients[1].name << ":offset";
       }
       else {
-        reagent ing(0);  // literal
+        reagent ing;
         ing.set_value(matching_brace(open_braces.top(), braces) - index - 1);
         inst.ingredients.push_back(ing);
         trace("after-brace") << "jump-unless " << inst.ingredients[0].name << ", " << ing.value << ":offset";