From 4a48bedcd1d708a43d43dc6259a4e45c52ea3d00 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 3 Dec 2017 23:25:40 -0800 Subject: 4134 - 'input' = 'ingredient' --- html/085scenario_console.cc.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'html/085scenario_console.cc.html') diff --git a/html/085scenario_console.cc.html b/html/085scenario_console.cc.html index 67b651cc..c36eb9b8 100644 --- a/html/085scenario_console.cc.html +++ b/html/085scenario_console.cc.html @@ -144,7 +144,7 @@ if ('onhashchange' in window) { 82 ¦ ¦ ¦ put(Memory, curr_address+1, Key[key]); 83 ¦ ¦ else 84 ¦ ¦ ¦ raise << "assume-console: can't press '" << key << "'\n" << end(); - 85 ¦ ¦ if (get_or_insert(Memory, curr_address+1) < 256) + 85 ¦ ¦ if (get_or_insert(Memory, curr_address+1) < 256) 86 ¦ ¦ ¦ // these keys are in ascii 87 ¦ ¦ ¦ put(Memory, curr_address, /*tag for 'text' variant of 'event' exclusive-container*/0); 88 ¦ ¦ else { @@ -330,12 +330,12 @@ if ('onhashchange' in window) { 268 ¦ raise << "console not initialized\n" << end(); 269 ¦ break; 270 } -271 int console_address = get_or_insert(Memory, CONSOLE); -272 int console_data = get_or_insert(Memory, console_address+1); -273 int length = get_or_insert(Memory, console_data); // array length +271 int console_address = get_or_insert(Memory, CONSOLE); +272 int console_data = get_or_insert(Memory, console_address+1); +273 int length = get_or_insert(Memory, console_data); // array length 274 for (int i = 0, curr = console_data+1; i < length; ++i, curr+=size_of_event()) { -275 ¦ if (get_or_insert(Memory, curr) != /*text*/0) continue; -276 ¦ if (get_or_insert(Memory, curr+1) != ingredients.at(0).at(0)) continue; +275 ¦ if (get_or_insert(Memory, curr) != /*text*/0) continue; +276 ¦ if (get_or_insert(Memory, curr+1) != ingredients.at(0).at(0)) continue; 277 ¦ for (int n = 0; n < size_of_event(); ++n) 278 ¦ ¦ put(Memory, curr+n, ingredients.at(1).at(n)); 279 } -- cgit 1.4.1-2-gfad0