From 1b76245c6326c1d60494e102ed0141c7927a640f Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 26 Feb 2016 13:04:55 -0800 Subject: 2712 --- 085scenario_console.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '085scenario_console.cc') 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); -- cgit 1.4.1-2-gfad0