about summary refs log tree commit diff stats
path: root/057static_dispatch.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-11-07 12:58:58 -0800
committerKartik K. Agaram <vc@akkartik.com>2015-11-07 12:58:58 -0800
commita1633455898347dd973ba99e0db0c06c8a3fb752 (patch)
tree1ba58b645c6f2cca58b37e68a43111fc0f178073 /057static_dispatch.cc
parent273f8be9c048d19273f87afc62b34727811b7871 (diff)
downloadmu-a1633455898347dd973ba99e0db0c06c8a3fb752.tar.gz
2387 - edit/ passing except that final undo layer
Diffstat (limited to '057static_dispatch.cc')
-rw-r--r--057static_dispatch.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/057static_dispatch.cc b/057static_dispatch.cc
index 0d687385..b8b663e2 100644
--- a/057static_dispatch.cc
+++ b/057static_dispatch.cc
@@ -19,6 +19,8 @@ recipe test a:number, b:number -> z:number [
 
 :(before "End Globals")
 map<string, vector<recipe_ordinal> > Recipe_variants;
+:(before "End One-time Setup")
+put(Recipe_variants, "main", vector<recipe_ordinal>());  // since we manually added main to Recipe_ordinal
 :(before "End Setup")
 for (map<string, vector<recipe_ordinal> >::iterator p = Recipe_variants.begin(); p != Recipe_variants.end(); ++p) {
   for (long long int i = 0; i < SIZE(p->second); ++i) {