about summary refs log tree commit diff stats
path: root/035lookup.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2017-04-27 09:07:53 -0700
committerKartik K. Agaram <vc@akkartik.com>2017-04-27 09:07:53 -0700
commitb8263692a6f2865482abbc21eae5a4e5163ab725 (patch)
treeb1b938d4a83cf2b420001c9188194a5800d12eb2 /035lookup.cc
parentf6645643953eeb0a493d258759a4421505d13539 (diff)
downloadmu-b8263692a6f2865482abbc21eae5a4e5163ab725.tar.gz
3841
Use the real original instruction in error messages.
Thanks Ella Couch.
Diffstat (limited to '035lookup.cc')
-rw-r--r--035lookup.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/035lookup.cc b/035lookup.cc
index 6008338e..fa61100b 100644
--- a/035lookup.cc
+++ b/035lookup.cc
@@ -108,7 +108,7 @@ void lookup_memory_core(reagent& x, bool check_for_null) {
   }
   else if (check_for_null) {
     if (Current_routine)
-      raise << "tried to /lookup 0 in '" << to_original_string(current_instruction()) << "'\n" << end();
+      raise << "tried to /lookup 0 in '" << current_instruction().original_string << "'\n" << end();
     else
       raise << "tried to /lookup 0\n" << end();
   }