diff options
-rw-r--r-- | 010vm.cc | 2 | ||||
-rw-r--r-- | 020run.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/010vm.cc b/010vm.cc index 9cec18d2..d773fe01 100644 --- a/010vm.cc +++ b/010vm.cc @@ -592,7 +592,7 @@ void skip_whitespace_but_not_newline(istream& in) { void dump_memory() { for (map<int, double>::iterator p = Memory.begin(); p != Memory.end(); ++p) { - cout << p->first << ": " << no_scientific(p->second) << '\n'; + cerr << p->first << ": " << no_scientific(p->second) << '\n'; } } diff --git a/020run.cc b/020run.cc index c9d28666..da43e5e7 100644 --- a/020run.cc +++ b/020run.cc @@ -91,7 +91,7 @@ void run_current_routine() { } // End Primitive Recipe Implementations default: { - cout << "not a primitive op: " << current_instruction().operation << '\n'; + raise << "not a primitive op: " << current_instruction().operation << '\n' << end(); } } //: used by a later layer |