about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--010vm.cc1
-rw-r--r--040brace.cc2
2 files changed, 2 insertions, 1 deletions
diff --git a/010vm.cc b/010vm.cc
index c9bfaa5d..92e7d14a 100644
--- a/010vm.cc
+++ b/010vm.cc
@@ -161,6 +161,7 @@ void setup_recipes() {
 setup_recipes();
 assert(MAX_PRIMITIVE_RECIPES < 200);  // level 0 is primitives; until 199
 Next_recipe_ordinal = 200;
+Recipe_ordinal["main"] = Next_recipe_ordinal++;
 // End Load Recipes
 :(before "End Test Run Initialization")
 assert(Next_recipe_ordinal < 1000);  // recipes being tested didn't overflow into test space
diff --git a/040brace.cc b/040brace.cc
index 113a7517..7819cd58 100644
--- a/040brace.cc
+++ b/040brace.cc
@@ -45,7 +45,7 @@ void transform_braces(const recipe_ordinal r) {
   for (long long int index = 0; index < SIZE(Recipe[r].steps); ++index) {
     const instruction& inst = Recipe[r].steps.at(index);
     if (inst.label == "{") {
-      trace("brace") << r << ": push (open, " << index << ")" << end();
+      trace("brace") << Recipe[r].name << ": push (open, " << index << ")" << end();
       braces.push_back(pair<int,long long int>(OPEN, index));
     }
     if (inst.label == "}") {