diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-06-06 11:11:40 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-06-06 11:11:40 -0700 |
commit | 43ff7dcebb13b85cac8d7cef07559c26d72230c2 (patch) | |
tree | 7f4d94ea7d4eff310f52cfb767a98058e685f195 | |
parent | be13beeb78dc22c3f05f863baa47982258ff3da9 (diff) | |
download | mu-43ff7dcebb13b85cac8d7cef07559c26d72230c2.tar.gz |
1539
-rw-r--r-- | 078run_interactive.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/078run_interactive.cc b/078run_interactive.cc index a83e1f08..4ac62793 100644 --- a/078run_interactive.cc +++ b/078run_interactive.cc @@ -38,6 +38,10 @@ void run_interactive(long long int address) { Recipe_number["interactive"] = Next_recipe_number++; // manual test: number followed by whitespace or comments string command = trim(strip_comments(tmp.str())); + if (command.empty()) { + ++current_step_index(); + return; + } if (is_integer(command)) { print_value_of_location_as_response(to_integer(command)); ++current_step_index(); |