about summary refs log tree commit diff stats
path: root/010vm.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-08-20 15:41:18 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-08-20 15:41:18 -0700
commita2a0e711aff7c442c95a695bc0b6ba543fff0cd2 (patch)
tree6326c62fd4531688d12bdc1f88e150f26e5b854c /010vm.cc
parent8be142845b48028ce2ddd7e59fdef39f67fb5b6a (diff)
downloadmu-a2a0e711aff7c442c95a695bc0b6ba543fff0cd2.tar.gz
2043
Traces were changing based on whether I was loading a .mu file with
'main' or not.
Diffstat (limited to '010vm.cc')
-rw-r--r--010vm.cc1
1 files changed, 1 insertions, 0 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