From 0bc6fbd396f35e8dfd5cf5f5827b4ba665c3fcdf Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 29 May 2017 11:52:19 -0700 Subject: 3896 --- 035lookup.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '035lookup.cc') diff --git a/035lookup.cc b/035lookup.cc index 842ba01d..b5a1ba02 100644 --- a/035lookup.cc +++ b/035lookup.cc @@ -74,7 +74,7 @@ def main [ 1:address:num <- copy 0 2:num <- copy 1:address:num/lookup ] -+error: tried to /lookup 0 in '2:num <- copy 1:address:num/lookup' ++error: main: tried to /lookup 0 in '2:num <- copy 1:address:num/lookup' :(code) void canonize(reagent& x) { @@ -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 << maybe(current_recipe_name()) << "tried to /lookup 0 in '" << to_original_string(current_instruction()) << "'\n" << end(); else raise << "tried to /lookup 0\n" << end(); } -- cgit 1.4.1-2-gfad0