diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2017-04-27 09:07:53 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2017-04-27 09:07:53 -0700 |
commit | b8263692a6f2865482abbc21eae5a4e5163ab725 (patch) | |
tree | b1b938d4a83cf2b420001c9188194a5800d12eb2 /035lookup.cc | |
parent | f6645643953eeb0a493d258759a4421505d13539 (diff) | |
download | mu-b8263692a6f2865482abbc21eae5a4e5163ab725.tar.gz |
3841
Use the real original instruction in error messages. Thanks Ella Couch.
Diffstat (limited to '035lookup.cc')
-rw-r--r-- | 035lookup.cc | 2 |
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(); } |