about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--035lookup.cc4
-rw-r--r--html/035lookup.cc.html4
2 files changed, 4 insertions, 4 deletions
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();
   }
diff --git a/html/035lookup.cc.html b/html/035lookup.cc.html
index 3573ab12..0ca35f04 100644
--- a/html/035lookup.cc.html
+++ b/html/035lookup.cc.html
@@ -139,7 +139,7 @@ if ('onhashchange' in window) {
 <span id="L74" class="LineNr"> 74 </span>  <span class="Constant">1</span>:<a href='043space.cc.html#L76'>address</a>:num<span class="Special"> &lt;- </span>copy <span class="Constant">0</span>
 <span id="L75" class="LineNr"> 75 </span>  <span class="Constant">2</span>:num<span class="Special"> &lt;- </span>copy <span class="Constant">1</span>:<a href='043space.cc.html#L76'>address</a>:num/lookup
 <span id="L76" class="LineNr"> 76 </span>]
-<span id="L77" class="LineNr"> 77 </span><span class="traceContains">+error: tried to /lookup 0 in '2:num &lt;- copy 1:address:num/lookup'</span>
+<span id="L77" class="LineNr"> 77 </span><span class="traceContains">+error: <a href='000organization.cc.html#L113'>main</a>: tried to /lookup 0 in '2:num &lt;- copy 1:address:num/lookup'</span>
 <span id="L78" class="LineNr"> 78 </span>
 <span id="L79" class="LineNr"> 79 </span><span class="Delimiter">:(code)</span>
 <span id="L80" class="LineNr"> 80 </span><span class="Normal">void</span> canonize<span class="Delimiter">(</span>reagent&amp; x<span class="Delimiter">)</span> <span class="Delimiter">{</span>
@@ -173,7 +173,7 @@ if ('onhashchange' in window) {
 <span id="L108" class="LineNr">108 </span>  <span class="Delimiter">}</span>
 <span id="L109" class="LineNr">109 </span>  <span class="Normal">else</span> <span class="Normal">if</span> <span class="Delimiter">(</span>check_for_null<span class="Delimiter">)</span> <span class="Delimiter">{</span>
 <span id="L110" class="LineNr">110 </span>  <span class="Conceal">¦</span> <span class="Normal">if</span> <span class="Delimiter">(</span>Current_routine<span class="Delimiter">)</span>
-<span id="L111" class="LineNr">111 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> &lt;&lt; <span class="Constant">&quot;tried to /lookup 0 in '&quot;</span> &lt;&lt; to_original_string<span class="Delimiter">(</span>current_instruction<span class="Delimiter">())</span> &lt;&lt; <span class="Constant">&quot;'</span><span class="cSpecial">\n</span><span class="Constant">&quot;</span> &lt;&lt; <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span>
+<span id="L111" class="LineNr">111 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> &lt;&lt; <a href='013update_operation.cc.html#L25'>maybe</a><span class="Delimiter">(</span>current_recipe_name<span class="Delimiter">())</span> &lt;&lt; <span class="Constant">&quot;tried to /lookup 0 in '&quot;</span> &lt;&lt; to_original_string<span class="Delimiter">(</span>current_instruction<span class="Delimiter">())</span> &lt;&lt; <span class="Constant">&quot;'</span><span class="cSpecial">\n</span><span class="Constant">&quot;</span> &lt;&lt; <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span>
 <span id="L112" class="LineNr">112 </span>  <span class="Conceal">¦</span> <span class="Normal">else</span>
 <span id="L113" class="LineNr">113 </span>  <span class="Conceal">¦</span> <span class="Conceal">¦</span> <a href='003trace.cc.html#L168'>raise</a> &lt;&lt; <span class="Constant">&quot;tried to /lookup 0</span><span class="cSpecial">\n</span><span class="Constant">&quot;</span> &lt;&lt; <a href='003trace.cc.html#L185'>end</a><span class="Delimiter">();</span>
 <span id="L114" class="LineNr">114 </span>  <span class="Delimiter">}</span>