From 7ecb3374340c02cc2c54abf4a5d4a617f362b4c4 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 14 Nov 2015 23:16:21 -0800 Subject: 2440 In debugging 2438, I spent a while going around in circles trying to decide if there was a stray overload of 'interactive'. Part of the problem was the hacky delete of a recipe just above. Stop doing that. --- 091run_interactive.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to '091run_interactive.cc') diff --git a/091run_interactive.cc b/091run_interactive.cc index f871275a..25e02836 100644 --- a/091run_interactive.cc +++ b/091run_interactive.cc @@ -78,14 +78,13 @@ bool run_interactive(long long int address) { } string command = trim(strip_comments(read_mu_string(address))); if (command.empty()) return false; - Recipe.erase(get(Recipe_ordinal, "interactive")); Name[get(Recipe_ordinal, "interactive")].clear(); run_code_begin(); // don't kill the current routine on parse errors routine* save_current_routine = Current_routine; Current_routine = NULL; // call run(string) but without the scheduling - load(string("recipe interactive [\n") + + load(string("recipe! interactive [\n") + "local-scope\n" + "screen:address:screen <- next-ingredient\n" + "$start-tracking-products\n" + -- cgit 1.4.1-2-gfad0