diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-09-05 09:44:35 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-09-05 09:44:35 -0700 |
commit | 2d909c712b014539009d9910cc245ecc9aa4ab93 (patch) | |
tree | c9eb72da4258c9b2c559c1f6ad8d2530aa81f744 /075scenario_console.cc | |
parent | 1a0890bade2d32a761f6379005fd22ca70af9c84 (diff) | |
download | mu-2d909c712b014539009d9910cc245ecc9aa4ab93.tar.gz |
2149
Diffstat (limited to '075scenario_console.cc')
-rw-r--r-- | 075scenario_console.cc | 2 |
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; |