about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/002trace4
-rw-r--r--cpp/010vm18
-rw-r--r--cpp/024brace2
-rw-r--r--cpp/025name2
4 files changed, 13 insertions, 13 deletions
diff --git a/cpp/002trace b/cpp/002trace
index 68b73def..3a25502f 100644
--- a/cpp/002trace
+++ b/cpp/002trace
@@ -205,8 +205,8 @@ struct lease_tracer {
 
 #define START_TRACING_UNTIL_END_OF_SCOPE  lease_tracer leased_tracer;
 :(before "End Test Setup")
-  START_TRACING_UNTIL_END_OF_SCOPE
-//?   Trace_stream->dump_layer = "all"; //? 1
+START_TRACING_UNTIL_END_OF_SCOPE
+//? Trace_stream->dump_layer = "all"; //? 1
 
 :(before "End Tracing")
 void trace_all(const string& label, const list<string>& in) {
diff --git a/cpp/010vm b/cpp/010vm
index 826c2069..a21655ed 100644
--- a/cpp/010vm
+++ b/cpp/010vm
@@ -58,7 +58,7 @@ struct property {
 // Locations refer to a common 'memory'. Each location can store a number.
 unordered_map<int, int> Memory;
 :(before "End Setup")
-  Memory.clear();
+Memory.clear();
 
 :(after "Types")
 // Mu types encode how the numbers stored in different parts of memory are
@@ -94,7 +94,7 @@ void setup_types() {
   // End Mu Types Initialization.
 }
 :(before "End One-time Setup")
-  setup_types();
+setup_types();
 
 :(before "End Types")
 // You can construct arbitrary new types. Types are either 'records', containing
@@ -138,14 +138,14 @@ void setup_recipes() {
 //: startup. Later layers will carefully undo each test's additions after
 //: itself.
 :(before "End One-time Setup")
-  setup_recipes();
-  // End Load Recipes
-  // give tests a consistent starting point
-  assert(Next_recipe_number < 100);
-  Next_recipe_number = 100;
-  delete Trace_stream;  Trace_stream = new trace_stream;
+setup_recipes();
+// End Load Recipes
+// give tests a consistent starting point
+assert(Next_recipe_number < 100);
+Next_recipe_number = 100;
+delete Trace_stream;  Trace_stream = new trace_stream;
 :(before "End Setup")
-  Next_recipe_number = 100;  // consistent new numbers for each test
+Next_recipe_number = 100;  // consistent new numbers for each test
 
 
 
diff --git a/cpp/024brace b/cpp/024brace
index a0f4aa29..0d68b54f 100644
--- a/cpp/024brace
+++ b/cpp/024brace
@@ -33,7 +33,7 @@ recipe main [
 
 //: one-time setup
 :(after "int main")
-Transform.push_back(transform_braces);
+  Transform.push_back(transform_braces);
 
 :(code)
 void transform_braces(const recipe_number r) {
diff --git a/cpp/025name b/cpp/025name
index 83103f1f..c1992506 100644
--- a/cpp/025name
+++ b/cpp/025name
@@ -19,7 +19,7 @@ recipe main [
 +warn: use before set: y in main
 
 :(after "int main")
-Transform.push_back(transform_names);
+  Transform.push_back(transform_names);
 
 :(before "End Globals")
 unordered_map<recipe_number, unordered_map<string, int> > Name;