about summary refs log tree commit diff stats
path: root/020run.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-25 13:33:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-25 13:33:51 -0700
commit07b54625f79a3ab45d1e7997cc04f9a550019bb9 (patch)
treedd2edc0728eb0f63c1172f96e6e302efe2de3605 /020run.cc
parentaac885fde005e07508430215269b71a0bdb54dbf (diff)
downloadmu-07b54625f79a3ab45d1e7997cc04f9a550019bb9.tar.gz
3596
Fix CI.
Diffstat (limited to '020run.cc')
-rw-r--r--020run.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/020run.cc b/020run.cc
index 248389c6..8675e4c5 100644
--- a/020run.cc
+++ b/020run.cc
@@ -51,12 +51,15 @@ routine* Current_routine = NULL;
 map<string, int> Instructions_running;
 map<string, int> Locations_read;
 map<string, int> Locations_read_by_instruction;
+:(before "End Setup")
+Current_routine = NULL;
 
 :(code)
 void run(const recipe_ordinal r) {
   routine rr(r);
   Current_routine = &rr;
   run_current_routine();
+  Current_routine = NULL;
 }
 
 void run_current_routine() {