diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-02-26 13:04:55 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-02-26 13:04:55 -0800 |
commit | 1b76245c6326c1d60494e102ed0141c7927a640f (patch) | |
tree | 98f3e41dbd6afffb4b5e98756591b652947182d3 /085scenario_console.cc | |
parent | b436291f403d5ca1914c58fc995949275a9fab44 (diff) | |
download | mu-1b76245c6326c1d60494e102ed0141c7927a640f.tar.gz |
2712
Diffstat (limited to '085scenario_console.cc')
-rw-r--r-- | 085scenario_console.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/085scenario_console.cc b/085scenario_console.cc index 3ed819cc..5054753b 100644 --- a/085scenario_console.cc +++ b/085scenario_console.cc @@ -78,7 +78,7 @@ case ASSUME_CONSOLE: { else if (contains_key(Key, key)) put(Memory, Current_routine->alloc+1, Key[key]); else - raise_error << "assume-console: can't press " << key << '\n' << end(); + raise << "assume-console: can't press " << key << '\n' << end(); if (get_or_insert(Memory, Current_routine->alloc+1) < 256) // these keys are in ascii put(Memory, Current_routine->alloc, /*tag for 'text' variant of 'event' exclusive-container*/0); @@ -245,7 +245,7 @@ case REPLACE_IN_CONSOLE: { case REPLACE_IN_CONSOLE: { assert(scalar(ingredients.at(0))); if (!get_or_insert(Memory, CONSOLE)) { - raise_error << "console not initialized\n" << end(); + raise << "console not initialized\n" << end(); break; } long long int console_address = get_or_insert(Memory, CONSOLE); |