about summary refs log tree commit diff stats
path: root/078run_interactive.cc
diff options
context:
space:
mode:
Diffstat (limited to '078run_interactive.cc')
-rw-r--r--078run_interactive.cc4
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();