about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-06-06 11:13:44 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-06-06 11:13:54 -0700
commitde0a7e84726b5dfb372597d02862bdee75644d85 (patch)
treef0474fecd854cbbbed527ad12d8f71933154804f
parent43ff7dcebb13b85cac8d7cef07559c26d72230c2 (diff)
downloadmu-de0a7e84726b5dfb372597d02862bdee75644d85.tar.gz
1540
-rw-r--r--078run_interactive.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/078run_interactive.cc b/078run_interactive.cc
index 4ac62793..95a40533 100644
--- a/078run_interactive.cc
+++ b/078run_interactive.cc
@@ -16,10 +16,11 @@ case RUN_INTERACTIVE: {
 
 :(code)
 // manual tests:
-//  just an integer prints value of that location in memory
+//  empty string (excluding whitespace and comments) does nothing
+//  ctrl-d
+//  just an integer (excluding whitespace and comments) prints value of that location in memory
 //  instruction executes
 //  backspace at start begins new attempt
-//  ctrl-d working
 void run_interactive(long long int address) {
 //?   tb_shutdown(); //? 1
   long long int size = Memory[address];
@@ -36,7 +37,6 @@ void run_interactive(long long int address) {
   assert(Memory[address+size] == 10);  // skip the newline
   if (Recipe_number.find("interactive") == Recipe_number.end())
     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();