about summary refs log tree commit diff stats
path: root/075scenario_console.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-05 09:44:35 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-05 09:44:35 -0700
commit2d909c712b014539009d9910cc245ecc9aa4ab93 (patch)
treec9eb72da4258c9b2c559c1f6ad8d2530aa81f744 /075scenario_console.cc
parent1a0890bade2d32a761f6379005fd22ca70af9c84 (diff)
downloadmu-2d909c712b014539009d9910cc245ecc9aa4ab93.tar.gz
2149
Diffstat (limited to '075scenario_console.cc')
-rw-r--r--075scenario_console.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/075scenario_console.cc b/075scenario_console.cc
index 7e144962..0f7d649f 100644
--- a/075scenario_console.cc
+++ b/075scenario_console.cc
@@ -48,7 +48,7 @@ Recipe_ordinal["assume-console"] = ASSUME_CONSOLE;
 case ASSUME_CONSOLE: {
   // create a temporary recipe just for parsing; it won't contain valid instructions
   istringstream in("[" + current_instruction().ingredients.at(0).name + "]");
-  recipe r = slurp_recipe(in);
+  recipe r = slurp_body(in);
   long long int num_events = count_events(r);
   // initialize the events
   long long int size = num_events*size_of_event() + /*space for length*/1;