diff options
Diffstat (limited to 'cpp/010vm')
-rw-r--r-- | cpp/010vm | 18 |
1 files changed, 9 insertions, 9 deletions
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 |