From 615f4a970a2fa5c91766ee585a7d531b083f4bff Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 23 Sep 2017 19:30:00 -0700 Subject: 4003 --- html/101run_sandboxed.cc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/101run_sandboxed.cc.html') diff --git a/html/101run_sandboxed.cc.html b/html/101run_sandboxed.cc.html index 25f881e5..aa776257 100644 --- a/html/101run_sandboxed.cc.html +++ b/html/101run_sandboxed.cc.html @@ -153,7 +153,7 @@ if ('onhashchange' in window) { 89 // reads a string, tries to call it as code (treating it as a test), saving 90 // all errors. 91 // returns true if successfully called (no errors found during load and transform) - 92 bool run_interactive(int address) { + 92 bool run_interactive(int address) { 93 assert(contains_key(Recipe_ordinal, "interactive") && get(Recipe_ordinal, "interactive") != 0); 94 // try to sandbox the run as best you can 95 // todo: test this @@ -161,7 +161,7 @@ if ('onhashchange' in window) { 97 ¦ for (int i = 1; i < Reserved_for_tests; ++i) 98 ¦ ¦ Memory.erase(i); 99 } -100 string command = trim(strip_comments(read_mu_text(address))); +100 string command = trim(strip_comments(read_mu_text(address))); 101 Name[get(Recipe_ordinal, "interactive")].clear(); 102 run_code_begin(/*should_stash_snapshots*/true); 103 if (command.empty()) return false; @@ -549,10 +549,10 @@ if ('onhashchange' in window) { 485 return result.str(); 486 } 487 -488 int stringified_value_of_location(int address) { +488 int stringified_value_of_location(int address) { 489 // convert to string 490 ostringstream out; -491 out << no_scientific(get_or_insert(Memory, address)); +491 out << no_scientific(get_or_insert(Memory, address)); 492 return new_mu_text(out.str()); 493 } 494 -- cgit 1.4.1-2-gfad0